Searched refs:read (Results 1 - 25 of 73) sorted by relevance

123

/build/make/tools/
H A Dauto_gen_test_config_test.py141 self.assertEqual(config_file.read(), empty_config.read())
155 self.assertEqual(config_file.read(), EXPECTED_JUNIT_TEST_CONFIG)
170 config_file.read(), EXPECTED_INSTRUMENTATION_TEST_CONFIG)
H A Dgenerate-enforce-rro-android-manifest.py54 data = f.read()
H A Dfat16copy.py44 return struct.unpack("<H", f.read(2))[0]
48 return struct.unpack("<L", f.read(4))[0]
52 return struct.unpack("B", f.read(1))[0]
118 def read(self, size): member in class:fat_file
149 backing: A file-like object from which we can read dentry info. Should have
235 data_file.write(data.read())
399 record = f.read(32)
405 record = f.read(32)
427 def read(self, count): member in class:root_dentry_file
434 ret = f.read(coun
[all...]
H A Dauto_gen_test_config.py78 config = template.read()
H A Dcheck_link_type.py65 dep_types = dep_file.read().strip().split(' ')
H A Dcheck_radio_versions.py48 digest = sha1(f.read()).hexdigest()
H A Dgenerate-notice-files.py55 block = f.read(MD5_BLOCKSIZE)
122 print >> output_file, html_escape(open(value[0]).read())
146 print >> output_file, open(value[0]).read()
186 print >> output_file, '<file-content contentId="%s"><![CDATA[%s]]></file-content>' % (file_key, html_escape(open(filename).read()))
/build/tools/
H A Dauto_gen_test_config_test.py141 self.assertEqual(config_file.read(), empty_config.read())
155 self.assertEqual(config_file.read(), EXPECTED_JUNIT_TEST_CONFIG)
170 config_file.read(), EXPECTED_INSTRUMENTATION_TEST_CONFIG)
H A Dgenerate-enforce-rro-android-manifest.py54 data = f.read()
H A Dfat16copy.py44 return struct.unpack("<H", f.read(2))[0]
48 return struct.unpack("<L", f.read(4))[0]
52 return struct.unpack("B", f.read(1))[0]
118 def read(self, size): member in class:fat_file
149 backing: A file-like object from which we can read dentry info. Should have
235 data_file.write(data.read())
399 record = f.read(32)
405 record = f.read(32)
427 def read(self, count): member in class:root_dentry_file
434 ret = f.read(coun
[all...]
H A Dauto_gen_test_config.py78 config = template.read()
H A Dcheck_link_type.py65 dep_types = dep_file.read().strip().split(' ')
H A Dcheck_radio_versions.py48 digest = sha1(f.read()).hexdigest()
H A Dgenerate-notice-files.py55 block = f.read(MD5_BLOCKSIZE)
122 print >> output_file, html_escape(open(value[0]).read())
146 print >> output_file, open(value[0]).read()
186 print >> output_file, '<file-content contentId="%s"><![CDATA[%s]]></file-content>' % (file_key, html_escape(open(filename).read()))
/build/make/tools/releasetools/
H A Dtest_sign_target_files_apks.py115 self.assertEqual(BOOT_CMDLINE1, output_zip.read('BOOT/cmdline'))
125 self.assertEqual(BOOT_CMDLINE2, output_zip.read('BOOT/cmdline'))
143 self.assertEqual(BOOT_CMDLINE, output_zip.read('BOOT/cmdline'))
148 cert1 = cert1_fp.read()
151 cert2 = cert2_fp.read()
154 cert3 = cert3_fp.read()
174 cert1 = cert1_fp.read()
177 cert2 = cert2_fp.read()
192 cert1 = cert1_fp.read()
195 cert2 = cert2_fp.read()
[all...]
H A Dsparse_img.py39 header_bin = f.read(28)
75 header_bin = f.read(12)
95 fill_data = f.read(4)
123 # read-ahead. It will fail if such blocks contain non-zeroes. We zero out
125 # are the maximum read-ahead we configure for dm-verity block devices.
196 yield f.read(this_read * self.blocksize)
208 yield f.read(this_read * self.blocksize)
279 data = f.read(self.blocksize)
H A Dsign_target_files_apks.py223 data = compressed.read()
226 data = signed.read()
254 data = input_tf_zip.read(info.filename)
369 The mapping info is read from OPTIONS.key_map. Non-existent certificate will
390 common.ParseCertificate(old_fp.read())).lower()
393 common.ParseCertificate(new_fp.read())).lower()
488 keylist = input_tf_zip.read("META/otakeys.txt").split()
490 raise common.ExternalError("can't read META/otakeys.txt from input")
612 in_cmdline = input_zip.read("BOOT/cmdline")
645 input_zip.read('MET
[all...]
H A Dvalidate_target_files.py21 - It verifies the file consistency between the ones in IMAGES/system.img (read
40 file_data = f.read()
148 lines = script.read().strip().split('\n')
/build/tools/releasetools/
H A Dtest_sign_target_files_apks.py115 self.assertEqual(BOOT_CMDLINE1, output_zip.read('BOOT/cmdline'))
125 self.assertEqual(BOOT_CMDLINE2, output_zip.read('BOOT/cmdline'))
143 self.assertEqual(BOOT_CMDLINE, output_zip.read('BOOT/cmdline'))
148 cert1 = cert1_fp.read()
151 cert2 = cert2_fp.read()
154 cert3 = cert3_fp.read()
174 cert1 = cert1_fp.read()
177 cert2 = cert2_fp.read()
192 cert1 = cert1_fp.read()
195 cert2 = cert2_fp.read()
[all...]
H A Dsparse_img.py39 header_bin = f.read(28)
75 header_bin = f.read(12)
95 fill_data = f.read(4)
123 # read-ahead. It will fail if such blocks contain non-zeroes. We zero out
125 # are the maximum read-ahead we configure for dm-verity block devices.
196 yield f.read(this_read * self.blocksize)
208 yield f.read(this_read * self.blocksize)
279 data = f.read(self.blocksize)
H A Dsign_target_files_apks.py223 data = compressed.read()
226 data = signed.read()
254 data = input_tf_zip.read(info.filename)
369 The mapping info is read from OPTIONS.key_map. Non-existent certificate will
390 common.ParseCertificate(old_fp.read())).lower()
393 common.ParseCertificate(new_fp.read())).lower()
488 keylist = input_tf_zip.read("META/otakeys.txt").split()
490 raise common.ExternalError("can't read META/otakeys.txt from input")
612 in_cmdline = input_zip.read("BOOT/cmdline")
645 input_zip.read('MET
[all...]
H A Dvalidate_target_files.py21 - It verifies the file consistency between the ones in IMAGES/system.img (read
40 file_data = f.read()
148 lines = script.read().strip().split('\n')
/build/kati/
H A Dfile.cc45 ssize_t r = HANDLE_EINTR(read(fd, &buf_[0], len));
48 PERROR("read failed for %s", filename.c_str());
49 ERROR("Unexpected read length=%zd expected=%zu", r, len);
/build/make/tools/zipalign/
H A DZipEntry.h242 status_t read(FILE* fp);
300 status_t read(FILE* fp);
/build/tools/zipalign/
H A DZipEntry.h242 status_t read(FILE* fp);
300 status_t read(FILE* fp);

Completed in 593 milliseconds

123