/third_party/ltp/testcases/kernel/device-drivers/zram/ |
H A D | zram_lib.sh | 110 local sys_path="/sys/block/zram${i}/max_comp_streams" 111 echo $max_s > $sys_path || \ 112 tst_brk TFAIL "failed to set '$max_s' to $sys_path" 113 local max_streams=$(cat $sys_path) 119 tst_res TINFO "$sys_path = '$max_streams'" 142 local sys_path="/sys/block/zram${i}/comp_algorithm" 143 echo "$alg" > $sys_path || \ 144 tst_brk TFAIL "can't set '$alg' to $sys_path" 145 tst_res TINFO "$sys_path = '$alg'" 159 local sys_path [all...] |
/third_party/mesa3d/src/compiler/spirv/ |
H A 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 ! in close_clc_data() [all...] |
/third_party/python/Lib/multiprocessing/ |
H A D | spawn.py | 167 sys_path=sys.path.copy() 169 i = sys_path.index('') 173 sys_path[i] = process.ORIGINAL_DIR 177 sys_path=sys_path, 222 if 'sys_path' in data: 223 sys.path = data['sys_path']
|
H A D | forkserver.py | 130 desired_keys = {'main_path', 'sys_path'} 167 def main(listener_fd, alive_r, preload, main_path=None, sys_path=None):
|
/third_party/python/Lib/test/ |
H A D | test_site.py | 69 self.sys_path = sys.path[:] 78 sys.path[:] = self.sys_path 411 self.sys_path = sys.path[:] 415 sys.path[:] = self.sys_path 599 sys_path = [] 604 sys_path.append(abs_path) 605 return sys_path 613 sys_path = self._calc_sys_path_for_underpth_nosite( 624 sys_path, 639 sys_path [all...] |
H A D | test_doctest.py | 2740 self.sys_path = sys.path[:] 2750 sys.path[:] = self.sys_path
|
H A D | test_sysconfig.py | 31 self.sys_path = sys.path[:] 58 sys.path[:] = self.sys_path
|
/third_party/python/Modules/ |
H A D | main.c | 161 PyObject *sys_path; in pymain_sys_path_add_path0() local 164 sys_path = PyDict_GetItemWithError(sysdict, &_Py_ID(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/Lib/distutils/command/ |
H A 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/musl/porting/liteos_a/user/ldso/ |
H A 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_pat in load_library() [all...] |
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
H A 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_pat in load_library() [all...] |
/third_party/musl/ldso/ |
H A D | dynlink.c | 138 static char *env_path, *sys_path; variable 1147 if (!sys_path) { 1171 if ((sys_path = malloc(n+1))) 1172 sys_path[n] = 0; 1173 if (!sys_path || read_loop(fd, sys_path, n)<0) { 1174 free(sys_path); 1175 sys_path = ""; 1179 sys_path = ""; 1183 if (!sys_path || sys_pat [all...] |
/third_party/ltp/testcases/kernel/device-drivers/acpi/ |
H A 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/ |
H A D | dynlink.c | 137 static char *env_path, *sys_path; variable 241 ns_set_lib_paths(default_ns, sys_path); in init_default_namespace() 250 sys_path, env_path); in init_default_namespace() 344 if (!sys_path) get_sys_path(conf); in init_namespace() 351 /* sys_path needs to be parsed through ini file */ in init_namespace() 352 if (!sys_path) get_sys_path(conf); in init_namespace() 1868 sys_path = conf->get_sys_paths(); in get_sys_path() 1872 sys_path = conf->get_asan_sys_paths(); in get_sys_path() 1874 if (!sys_path) { in get_sys_path() 1875 sys_path in get_sys_path() [all...] |
/third_party/musl/ldso/linux/ |
H A D | dynlink.c | 165 static char *env_path, *sys_path; variable 275 ns_set_lib_paths(default_ns, sys_path); in init_default_namespace() 284 sys_path, env_path); in init_default_namespace() 378 if (!sys_path) get_sys_path(conf); in init_namespace() 385 /* sys_path needs to be parsed through ini file */ in init_namespace() 386 if (!sys_path) get_sys_path(conf); in init_namespace() 2056 sys_path = conf->get_sys_paths(); in get_sys_path() 2060 sys_path = conf->get_asan_sys_paths(); in get_sys_path() 2062 if (!sys_path) { in get_sys_path() 2063 sys_path in get_sys_path() [all...] |
/third_party/python/Python/ |
H A D | sysmodule.c | 3346 PyObject *sys_path = _PySys_GetAttr(tstate, &_Py_ID(path)); in PySys_SetArgvEx() local 3347 if (sys_path != NULL) { in PySys_SetArgvEx() 3348 if (PyList_Insert(sys_path, 0, path0) < 0) { in PySys_SetArgvEx()
|
H A D | import.c | 1704 PyObject *sys_path = PySys_GetObject("path"); in import_find_and_load() local 1708 abs_name, Py_None, sys_path ? sys_path : Py_None, in import_find_and_load()
|
/third_party/python/Lib/test/test_import/ |
H A D | __init__.py | 643 self.sys_path = sys.path[:] 652 sys.path[:] = self.sys_path
|