/build/soong/symbol_inject/ |
D | elf_test.go | 26 offset, size uint64 32 size: 128, 38 size: 128, 44 size: 128, 54 offset, size, err := findSymbol(file, testCase.symbol) 58 if offset != testCase.offset || size != testCase.size { 59 t.Errorf("expected %x:%x, got %x:%x", testCase.offset, testCase.size, offset, size)
|
D | macho_test.go | 27 offset, size uint64 33 size: 128, 39 size: 128, 45 size: 128, 55 offset, size, err := findSymbol(file, testCase.symbol) 59 if offset != testCase.offset || size != testCase.size { 60 t.Errorf("expected %x:%x, got %x:%x", testCase.offset, testCase.size, offset, size)
|
D | symbol_inject.go | 55 offset, size, err := findSymbol(file, symbol) 60 if uint64(len(value))+1 > size { 61 return fmt.Errorf("value length %d overflows symbol size %d", len(value), size) 66 expected := make([]byte, size) 67 existing := make([]byte, size) 79 buf := make([]byte, size) 86 offset, size, err := findSymbol(file, symbol) 91 if size != 8 { 92 return fmt.Errorf("symbol %q is not a uint64, it is %d bytes long", symbol, size) 138 size := symbol.Size [all …]
|
D | pe_test.go | 27 offset, size uint64 33 size: 128, 39 size: 128, 45 size: 128, 65 size: 128, 83 size: 128, 103 size: 128, 122 size: 128, 132 offset, size, err := findSymbol(file, testCase.symbol) 136 if offset != testCase.offset || size != testCase.size { [all …]
|
/build/make/tools/ |
D | fat16copy.py | 86 self.idx = self.size - amount 92 if self.idx > self.size: 93 self.idx = self.size 102 def __init__(self, fs, cluster, size=None): argument 111 self.size = size 113 if self.size is None: 114 self.size = fs.get_chain_size(cluster) 118 def read(self, size): argument 120 if self.idx + size > self.size: 121 size = self.size - self.idx [all …]
|
D | generate-self-extracting-archive.py | 95 def _generate_extract_command(start, size, extract_name): argument 114 size_str = ('%d' % size).rjust(_MAX_OFFSET_WIDTH) 116 raise Exception('Size too large (%d)' % size)
|
/build/blueprint/proptools/ |
D | proptools.go | 30 r, size := utf8.DecodeRuneInString(fieldName) 32 if size == len(fieldName) { 35 if strings.IndexFunc(fieldName[size:], unicode.IsLower) == -1 && 36 strings.IndexFunc(fieldName[size:], unicode.IsUpper) != -1 { 39 if len(fieldName) > size { 40 propertyName += fieldName[size:] 48 r, size := utf8.DecodeRuneInString(propertyName) 50 if len(propertyName) > size { 51 fieldName += propertyName[size:]
|
/build/soong/zip/ |
D | rate_limit.go | 30 size int64 member 50 func (r *RateLimit) Request(size int64) { 52 size: size, 64 func (r *RateLimit) Finish(size int64) { 65 r.completions <- size 103 if capacity >= usedCapacity+currentRequest.size { 108 usedCapacity += currentRequest.size
|
/build/soong/third_party/zip/ |
D | reader.go | 70 func NewReader(r io.ReaderAt, size int64) (*Reader, error) { 72 if err := zr.init(r, size); err != nil { 78 func (z *Reader) init(r io.ReaderAt, size int64) error { 79 end, err := readDirectoryEnd(r, size) 83 if end.directoryRecords > uint64(size)/fileHeaderLen { 84 ….Errorf("archive/zip: TOC declares impossible %d files in %d byte zip", end.directoryRecords, size) 89 rs := io.NewSectionReader(r, 0, size) 100 f := &File{zip: z, zipr: r, zipsize: size} 161 size := int64(f.CompressedSize64) 162 r := io.NewSectionReader(f.zipr, f.headerOffset+bodyOffset, size) [all …]
|
D | zip_test.go | 234 const size = 1 << 32 // before the "END\n" part 235 buf := testZip64(t, size) 248 const size = 1<<32 - 1 - int64(len("END\n")) // before the "END\n" part 249 buf := testZip64(t, size) 253 func testZip64(t testing.TB, size int64) *rleBuffer { 255 chunks := int(size / chunkSize) 277 if frag := int(size % chunkSize); frag > 0 { 309 if frag := int(size % chunkSize); frag > 0 { 326 if size+int64(len("END\n")) >= 1<<32-1 { 332 if got, want := f0.UncompressedSize64, uint64(size)+uint64(len(end)); got != want { [all …]
|
D | reader_test.go | 23 Source func() (r io.ReaderAt, size int64) // if non-nil, used instead of testdata/<Name> file 311 rat, size := zt.Source() 312 z, err = NewReader(rat, size) 384 size := uint64(f.UncompressedSize) 385 if size == uint32max { 386 size = f.UncompressedSize64 387 } else if size != f.UncompressedSize64 { 388 …t.Errorf("%v: UncompressedSize=%#x does not match UncompressedSize64=%#x", f.Name, size, f.Uncompr… 401 if size != ft.Size { 402 t.Errorf("%v: uncompressed size %#x, want %#x", ft.Name, size, ft.Size) [all …]
|
D | android.go | 94 size := r.uint16() 95 if int(size) > len(r) { 99 ret = append(ret, input[:4+size]...) 101 input = input[4+size:]
|
/build/make/tools/releasetools/ |
D | ota_package_parser.py | 38 self.blocks_stashed += blocks.size() 39 self.current_stash_size += blocks.size() 45 self.current_stash_size -= self.stash_map[SHA1].size() 50 self.overlap_blocks_stashed += blocks.size() 65 def GetSizeString(size): argument 66 assert size >= 0 68 if size <= base: 69 return "{} bytes".format(size) 71 if size <= base * 1024 or units == 'G': 72 return "{:.1f}{}".format(size / base, units) [all …]
|
D | build_image.py | 415 size = GetDiskUsage(in_dir) 417 "The tree size of %s is %d MB.", in_dir, size // BYTES_IN_MB) 423 size += reserved_size 425 size = common.RoundUpTo4K(size) 427 prop_dict["partition_size"] = str(size) 428 prop_dict["image_size"] = str(size) 433 size // BYTES_IN_MB, prop_dict["extfs_inode_count"]) 450 size -= free_size 451 size += reserved_size 454 size = size * 1003 // 1000 [all …]
|
D | blockimgdiff.py | 98 return (sum(sr.size() for (_, sr) in self.stash_before) - 99 sum(sr.size() for (_, sr) in self.use_stash)) 392 total += blocks_to_write.size() 414 stashed_blocks += sr.size() 430 size = xf.src_ranges.size() 431 src_str_buffer = [str(size)] 445 free_size += sr.size() 454 self.AssertPartition(RangeSet(data=(0, size)), mapped_stashes) 457 self.AssertPartition(RangeSet(data=(0, size)), mapped_stashes) 469 tgt_size = xf.tgt_ranges.size() [all …]
|
D | check_partition_sizes.py | 129 def _RoundPartitionSize(self, size): argument 132 return size 133 return (size + alignment - 1) // alignment * alignment 143 "+".join(str(size) for size in size_list), 154 "+".join(str(size) for size in partition_size_list), 237 "+".join(str(size) for size in group_size_list),
|
/build/make/tools/zipalign/ |
D | ZipFile.h | 97 status_t add(const void* data, size_t size, const char* storageName, in add() argument 100 return addCommon(NULL, data, size, storageName, in add() 158 int getNumEntries(void) const { return mEntries.size(); } in getNumEntries() 218 status_t addCommon(const char* fileName, const void* data, size_t size, 225 const void* data, size_t size, uint32_t* pCRC32); 233 const void* data, size_t size, uint32_t* pCRC32);
|
D | ZipFile.cpp | 139 if (idx < 0 || idx >= (int) mEntries.size()) in getEntryByIndex() 162 for (idx = mEntries.size()-1; idx >= 0; idx--) { in getEntryByName() 179 int count = mEntries.size(); in discardEntries() 360 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size, in addCommon() argument 378 assert(mEntries.size() == mEOCD.mTotalNumEntries); in addCommon() 417 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); in addCommon() 427 long src = inputFp ? ftell(inputFp) : size; in addCommon() 448 result = copyDataToFp(mZipFp, data, size, &crc); in addCommon() 458 uncompressedLen = inputFp ? ftell(inputFp) : size; in addCommon() 524 assert(mEntries.size() == mEOCD.mTotalNumEntries); in add() [all …]
|
/build/make/tools/droiddoc/templates-pdk/assets/design/ |
D | default.css | 36 font-size: 48px; 63 font-size: 12px; 185 .vspace.size-1 { 188 .vspace.size-2 { 191 .vspace.size-3 { 194 .vspace.size-4 { 197 .vspace.size-5 { 200 .vspace.size-6 { 203 .vspace.size-7 { 206 .vspace.size-8 { [all …]
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-docs.css | 18 font-size: 1em; 25 font-size: 13px; 34 font-size:12px; 77 font-size:12px; 219 font-size:10px; 243 font-size:1.7em; 247 font-size:.9em; 287 font-size:.9em; 303 font-size:0.9em; 338 font-size:.8em; [all …]
|
D | yui-3.3.0-reset-min.css | 8 …size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:norm…
|
D | android-developer-core.css | 29 font-size:13px; 52 font-size:inherit; 160 font-size:1em; 252 font-size: 13px; 304 font-size: 11px; 342 font-size:1.25em; 350 font-size:1.25em; 358 font-size:1.7em; 384 font-size: 13px; 461 font-size: 11px; [all …]
|
/build/soong/finder/fs/ |
D | readdir.go | 146 func readInt(b []byte, off, size uintptr) (u uint64, ok bool) { 147 if len(b) < int(off+size) { 150 return readIntLE(b[off:], size), true 153 func readIntLE(b []byte, size uintptr) uint64 { 154 switch size {
|
/build/make/tools/droiddoc/templates-ndk/assets/ |
D | android-developer-docs.css | 30 font-size:13px; 53 font-size:inherit; 161 font-size:1em; 254 font-size: 13px; 306 font-size: 11px; 344 font-size:1.25em; 352 font-size:1.25em; 360 font-size:1.7em; 386 font-size: 13px; 463 font-size: 11px; [all …]
|
/build/make/tools/droiddoc/templates-ndk/assets/css/ |
D | default.css | 40 font-size: 48px; 67 font-size: 12px; 105 font-size:12px; 212 .vspace.size-1 { 215 .vspace.size-2 { 218 .vspace.size-3 { 221 .vspace.size-4 { 224 .vspace.size-5 { 227 .vspace.size-6 { 230 .vspace.size-7 { [all …]
|