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)
257 with open(args.output, 'w') as fp:
258 writer = csv.writer(fp, lineterminator='\n')
/development/vndk/tools/definition-tool/tests/
Dtest_tagged_dict.py144 fp = StringIO('Path,Tag\nliba.so,fwk-only\n')
146 d.load_from_csv(fp)
149 fp = StringIO('Tag,Path\nfwk-only,liba.so\n')
151 d.load_from_csv(fp)
156 fp = StringIO('liba.so,fwk-only\n')
158 d.load_from_csv(fp)
186 fp = StringIO(_TEST_DATA)
188 d.load_from_csv(fp)
207 fp = StringIO(_TEST_DATA)
209 d.load_from_csv(fp)
[all …]
/development/gsi/gsi_util/gsi_util/dumpers/
Dprop_dumper.py28 with open(filename) as fp:
29 self._content = fp.read()
/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.py1351 def load_from_csv(self, fp): argument
1352 reader = csv.reader(fp)
1374 def create_from_csv(fp, vndk_lib_dirs=None): argument
1376 d.load_from_csv(fp)
1382 with open(path, 'r') as fp:
1383 return TaggedPathDict.create_from_csv(fp, vndk_lib_dirs)
1514 with open(path, 'rb') as fp:
1515 if fp.read(2) != b'PK':
3573 with open(args.file_size_output, 'w') as fp:
3574 self._print_file_size_output(graph, vndk_lib, file=fp)