Home
last modified time | relevance | path

Searched refs:data_path (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/test/test_tools/
Dtest_pindent.py39 data_path = os.path.join(directory, '_test.py')
42 with open(data_path, 'w') as f:
45 rc, out, err = assert_python_ok(self.script, '-d', data_path)
48 backup = data_path + '~'
52 with open(data_path) as f:
58 rc, out, err = assert_python_ok(self.script, '-c', data_path)
63 with open(data_path) as f:
67 with open(data_path, 'w') as f:
69 rc, out, err = assert_python_ok(self.script, '-r', data_path)
74 with open(data_path) as f:
/third_party/libinput/tools/
Dlibinput-quirks.c100 const char *data_path = NULL, in main() local
136 data_path = optarg; in main()
168 if (!data_path) { in main()
171 data_path = LIBINPUT_QUIRKS_SRCDIR; in main()
174 data_path = LIBINPUT_QUIRKS_DIR; in main()
179 quirks = quirks_init_subsystem(data_path, in main()
Dlibinput-record.c1761 const char *data_path = LIBINPUT_QUIRKS_DIR; in print_device_quirks() local
1770 data_path = LIBINPUT_QUIRKS_SRCDIR; in print_device_quirks()
1776 quirks = quirks_init_subsystem(data_path, in print_device_quirks()
/third_party/rust/crates/unicode-width/src/
Dtests.rs100 let data_path = "bench_data/enwik8"; in enwik8() localVariable
101 let string = std::fs::read_to_string(data_path).unwrap_or_default(); in enwik8()
109 let data_path = "bench_data/jawiki-20220501-pages-articles-multistream-index.txt"; in jawiki() localVariable
110 let string = std::fs::read_to_string(data_path).unwrap_or_default(); in jawiki()
/third_party/libinput/src/
Dquirks.c1090 parse_files(struct quirks_context *ctx, const char *data_path) in parse_files() argument
1096 ndev = scandir(data_path, &namelist, is_data_file, versionsort); in parse_files()
1100 data_path); in parse_files()
1110 data_path, in parse_files()
1125 quirks_init_subsystem(const char *data_path, in quirks_init_subsystem() argument
1133 assert(data_path); in quirks_init_subsystem()
1142 qlog_debug(ctx, "%s is data root\n", data_path); in quirks_init_subsystem()
1149 if (!parse_files(ctx, data_path)) in quirks_init_subsystem()
Dquirks.h165 quirks_init_subsystem(const char *data_path,
Dlibinput.c1884 const char *data_path, in libinput_init_quirks() local
1894 data_path = getenv("LIBINPUT_QUIRKS_DIR"); in libinput_init_quirks()
1895 if (!data_path) { in libinput_init_quirks()
1896 data_path = LIBINPUT_QUIRKS_DIR; in libinput_init_quirks()
1900 quirks = quirks_init_subsystem(data_path, in libinput_init_quirks()
1910 data_path, in libinput_init_quirks()
/third_party/python/Lib/test/test_importlib/
Dtest_resource.py152 data_path = pathlib.Path(self.ZIP_MODULE.__file__)
153 data_dir = data_path.parent
Dutil.py551 data_path = Path(cls.ZIP_MODULE.__file__)
552 data_dir = data_path.parent
/third_party/libphonenumber/tools/cpp/src/cpp-build/
Dgenerate_geocoding_data.cc561 bool WriteSource(const string& data_path, const string& base_name, in WriteSource() argument
574 if (!ListDirectory(data_path, &entries)) { in WriteSource()
584 const string dir_path = data_path + "/" + it->name(); in WriteSource()
/third_party/libinput/test/
Dlitest.c1007 const char *data_path; in litest_run_suite() local
1009 data_path = getenv("LIBINPUT_QUIRKS_DIR"); in litest_run_suite()
1010 if (!data_path) in litest_run_suite()
1011 data_path = LIBINPUT_QUIRKS_DIR; in litest_run_suite()
1013 quirks_context = quirks_init_subsystem(data_path, in litest_run_suite()
/third_party/libinput/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff4777 - data_path = getenv("LIBINPUT_QUIRKS_DIR");
4778 - if (!data_path) {
4779 - data_path = LIBINPUT_QUIRKS_DIR;
4782 + data_path = (char *)LIBINPUT_QUIRKS_DIR;
4785 quirks = quirks_init_subsystem(data_path,