Home
last modified time | relevance | path

Searched refs:sys_path (Results 1 – 25 of 25) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/zram/
Dzram_lib.sh100 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/
Dzram_lib.sh75 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/
Dspawn.py152 sys_path=sys.path.copy()
154 i = sys_path.index('')
158 sys_path[i] = process.ORIGINAL_DIR
162 sys_path=sys_path,
Dforkserver.py146 def main(listener_fd, alive_r, preload, main_path=None, sys_path=None): argument
/external/python/setuptools/setuptools/tests/
Dcontexts.py85 sys_path = sys.path[:]
87 yield pr_state, sys_path
89 sys.path[:] = sys_path
/external/python/cpython3/Lib/test/
Dtest_site.py63 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,
Dtest_sysconfig.py22 self.sys_path = sys.path[:]
49 sys.path[:] = self.sys_path
/external/python/cpython2/Modules/
Dmain.c221 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/
Dplatform_UdevVars.py69 device.sys_path, outfile))
73 device.sys_path, outfile))
/external/python/cpython3/Lib/distutils/command/
Dinstall.py574 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/
Dinstall.py592 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/
Dtest_site.py64 self.sys_path = sys.path[:]
72 sys.path[:] = self.sys_path
328 self.sys_path = sys.path[:]
332 sys.path[:] = self.sys_path
Dtest_sysconfig.py24 self.sys_path = sys.path[:]
47 sys.path[:] = self.sys_path
Dtest_import.py446 self.sys_path = sys.path[:]
454 sys.path[:] = self.sys_path
/external/python/cpython3/Modules/
Dmain.c680 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/
Ddarwin_usb.h124 char sys_path[21]; member
Ddarwin_usb.c944 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/
Dnetwork_EthernetStressPlug.py99 if dev.sys_path.endswith('net/%s' % device):
100 return dev.sys_path
/external/python/cpython3/Lib/distutils/tests/
Dtest_build_ext.py32 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/
Dltp_acpi_cmds.c553 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/
Dforking.py398 sys_path=sys.path,
/external/python/cpython3/Python/
Dsysmodule.c2623 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/
Dutils.py2668 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__.py547 self.sys_path = sys.path[:]
556 sys.path[:] = self.sys_path
/external/python/setuptools/pkg_resources/
D__init__.py2119 sys_path = [_normalize_cached(p) for p in sys.path]
2126 return sys_path.index(entry)