/openbmc/linux/Documentation/networking/ |
H A D | tls-offload-reorder-good.svg | 1 …path d="m0 0l960.0 0l0 720.0l-960.0 0l0 -720.0z" clip-rule="nonzero"/></clipPath><g clip-path="url…
|
H A D | tls-offload-reorder-bad.svg | 1 …path d="m0 0l960.0 0l0 720.0l-960.0 0l0 -720.0z" clip-rule="nonzero"/></clipPath><g clip-path="url…
|
/openbmc/phosphor-dbus-monitor/mslverify/ |
H A D | util.hpp | 38 const std::string& path, const std::string& interface, in callMethod() argument 41 auto reqMsg = bus.new_method_call(busName.c_str(), path.c_str(), in callMethod() 51 "PATH", path, "INTF", interface, "METHOD", method); in callMethod() 58 static auto callMethod(const std::string& busName, const std::string& path, in callMethod() argument 62 return callMethod(getBus(), busName, path, interface, method, in callMethod() 83 const std::string& path, in callMethodAndRead() argument 92 static auto getService(::sdbusplus::bus_t& bus, const std::string& path, in getService() argument 101 "xyz.openbmc_project.ObjectMapper"s, "GetObject"s, path, in getService() 121 auto msg = callMethod(bus, busName, path, in getProperty() 144 return getProperty<Property>(bus, getService(bus, path, interface), path, in getProperty() [all …]
|
/openbmc/openbmc-tools/dbusView/ |
H A D | dbusView.py | 46 path = line.split(b"/", 1)[-1].decode() 47 path = "/" + path 48 tree.append(path) 52 def doIntrospect(busname, path): argument 54 busctl + "introspect {} {}".format(busname, path), shell=True 79 for path in doTree(name): 82 name, path.replace("/", REPLACE_CHAR), path 89 def path(name, path): argument 90 path = path.replace(REPLACE_CHAR, "/") 92 out += "<div><H2>introspect {} {}</H2></div>".format(name, path) [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | gen_plug_in.py | 46 for path in PATH_LIST: 47 candidate_plug_in_base_path = path + "plug_ins/" 48 if os.path.isdir(candidate_plug_in_base_path): 72 if os.path.isdir(candidate_plug_in_dir_path): 90 if os.path.isabs(plug_in_dir_path): 93 os.path.normpath(plug_in_dir_path) + os.sep 117 if not os.path.exists(supports_file_path): 164 if os.path.exists(integrated_file_path): 165 plug_in_name = os.path.basename( 166 os.path.dirname(candidate_path) [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | task-time | 56 def save_times_for_task(path): argument 59 if not os.path.basename(path).startswith("do_"): 62 with open(path) as f: 76 .format(path, regex), 80 task_infos.append((path, fields)) 82 def save_times_for_dir(path): argument 91 save_times_for_task(os.path.join(root, fname)) 93 for path in args.paths: 94 if os.path.isfile(path): 95 save_times_for_task(path) [all …]
|
H A D | oe-setup-build | 14 return os.path.abspath(os.path.join(os.path.dirname(__file__), '.oe-layers.json')) 17 return os.path.join(topdir, "build-{}".format(template)) 20 if not os.path.exists(layers_file): 27 template_dir = os.path.join(os.path.dirname(layers_file), layer, 'conf','templates') 28 if os.path.exists(template_dir): 30 templatepath = os.path.join(template_dir,d) 31 if not os.path.isfile(os.path.join(templatepath,'local.conf.sample')): 33 layer_base = os.path.basename(layer) 36 notespath = os.path.join(template_dir, d, 'conf-notes.txt') 39 try: summary = open(os.path.join(template_dir, d, 'conf-summary.txt')).read() [all …]
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/pathgentest/ |
H A D | grouptwo.yaml | 6 - name: test path group 8 group: path 11 path: /xyz/openbmc_project/testing/inst1 13 path: /xyz/openbmc_project/testing/inst2 15 path: /xyz/openbmc_project/testing/inst5 17 path: /xyz/openbmc_project/testing/inst6 19 - name: test path group 2 21 group: path 24 path: /xyz/openbmc_project/testing/inst4 26 path: /xyz/openbmc_project/testing/inst3 [all …]
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | execvp.c | 52 char *path = getenv("PATH"); in execvp_noalloc() local 53 if (path == NULL) in execvp_noalloc() 54 path = ":/bin:/usr/bin"; in execvp_noalloc() 57 pathlen = strlen(path); in execvp_noalloc() 64 p = path; in execvp_noalloc() 68 path = p; in execvp_noalloc() 71 p = strchr(path, ':'); in execvp_noalloc() 73 p = strchr(path, '\0'); in execvp_noalloc() 75 if (p == path) in execvp_noalloc() 80 startp = memcpy(name - (p - path), path, p - path); in execvp_noalloc()
|
/openbmc/linux/fs/ |
H A D | d_path.c | 156 static int prepend_path(const struct path *path, in prepend_path() argument 172 error = __prepend_path(path->dentry, real_mount(path->mnt), root, &b); in prepend_path() 215 char *__d_path(const struct path *path, in __d_path() argument 227 char *d_absolute_path(const struct path *path, in d_absolute_path() argument 230 struct path root = {}; in d_absolute_path() 265 char *d_path(const struct path *path, char *buf, int buflen) in d_path() argument 268 struct path root; in d_path() 281 if (path->dentry->d_op && path->dentry->d_op->d_dname && in d_path() 282 (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root)) in d_path() 283 return path->dentry->d_op->d_dname(path->dentry, buf, buflen); in d_path() [all …]
|
/openbmc/linux/tools/power/cpupower/utils/helpers/ |
H A D | sysfs.c | 23 fd = open(path, O_RDONLY); in sysfs_read_file() 49 char path[SYSFS_PATH_MAX]; in sysfs_is_cpu_online() local 57 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in sysfs_is_cpu_online() 66 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in sysfs_is_cpu_online() 70 fd = open(path, O_RDONLY); in sysfs_is_cpu_online() 107 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_file_exists() local 111 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists() 127 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_read_file() local 131 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file() 166 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-pbkdf.c | 34 const char *path; member 55 .path = "/crypto/pbkdf/rfc3962/sha1/iter1", 69 .path = "/crypto/pbkdf/rfc3962/sha1/iter2", 83 .path = "/crypto/pbkdf/rfc3962/sha1/iter1200a", 97 .path = "/crypto/pbkdf/rfc3962/sha1/iter5", 111 .path = "/crypto/pbkdf/rfc3962/sha1/iter1200b", 141 .path = "/crypto/pbkdf/rfc3962/sha1/iter50", 157 .path = "/crypto/pbkdf/rfc6070/sha1/iter1", 169 .path = "/crypto/pbkdf/rfc6070/sha1/iter2", 181 .path = "/crypto/pbkdf/rfc6070/sha1/iter4096", [all …]
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | __init__.py | 134 append_files = [path for path in append_files if 187 elif os.path.abspath(d.getVar('B')) == os.path.abspath(d.getVar('S')): 199 if not os.path.exists(os.path.join(repodir, '.git')): 252 logger.error(os.path.relpath(os.path.join(root, ".."), root)) 258 if os.path.exists(os.path.join(repodir, '.gitmodules')): 268 appendname = os.path.splitext(os.path.basename(recipefile))[0] 302 def read_file(path): argument 304 with open(path) as f: 308 def write_file(path, data): argument 401 if os.path.exists(os.path.join(gitdir, 'rebase-merge')): [all …]
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | unit-test.py | 121 if not path: 143 if not path: 251 if os.path.exists(os.path.join(pkg_dir, ".git")): 543 self.path = "." if not path else path 544 realpath = os.path.realpath(self.path) 636 return os.path.isfile(os.path.join(self.path, "configure.ac")) 639 configure_ac = os.path.join(self.path, "configure.ac") 751 return os.path.isfile(os.path.join(self.path, "CMakeLists.txt")) 820 return os.path.isfile(os.path.join(self.path, "meson.build")) 823 meson_build = os.path.join(self.path, "meson.build") [all …]
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/propertywatchgentest/ |
H A D | watchone.yaml | 1 - name: test path group 1 3 group: path 6 path: /xyz/openbmc_project/testing/inst1 8 path: /xyz/openbmc_project/testing/inst2 10 path: /xyz/openbmc_project/testing/inst3 12 path: /xyz/openbmc_project/testing/inst4 14 - name: test path group 2 16 group: path 19 path: /xyz/openbmc_project/testing/inst3 54 paths: test path group 1 [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | _sstatetests_noauto.py | 20 self.builddir = os.path.join(os.environ.get('BUILDDIR')) 32 os.mkdir(os.path.join(builddir, 'conf')) 33 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/local.conf'), os.path.join(builddir… 40 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/bblayers.conf'), os.path.join(build… 42 …shutil.copyfile(os.path.join(os.environ.get('BUILDDIR'), 'conf/auto.conf'), os.path.join(builddir,… 52 os.mkdir(os.path.join(dst, root.split(src)[1][1:])) 54 … os.link(os.path.join(root, sstate_file), os.path.join(dst, root.split(src)[1][1:], sstate_file)) 57 buildA = os.path.join(self.builddir, 'buildA') 59 buildB = os.path.join(self.builddir, 'buildB') 70 …self.hardlink_tree(os.path.join(buildA, 'sstate-cache'), os.path.join(self.builddir, 'sstate-cache… [all …]
|
/openbmc/qemu/python/qemu/utils/ |
H A D | qom.py | 89 path=self.path, 128 self.path = tmp[0] 134 path=self.path, 177 self.path = args.path 225 self.path = args.path 228 print(path) 229 items = self.qom_list(path) 234 rsp = self.qmp.cmd('qom-get', path=path, 243 if path == '/': 244 path = '' [all …]
|
/openbmc/linux/tools/power/cpupower/lib/ |
H A D | cpupower.c | 17 int is_valid_path(const char *path) in is_valid_path() argument 19 if (access(path, F_OK) == -1) in is_valid_path() 29 fd = open(path, O_RDONLY); in cpupower_read_sysfs() 50 fd = open(path, O_WRONLY); in cpupower_write_sysfs() 56 perror(path); in cpupower_write_sysfs() 76 char path[SYSFS_PATH_MAX]; in cpupower_is_cpu_online() local 84 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in cpupower_is_cpu_online() 93 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in cpupower_is_cpu_online() 97 fd = open(path, O_RDONLY); in cpupower_is_cpu_online() 121 char path[SYSFS_PATH_MAX]; in sysfs_topology_read_file() local [all …]
|
/openbmc/linux/tools/lib/subcmd/ |
H A D | exec-cmd.c | 36 return path[0] == '/'; in is_absolute_path() 59 if (is_absolute_path(path)) { in make_nonrelative_path() 60 if (strlcpy(buf, path, sz) >= sz) in make_nonrelative_path() 61 die("Too long path: %.*s", 60, path); in make_nonrelative_path() 72 strcat(buf, path); in make_nonrelative_path() 77 char *system_path(const char *path) in system_path() argument 81 if (is_absolute_path(path)) in system_path() 82 return strdup(path); in system_path() 135 if (path && *path) { in add_path() 136 if (is_absolute_path(path)) in add_path() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | orphan.c | 13 struct btrfs_path *path; in btrfs_insert_orphan_item() local 21 path = btrfs_alloc_path(); in btrfs_insert_orphan_item() 22 if (!path) in btrfs_insert_orphan_item() 25 ret = btrfs_insert_empty_item(trans, root, path, &key, 0); in btrfs_insert_orphan_item() 27 btrfs_free_path(path); in btrfs_insert_orphan_item() 34 struct btrfs_path *path; in btrfs_del_orphan_item() local 42 path = btrfs_alloc_path(); in btrfs_del_orphan_item() 43 if (!path) in btrfs_del_orphan_item() 46 ret = btrfs_search_slot(trans, root, &key, path, -1, 1); in btrfs_del_orphan_item() 54 ret = btrfs_del_item(trans, root, path); in btrfs_del_orphan_item() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | api-io.c | 42 strcpy(path, TEMPL); in make_test_file() 43 fd = mkstemp(path); in make_test_file() 51 unlink(path); in make_test_file() 67 unlink(path); in setup_test() 74 unlink(path); in setup_test() 85 unlink(path); in cleanup_test() 90 char path[PATH_MAX]; in do_test_get_char() local 108 cleanup_test(path, &io); in do_test_get_char() 137 char path[PATH_MAX]; in do_test_get_hex() local 218 char path[PATH_MAX]; in do_test_get_dec() local [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | test.c | 846 struct tb_path *path; in tb_test_path_not_connected() local 898 struct tb_path *path; in tb_test_path_not_bonded_lane0() local 925 tb_path_free(path); in tb_test_path_not_bonded_lane0() 960 struct tb_path *path; in tb_test_path_not_bonded_lane1() local 987 tb_path_free(path); in tb_test_path_not_bonded_lane1() 1038 struct tb_path *path; in tb_test_path_not_bonded_lane1_chain() local 1067 tb_path_free(path); in tb_test_path_not_bonded_lane1_chain() 1118 struct tb_path *path; in tb_test_path_not_bonded_lane1_chain_reverse() local 1147 tb_path_free(path); in tb_test_path_not_bonded_lane1_chain_reverse() 1239 tb_path_free(path); in tb_test_path_mixed_chain() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/ |
H A D | localhostbecontroller.py | 71 from os.path import dirname as DN 189 … if self.pokydirname is None and os.path.exists(os.path.join(localdirname, "oe-init-build-env")): 194 if not os.path.exists(os.path.join(self.pokydirname, 'bitbake')): 214 if os.path.exists(os.path.join(self.be.sourcedir, "oe-init-build-env")): 259 path = os.path.join(layerpath, name) 260 if not os.path.isdir(path): 261 os.makedirs(path) 265 if not os.path.isfile(config): 440 if os.path.exists(os.path.join(path, 'bitbake')): 441 bitbake = os.path.join(path, 'bitbake') [all …]
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | qgroup-tests.c | 23 struct btrfs_path *path; in insert_normal_tree_ref() local 36 if (!path) { in insert_normal_tree_ref() 44 btrfs_free_path(path); in insert_normal_tree_ref() 48 leaf = path->nodes[0]; in insert_normal_tree_ref() 64 btrfs_free_path(path); in insert_normal_tree_ref() 85 if (!path) { in add_tree_ref() 97 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref() 115 btrfs_free_path(path); in add_tree_ref() 134 if (!path) { in remove_extent_item() 167 if (!path) { in remove_extent_ref() [all …]
|
/openbmc/qemu/tests/avocado/ |
H A D | acpi-bits.py | 65 for p in paths.split(os.path.pathsep): 66 p = os.path.join(p, tool) 67 if os.path.exists(p) and os.access(p, os.X_OK): 190 target_test_dir = os.path.join(self._workDir, 198 if os.path.isfile(os.path.join(bits_test_dir, filename)) and \ 250 bits_dir = os.path.join(self._workDir, 252 iso_file = os.path.join(self._workDir, 254 mkrescue_script = os.path.join(self._workDir, 299 if not os.path.isdir(prebuiltDir): 305 grub_tar_file = os.path.join(prebuiltDir, [all …]
|