/prebuilts/go/linux-x86/src/debug/dwarf/ |
typeunit.go | 20 toff Offset // Offset to signature type within data. 31 if n != Offset(uint32(n)) { 60 b.error("type unit type offset overflow") 77 toff: Offset(toff), 99 t, err := d.readType(tu.name, r, tu.toff, make(map[Offset]Type), nil) 117 func (tur *typeUnitReader) Seek(off Offset) { 120 if doff < 0 || doff >= Offset(len(tur.tu.data)) { 121 tur.err = fmt.Errorf("%s: offset %d out of range; max %d", tur.tu.name, doff, len(tur.tu.data)) 157 // offset returns the current offset 158 func (tur *typeUnitReader) offset() Offset { func [all...] |
/system/chre/util/nanoapp/ |
debug.cc | 34 size_t offset = 0; local 48 offset += static_cast<size_t>( 49 snprintf(&line[offset], sizeof(line) - offset, "%02x ", buffer[i - 1])); 55 offset = 0; 58 offset += static_cast<size_t>( 59 snprintf(&line[offset], sizeof(line) - offset, " ")); 63 if (offset > 0) { 66 while (offset < 28) [all...] |
/system/core/libunwindstack/tests/ |
MemoryOfflineTest.cpp | 34 ASSERT_TRUE(android::base::WriteFully(temp_file.fd, &offset, sizeof(offset))); 44 uint64_t offset = 4096; member in class:unwindstack::MemoryOfflineTest 51 ASSERT_EQ(0U, memory->Read(offset - 1, &buf, 1)); 52 ASSERT_EQ(0U, memory->Read(offset + data.size(), &buf, 1)); 53 ASSERT_EQ(1U, memory->Read(offset, &buf, 1)); 55 ASSERT_EQ(1U, memory->Read(offset + data.size() - 1, &buf, 1)); 62 ASSERT_EQ(data.size(), memory->Read(offset, buf.data(), buf.size()));
|
/system/extras/tests/workloads/ |
powerave.py | 9 print "-o OFFSET: subtract OFFSET from all data points" 13 offset = 0.0 variable 18 if o == '-o': offset = float(a) 34 val -= offset
|
/toolchain/binutils/binutils-2.27/gas/ |
literal.c | 50 valueT offset; local 56 offset = 0; 63 fixp = fixp->fx_next, offset += size) 66 return offset; 88 offset = seginfo->literal_pool_size; 90 return offset;
|
/toolchain/binutils/binutils-2.27/gprof/ |
aarch64.c | 50 bfd_vma pc, dest_pc, offset; local 71 offset = ((((bfd_vma) insn & 0x3ffffff) ^ 0x2000000) - 0x2000000) << 2; 73 dest_pc = pc + offset;
|
mips.c | 46 int offset; local 72 offset = (op & 0x03ffffff) << 2; 73 dest_pc = (pc & ~(bfd_vma) 0xfffffff) | offset;
|
/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...] |
/frameworks/base/graphics/java/android/graphics/ |
Outline.java | 300 public void offset(int dx, int dy) { method in class:Outline 302 mRect.offset(dx, dy); 304 mPath.offset(dx, dy);
|
/art/libartbase/base/ |
hex_dump.cc | 38 char out[(kBitsPerIntPtrT / 4) + /* offset */ 44 size_t offset; /* offset to show while printing */ local 47 offset = reinterpret_cast<size_t>(addr); 49 offset = 0; 56 size_t gap = offset & 0x0f; 58 size_t line_offset = offset & ~0x0f; 61 char* asc = out + (kBitsPerIntPtrT / 4) + /* offset */ 1 + /* colon */ 105 offset += count;
|
/art/runtime/mirror/ |
field.h | 127 void SetOffset(uint32_t offset) REQUIRES_SHARED(Locks::mutator_lock_) { 128 SetField32<kTransactionActive>(OFFSET_OF_OBJECT_MEMBER(Field, offset_), offset); local 134 friend struct art::FieldOffsets; // for verifying offset information
|
/art/test/528-long-hint/src/ |
Main.java | 29 long offset = unsafe.objectFieldOffset(Main.class.getDeclaredField("instanceField")); local 30 getUnsafe(); // spill offset 36 unsafe.compareAndSwapLong(f, offset, a, b);
|
/bionic/libc/kernel/android/uapi/linux/usb/ |
f_mtp.h | 26 loff_t offset; member in struct:mtp_file_range
|
/bionic/libc/kernel/uapi/linux/ |
aspeed-lpc-ctrl.h | 30 __u32 offset; member in struct:aspeed_lpc_ctrl_mapping
|
/bionic/libc/malloc_debug/ |
MapData.h | 40 MapEntry(uintptr_t start, uintptr_t end, uintptr_t offset, const char* name, size_t name_len) 41 : start(start), end(end), offset(offset), name(name, name_len) {} 47 uintptr_t offset; member in struct:MapEntry
|
/bionic/libc/stdio/ |
fmemopen.cpp | 44 size_t offset; member in struct:fmemopen_cookie 51 if (static_cast<size_t>(n) > ck->size - ck->offset) n = ck->size - ck->offset; 54 memmove(buf, ck->buf + ck->offset, n); 55 ck->offset += n; 68 if (ck->append) ck->offset = ck->size; 71 if (static_cast<size_t>(n) + space_for_null > ck->capacity - ck->offset) { 72 n = ck->capacity - ck->offset - space_for_null; 81 memmove(ck->buf + ck->offset, buf, n); 82 ck->offset += n [all...] |
/bionic/libc/system_properties/include/system_properties/ |
prop_info.h | 51 // must be room left over after the error message for the offset to the new longer property value 52 // and future expansion fields if needed. Note that this value cannot ever increase. The offset 65 uint32_t offset; member in struct:prop_info::__anon1420::__anon1421 77 // `this` is data_ + some offset and long_value is data_ + some other offset, we calculate the 78 // offset from `this` to long_value and store it as long_property.offset. 79 return reinterpret_cast<const char*>(this) + long_property.offset;
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
setenv.c | 48 int offset = 0; local 57 if (__findenv(str, (int)(cp - str), &offset) != NULL) { 58 environ[offset++] = str; 60 while (__findenv(str, (int)(cp - str), &offset)) { 61 for (P = &environ[offset];; ++P) 94 int l_value, offset = 0; local 108 if ((C = __findenv(name, (int)(np - name), &offset)) != NULL) { 109 int tmpoff = offset + 1; 137 offset = cnt; 140 if (!(environ[offset] = /* name + `=' + value * 160 int offset = 0; local [all...] |
/bootable/recovery/minui/ |
graphics_adf.h | 28 __u32 offset; member in class:GRSurfaceAdf
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
Form30t.java | 78 int offset = ((TargetInsn) insn).getTargetOffset(); local 80 write(out, opcodeUnit(insn, 0), offset);
|
/dalvik/dx/tests/093-ssa-invoke-range/ |
Blort.java | 58 int offset = 1; local 62 methodThatNeedsInvokeRange(src, 0, dest, offset, 5, 0); 63 return offset; 65 long offset = System.currentTimeMillis();; local 66 return offset;
|
/dalvik/libdex/ |
DexOptData.cpp | 86 const u4 offset = ((const u1*) pOpt) - data; local 87 ALOGE("Bogus opt data content pointer at offset %u", offset); 102 const u4 offset = ((const u1*) pOpt) - data; local 103 ALOGE("Opt data area problem for chunk of size %u at offset %u", size, offset);
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
IndexRangeCache.h | 48 size_t offset, 54 size_t offset, 59 void invalidateRange(size_t offset, size_t size); 65 offset(0), 73 offset(_offset), 78 size_t start = offset; 79 size_t start_other = rhs.offset; 80 size_t end = offset + count * glSizeof(type); 81 size_t end_other = rhs.offset + rhs.count * glSizeof(rhs.type); 95 size_t offset; member in struct:IndexRangeCache::IndexRangeKey [all...] |
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/ |
gyro_offset_over_temp_cal.cc | 23 // Estimated upper bounds on gyro offset error (i.e., 3-sigma values). 73 float offset[3]; local 76 gyroCalGetBias(&gyro_cal_, &offset[0], &offset[1], &offset[2], 79 offset, temperature_celsius); 86 // Checks for a change in the temperature compensated offset estimate. 93 cal_data_.offset); 104 overTempCalGetModel(&over_temp_cal_, cal_data_.offset, 142 // Sets the initial calibration data (offset and OTC model parameters) [all...] |
/device/google/contexthub/util/stm32_flash/ |
stm32_bl.c | 137 uint32_t offset = 0; local 139 while (ret == CMD_ACK && length > offset) { 143 write_addr(handle, addr+offset); 146 if (length-offset >= 256) { 150 handle->read_data(handle, &buffer[offset], 256); 151 offset += 256; 154 write_len(handle, length-offset); 157 handle->read_data(handle, &buffer[offset], length - offset); 158 offset = length 172 uint32_t offset = 0; local [all...] |