/third_party/ltp/testcases/kernel/device-drivers/zram/ |
D | zram_lib.sh | 111 local sys_path="/sys/block/zram${i}/max_comp_streams" 112 echo $max_s > $sys_path || \ 113 tst_brk TFAIL "failed to set '$max_s' to $sys_path" 114 local max_streams=$(cat $sys_path) 120 tst_res TINFO "$sys_path = '$max_streams'" 143 local sys_path="/sys/block/zram${i}/comp_algorithm" 144 echo "$alg" > $sys_path || \ 145 tst_brk TFAIL "can't set '$alg' to $sys_path" 146 tst_res TINFO "$sys_path = '$alg'" 160 local sys_path="/sys/block/zram${i}/disksize" [all …]
|
/third_party/mesa3d/src/compiler/spirv/ |
D | nir_load_libclc.c | 53 const char *sys_path; member 64 .sys_path = DYNAMIC_LIBCLC_PATH "spirv-mesa3d-.spv", 74 .sys_path = DYNAMIC_LIBCLC_PATH "spirv64-mesa3d-.spv", 110 if (clc->file->sys_path != NULL) { in open_clc_data() 111 int fd = open(clc->file->sys_path, O_RDONLY); in open_clc_data() 118 fprintf(stderr, "fstat failed on %s: %m\n", clc->file->sys_path); in open_clc_data() 125 _mesa_sha1_update(&ctx, clc->file->sys_path, strlen(clc->file->sys_path)); in open_clc_data() 185 if (clc->file->sys_path != NULL) { in map_clc_data() 217 if (clc->file->sys_path != NULL) { in close_clc_data()
|
/third_party/python/Lib/multiprocessing/ |
D | spawn.py | 163 sys_path=sys.path.copy() 165 i = sys_path.index('') 169 sys_path[i] = process.ORIGINAL_DIR 173 sys_path=sys_path,
|
D | forkserver.py | 167 def main(listener_fd, alive_r, preload, main_path=None, sys_path=None): argument
|
/third_party/python/Modules/ |
D | main.c | 161 PyObject *sys_path; in pymain_sys_path_add_path0() local 164 sys_path = _PyDict_GetItemIdWithError(sysdict, &PyId_path); in pymain_sys_path_add_path0() 165 if (sys_path == NULL && PyErr_Occurred()) { in pymain_sys_path_add_path0() 170 sys_path = NULL; in pymain_sys_path_add_path0() 172 if (sys_path == NULL) { in pymain_sys_path_add_path0() 177 if (PyList_Insert(sys_path, 0, path0)) { in pymain_sys_path_add_path0()
|
/third_party/python/Python/ |
D | pathconfig.c | 278 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths() local 281 const wchar_t *p = wcschr(sys_path, delim); in config_init_module_search_paths() 283 p = sys_path + wcslen(sys_path); /* End of string */ in config_init_module_search_paths() 286 size_t path_len = (p - sys_path); in config_init_module_search_paths() 291 memcpy(path, sys_path, path_len * sizeof(wchar_t)); in config_init_module_search_paths() 303 sys_path = p + 1; in config_init_module_search_paths()
|
D | initconfig.c | 3101 PyObject *sys_path = PySys_GetObject("path"); /* borrowed reference */ in _Py_DumpPathConfig() local 3102 if (sys_path != NULL && PyList_Check(sys_path)) { in _Py_DumpPathConfig() 3104 Py_ssize_t len = PyList_GET_SIZE(sys_path); in _Py_DumpPathConfig() 3106 PyObject *path = PyList_GET_ITEM(sys_path, i); in _Py_DumpPathConfig()
|
D | import.c | 1489 PyObject *sys_path = PySys_GetObject("path"); in import_find_and_load() local 1493 abs_name, Py_None, sys_path ? sys_path : Py_None, in import_find_and_load()
|
D | sysmodule.c | 3230 PyObject *sys_path = sys_get_object_id(tstate, &PyId_path); in PySys_SetArgvEx() local 3231 if (sys_path != NULL) { in PySys_SetArgvEx() 3232 if (PyList_Insert(sys_path, 0, path0) < 0) { in PySys_SetArgvEx()
|
/third_party/python/Lib/test/ |
D | test_site.py | 68 self.sys_path = sys.path[:] 77 sys.path[:] = self.sys_path 408 self.sys_path = sys.path[:] 412 sys.path[:] = self.sys_path 585 sys_path = [] 590 sys_path.append(abs_path) 591 return sys_path 603 sys_path = self._calc_sys_path_for_underpth_nosite( 617 sys_path,
|
D | test_doctest.py | 2714 self.sys_path = sys.path[:] 2724 sys.path[:] = self.sys_path
|
D | test_sysconfig.py | 29 self.sys_path = sys.path[:] 56 sys.path[:] = self.sys_path
|
/third_party/python/Lib/distutils/command/ |
D | install.py | 597 sys_path = map(os.path.normpath, sys.path) 598 sys_path = map(os.path.normcase, sys_path) 602 install_lib not in sys_path):
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | v4l2-utils.h | 69 const gchar *sys_path; member
|
D | v4l2-utils.c | 84 it->parent.sys_path = g_udev_device_get_sysfs_path (it->device); in gst_v4l2_iterator_next()
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
D | dynlink.c | 126 static char *env_path, *sys_path; variable 1076 if (!sys_path) { in load_library() 1100 if ((sys_path = malloc(n+1))) in load_library() 1101 sys_path[n] = 0; in load_library() 1102 if (!sys_path || read_loop(fd, sys_path, n)<0) { in load_library() 1103 free(sys_path); in load_library() 1104 sys_path = ""; in load_library() 1108 sys_path = ""; in load_library() 1111 if (!sys_path || sys_path[0] == 0) sys_path = "/usr/lib:/lib:/usr/local/lib"; in load_library() 1112 fd = path_open(name, sys_path, buf, sizeof buf); in load_library()
|
/third_party/musl/porting/liteos_a/user/ldso/ |
D | dynlink.c | 126 static char *env_path, *sys_path; variable 1076 if (!sys_path) { in load_library() 1100 if ((sys_path = malloc(n+1))) in load_library() 1101 sys_path[n] = 0; in load_library() 1102 if (!sys_path || read_loop(fd, sys_path, n)<0) { in load_library() 1104 free(sys_path); in load_library() 1105 sys_path = ""; in load_library() 1109 sys_path = ""; in load_library() 1112 if (!sys_path || sys_path[0] == 0) sys_path = "/usr/lib:/lib:/usr/local/lib"; in load_library() 1113 fd = path_open(name, sys_path, buf, sizeof buf); in load_library()
|
/third_party/musl/ldso/ |
D | dynlink.c | 128 static char *env_path, *sys_path; variable 1063 if (!sys_path) { in load_library() 1087 if ((sys_path = malloc(n+1))) in load_library() 1088 sys_path[n] = 0; in load_library() 1089 if (!sys_path || read_loop(fd, sys_path, n)<0) { in load_library() 1090 free(sys_path); in load_library() 1091 sys_path = ""; in load_library() 1095 sys_path = ""; in load_library() 1098 if (!sys_path) sys_path = "/lib:/usr/local/lib:/usr/lib"; in load_library() 1099 fd = path_open(name, sys_path, buf, sizeof buf); in load_library()
|
/third_party/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi_cmds.c | 563 static ssize_t sys_path(struct device *dev, in sys_path() function 571 static DEVICE_ATTR(path, S_IRUSR, sys_path, NULL);
|
/third_party/musl/porting/linux/user/ldso/ |
D | dynlink.c | 136 static char *env_path, *sys_path; variable 238 ns_set_lib_paths(default_ns, sys_path); in init_default_namespace() 247 sys_path, env_path); in init_default_namespace() 341 if (!sys_path) get_sys_path(conf); in init_namespace() 349 if (!sys_path) get_sys_path(conf); in init_namespace() 1865 sys_path = conf->get_sys_paths(); in get_sys_path() 1869 sys_path = conf->get_asan_sys_paths(); in get_sys_path() 1871 if (!sys_path) { in get_sys_path() 1872 sys_path = sys_path_default; in get_sys_path() 1874 size_t newlen = strlen(sys_path) + strlen(sys_path_default) + 2; in get_sys_path() [all …]
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 623 self.sys_path = sys.path[:] 632 sys.path[:] = self.sys_path
|
/third_party/python/patches/ |
D | cpython_mingw_v3.10.2.patch | 10851 + sys_path = sysconfig.get_path(name, scheme) 10852 + self.assertEqual(dist_path, sys_path, (scheme, name))
|