Home
last modified time | relevance | path

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

12345678910>>...268

/third_party/mesa3d/src/freedreno/fdl/
Dfd6_layout_test.c44 {.offset = 0, .pitch = 256},
45 {.offset = 8192, .pitch = 256},
46 {.offset = 12288, .pitch = 256},
47 {.offset = 14336, .pitch = 256},
48 {.offset = 15360, .pitch = 256},
49 {.offset = 15872, .pitch = 256},
67 {.offset = 0, .pitch = 4096},
68 {.offset = 65536, .pitch = 2048},
69 {.offset = 98304, .pitch = 1024},
70 {.offset = 114688, .pitch = 512},
[all …]
/third_party/node/lib/internal/
Dbuffer.js51 function checkBounds(buf, offset, byteLength) { argument
52 validateNumber(offset, 'offset');
53 if (buf[offset] === undefined || buf[offset + byteLength] === undefined)
54 boundsError(offset, buf.length - (byteLength + 1));
57 function checkInt(value, min, max, buf, offset, byteLength) { argument
73 checkBounds(buf, offset, byteLength);
91 function readBigUInt64LE(offset = 0) { argument
92 validateNumber(offset, 'offset');
93 const first = this[offset];
94 const last = this[offset + 7];
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dwinograd_utils.c63 int offset = l * 4; in InputTransform4x4Unit() local
64 t[l] = MS_SUBQ_F32(src[offset], src[2 + offset]); in InputTransform4x4Unit()
65 t[4 + l] = MS_ADDQ_F32(src[1 + offset], src[2 + offset]); in InputTransform4x4Unit()
66 t[8 + l] = MS_SUBQ_F32(src[2 + offset], src[1 + offset]); in InputTransform4x4Unit()
67 t[12 + l] = MS_SUBQ_F32(src[3 + offset], src[1 + offset]); in InputTransform4x4Unit()
70 int offset = l * 4; in InputTransform4x4Unit() local
71 m[l] = MS_SUBQ_F32(t[offset], t[2 + offset]); in InputTransform4x4Unit()
72 m[4 + l] = MS_ADDQ_F32(t[1 + offset], t[2 + offset]); in InputTransform4x4Unit()
73 m[8 + l] = MS_SUBQ_F32(t[2 + offset], t[1 + offset]); in InputTransform4x4Unit()
74 m[12 + l] = MS_SUBQ_F32(t[3 + offset], t[1 + offset]); in InputTransform4x4Unit()
[all …]
Dwinograd_avx.c28 int offset = l * 4; in OutputTransform4x2AvxUnit() local
29 t[l] = MS_ADD256_F32(MS_ADD256_F32(src[offset], src[1 + offset]), src[2 + offset]); in OutputTransform4x2AvxUnit()
30 t[l + 4] = MS_ADD256_F32(MS_SUB256_F32(src[1 + offset], src[2 + offset]), src[3 + offset]); in OutputTransform4x2AvxUnit()
33 int offset = l * 4; in OutputTransform4x2AvxUnit() local
34 …m[l] = MS_ADD256_F32(MS_ADD256_F32(MS_ADD256_F32(t[offset], t[1 + offset]), t[2 + offset]), bias_p… in OutputTransform4x2AvxUnit()
35 …[l + 2] = MS_ADD256_F32(MS_ADD256_F32(MS_SUB256_F32(t[1 + offset], t[2 + offset]), t[3 + offset]),… in OutputTransform4x2AvxUnit()
61 int offset = l * 4; in OutputTransform4x2ReluAvxUnit() local
62 t[l] = MS_ADD256_F32(MS_ADD256_F32(src[offset], src[1 + offset]), src[2 + offset]); in OutputTransform4x2ReluAvxUnit()
63 t[l + 4] = MS_ADD256_F32(MS_SUB256_F32(src[1 + offset], src[2 + offset]), src[3 + offset]); in OutputTransform4x2ReluAvxUnit()
66 int offset = l * 4; in OutputTransform4x2ReluAvxUnit() local
[all …]
/third_party/mbedtls/library/
Dcommon.h95 #define MBEDTLS_GET_UINT32_BE( data , offset ) \ argument
97 ( (uint32_t) ( data )[( offset ) ] << 24 ) \
98 | ( (uint32_t) ( data )[( offset ) + 1] << 16 ) \
99 | ( (uint32_t) ( data )[( offset ) + 2] << 8 ) \
100 | ( (uint32_t) ( data )[( offset ) + 3] ) \
114 #define MBEDTLS_PUT_UINT32_BE( n, data, offset ) \ argument
116 ( data )[( offset ) ] = MBEDTLS_BYTE_3( n ); \
117 ( data )[( offset ) + 1] = MBEDTLS_BYTE_2( n ); \
118 ( data )[( offset ) + 2] = MBEDTLS_BYTE_1( n ); \
119 ( data )[( offset ) + 3] = MBEDTLS_BYTE_0( n ); \
[all …]
/third_party/node/deps/npm/node_modules/smart-buffer/build/
Dsmartbuffer.js108 readInt8(offset) { argument
109 return this._readNumberValue(Buffer.prototype.readInt8, 1, offset);
117 readInt16BE(offset) { argument
118 return this._readNumberValue(Buffer.prototype.readInt16BE, 2, offset);
126 readInt16LE(offset) { argument
127 return this._readNumberValue(Buffer.prototype.readInt16LE, 2, offset);
135 readInt32BE(offset) { argument
136 return this._readNumberValue(Buffer.prototype.readInt32BE, 4, offset);
144 readInt32LE(offset) { argument
145 return this._readNumberValue(Buffer.prototype.readInt32LE, 4, offset);
[all …]
/third_party/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 …]
/third_party/mesa3d/src/amd/common/
Dac_msgpack.c75 msgpack->offset = 0; in ac_msgpack_init()
86 if ((msgpack->offset + data_size) > msgpack->mem_size) { in ac_msgpack_resize_if_required()
106 msgpack->mem[msgpack->offset] = MSGPACK_FIXMAP_OP | n; in ac_msgpack_add_fixmap_op()
107 msgpack->offset = msgpack->offset + 1; in ac_msgpack_add_fixmap_op()
111 msgpack->mem[msgpack->offset] = MSGPACK_MAP16_OP; in ac_msgpack_add_fixmap_op()
112 *((uint16_t*)&msgpack->mem[msgpack->offset + 1]) = util_bswap16(n); in ac_msgpack_add_fixmap_op()
113 msgpack->offset = msgpack->offset + 3; in ac_msgpack_add_fixmap_op()
117 msgpack->mem[msgpack->offset] = MSGPACK_MAP32_OP; in ac_msgpack_add_fixmap_op()
118 *((unsigned int*)&msgpack->mem[msgpack->offset + 1]) = util_bswap32(n); in ac_msgpack_add_fixmap_op()
119 msgpack->offset = msgpack->offset + 5; in ac_msgpack_add_fixmap_op()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dwinograd_utils_fp16.c92 int offset = l * 4; in InputTransform4x4UnitFp16() local
93 t[l] = vsubq_f16(src[offset], src[2 + offset]); in InputTransform4x4UnitFp16()
94 t[4 + l] = vaddq_f16(src[1 + offset], src[2 + offset]); in InputTransform4x4UnitFp16()
95 t[8 + l] = vsubq_f16(src[2 + offset], src[1 + offset]); in InputTransform4x4UnitFp16()
96 t[12 + l] = vsubq_f16(src[3 + offset], src[1 + offset]); in InputTransform4x4UnitFp16()
99 int offset = l * 4; in InputTransform4x4UnitFp16() local
100 m[l] = vsubq_f16(t[offset], t[2 + offset]); in InputTransform4x4UnitFp16()
101 m[4 + l] = vaddq_f16(t[1 + offset], t[2 + offset]); in InputTransform4x4UnitFp16()
102 m[8 + l] = vsubq_f16(t[2 + offset], t[1 + offset]); in InputTransform4x4UnitFp16()
103 m[12 + l] = vsubq_f16(t[3 + offset], t[1 + offset]); in InputTransform4x4UnitFp16()
[all …]
/third_party/node/deps/npm/node_modules/smart-buffer/typings/
Dsmartbuffer.d.ts56 readInt8(offset?: number): number;
63 readInt16BE(offset?: number): number;
70 readInt16LE(offset?: number): number;
77 readInt32BE(offset?: number): number;
84 readInt32LE(offset?: number): number;
91 readBigInt64BE(offset?: number): bigint;
98 readBigInt64LE(offset?: number): bigint;
107 writeInt8(value: number, offset?: number): SmartBuffer;
116 insertInt8(value: number, offset: number): SmartBuffer;
125 writeInt16BE(value: number, offset?: number): SmartBuffer;
[all …]
/third_party/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 …]
/third_party/flatbuffers/net/FlatBuffers/
DByteBuffer.cs330 protected void WriteLittleEndian(int offset, int count, ulong data) in WriteLittleEndian() argument
336 _buffer.Buffer[offset + i] = (byte)(data >> i * 8); in WriteLittleEndian()
343 _buffer.Buffer[offset + count - 1 - i] = (byte)(data >> i * 8); in WriteLittleEndian()
348 protected ulong ReadLittleEndian(int offset, int count) in ReadLittleEndian() argument
350 AssertOffsetAndLength(offset, count); in ReadLittleEndian()
356 r |= (ulong)_buffer.Buffer[offset + i] << i * 8; in ReadLittleEndian()
363 r |= (ulong)_buffer.Buffer[offset + count - 1 - i] << i * 8; in ReadLittleEndian()
369 protected void WriteLittleEndian(int offset, int count, ulong data) in WriteLittleEndian() argument
375 _buffer.Span[offset + i] = (byte)(data >> i * 8); in WriteLittleEndian()
382 _buffer.Span[offset + count - 1 - i] = (byte)(data >> i * 8); in WriteLittleEndian()
[all …]
/third_party/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 …]
/third_party/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 …]
Dtype-aliases.ts26 const offset = this.bb!.__offset(this.bb_pos, 4); constant
27 return offset ? this.bb!.readInt8(this.bb_pos + offset) : 0;
31 const offset = this.bb!.__offset(this.bb_pos, 4); constant
33 if (offset === 0) {
37 this.bb!.writeInt8(this.bb_pos + offset, value);
42 const offset = this.bb!.__offset(this.bb_pos, 6); constant
43 return offset ? this.bb!.readUint8(this.bb_pos + offset) : 0;
47 const offset = this.bb!.__offset(this.bb_pos, 6); constant
49 if (offset === 0) {
53 this.bb!.writeUint8(this.bb_pos + offset, value);
[all …]
/third_party/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 …]
/third_party/node/deps/npm/node_modules/tar/node_modules/safe-buffer/
Dindex.d.ts4 write(string: string, offset?: number, length?: number, encoding?: string): number;
11 writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
12 writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
13 writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
14 writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
15 readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
16 readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
17 readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
18 readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
19 readUInt8(offset: number, noAssert?: boolean): number;
[all …]
/third_party/node/deps/npm/node_modules/safe-buffer/
Dindex.d.ts4 write(string: string, offset?: number, length?: number, encoding?: string): number;
11 writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
12 writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
13 writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
14 writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
15 readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
16 readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
17 readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
18 readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
19 readUInt8(offset: number, noAssert?: boolean): number;
[all …]
/third_party/node/deps/npm/node_modules/npm-registry-fetch/node_modules/safe-buffer/
Dindex.d.ts4 write(string: string, offset?: number, length?: number, encoding?: string): number;
11 writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
12 writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
13 writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
14 writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
15 readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
16 readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
17 readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
18 readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
19 readUInt8(offset: number, noAssert?: boolean): number;
[all …]
/third_party/node/deps/npm/node_modules/string_decoder/node_modules/safe-buffer/
Dindex.d.ts4 write(string: string, offset?: number, length?: number, encoding?: string): number;
11 writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
12 writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
13 writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
14 writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
15 readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
16 readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
17 readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
18 readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
19 readUInt8(offset: number, noAssert?: boolean): number;
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleIDs.java53 int offset = findIndex(_countries, country); in getISO3Country() local
54 if(offset>=0){ in getISO3Country()
55 return _countries3[offset]; in getISO3Country()
57 offset = findIndex(_obsoleteCountries, country); in getISO3Country()
58 if(offset>=0){ in getISO3Country()
59 return _obsoleteCountries3[offset]; in getISO3Country()
76 int offset = findIndex(_languages, language); in getISO3Language() local
77 if(offset>=0){ in getISO3Language()
78 return _languages3[offset]; in getISO3Language()
80 offset = findIndex(_obsoleteLanguages, language); in getISO3Language()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DLocaleIDs.java52 int offset = findIndex(_countries, country); in getISO3Country() local
53 if(offset>=0){ in getISO3Country()
54 return _countries3[offset]; in getISO3Country()
56 offset = findIndex(_obsoleteCountries, country); in getISO3Country()
57 if(offset>=0){ in getISO3Country()
58 return _obsoleteCountries3[offset]; in getISO3Country()
74 int offset = findIndex(_languages, language); in getISO3Language() local
75 if(offset>=0){ in getISO3Language()
76 return _languages3[offset]; in getISO3Language()
78 offset = findIndex(_obsoleteLanguages, language); in getISO3Language()
[all …]

12345678910>>...268