Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 7 of 7) sorted by relevance

/development/vndk/tools/definition-tool/tools/
Dupdate_dataset.py25 with open(path, 'r') as fp:
26 for line in fp:
35 with open(module_info_path, 'r') as fp:
36 data = json.load(fp)
96 with open(args.tag_file, 'r') as fp:
97 reader = csv.reader(fp)
238 with open(args.output, 'w') as fp:
239 writer = csv.writer(fp, lineterminator='\n')
/development/gsi/gsi_util/gsi_util/dumpers/
Dprop_dumper.py28 with open(filename) as fp:
29 self._content = fp.read()
/development/vndk/tools/definition-tool/tests/
Dtest_tagged_dict.py173 fp = StringIO('Path,Tag\nliba.so,system-only\n')
175 d.load_from_csv(fp)
178 fp = StringIO('Tag,Path\nsystem-only,liba.so\n')
180 d.load_from_csv(fp)
185 fp = StringIO('liba.so,system-only\n')
187 d.load_from_csv(fp)
216 fp = StringIO(_TEST_DATA)
218 d.load_from_csv(fp)
237 fp = StringIO(_TEST_DATA)
239 d.load_from_csv(fp)
[all …]
/development/vndk/tools/sourcedr/ninja/
Dninja.py566 with open(path, 'r', encoding=encoding) as fp:
567 self._push_context(Lexer(fp, path, encoding), env)
880 with open(path, 'rb') as fp:
881 return self._parse(fp, encoding)
922 def _parse(self, fp, encoding): argument
924 if fp.readline() != b'# ninjadeps\n':
928 version = self._unpack_uint32(fp.read(4))
935 buf = fp.read(4)
950 buf = fp.read(record_size)
974 buf = fp.read(record_size - 4)
[all …]
/development/build/
Dsdk-android-mips64.atree17 # Copy the little-endian mips64-fp kernel image to .../kernel-qemu
Dsdk-android-mips.atree17 # Copy the little-endian Mips32-fp kernel image to .../kernel-qemu
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1400 def load_from_csv(self, fp): argument
1401 reader = csv.reader(fp)
1423 def create_from_csv(fp, vndk_lib_dirs=None): argument
1425 d.load_from_csv(fp)
1431 with open(path, 'r') as fp:
1432 return TaggedPathDict.create_from_csv(fp, vndk_lib_dirs)
1600 with open(path, 'rb') as fp:
1601 if fp.read(2) != b'PK':
3748 with open(args.file_size_output, 'w') as fp:
3749 self._print_file_size_output(graph, vndk_lib, file=fp)