/external/linux-kselftest/tools/testing/selftests/zram/ |
D | zram_lib.sh | 100 local sys_path="/sys/block/zram${i}/max_comp_streams" 101 echo $max_s > $sys_path || \ 102 echo "FAIL failed to set '$max_s' to $sys_path" 104 local max_streams=$(cat $sys_path) 110 echo "$sys_path = '$max_streams' ($i/$dev_num)" 124 local sys_path="/sys/block/zram${i}/comp_algorithm" 125 echo "$alg" > $sys_path || \ 126 echo "FAIL can't set '$alg' to $sys_path" 128 echo "$sys_path = '$alg' ($i/$dev_num)" 139 local sys_path="/sys/block/zram${i}/disksize" [all …]
|
/external/ltp/testcases/kernel/device-drivers/zram/ |
D | zram_lib.sh | 75 local sys_path="/sys/block/zram${i}/max_comp_streams" 76 echo $max_s > $sys_path || \ 77 tst_brkm TFAIL "failed to set '$max_s' to $sys_path" 78 local max_streams=$(cat $sys_path) 84 tst_resm TINFO "$sys_path = '$max_streams' ($i/$dev_num)" 105 local sys_path="/sys/block/zram${i}/comp_algorithm" 106 echo "$alg" > $sys_path || \ 107 tst_brkm TFAIL "can't set '$alg' to $sys_path" 109 tst_resm TINFO "$sys_path = '$alg' ($i/$dev_num)" 120 local sys_path="/sys/block/zram${i}/disksize" [all …]
|
/external/python/cpython3/Lib/multiprocessing/ |
D | spawn.py | 152 sys_path=sys.path.copy() 154 i = sys_path.index('') 158 sys_path[i] = process.ORIGINAL_DIR 162 sys_path=sys_path,
|
D | forkserver.py | 146 def main(listener_fd, alive_r, preload, main_path=None, sys_path=None): argument
|
/external/python/setuptools/setuptools/tests/ |
D | contexts.py | 85 sys_path = sys.path[:] 87 yield pr_state, sys_path 89 sys.path[:] = sys_path
|
/external/python/cpython3/Lib/test/ |
D | test_site.py | 63 self.sys_path = sys.path[:] 72 sys.path[:] = self.sys_path 378 self.sys_path = sys.path[:] 382 sys.path[:] = self.sys_path 569 sys_path = [] 574 sys_path.append(abs_path) 575 return sys_path 587 sys_path = self._calc_sys_path_for_underpth_nosite( 601 sys_path,
|
D | test_sysconfig.py | 22 self.sys_path = sys.path[:] 49 sys.path[:] = self.sys_path
|
/external/python/cpython2/Modules/ |
D | main.c | 221 PyObject *sys_path = NULL; in RunMainFromImporter() local 222 if ((sys_path = PySys_GetObject("path")) && in RunMainFromImporter() 223 !PyList_SetItem(sys_path, 0, argv0)) in RunMainFromImporter() 227 sys_path = NULL; in RunMainFromImporter()
|
/external/autotest/client/site_tests/platform_UdevVars/ |
D | platform_UdevVars.py | 69 device.sys_path, outfile)) 73 device.sys_path, outfile))
|
/external/python/cpython3/Lib/distutils/command/ |
D | install.py | 574 sys_path = map(os.path.normpath, sys.path) 575 sys_path = map(os.path.normcase, sys_path) 579 install_lib not in sys_path):
|
/external/python/cpython2/Lib/distutils/command/ |
D | install.py | 592 sys_path = map(os.path.normpath, sys.path) 593 sys_path = map(os.path.normcase, sys_path) 597 install_lib not in sys_path):
|
/external/python/cpython2/Lib/test/ |
D | test_site.py | 64 self.sys_path = sys.path[:] 72 sys.path[:] = self.sys_path 328 self.sys_path = sys.path[:] 332 sys.path[:] = self.sys_path
|
D | test_sysconfig.py | 24 self.sys_path = sys.path[:] 47 sys.path[:] = self.sys_path
|
D | test_import.py | 446 self.sys_path = sys.path[:] 454 sys.path[:] = self.sys_path
|
/external/python/cpython3/Modules/ |
D | main.c | 680 PyObject *sys_path = PySys_GetObject("path"); in pymain_run_main_from_importer() local 681 if (sys_path == NULL) { in pymain_run_main_from_importer() 686 if (PyList_Insert(sys_path, 0, pymain->main_importer_path)) { in pymain_run_main_from_importer() 1368 PyObject *sys_path = PySys_GetObject("path"); in pymain_update_sys_path() local 1369 if (sys_path == NULL) { in pymain_update_sys_path() 1375 if (PyList_Insert(sys_path, 0, path0) < 0) { in pymain_update_sys_path() 2231 const wchar_t *sys_path = Py_GetPath(); in config_init_module_search_paths() local 2233 const wchar_t *p = sys_path; in config_init_module_search_paths() 2235 p = wcschr(sys_path, delim); in config_init_module_search_paths() 2237 p = sys_path + wcslen(sys_path); /* End of string */ in config_init_module_search_paths() [all …]
|
/external/libusb/libusb/os/ |
D | darwin_usb.h | 124 char sys_path[21]; member
|
D | darwin_usb.c | 944 snprintf(new_device->sys_path, 20, "%03i-%04x-%04x-%02x-%02x", new_device->address, in darwin_get_cached_device() 1020 dev->port_number, (void *) dev->parent_dev, priv->dev->sys_path); in process_new_device()
|
/external/autotest/client/site_tests/network_EthernetStressPlug/ |
D | network_EthernetStressPlug.py | 99 if dev.sys_path.endswith('net/%s' % device): 100 return dev.sys_path
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_build_ext.py | 32 self.sys_path = sys.path, sys.path[:] 50 sys.path = self.sys_path[0] 51 sys.path[:] = self.sys_path[1]
|
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi_cmds.c | 553 static ssize_t sys_path(struct device *dev, in sys_path() function 561 static DEVICE_ATTR(path, S_IRUSR, sys_path, NULL);
|
/external/python/cpython2/Lib/multiprocessing/ |
D | forking.py | 398 sys_path=sys.path,
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 2623 PyObject *sys_path = _PySys_GetObjectId(&PyId_path); in PySys_SetArgvEx() local 2624 if (sys_path != NULL) { in PySys_SetArgvEx() 2625 if (PyList_Insert(sys_path, 0, argv0) < 0) { in PySys_SetArgvEx()
|
/external/autotest/client/common_lib/ |
D | utils.py | 2668 sys_path = os.environ.get('PATH') 2669 prefix_list = sys_path.split(os.pathsep) if sys_path else []
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 547 self.sys_path = sys.path[:] 556 sys.path[:] = self.sys_path
|
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 2119 sys_path = [_normalize_cached(p) for p in sys.path] 2126 return sys_path.index(entry)
|