/build/soong/symbol_inject/ |
D | elf_test.go | 26 offset, size uint64 31 offset: 0x1030, 37 offset: 0x1030, 43 offset: 0x10b0, 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 32 offset: 0x1020, 38 offset: 0x1020, 44 offset: 0x10a0, 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 | pe_test.go | 27 offset, size uint64 32 offset: 0x2420, 38 offset: 0x2420, 44 offset: 0x24a0, 64 offset: 0x15f020, 82 offset: 0x2420, 102 offset: 0x2420, 121 offset: 0x2420, 132 offset, size, err := findSymbol(file, testCase.symbol) 136 if offset != testCase.offset || size != testCase.size { [all …]
|
D | symbol_inject_test.go | 26 offset uint64 31 offset: 0, 36 offset: 1, 41 offset: 25, 51 copyAndInject(in, out, testCase.offset, []byte(testCase.buf))
|
D | symbol_inject.go | 55 offset, size, err := findSymbol(file, symbol) 69 _, err := file.r.ReadAt(existing, int64(offset)) 82 return copyAndInject(file.r, w, offset, buf) 86 offset, size, err := findSymbol(file, symbol) 98 return copyAndInject(file.r, w, offset, buf) 101 func copyAndInject(r io.ReaderAt, w io.Writer, offset uint64, buf []byte) (err error) { 103 _, err = io.Copy(w, io.NewSectionReader(r, 0, int64(offset))) 111 pos := int64(offset) + int64(len(buf)) 154 offset := symbol.Section.Offset + symbol.Addr 156 return uint64(offset), uint64(size), nil
|
/build/blueprint/parser/ |
D | modify.go | 99 var offset int64 101 toWrite := int64(patch.Start) - offset 102 written, err := io.Copy(out, io.NewSectionReader(in, offset, toWrite)) 106 offset += toWrite 108 return fmt.Errorf("unexpected EOF at %d", offset) 116 offset += int64(patch.End - patch.Start) 118 _, err := io.Copy(out, io.NewSectionReader(in, offset, math.MaxInt64-offset))
|
D | parser_test.go | 26 func mkpos(offset, line, column int) scanner.Position { argument 28 Offset: offset,
|
/build/soong/third_party/zip/ |
D | writer.go | 29 offset uint64 member 81 if h.isZip64() || h.offset >= uint32max { 95 eb.uint64(h.offset) 106 if h.offset > uint32max { 109 b.uint32(uint32(h.offset)) 128 offset := uint64(start) 130 if records > uint16max || size > uint32max || offset > uint32max { 144 …b.uint64(offset) // offset of start of central directory with respect to the start… 160 offset = uint32max 171 b.uint32(uint32(offset)) // start of directory [all …]
|
D | android.go | 43 offset: uint64(w.cw.count), 147 offset: uint64(w.cw.count),
|
D | reader.go | 146 func (f *File) DataOffset() (offset int64, err error) { 473 func readDirectory64End(r io.ReaderAt, offset int64, d *directoryEnd) (err error) { 475 if _, err := r.ReadAt(buf, offset); err != nil {
|
/build/make/tools/zipalign/ |
D | ZipAlign.cpp | 197 off_t offset = pEntry->getFileOffset(); in verify() local 199 if ((offset % alignTo) != 0) { in verify() 202 (intmax_t) offset, pEntry->getFileName(), in verify() 203 (intmax_t) (offset % alignTo)); in verify() 209 (intmax_t) offset, pEntry->getFileName()); in verify()
|
D | ZipEntry.h | 199 void setLFHOffset(off_t offset) { in setLFHOffset() argument 200 mCDE.mLocalHeaderRelOffset = (uint32_t) offset; in setLFHOffset()
|
D | ZipFile.cpp | 1224 bool ReadAtOffset(uint8_t* buf, size_t len, off64_t offset) const { in ReadAtOffset() 1228 if (offset != current_offset_) { in ReadAtOffset() 1229 if (fseek(fp_, offset, SEEK_SET) != 0) { in ReadAtOffset() 1233 current_offset_ = offset; in ReadAtOffset() 1263 off_t offset = entry->getFileOffset(); in uncompress() local 1264 if (fseek(mZipFp, offset, SEEK_SET) != 0) { in uncompress() 1280 printf("0x%08x ", (int)(offset+(i*0x10))); in uncompress()
|
/build/make/tools/droiddoc/templates-ndk/assets/js/ |
D | android_3p-bundle.js | 2615 …offset(),aM=aN.pageY-aO.top-I,aJ,aI=true,s=function(){var aR=aL.offset(),aS=aN.pageY-aR.top-A/2,aP… 2616 …ollToElement(aP,true);if(aJ[0].scrollIntoView){aL=b(a).scrollTop();aN=aP.offset().top;if(aN<aL||aN… 2658 …offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var … property 2662 …offset()).appendTo("body")}),!0):!1)},_mouseStart:function(b){var c=this.options;return this.helpe… property 2666 …offset:b.element.offset()}),b.options.tolerance))return e=!0,!1}),e?!1:this.accept.call(this.eleme… property 2670 …offset=this.helper.offset(),this.position={left:g,top:h},this.size=this._helper?{width:f.outerWidt… 2674 …lement[0]),c.addClass("ui-selectee"),c.each(function(){var b=a(this),c=b.offset();a.data(this,"sel… 2678 …offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:function(){a.Widget.prototyp… property 2686 …offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c<0?this… 2694 …offset().top;c<0&&a(this).css("top",b.top-c)}},resizable:!0,show:null,stack:!0,title:"",width:300,… [all …]
|
/build/soong/cmd/host_bionic_inject/ |
D | host_bionic_inject_test.go | 24 func prog(flags elf.ProgFlag, offset, addr, filesz, memsz uint64) *elf.Prog { argument 29 Off: offset,
|
/build/make/tools/releasetools/ |
D | rangelib.py | 266 offset = 0 273 offset += p-start 276 out.append(offset + p - start)
|
D | test_verity_utils.py | 324 image_sizes = [BLOCK_SIZE * random.randint(51200, 524288) + offset 325 for offset in range(BLOCK_SIZE)]
|
D | ota_from_target_files | 1117 offset = info.header_offset 1118 offset += zipfile.sizeFileHeader 1119 offset += len(info.extra) + len(info.filename) 1121 return '%s:%d:%d' % (os.path.basename(name), offset, size) 1201 offset, size = self._GetPayloadMetadataOffsetAndSize(input_zip) 1202 return ['payload_metadata.bin:{}:{}'.format(offset, size)]
|
D | ota_from_target_files.py | 1117 offset = info.header_offset 1118 offset += zipfile.sizeFileHeader 1119 offset += len(info.extra) + len(info.filename) 1121 return '%s:%d:%d' % (os.path.basename(name), offset, size) 1201 offset, size = self._GetPayloadMetadataOffsetAndSize(input_zip) 1202 return ['payload_metadata.bin:{}:{}'.format(offset, size)]
|
/build/soong/androidmk/parser/ |
D | parser.go | 89 offset := int(pos) 90 line := sort.Search(len(p.lines), func(i int) bool { return p.lines[i] > offset }) - 1 94 Column: offset - p.lines[line] + 1, 95 Offset: offset,
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | jquery-resizable.min.js | 19 …offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){retur… 40 …offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidt…
|
/build/make/tools/signapk/src/com/android/signapk/ |
D | SignApk.java | 407 long offset = 0L; in copyFiles() local 448 offset += JarFile.LOCHDR + outEntry.getName().length(); in copyFiles() 455 offset += 4; in copyFiles() 460 long paddingStartOffset = offset + ALIGNMENT_ZIP_EXTRA_DATA_FIELD_MIN_SIZE_BYTES; in copyFiles() 472 offset += extra.length; in copyFiles() 488 offset += num; in copyFiles()
|
/build/make/tools/droiddoc/templates-ndk/assets/design/ |
D | default.js | 146 var targetRect = $target.offset();
|
/build/make/tools/droiddoc/templates-pdk/assets/design/ |
D | default.js | 146 var targetRect = $target.offset();
|
/build/soong/cmd/merge_zips/ |
D | merge_zips.go | 713 var offset int64 719 offset, err = io.Copy(outputZip, prefixFile) 732 writer.SetOffset(offset)
|