/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
OffsetTracker.java | 29 * referred to by an offset somewhere else in the file - RawDexObjects) and Offsets. 32 * written out. We also remember every Offset we read in, and its value. Then, after reading 35 * using the order we collected earlier. For every Offset we write out, we look at its Offsettable 37 * for the time being, remember where that blank value was written, and put the Offset into a 49 * A map from the original offset in the input DEX file to 51 * the actual item, and later on the new offset for the item when 66 * As the end, we find the correct Offsettable for the Offset in the above 69 private List<Offset> needsAssociationTable; 72 * A table of all offsets that we could not write out an updated offset for 74 * to allow specific patching of each offset's location as at that poin 141 Offset offset = new Offset(false); local 152 Offset offset = new Offset(true); local [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/m68hc11/ |
indexed12.s | 3 ;; with a 5, 9 and 16-bit offset. 10 ldab L1-_main,x ; Offset/const of these 2 insns must be 13 ldaa L2-L1,x ; -> ldaa 2,x (5-bit offset), text seg 14 adda L1-L2,y ; -> adda -2,y (5-bit offset), text seg 16 orab L7-L6,sp ; -> orab 8,sp (5-bit offset), text seg 17 anda L8-L7,sp ; -> anda 15,sp (5-bit offset), text seg 18 eora L7-L8,sp ; -> eora -15,sp (5-bit offset), text seg 19 eorb L7-L9,sp ; -> eorb -16,sp (5-bit offset), text seg 21 andb L9-L7,sp ; -> andb 16,sp (9-bit offset), text seg 22 staa L7-L10,x ; -> staa -17,x (9-bit offset), text se [all...] |
/external/dtc/tests/ |
dtb_reverse.c | 56 static void reverse_properties(void *in, void *out, int offset) 63 data = fdt_getprop_by_offset(in, offset, &name, &len); 67 verbose_printf("reverse_properties(): offset=%d name=%s\n", 68 offset, name); 70 offset = fdt_next_property_offset(in, offset); 71 if (offset >= 0) 72 reverse_properties(in, out, offset); 73 else if (offset != -FDT_ERR_NOTFOUND) 74 FAIL("fdt_next_property_offset(): %s\n", fdt_strerror(offset)); 109 int offset; local [all...] |
/external/google-breakpad/src/common/dwarf/ |
dwarf2diehandler.cc | 52 bool DIEDispatcher::StartCompilationUnit(uint64 offset, uint8 address_size, 55 return root_handler_->StartCompilationUnit(offset, address_size, 60 bool DIEDispatcher::StartDIE(uint64 offset, enum DwarfTag tag) { 84 handler = parent->handler_->FindChildHandler(offset, tag); 94 if (root_handler_->StartRootDIE(offset, tag)) 106 entry.offset_ = offset; 115 void DIEDispatcher::EndDIE(uint64 offset) { 120 assert(entry->offset_ == offset); 131 if (entry->offset_ != offset) 137 void DIEDispatcher::ProcessAttributeUnsigned(uint64 offset, [all...] |
/external/llvm/test/MC/AMDGPU/ |
mubuf.s | 14 // load - immediate offset only 25 buffer_load_dword v1, off, s[4:7], s1 offset:4 26 // SICI: buffer_load_dword v1, off, s[4:7], s1 offset:4 ; encoding: [0x04,0x00,0x30,0xe0,0x00,0x01,0x01,0x01] 27 // VI: buffer_load_dword v1, off, s[4:7], s1 offset:4 ; encoding: [0x04,0x00,0x50,0xe0,0x00,0x01,0x01,0x01] 29 buffer_load_dword v1, off, s[4:7], s1 offset:4 glc 30 // SICI: buffer_load_dword v1, off, s[4:7], s1 offset:4 glc ; encoding: [0x04,0x40,0x30,0xe0,0x00,0x01,0x01,0x01] 31 // VI: buffer_load_dword v1, off, s[4:7], s1 offset:4 glc ; encoding: [0x04,0x40,0x50,0xe0,0x00,0x01,0x01,0x01] 33 buffer_load_dword v1, off, s[4:7], s1 offset:4 slc 34 // SICI: buffer_load_dword v1, off, s[4:7], s1 offset:4 slc ; encoding: [0x04,0x00,0x30,0xe0,0x00,0x01,0x41,0x01] 35 // VI: buffer_load_dword v1, off, s[4:7], s1 offset:4 slc ; encoding: [0x04,0x00,0x52,0xe0,0x00,0x01,0x01,0x01 [all...] |
/external/vboot_reference/scripts/image_signing/ |
common_minimal.sh | 127 # Returns: offset (in sectors) of partition PARTNUM 170 local offset=$(( $(partoffset "$image" "$partnum") * 512 )) 176 enable_rw_mount "$image" ${offset} 2> /dev/null 179 set -- sudo LC_ALL=C mount -o loop,offset=${offset},${ro} \ 229 local offset=$(partoffset "$image" "$partnum") 231 dd if=$image of=$output_file bs=512 skip=$offset count=$size \ 241 local offset=$(partoffset "$image" "$partnum") 243 dd if=$input_file of=$image bs=512 seek=$offset count=$size \ 250 local offset="${2-0} [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
OatFile.java | 232 public OatDexFile(byte[] buf, int offset, @Nonnull String filename) { 233 super(opcodes, buf, offset); 253 public OatHeader(int offset) { 254 this.headerOffset = offset; 300 int offset = headerOffset + 18 * 4; 301 int endOffset = offset + size; 303 while (offset < endOffset) { 304 int keyStartOffset = offset; 305 while (offset < endOffset && buf[offset] != '\0') [all...] |
/art/libartbase/base/unix_file/ |
random_access_file.h | 29 // must specify an offset). This interface does not imply any buffering policy. 43 // Reads 'byte_count' bytes into 'buf' starting at offset 'offset' in the 45 virtual int64_t Read(char* buf, int64_t byte_count, int64_t offset) const = 0; 56 // Writes 'byte_count' bytes from 'buf' starting at offset 'offset' in the 60 virtual int64_t Write(const char* buf, int64_t byte_count, int64_t offset) = 0;
|
/art/runtime/interpreter/mterp/mips64/ |
op_goto.S | 2 * Unconditional branch, 8-bit offset. 4 * The branch distance is a signed code-unit offset, which we need to 5 * double to get a byte offset. 9 seb rINST, rINST # rINST <- offset (sign-extended AA)
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_StringWriter.java | 97 * Writes <code>count</code> characters starting at <code>offset</code> 101 * @param offset offset in buf to retrieve characters 104 * If offset or count are outside of bounds. 107 public void write(char[] buf, int offset, int count) { 109 if (0 <= offset && offset <= buf.length && 0 <= count 110 && count <= buf.length - offset) { 112 this.buf.append(buf, offset, count); 148 * <code>offset</code> from the String <code>str</code> to thi [all...] |
/external/elfutils/libdw/ |
dwarf_offabbrev.c | 1 /* Get abbreviation at given offset. 38 dwarf_offabbrev (Dwarf *dbg, Dwarf_Off offset, size_t *lengthp, 44 Dwarf_Abbrev *abbrev = __libdw_getabbrev (dbg, NULL, offset, lengthp,
|
/external/elfutils/tests/ |
run-debugaltlink.sh | 22 test-offset-loop libtestfile_multi_shared.so 26 test-offset-loop libtestfile_multi_shared.so <<\EOF 30 test-offset-loop: test-offset-loop.alt, build ID: 066bbf1a7bc5676f5015ee1966a088f23bdb83ae
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
IInterfaceCollection.java | 32 * constant pool index for offset'th direct superinterface. 34 * @param offset superinterface number [must be in [0, size()) range] 37 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 39 int get (int offset); 61 * @return offset of the new pointer [same as {@link #size()}-1 when called 67 * Replaces superinterface pointer number 'offset' with new value 'interface_index'. 72 * @param offset offset of the superinterface pointer to replace [must be in [0, size()) range] 76 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 78 int set (int offset, int interface_index) [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
IDeclaredExceptionTable.java | 31 * pool index for offset'th exception type thrown by the method that contains 34 * @param offset thrown exception class number [must be in [0, size()) range] 37 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 39 int get (int offset); 64 * @return offset of the new pointer [same as {@link #size()}-1 when called 70 * Replaces exception class pointer number 'offset' with new value 'interface_index'. 75 * @param offset thrown exception class number [must be in [0, size()) range] 79 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 81 int set (int offset, int exception_index);
|
IExceptionHandlerTable.java | 31 * Returns {@link Exception_info} descriptor at a given offset. 33 * @param offset exception offset [must be in [0, size()) range; input not checked] 36 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 38 Exception_info get (int offset); 68 * Replaces the Exception_info descriptor at a given offset. No duplicate 74 * @param offset exception offset [must be in [0, size()) range; input not checked] 76 * @return previous exception descriptor at this offset [never null] 78 * @throws IndexOutOfBoundsException if 'offset' is outside of valid rang [all...] |
/external/flatbuffers/go/ |
lib.go | 9 // GetRootAs is a generic helper to initialize a FlatBuffer with the provided buffer bytes and its data offset. 10 func GetRootAs(buf []byte, offset UOffsetT, fb FlatBuffer) { 11 n := GetUOffsetT(buf[offset:]) 12 fb.Init(buf, n+offset)
|
/external/google-breakpad/src/common/linux/ |
memory_mapped_file.cc | 49 MemoryMappedFile::MemoryMappedFile(const char* path, size_t offset) { 50 Map(path, offset); 59 bool MemoryMappedFile::Map(const char* path, size_t offset) { 82 // If the file does not extend beyond the offset, simply use an empty 85 if (offset >= file_len) { 92 void* data = sys_mmap(NULL, file_len, PROT_READ, MAP_PRIVATE, fd, offset); 94 if ((offset & 4095) != 0) { 100 NULL, file_len, PROT_READ, MAP_PRIVATE, fd, offset >> 12); 107 content_.Set(data, file_len - offset);
|
memory_mapped_file.h | 51 MemoryMappedFile(const char* path, size_t offset); 60 bool Map(const char* path, size_t offset);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
Replaceable.java | 28 * offset and a limit offset. The range of characters thus specified 29 * includes the characters at offset start..limit-1. That is, the 30 * start offset is inclusive, and the limit offset is exclusive. 63 * Returns the 16-bit code unit at the given offset into the text. 64 * @param offset an integer between 0 and <code>length()</code>-1 66 * @return 16-bit code unit of text at given offset 68 char charAt(int offset); 71 * Returns the 32-bit code point at the given 16-bit offset int [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
Replaceable.java | 27 * offset and a limit offset. The range of characters thus specified 28 * includes the characters at offset start..limit-1. That is, the 29 * start offset is inclusive, and the limit offset is exclusive. 64 * Returns the 16-bit code unit at the given offset into the text. 65 * @param offset an integer between 0 and <code>length()</code>-1 67 * @return 16-bit code unit of text at given offset 70 char charAt(int offset); 73 * Returns the 32-bit code point at the given 16-bit offset int [all...] |
/external/ltp/testcases/network/nfs/nfslock01/ |
nfs_flock.c | 21 int offset = 0; local 50 if (mac == 1) { /* Set the offset to even lines */ 53 offset = 0; 55 offset += 2 * BYTES; 58 } else { /* Set the offset to odd lines */ 61 offset = BYTES; 63 offset += 2 * BYTES; 68 if (writeb_lock(fd, offset, SEEK_SET, BYTES) < 0) 71 lseek(fd, offset, SEEK_SET); 76 if (unb_lock(fd, offset, SEEK_SET, BYTES) < 0 [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_offset.c | 29 * \brief polygon offset state 62 * Offset tri Z. Some hardware can handle this, but not usually when 69 struct offset_stage *offset = offset_stage(stage); local 95 mult = MAX2(dzdx, dzdy) * offset->scale; 109 bias = offset->units * maxz.f; 112 zoffset = offset->units + mult; 115 if (offset->clamp) 116 zoffset = (offset->clamp < 0.0f) ? MAX2(zoffset, offset->clamp) : 117 MIN2(zoffset, offset->clamp) 150 struct offset_stage *offset = offset_stage(stage); local 233 struct offset_stage *offset = CALLOC_STRUCT(offset_stage); local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_mm.h | 13 uint32_t offset; member in struct:nouveau_mm_allocation 25 struct nouveau_bo **, uint32_t *offset);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_scratch.h | 37 int offset; member in struct:nouveau_scratch_state 43 struct nouveau_bo **bo, unsigned *offset);
|
/external/perfetto/src/tracing/core/ |
patch_list.h | 36 Patch(ChunkID c, uint16_t o) : chunk_id(c), offset(o) {} 40 const uint16_t offset; member in class:perfetto::Patch 51 return chunk_id == o.chunk_id && offset == o.offset && 73 Patch* emplace_back(ChunkID chunk_id, uint16_t offset) { 75 offset >= last_->offset + sizeof(Patch::PatchContent)); 76 last_ = list_.emplace_after(last_, chunk_id, offset);
|