Home
last modified time | relevance | path

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

12345678910>>...410

/external/mesa3d/src/freedreno/fdl/
Dfd6_layout_test.c39 { .offset = 0, .pitch = 256 },
40 { .offset = 8192, .pitch = 256 },
41 { .offset = 12288, .pitch = 256 },
42 { .offset = 14336, .pitch = 256 },
43 { .offset = 15360, .pitch = 256 },
44 { .offset = 15872, .pitch = 256 },
59 { .offset = 0, .pitch = 4096 },
60 { .offset = 65536, .pitch = 2048 },
61 { .offset = 98304, .pitch = 1024 },
62 { .offset = 114688, .pitch = 512 },
[all …]
/external/llvm-project/lldb/unittests/Utility/
DDataExtractorTest.cpp21 lldb::offset_t offset; in TEST() local
23 offset = 0; in TEST()
24 ASSERT_EQ(buffer[1], LE.GetMaxU64Bitfield(&offset, sizeof(buffer), 8, 8)); in TEST()
25 offset = 0; in TEST()
26 ASSERT_EQ(buffer[1], BE.GetMaxU64Bitfield(&offset, sizeof(buffer), 8, 8)); in TEST()
27 offset = 0; in TEST()
29 LE.GetMaxU64Bitfield(&offset, sizeof(buffer), 64, 0)); in TEST()
30 offset = 0; in TEST()
32 BE.GetMaxU64Bitfield(&offset, sizeof(buffer), 64, 0)); in TEST()
33 offset = 0; in TEST()
[all …]
/external/elfutils/tests/
Drun-show-abbrev.sh25 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0
26 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2
27 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4
28 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6
29 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8
30 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10
31 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12
33 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19
34 abbrev[19]: attr[1]: code = 63, form = 12, offset = 21
35 abbrev[19]: attr[2]: code = 3, form = 8, offset = 23
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DBaseDexBuffer.java45 public BaseDexBuffer(@Nonnull byte[] buf, int offset) { in BaseDexBuffer() argument
47 this.baseOffset = offset; in BaseDexBuffer()
50 public int readSmallUint(int offset) { in readSmallUint() argument
52 offset += baseOffset; in readSmallUint()
53 int result = (buf[offset] & 0xff) | in readSmallUint()
54 ((buf[offset+1] & 0xff) << 8) | in readSmallUint()
55 ((buf[offset+2] & 0xff) << 16) | in readSmallUint()
56 ((buf[offset+3]) << 24); in readSmallUint()
58 …row new ExceptionWithContext("Encountered small uint that is out of range at offset 0x%x", offset); in readSmallUint()
63 public int readOptionalUint(int offset) { in readOptionalUint() argument
[all …]
DBaseDexReader.java41 private int offset; field in BaseDexReader
43 public BaseDexReader(@Nonnull T dexBuf, int offset) { in BaseDexReader() argument
45 this.offset = offset; in BaseDexReader()
48 public int getOffset() { return offset; } in getOffset()
49 public void setOffset(int offset) { this.offset = offset; } in setOffset() argument
52 int end = dexBuf.baseOffset + offset; in readSleb128()
79 "Invalid sleb128 integer encountered at offset 0x%x", offset); in readSleb128()
87 offset = end - dexBuf.baseOffset; in readSleb128()
92 int end = dexBuf.baseOffset + offset; in peekSleb128Size()
108 "Invalid sleb128 integer encountered at offset 0x%x", offset); in peekSleb128Size()
[all …]
/external/llvm-project/clang/test/CodeGen/arm-mve-intrinsics/
Dscatter-gather.c12 int16x8_t test_vldrbq_gather_offset_s16(const int8_t *base, uint16x8_t offset) in test_vldrbq_gather_offset_s16() argument
15 return vldrbq_gather_offset(base, offset); in test_vldrbq_gather_offset_s16()
17 return vldrbq_gather_offset_s16(base, offset); in test_vldrbq_gather_offset_s16()
26 int32x4_t test_vldrbq_gather_offset_s32(const int8_t *base, uint32x4_t offset) in test_vldrbq_gather_offset_s32() argument
29 return vldrbq_gather_offset(base, offset); in test_vldrbq_gather_offset_s32()
31 return vldrbq_gather_offset_s32(base, offset); in test_vldrbq_gather_offset_s32()
40 int8x16_t test_vldrbq_gather_offset_s8(const int8_t *base, uint8x16_t offset) in test_vldrbq_gather_offset_s8() argument
43 return vldrbq_gather_offset(base, offset); in test_vldrbq_gather_offset_s8()
45 return vldrbq_gather_offset_s8(base, offset); in test_vldrbq_gather_offset_s8()
54 uint16x8_t test_vldrbq_gather_offset_u16(const uint8_t *base, uint16x8_t offset) in test_vldrbq_gather_offset_u16() argument
[all …]
/external/llvm/unittests/Support/
DDataExtractorTest.cpp28 uint32_t offset = 0; in TEST() local
30 EXPECT_EQ(0x80U, DE.getU8(&offset)); in TEST()
31 EXPECT_EQ(1U, offset); in TEST()
32 offset = 0; in TEST()
33 EXPECT_EQ(0x8090U, DE.getU16(&offset)); in TEST()
34 EXPECT_EQ(2U, offset); in TEST()
35 offset = 0; in TEST()
36 EXPECT_EQ(0x8090FFFFU, DE.getU32(&offset)); in TEST()
37 EXPECT_EQ(4U, offset); in TEST()
38 offset = 0; in TEST()
[all …]
/external/proguard/src/proguard/classfile/instruction/
DInstruction.java892 public final void write(CodeAttribute codeAttribute, int offset) in write() argument
894 write(codeAttribute.code, offset); in write()
901 public void write(byte[] code, int offset) in write() argument
906 code[offset++] = InstructionConstants.OP_WIDE; in write()
910 code[offset++] = opcode; in write()
913 writeInfo(code, offset); in write()
930 protected abstract void readInfo(byte[] code, int offset); in readInfo() argument
936 protected abstract void writeInfo(byte[] code, int offset); in writeInfo() argument
942 public abstract int length(int offset); in length() argument
948 …public abstract void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, I… in accept() argument
[all …]
/external/proguard/src/proguard/optimize/peephole/
DBranchTargetFinder.java96 public boolean isInstruction(int offset) in isInstruction() argument
98 return (instructionMarks[offset] & INSTRUCTION) != 0; in isInstruction()
106 public boolean isTarget(int offset) in isTarget() argument
108 return offset == 0 || in isTarget()
109 (instructionMarks[offset] & (BRANCH_TARGET | in isTarget()
120 public boolean isBranchOrigin(int offset) in isBranchOrigin() argument
122 return (instructionMarks[offset] & BRANCH_ORIGIN) != 0; in isBranchOrigin()
130 public boolean isBranchTarget(int offset) in isBranchTarget() argument
132 return (instructionMarks[offset] & BRANCH_TARGET) != 0; in isBranchTarget()
141 public boolean isAfterBranch(int offset) in isAfterBranch() argument
[all …]
/external/mesa3d/src/util/
Dvma.c32 uint64_t offset; member
69 assert(hole->offset > 0); in util_vma_heap_validate()
76 assert(hole->size + hole->offset == 0 || in util_vma_heap_validate()
77 hole->size + hole->offset > hole->offset); in util_vma_heap_validate()
84 assert(hole->size + hole->offset > hole->offset && in util_vma_heap_validate()
85 hole->size + hole->offset < prev_offset); in util_vma_heap_validate()
87 prev_offset = hole->offset; in util_vma_heap_validate()
96 uint64_t offset, uint64_t size) in util_vma_hole_alloc() argument
98 assert(hole->offset <= offset); in util_vma_hole_alloc()
99 assert(hole->size >= offset - hole->offset + size); in util_vma_hole_alloc()
[all …]
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/internal/
DMemory.java31 public static int peekInt(byte[] src, int offset, ByteOrder order) { in peekInt() argument
33 return (((src[offset++] & 0xff) << 24) | in peekInt()
34 ((src[offset++] & 0xff) << 16) | in peekInt()
35 ((src[offset++] & 0xff) << 8) | in peekInt()
36 ((src[offset ] & 0xff) << 0)); in peekInt()
38 return (((src[offset++] & 0xff) << 0) | in peekInt()
39 ((src[offset++] & 0xff) << 8) | in peekInt()
40 ((src[offset++] & 0xff) << 16) | in peekInt()
41 ((src[offset ] & 0xff) << 24)); in peekInt()
45 public static long peekLong(byte[] src, int offset, ByteOrder order) { in peekLong() argument
[all …]
/external/libnetfilter_conntrack/src/expect/
Dsnprintf_xml.c57 unsigned int size = 0, offset = 0; in snprintf_expect_meta_xml() local
60 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
63 ret = snprintf(buf+offset, len, in snprintf_expect_meta_xml()
66 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
69 ret = snprintf(buf+offset, len, "<timeout>%u</timeout>", in snprintf_expect_meta_xml()
71 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
74 ret = snprintf(buf+offset, len, "<class>%u</class>", in snprintf_expect_meta_xml()
76 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
79 ret = snprintf(buf+offset, len, "<zone>%u</zone>", exp->zone); in snprintf_expect_meta_xml()
80 BUFFER_SIZE(ret, size, len, offset); in snprintf_expect_meta_xml()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/sym/
DByteQuadsCanonicalizer.java392 for (int offset = 3, end = _secondaryStart; offset < end; offset += 4) { in primaryCount()
393 if (_hashArea[offset] != 0) { in primaryCount()
406 int offset = _secondaryStart + 3; in secondaryCount() local
407 for (int end = _tertiaryStart; offset < end; offset += 4) { in secondaryCount()
408 if (_hashArea[offset] != 0) { in secondaryCount()
421 int offset = _tertiaryStart + 3; // to 1.5x, starting point of tertiary in tertiaryCount() local
422 for (int end = offset + _hashSize; offset < end; offset += 4) { in tertiaryCount()
423 if (_hashArea[offset] != 0) { in tertiaryCount()
442 for (int offset = 3, end = (_hashSize << 3); offset < end; offset += 4) { in totalCount()
443 if (_hashArea[offset] != 0) { in totalCount()
[all …]
/external/flatbuffers/net/FlatBuffers/
DByteBuffer.cs326 protected void WriteLittleEndian(int offset, int count, ulong data) in WriteLittleEndian() argument
332 _buffer.Buffer[offset + i] = (byte)(data >> i * 8); in WriteLittleEndian()
339 _buffer.Buffer[offset + count - 1 - i] = (byte)(data >> i * 8); in WriteLittleEndian()
344 protected ulong ReadLittleEndian(int offset, int count) in ReadLittleEndian() argument
346 AssertOffsetAndLength(offset, count); in ReadLittleEndian()
352 r |= (ulong)_buffer.Buffer[offset + i] << i * 8; in ReadLittleEndian()
359 r |= (ulong)_buffer.Buffer[offset + count - 1 - i] << i * 8; in ReadLittleEndian()
366 private void AssertOffsetAndLength(int offset, int length) in AssertOffsetAndLength() argument
369 if (offset < 0 || in AssertOffsetAndLength()
370 offset > _buffer.Length - length) in AssertOffsetAndLength()
[all …]
/external/flatbuffers/tests/
Dmonster_test_generated.ts118 var offset = builder.endObject();
119 return offset;
178 var offset = builder.endObject();
179 return offset;
219 var offset = this.bb!.__offset(this.bb_pos, 0);
221 if (offset === 0) {
225 this.bb!.writeInt16(this.bb_pos + offset, value);
241 var offset = this.bb!.__offset(this.bb_pos, 2);
243 if (offset === 0) {
247 this.bb!.writeInt8(this.bb_pos + offset, value);
[all …]
Dmonster_test_generated.js204 var offset = builder.endObject();
205 return offset;
274 var offset = builder.endObject();
275 return offset;
325 var offset = this.bb.__offset(this.bb_pos, 0);
327 if (offset === 0) {
331 this.bb.writeInt16(this.bb_pos + offset, value);
347 var offset = this.bb.__offset(this.bb_pos, 2);
349 if (offset === 0) {
353 this.bb.writeInt8(this.bb_pos + offset, value);
[all …]
/external/llvm-project/clang/test/CodeGen/
Dcatch-nullptr-and-nonzero-offset.c43 char *var_var(char *base, unsigned long offset) { in var_var() argument
75 return base + offset; in var_var()
100 static const unsigned long offset = 0; in var_zero() local
102 return base + offset; in var_zero()
128 static const unsigned long offset = 1; in var_one() local
130 return base + offset; in var_one()
156 static const unsigned long offset = -1; in var_allones() local
158 return base + offset; in var_allones()
163 char *nullptr_var(unsigned long offset) { in nullptr_var() argument
191 return base + offset; in nullptr_var()
[all …]
/external/tpm2-tss/include/tss2/
Dtss2_mu.h28 size_t *offset);
34 size_t *offset,
42 size_t *offset);
48 size_t *offset,
56 size_t *offset);
62 size_t *offset,
70 size_t *offset);
76 size_t *offset,
84 size_t *offset);
90 size_t *offset,
[all …]
/external/libnetfilter_conntrack/src/conntrack/
Dsnprintf_xml.c100 unsigned int size = 0, offset = 0; in __snprintf_addr_xml() local
104 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml()
108 ret = __snprintf_ipv4_xml(buf+offset, len, tuple, type); in __snprintf_addr_xml()
109 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml()
112 ret = __snprintf_ipv6_xml(buf+offset, len, tuple, type); in __snprintf_addr_xml()
113 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml()
117 ret = snprintf(buf+offset, len, "</%s>", tag); in __snprintf_addr_xml()
118 BUFFER_SIZE(ret, size, len, offset); in __snprintf_addr_xml()
128 unsigned int size = 0, offset = 0; in __snprintf_proto_xml() local
139 BUFFER_SIZE(ret, size, len, offset); in __snprintf_proto_xml()
[all …]
/external/libchrome/mojo/public/js/lib/
Dbuffer.js58 Buffer.prototype.getUint8 = function(offset) { argument
59 return this.dataView.getUint8(offset);
61 Buffer.prototype.getUint16 = function(offset) { argument
62 return this.dataView.getUint16(offset, kHostIsLittleEndian);
64 Buffer.prototype.getUint32 = function(offset) { argument
65 return this.dataView.getUint32(offset, kHostIsLittleEndian);
67 Buffer.prototype.getUint64 = function(offset) { argument
70 lo = this.dataView.getUint32(offset, kHostIsLittleEndian);
71 hi = this.dataView.getUint32(offset + 4, kHostIsLittleEndian);
73 hi = this.dataView.getUint32(offset, kHostIsLittleEndian);
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dreflection.vert.out3 named.deadMember1: offset 0, type 8b51, size 1, index 0, binding -1, stages 1
4 anonDeadMember2: offset 64, type 8b52, size 1, index 1, binding -1, stages 1
5 ufDead4: offset -1, type 1406, size 1, index -1, binding -1, stages 1
6 anonMember1: offset 0, type 8b51, size 1, index 1, binding -1, stages 1
7 uf1: offset -1, type 1406, size 1, index -1, binding -1, stages 1
8 uf2: offset -1, type 1406, size 1, index -1, binding -1, stages 1
9 named.member3: offset 32, type 8b52, size 1, index 0, binding -1, stages 1
10 image_ui2D: offset -1, type 9063, size 1, index -1, binding -1, stages 1
11 sampler_2D: offset -1, type 8b5e, size 1, index -1, binding -1, stages 1
12 sampler_2DMSArray: offset -1, type 910b, size 1, index -1, binding -1, stages 1
[all …]
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io_test.cc31 Status ExpectText(const string& data, const string& expected_text, int* offset);
33 int* offset);
246 int offset = 0; in TEST() local
247 TF_EXPECT_OK(ExpectText(test_string, "Expected", &offset)); in TEST()
248 EXPECT_EQ(8, offset); in TEST()
250 offset = 0; in TEST()
251 Status expect_status = ExpectText(test_string, "Unexpected", &offset); in TEST()
254 offset = 0; in TEST()
255 TF_EXPECT_OK(ExpectText(test_string, "Exp", &offset)); in TEST()
256 EXPECT_EQ(3, offset); in TEST()
[all …]
/external/rust/crates/ryu/src/pretty/
Dmod.rs66 ptr::copy_nonoverlapping(b"0.0".as_ptr(), result.offset(index), 3); in format64()
79 write_mantissa_long(v.mantissa, result.offset(index + length)); in format64()
81 *result.offset(index + i) = b'0'; in format64()
83 *result.offset(index + kk) = b'.'; in format64()
84 *result.offset(index + kk + 1) = b'0'; in format64()
88 write_mantissa_long(v.mantissa, result.offset(index + length + 1)); in format64()
89 ptr::copy(result.offset(index + 1), result.offset(index), kk as usize); in format64()
90 *result.offset(index + kk) = b'.'; in format64()
94 *result.offset(index) = b'0'; in format64()
95 *result.offset(index + 1) = b'.'; in format64()
[all …]
/external/dtc/libfdt/
Dfdt_ro.c13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() argument
17 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_()
115 int offset = -1; in fdt_find_max_phandle() local
120 offset = fdt_next_node(fdt, offset, NULL); in fdt_find_max_phandle()
121 if (offset < 0) { in fdt_find_max_phandle()
122 if (offset == -FDT_ERR_NOTFOUND) in fdt_find_max_phandle()
125 return offset; in fdt_find_max_phandle()
128 value = fdt_get_phandle(fdt, offset); in fdt_find_max_phandle()
160 int offset = n * sizeof(struct fdt_reserve_entry); in fdt_mem_rsv() local
161 int absoffset = fdt_off_mem_rsvmap(fdt) + offset; in fdt_mem_rsv()
[all …]
/external/llvm-project/llvm/test/MC/AMDGPU/
Dgfx1030_err.s48 ds_add_src2_u32 v1 offset:65535 gds
51 ds_add_src2_u32 v1 offset:65535
54 ds_add_src2_f32 v1 offset:65535
57 ds_sub_src2_u32 v1 offset:65535
60 ds_rsub_src2_u32 v1 offset:65535
63 ds_inc_src2_u32 v1 offset:65535
66 ds_dec_src2_u32 v1 offset:65535
69 ds_min_src2_i32 v1 offset:65535
72 ds_max_src2_i32 v1 offset:65535
75 ds_min_src2_u32 v1 offset:65535
[all …]

12345678910>>...410