/tools/apkzlib/src/test/resources/testData/packaging/text-files/ |
D | rfc2460.txt | 91 Some IPv4 header fields have been dropped or made optional, to 93 to limit the bandwidth cost of the IPv6 header. 97 Changes in the way IP header options are encoded allows for 124 This document specifies the basic IPv6 header and the initially- 162 packet - an IPv6 header plus payload. 220 this IPv6 header, in octets. (Note that any 235 Next Header 8-bit selector. Identifies the type of header 236 immediately following the IPv6 header. Uses the 250 a Routing header is present). See [ADDRARCH] 290 headers that may be placed between the IPv6 header and the upper- [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | LocalFileRecord.java | 161 ByteBuffer header; in getRecord() local 163 header = apk.getByteBuffer(headerStartOffset, headerSizeWithName); in getRecord() 167 header.order(ByteOrder.LITTLE_ENDIAN); in getRecord() 169 int recordSignature = header.getInt(); in getRecord() 175 short gpFlags = header.getShort(GP_FLAGS_OFFSET); in getRecord() 189 long crc32 = ZipUtils.getUnsignedInt32(header, CRC32_OFFSET); in getRecord() 196 long compressedSize = ZipUtils.getUnsignedInt32(header, COMPRESSED_SIZE_OFFSET); in getRecord() 203 long uncompressedSize = ZipUtils.getUnsignedInt32(header, UNCOMPRESSED_SIZE_OFFSET); in getRecord() 211 int nameLength = ZipUtils.getUnsignedInt16(header, NAME_LENGTH_OFFSET); in getRecord() 218 String name = CentralDirectoryRecord.getName(header, NAME_OFFSET, nameLength); in getRecord() [all …]
|
/tools/dexter/slicer/ |
D | writer.cc | 44 dex::u1 header = dex::u1(type | (arg << dex::kEncodedValueArgShift)); in WriteEncodedValueHeader() local 45 data.Push<dex::u1>(header); in WriteEncodedValueHeader() 307 dex::Header* header = reinterpret_cast<dex::Header*>(image + 0); in CreateImage() local 310 memcpy(header->magic, dex_ir_->magic.ptr(), dex_ir_->magic.size()); in CreateImage() 312 header->file_size = image_size; in CreateImage() 313 header->header_size = sizeof(dex::Header); in CreateImage() 314 header->endian_tag = dex::kEndianConstant; in CreateImage() 316 header->link_size = 0; in CreateImage() 317 header->link_off = 0; in CreateImage() 319 header->map_off = dex_->map_list.SectionOffset(); in CreateImage() [all …]
|
D | dex_format.cc | 26 u4 ComputeChecksum(const Header* header) { in ComputeChecksum() argument 27 const u1* start = reinterpret_cast<const u1*>(header); in ComputeChecksum() 30 const int non_sum = sizeof(header->magic) + sizeof(header->checksum); in ComputeChecksum() 33 adler32(adler, start + non_sum, header->file_size - non_sum)); in ComputeChecksum()
|
D | reader.cc | 473 dex::u1 header = *(*pptr)++; in ParseEncodedValue() local 474 dex::u1 type = header & dex::kEncodedValueTypeMask; in ParseEncodedValue() 475 dex::u1 arg = header >> dex::kEncodedValueArgShift; in ParseEncodedValue()
|
/tools/dexter/dexter/ |
D | dexter.cc | 229 auto header = reader.Header(); in PrintDexFileStats() local 232 printf(" file_size : %u\n", header->file_size); in PrintDexFileStats() 233 printf(" data_size : %u\n", header->data_size); in PrintDexFileStats() 234 printf(" link_size : %u\n", header->link_size); in PrintDexFileStats() 235 printf(" class_defs_size : %u\n", header->class_defs_size); in PrintDexFileStats() 236 printf(" string_ids_size : %u\n", header->string_ids_size); in PrintDexFileStats() 237 printf(" type_ids_size : %u\n", header->type_ids_size); in PrintDexFileStats() 238 printf(" proto_ids_size : %u\n", header->proto_ids_size); in PrintDexFileStats() 239 printf(" field_ids_size : %u\n", header->field_ids_size); in PrintDexFileStats() 240 printf(" method_ids_size : %u\n", header->method_ids_size); in PrintDexFileStats()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 505 public Chunk(int type, ByteBuffer header, ByteBuffer contents) { in Chunk() argument 507 mHeader = header; in Chunk() 588 ByteBuffer header = chunk.getHeader(); in StringPool() local 589 int headerSizeBytes = header.remaining(); in StringPool() 590 header.position(Chunk.HEADER_MIN_SIZE_BYTES); in StringPool() 591 if (header.remaining() < 20) { in StringPool() 594 + header.remaining() + " bytes"); in StringPool() 596 long stringCount = getUnsignedInt32(header); in StringPool() 601 long styleCount = getUnsignedInt32(header); in StringPool() 605 long flags = getUnsignedInt32(header); in StringPool() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/ |
D | check_quality.py | 152 header = self._wave_reader.getparams() 153 logging.debug('Wave header: %s', header) 155 self._n_channels = header[0] 156 self._sample_width_bits = header[1] * 8 157 self.rate = header[2] 158 self._n_frames = header[3] 159 comptype = header[4] 160 compname = header[5]
|
/tools/asuite/aidegen/lib/ |
D | native_module_info.py | 122 for header in (constant.KEY_HEADER, constant.KEY_SYSTEM): 123 if header in mod_info[flag]: 124 includes.update(set(mod_info[flag][header])) 189 for header in (constant.KEY_HEADER, constant.KEY_SYSTEM): 190 if header not in mod_info[flag]: 192 for include in mod_info[flag][header]:
|
D | clion_project_file_gen_unittest.py | 166 header = clion_project_file_gen._LIST_APPEND_HEADER 169 expected = header + ''.join(src_heads) + srcs + '\n' + tail
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | FileFormat.kt | 90 fun header(): String? { in header() method 123 val header = format.header() in parseHeader() constant 124 if (header == null) { in parseHeader() 131 } else if (header.startsWith(firstLine)) { in parseHeader()
|
D | SignatureWriter.kt | 52 writer.print(options.outputFormat.header()) in <lambda>()
|
D | Baseline.kt | 238 sb.append(format.header()) in <lambda>()
|
/tools/aadevtools/avd/ |
D | batch_add_avd_img.sh | 35 header=0 40 header="${name},${api},${zip}" 55 if [[ $header != "name,api,zip" ]]; then 57 echo "ERROR: The header:$header is not as expected in $INPUT_CSV"
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/ |
D | apollo_log_decoder.py | 68 header = message[0:4] 70 if len(header) == 4 and len(serialized) == len(message) - 4: 71 msg_group, msg_type, msg_len = struct.unpack('>BBH', header)
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | StoredEntry.java | 213 @Nonnull CentralDirectoryHeader header, in StoredEntry() 217 cdh = header; in StoredEntry() 222 if (header.getOffset() >= 0) { in StoredEntry() 287 if (header.getGpBit().isDeferredCrc()) { in StoredEntry() 292 Verify.verify(header.getOffset() >= 0, "Files that are not on disk cannot have the " in StoredEntry()
|
D | CentralDirectoryHeaderCompressInfo.java | 77 public CentralDirectoryHeaderCompressInfo(@Nonnull CentralDirectoryHeader header, in CentralDirectoryHeaderCompressInfo() argument 82 if (header.getName().endsWith("/") || method == CompressionMethod.DEFLATE) { in CentralDirectoryHeaderCompressInfo()
|
/tools/repohooks/ |
D | pre-upload.py | 142 def error(self, header, error): argument 149 status_line = '[%s] %s' % (self.FAILED, header)
|
/tools/repohooks/tools/ |
D | cpplint.py | 737 def FindHeader(self, header): argument 748 if f[0] == header: 5534 for pattern, template, header in _re_pattern_headers_maybe_templates: 5536 required[header] = (linenum, template) 5542 for pattern, template, header in _re_pattern_templates: 5549 required[header] = (linenum, template) 5575 for header in header_keys: 5576 (same_module, common_path) = FilesBelongToSameModule(abs_filename, header) 5577 fullpath = common_path + header
|
/tools/asuite/atest-py2/ |
D | atest.py | 489 header = RUN_HEADER_FMT % {TEST_COUNT: len(tests), TEST_TYPE: test_type} 490 atest_utils.colorful_print(header, constants.MAGENTA)
|
/tools/asuite/atest/ |
D | atest.py | 508 header = RUN_HEADER_FMT % {TEST_COUNT: len(tests), TEST_TYPE: test_type} 509 atest_utils.colorful_print(header, constants.MAGENTA)
|
/tools/dexter/slicer/export/slicer/ |
D | dex_format.h | 303 u4 ComputeChecksum(const Header* header);
|
/tools/external_updater/ |
D | README.md | 109 upgrade. [example](https://cs.corp.google.com/android/external/jsmn/patches/header.diff)
|
/tools/metalava/ |
D | FORMAT.md | 55 New signature files (v2+) generally include a file header comment which states 60 The header looks like this:
|
/tools/metalava/src/test/java/com/android/tools/metalava/stub/ |
D | StubsTest.kt | 1282 fun `Preserve file header comments`() { in <lambda>()
|