Home
last modified time | relevance | path

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

12345678910>>...392

/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/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 …]
/external/flatbuffers/ts/
Dbyte-buffer.ts54 readInt8(offset: number): number {
55 return this.readUint8(offset) << 24 >> 24;
58 readUint8(offset: number): number {
59 return this.bytes_[offset];
62 readInt16(offset: number): number {
63 return this.readUint16(offset) << 16 >> 16;
66 readUint16(offset: number): number {
67 return this.bytes_[offset] | this.bytes_[offset + 1] << 8;
70 readInt32(offset: number): number {
71 …return this.bytes_[offset] | this.bytes_[offset + 1] << 8 | this.bytes_[offset + 2] << 16 | this.b…
[all …]
/external/mbedtls/library/
Dcommon.h134 #define MBEDTLS_GET_UINT32_BE( data , offset ) \ argument
136 ( (uint32_t) ( data )[( offset ) ] << 24 ) \
137 | ( (uint32_t) ( data )[( offset ) + 1] << 16 ) \
138 | ( (uint32_t) ( data )[( offset ) + 2] << 8 ) \
139 | ( (uint32_t) ( data )[( offset ) + 3] ) \
153 #define MBEDTLS_PUT_UINT32_BE( n, data, offset ) \ argument
155 ( data )[( offset ) ] = MBEDTLS_BYTE_3( n ); \
156 ( data )[( offset ) + 1] = MBEDTLS_BYTE_2( n ); \
157 ( data )[( offset ) + 2] = MBEDTLS_BYTE_1( n ); \
158 ( data )[( offset ) + 3] = MBEDTLS_BYTE_0( n ); \
[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/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/
DDexBuffer.java45 public DexBuffer(@Nonnull byte[] buf, int offset) { in DexBuffer() argument
47 this.baseOffset = offset; in DexBuffer()
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 …]
/external/openthread/third_party/mbedtls/repo/library/
Dcommon.h79 #define MBEDTLS_GET_UINT32_BE( data , offset ) \ argument
81 ( (uint32_t) ( data )[( offset ) ] << 24 ) \
82 | ( (uint32_t) ( data )[( offset ) + 1] << 16 ) \
83 | ( (uint32_t) ( data )[( offset ) + 2] << 8 ) \
84 | ( (uint32_t) ( data )[( offset ) + 3] ) \
98 #define MBEDTLS_PUT_UINT32_BE( n, data, offset ) \ argument
100 ( data )[( offset ) ] = MBEDTLS_BYTE_3( n ); \
101 ( data )[( offset ) + 1] = MBEDTLS_BYTE_2( n ); \
102 ( data )[( offset ) + 2] = MBEDTLS_BYTE_1( n ); \
103 ( data )[( offset ) + 3] = MBEDTLS_BYTE_0( n ); \
[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/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/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/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/flatbuffers/tests/optional_scalars/
Dscalar-stuff.js25 const offset = this.bb.__offset(this.bb_pos, 4);
26 return offset ? this.bb.readInt8(this.bb_pos + offset) : 0;
29 const offset = this.bb.__offset(this.bb_pos, 6);
30 return offset ? this.bb.readInt8(this.bb_pos + offset) : null;
33 const offset = this.bb.__offset(this.bb_pos, 8);
34 return offset ? this.bb.readInt8(this.bb_pos + offset) : 42;
37 const offset = this.bb.__offset(this.bb_pos, 10);
38 return offset ? this.bb.readUint8(this.bb_pos + offset) : 0;
41 const offset = this.bb.__offset(this.bb_pos, 12);
42 return offset ? this.bb.readUint8(this.bb_pos + offset) : null;
[all …]
Dscalar-stuff.ts31 const offset = this.bb!.__offset(this.bb_pos, 4); constant
32 return offset ? this.bb!.readInt8(this.bb_pos + offset) : 0;
36 const offset = this.bb!.__offset(this.bb_pos, 6); constant
37 return offset ? this.bb!.readInt8(this.bb_pos + offset) : null;
41 const offset = this.bb!.__offset(this.bb_pos, 8); constant
42 return offset ? this.bb!.readInt8(this.bb_pos + offset) : 42;
46 const offset = this.bb!.__offset(this.bb_pos, 10); constant
47 return offset ? this.bb!.readUint8(this.bb_pos + offset) : 0;
51 const offset = this.bb!.__offset(this.bb_pos, 12); constant
52 return offset ? this.bb!.readUint8(this.bb_pos + offset) : null;
[all …]
/external/flatbuffers/net/FlatBuffers/
DByteBuffer.cs342 protected void WriteLittleEndian(int offset, int count, ulong data) in WriteLittleEndian() argument
348 _buffer.Buffer[offset + i] = (byte)(data >> i * 8); in WriteLittleEndian()
355 _buffer.Buffer[offset + count - 1 - i] = (byte)(data >> i * 8); in WriteLittleEndian()
360 protected ulong ReadLittleEndian(int offset, int count) in ReadLittleEndian() argument
362 AssertOffsetAndLength(offset, count); in ReadLittleEndian()
368 r |= (ulong)_buffer.Buffer[offset + i] << i * 8; in ReadLittleEndian()
375 r |= (ulong)_buffer.Buffer[offset + count - 1 - i] << i * 8; in ReadLittleEndian()
381 protected void WriteLittleEndian(int offset, int count, ulong data) in WriteLittleEndian() argument
387 _buffer.Span[offset + i] = (byte)(data >> i * 8); in WriteLittleEndian()
394 _buffer.Span[offset + count - 1 - i] = (byte)(data >> i * 8); in WriteLittleEndian()
[all …]
/external/ow2-asm/asm/src/main/java/org/objectweb/asm/signature/
DSignatureReader.java66 int offset; // Current offset in the parsed signature (parsed from left to right). in accept() local
75 offset = 2; in accept()
78 int classBoundStartOffset = signature.indexOf(':', offset); in accept()
80 signature.substring(offset - 1, classBoundStartOffset)); in accept()
84 offset = classBoundStartOffset + 1; in accept()
85 currentChar = signature.charAt(offset); in accept()
87 offset = parseType(signature, offset, signatureVistor.visitClassBound()); in accept()
92 while ((currentChar = signature.charAt(offset++)) == ':') { in accept()
93 offset = parseType(signature, offset, signatureVistor.visitInterfaceBound()); in accept()
102 offset = 0; in accept()
[all …]
/external/flatbuffers/tests/optional-scalars/
Dscalar-stuff.ts31 const offset = this.bb!.__offset(this.bb_pos, 4); constant
32 return offset ? this.bb!.readInt8(this.bb_pos + offset) : 0;
36 const offset = this.bb!.__offset(this.bb_pos, 6); constant
37 return offset ? this.bb!.readInt8(this.bb_pos + offset) : null;
41 const offset = this.bb!.__offset(this.bb_pos, 8); constant
42 return offset ? this.bb!.readInt8(this.bb_pos + offset) : 42;
46 const offset = this.bb!.__offset(this.bb_pos, 10); constant
47 return offset ? this.bb!.readUint8(this.bb_pos + offset) : 0;
51 const offset = this.bb!.__offset(this.bb_pos, 12); constant
52 return offset ? this.bb!.readUint8(this.bb_pos + offset) : null;
[all …]
/external/flatbuffers/tests/my-game/example/
Dmonster.js38 const offset = this.bb.__offset(this.bb_pos, 4);
39 return offset ? (obj || new Vec3()).__init(this.bb_pos + offset, this.bb) : null;
42 const offset = this.bb.__offset(this.bb_pos, 6);
43 return offset ? this.bb.readInt16(this.bb_pos + offset) : 150;
46 const offset = this.bb.__offset(this.bb_pos, 6);
47 if (offset === 0) {
50 this.bb.writeInt16(this.bb_pos + offset, value);
54 const offset = this.bb.__offset(this.bb_pos, 8);
55 return offset ? this.bb.readInt16(this.bb_pos + offset) : 100;
58 const offset = this.bb.__offset(this.bb_pos, 8);
[all …]
Dtype-aliases.js21 const offset = this.bb.__offset(this.bb_pos, 4);
22 return offset ? this.bb.readInt8(this.bb_pos + offset) : 0;
25 const offset = this.bb.__offset(this.bb_pos, 4);
26 if (offset === 0) {
29 this.bb.writeInt8(this.bb_pos + offset, value);
33 const offset = this.bb.__offset(this.bb_pos, 6);
34 return offset ? this.bb.readUint8(this.bb_pos + offset) : 0;
37 const offset = this.bb.__offset(this.bb_pos, 6);
38 if (offset === 0) {
41 this.bb.writeUint8(this.bb_pos + offset, value);
[all …]
Dmonster.ts46 const offset = this.bb!.__offset(this.bb_pos, 4); constant
47 return offset ? (obj || new Vec3()).__init(this.bb_pos + offset, this.bb!) : null;
51 const offset = this.bb!.__offset(this.bb_pos, 6); constant
52 return offset ? this.bb!.readInt16(this.bb_pos + offset) : 150;
56 const offset = this.bb!.__offset(this.bb_pos, 6); constant
58 if (offset === 0) {
62 this.bb!.writeInt16(this.bb_pos + offset, value);
67 const offset = this.bb!.__offset(this.bb_pos, 8); constant
68 return offset ? this.bb!.readInt16(this.bb_pos + offset) : 100;
72 const offset = this.bb!.__offset(this.bb_pos, 8); constant
[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/angle/third_party/vulkan-deps/glslang/src/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 …]

12345678910>>...392