Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 31) sorted by relevance

12

/build/soong/symbol_inject/
Delf_test.go26 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)
Dmacho_test.go27 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)
Dpe_test.go27 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 …]
Dsymbol_inject_test.go26 offset uint64
31 offset: 0,
36 offset: 1,
41 offset: 25,
51 copyAndInject(in, out, testCase.offset, []byte(testCase.buf))
Dsymbol_inject.go55 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/
Dmodify.go99 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))
Dparser_test.go26 func mkpos(offset, line, column int) scanner.Position { argument
28 Offset: offset,
/build/soong/third_party/zip/
Dwriter.go29 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 …]
Dandroid.go43 offset: uint64(w.cw.count),
147 offset: uint64(w.cw.count),
Dreader.go146 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/
DZipAlign.cpp197 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()
DZipEntry.h199 void setLFHOffset(off_t offset) { in setLFHOffset() argument
200 mCDE.mLocalHeaderRelOffset = (uint32_t) offset; in setLFHOffset()
DZipFile.cpp1224 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/
Dandroid_3p-bundle.js2615offset(),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…
2658offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var … property
2662offset()).appendTo("body")}),!0):!1)},_mouseStart:function(b){var c=this.options;return this.helpe… property
2666offset:b.element.offset()}),b.options.tolerance))return e=!0,!1}),e?!1:this.accept.call(this.eleme… property
2670offset=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…
2678offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:function(){a.Widget.prototyp… property
2686offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c<0?this…
2694offset().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/
Dhost_bionic_inject_test.go24 func prog(flags elf.ProgFlag, offset, addr, filesz, memsz uint64) *elf.Prog { argument
29 Off: offset,
/build/make/tools/releasetools/
Drangelib.py266 offset = 0
273 offset += p-start
276 out.append(offset + p - start)
Dtest_verity_utils.py324 image_sizes = [BLOCK_SIZE * random.randint(51200, 524288) + offset
325 for offset in range(BLOCK_SIZE)]
Dota_from_target_files1117 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)]
Dota_from_target_files.py1117 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/
Dparser.go89 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/
Djquery-resizable.min.js19offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){retur…
40offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidt…
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java407 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/
Ddefault.js146 var targetRect = $target.offset();
/build/make/tools/droiddoc/templates-pdk/assets/design/
Ddefault.js146 var targetRect = $target.offset();
/build/soong/cmd/merge_zips/
Dmerge_zips.go713 var offset int64
719 offset, err = io.Copy(outputZip, prefixFile)
732 writer.SetOffset(offset)

12