/external/pigweed/pw_tokenizer/py/ |
D | database_test.py | 192 CSV_DEFAULT_DOMAIN.splitlines(), self._csv.read_text().splitlines() 200 self._csv.read_text().splitlines(), 207 CSV_ALL_DOMAINS.splitlines(), self._csv.read_text().splitlines() 226 CSV_DEFAULT_DOMAIN.splitlines(), self._csv.read_text().splitlines() 239 self._csv.read_text().splitlines(), 272 new_csv.splitlines(), self._csv.read_text().splitlines() 288 self._csv.read_text().splitlines(), 311 self._csv.read_text(), 322 CSV_STRINGS.splitlines(), self._csv.read_text().splitlines() 370 self._db_csv.read_text().splitlines(), [all …]
|
/external/fonttools/Tests/designspaceLib/ |
D | split_test.py | 84 data_out.write_text(temp_out.read_text(encoding="utf-8"), encoding="utf-8") 86 assert data_out.read_text(encoding="utf-8") == temp_out.read_text( 98 temp_out.read_text(encoding="utf-8"), encoding="utf-8" 101 assert data_out.read_text(encoding="utf-8") == temp_out.read_text( 146 data_out.write_text(temp_out.read_text(encoding="utf-8"), encoding="utf-8") 148 assert data_out.read_text(encoding="utf-8") == temp_out.read_text(
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_read.py | 15 resources.read_text(package, path) 24 result = resources.read_text(self.data, 'utf-8.file') 28 result = resources.read_text(self.data, 'utf-16.file', encoding='utf-16') 33 self.assertRaises(UnicodeError, resources.read_text, self.data, 'utf-16.file') 34 result = resources.read_text(self.data, 'utf-16.file', errors='ignore')
|
D | test_metadata_api.py | 67 distribution('egginfo-pkg').read_text('top_level.txt').strip(), 'mod' 74 self.assertEqual(top_level.read_text(), 'mod\n') 199 file.read_text()
|
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/tests/ |
D | test_read.py | 16 resources.files(package).joinpath(path).read_text() 25 result = resources.files(self.data).joinpath('utf-8.file').read_text() 32 .read_text(encoding='utf-16') 39 self.assertRaises(UnicodeError, target.read_text, encoding='utf-8') 40 result = target.read_text(encoding='utf-8', errors='ignore')
|
D | test_compatibilty_files.py | 67 self.assertEqual(self.files.read_text(), 'Hello, world!') 71 self.assertEqual((self.files / 'a').read_text(), 'Hello, world!')
|
/external/python/setuptools/setuptools/_vendor/importlib_resources/tests/ |
D | test_read.py | 16 resources.files(package).joinpath(path).read_text() 25 result = resources.files(self.data).joinpath('utf-8.file').read_text() 32 .read_text(encoding='utf-16') 39 self.assertRaises(UnicodeError, target.read_text, encoding='utf-8') 40 result = target.read_text(encoding='utf-8', errors='ignore')
|
D | test_compatibilty_files.py | 67 self.assertEqual(self.files.read_text(), 'Hello, world!') 71 self.assertEqual((self.files / 'a').read_text(), 'Hello, world!')
|
/external/python/setuptools/tools/ |
D | vendored.py | 40 text = file.read_text() 53 text = file.read_text() 65 text = file.read_text().replace('importlib_resources.abc', '.abc') 75 text = file.read_text().replace('typing_extensions', '..typing_extensions') 85 text = more_file.read_text() 97 text = file.read_text()
|
/external/python/setuptools/setuptools/_vendor/importlib_metadata/ |
D | __init__.py | 483 def read_text(self, encoding='utf-8'): member in PackagePath 508 def read_text(self, filename): member in Distribution 583 self.read_text('METADATA') 584 or self.read_text('PKG-INFO') 588 or self.read_text('') 609 return EntryPoints._from_text_for(self.read_text('entry_points.txt'), self) 640 text = self.read_text('RECORD') 648 text = self.read_text('SOURCES.txt') 661 source = self.read_text('requires.txt') 909 def read_text(self, filename): member in PathDistribution [all …]
|
/external/python/cpython3/Lib/importlib/metadata/ |
D | __init__.py | 493 def read_text(self, encoding='utf-8'): member in PackagePath 518 def read_text(self, filename): member in Distribution 605 self.read_text('METADATA') 606 or self.read_text('PKG-INFO') 610 or self.read_text('') 631 return EntryPoints._from_text_for(self.read_text('entry_points.txt'), self) 659 text = self.read_text('RECORD') 667 text = self.read_text('SOURCES.txt') 680 source = self.read_text('requires.txt') 919 def read_text(self, filename): member in PathDistribution [all …]
|
/external/tensorflow/tensorflow/tools/docs/ |
D | generate2_test.py | 73 raw_ops_page = (output_dir/'tf/raw_ops.md').read_text() 76 toc = yaml.safe_load((output_dir / 'tf/_toc.yaml').read_text()) 81 redirects = yaml.safe_load((output_dir / 'tf/_redirects.yaml').read_text())
|
D | generate2.py | 256 content = yaml.safe_load(path.read_text()) 294 if contents not in path.read_text(): 311 if content in path.read_text():
|
/external/crosvm/tools/contrib/ |
D | cargo_refactor.py | 25 contents = file_path.read_text() 35 contents = file_path.read_text() 59 contents = toml.read_text()
|
/external/libxkbcommon/test/ |
D | symbols-leak-test.py | 17 return re.findall(r'^\s+(xkb_.*);', path.read_text('utf-8'), re.MULTILINE) 21 return re.findall(r'XKB_EXPORT.*\n(xkb_.*)\(', path.read_text('utf-8'))
|
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 22 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() function 96 if (read_text(path, buf, len) >= 0) in cg_read() 199 if (read_text("/proc/self/mounts", buf, sizeof(buf)) <= 0) in cg_find_unified_root() 508 if (read_text("/proc/swaps", buf, sizeof(buf)) <= 0) in is_swap_enabled() 548 return read_text(path, buf, size); in proc_read_text()
|
/external/cronet/build/ |
D | action_helpers_unittest.py | 33 self.assertEqual(tmp_file.read_text(), 'test2') 55 return tmp_file.read_text()
|
/external/angle/build/ |
D | action_helpers_unittest.py | 33 self.assertEqual(tmp_file.read_text(), 'test2') 55 return tmp_file.read_text()
|
/external/skia/infra/bots/recipe_modules/run/ |
D | api.py | 43 return self.m.file.read_text(name, filename, *args, **kwargs) 65 return self.m.file.read_text('Get %s VERSION' % asset_name,
|
/external/cronet/build/private_code_test/ |
D | private_code_test.py | 67 text = pathlib.Path(path).read_text() 110 linker_inputs = pathlib.Path(args.linker_inputs).read_text().splitlines()
|
/external/angle/build/private_code_test/ |
D | private_code_test.py | 67 text = pathlib.Path(path).read_text() 110 linker_inputs = pathlib.Path(args.linker_inputs).read_text().splitlines()
|
/external/python/setuptools/setuptools/tests/config/ |
D | test_apply_pyprojecttoml.py | 19 EXAMPLES = (Path(__file__).parent / "setupcfg_examples.txt").read_text() 35 toml_config = Translator().translate(setupcfg_example.read_text(), "setup.cfg") 188 text = pyproject.read_text(encoding="utf-8")
|
/external/crosvm/tools/ |
D | custom_checks | 170 contents = file_path.read_text() 189 file_path.write_text(file_path.read_text() + "\n")
|
/external/python/setuptools/setuptools/_vendor/importlib_resources/ |
D | __init__.py | 14 read_text,
|
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/ |
D | __init__.py | 14 read_text,
|