Home
last modified time | relevance | path

Searched refs:uint8 (Results 1 – 25 of 234) sorted by relevance

12345678910

/third_party/jerryscript/tests/jerry-test-suite/es2015/22/22.02/22.02.03/
D22.02.03-020.js16 var uint8 = new Uint8Array(4); variable
18 uint8.set([10, "11", 12]);
19 assert(uint8[0] === 10 && uint8[1] === 11 && uint8[2] === 12);
21 uint8.set([13, 14.3, 15], 1);
22 assert(uint8[0] === 10 && uint8[1] === 13 && uint8[2] === 14 && uint8[3] === 15);
24 uint8.set([16], NaN);
25 assert(uint8[0] === 16 && uint8[1] === 13 && uint8[2] === 14 && uint8[3] === 15);
27 uint8.set([17], "");
28 assert(uint8[0] === 17 && uint8[1] === 13 && uint8[2] === 14 && uint8[3] === 15);
30 uint8.set([18], "0");
[all …]
D22.02.03-019.js16 var uint8 = new Uint8Array(4); variable
19 assert(uint8.set.length === 1)
23 uint8.set([1], -1);
32 uint8.set([1], - (Math.pow(2, 32) + 1));
41 uint8.set([1], -Infinity);
50 uint8.set([1], Infinity);
59 uint8.set([1], (Math.pow(2, 32) + 1));
69 uint8.set([17, 18, 19], 2);
/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.h189 explicit CodedInputStream(const uint8* buffer, int size);
235 static const uint8* ReadLittleEndian32FromArray(const uint8* buffer,
238 static const uint8* ReadLittleEndian64FromArray(const uint8* buffer,
308 static const uint8* ExpectTagFromArray(const uint8* buffer, uint32 expected);
538 const uint8* buffer_;
539 const uint8* buffer_end_; // pointer to the end of the buffer.
658 uint8** pp) in EpsCopyOutputStream()
669 : end_(static_cast<uint8*>(data) + size), in EpsCopyOutputStream()
676 bool deterministic, uint8** pp) in EpsCopyOutputStream()
683 uint8* Trim(uint8* ptr);
[all …]
Dcoded_stream.cc246 buffer = reinterpret_cast<uint8*>(buffer) + current_buffer_size; in ReadRaw()
312 uint8 bytes[sizeof(*value)]; in ReadLittleEndian32Fallback()
314 const uint8* ptr; in ReadLittleEndian32Fallback()
329 uint8 bytes[sizeof(*value)]; in ReadLittleEndian64Fallback()
331 const uint8* ptr; in ReadLittleEndian64Fallback()
351 const uint8* DecodeVarint64KnownSize(const uint8* buffer, uint64* value) { in DecodeVarint64KnownSize()
366 ::std::pair<bool, const uint8*> ReadVarint32FromArray(uint32 first_byte,
367 const uint8* buffer,
369 inline ::std::pair<bool, const uint8*> ReadVarint32FromArray( in ReadVarint32FromArray()
370 uint32 first_byte, const uint8* buffer, uint32* value) { in ReadVarint32FromArray()
[all …]
/third_party/protobuf/src/google/protobuf/
Dwire_format_lite.h281 PROTOBUF_ALWAYS_INLINE static const uint8* ReadPrimitiveFromArray(
282 const uint8* buffer, CType* value);
463 PROTOBUF_ALWAYS_INLINE static uint8* WriteTagToArray(int field_number,
465 uint8* target);
468 PROTOBUF_ALWAYS_INLINE static uint8* WriteInt32NoTagToArray(int32 value,
469 uint8* target);
470 PROTOBUF_ALWAYS_INLINE static uint8* WriteInt64NoTagToArray(int64 value,
471 uint8* target);
472 PROTOBUF_ALWAYS_INLINE static uint8* WriteUInt32NoTagToArray(uint32 value,
473 uint8* target);
[all …]
Dwire_format.h134 static uint8* _InternalSerialize(const Message& message, uint8* target,
178 static uint8* SerializeUnknownFieldsToArray( in SerializeUnknownFieldsToArray()
179 const UnknownFieldSet& unknown_fields, uint8* target) { in SerializeUnknownFieldsToArray()
186 static uint8* InternalSerializeUnknownFieldsToArray(
187 const UnknownFieldSet& unknown_fields, uint8* target,
202 static uint8* SerializeUnknownMessageSetItemsToArray(
203 const UnknownFieldSet& unknown_fields, uint8* target);
204 static uint8* InternalSerializeUnknownMessageSetItemsToArray(
205 const UnknownFieldSet& unknown_fields, uint8* target,
237 static uint8* InternalSerializeField(
[all …]
Dgenerated_message_util.cc114 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
125 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
136 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
147 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
157 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
168 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
178 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
189 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
200 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
238 static uint8* SerializeToArray(const void* ptr, uint8* buffer) { in SerializeToArray()
[all …]
Dgenerated_message_table_driven.h239 PROTOBUF_EXPORT void SerializeInternal(const uint8* base,
249 const uint8* base = reinterpret_cast<const uint8*>(&msg); in TableSerialize()
259 uint8* SerializeInternalToArray(const uint8* base, const FieldMetadata* table,
261 uint8* buffer);
263 inline uint8* TableSerializeToArray(const MessageLite& msg, in TableSerializeToArray()
265 bool is_deterministic, uint8* buffer) { in TableSerializeToArray()
266 const uint8* base = reinterpret_cast<const uint8*>(&msg); in TableSerializeToArray()
298 void MapFieldSerializer(const uint8* base, uint32 offset, uint32 tag,
314 SerializeInternal(reinterpret_cast<const uint8*>(&map_entry),
327 SerializeInternal(reinterpret_cast<const uint8*>(&v[i]), t->field_table,
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h77 typedef uint8 SVGA3dColorWriteEnable;
82 typedef uint8 SVGA3dDepthWriteMask;
99 typedef uint8 SVGA3dCullMode;
113 typedef uint8 SVGA3dComparisonFunc;
121 typedef uint8 SVGA3dMultisampleRastEnable;
541 #define SVGADX_QDSTATE_INVALID ((uint8)-1)
548 typedef uint8 SVGADXQueryDeviceState;
771 uint8 readback;
772 uint8 unsynchronized;
773 uint8 mustBeZero[2];
[all …]
/third_party/node/deps/v8/src/objects/
Dordered-hash-table.tq28 number_of_elements: uint8;
29 number_of_deleted_elements: uint8;
30 const number_of_buckets: uint8;
31 @if(TAGGED_SIZE_8_BYTES) padding[5]: uint8;
32 @ifnot(TAGGED_SIZE_8_BYTES) padding[1]: uint8;
35 hash_table[number_of_buckets]: uint8;
37 uint8;
49 number_of_buckets: (Convert<uint8>(hashTableSize)),
50 padding: ...ConstantIterator<uint8>(0),
52 hash_table: ...ConstantIterator<uint8>(kSmallOrderedHashTableNotFound),
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
Ddriver_nl80211_hisi.h63 typedef unsigned char uint8; typedef
80 uint8 en_app_ie_type;
81 uint8 auc_rsv[3];
82 uint8 auc_ie[WLAN_WPS_IE_MAX_SIZE];
107 uint8 en_ops_ctrl;
108 uint8 uc_ct_window;
109 uint8 auc_rsv[2];
118 uint8 uc_count;
119 uint8 auc_rsv[3];
125 uint8 valid;
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
Ddriver_nl80211_hisi.h63 typedef unsigned char uint8; typedef
86 uint8 en_app_ie_type;
87 uint8 auc_rsv[3];
88 uint8 auc_ie[WLAN_WPS_IE_MAX_SIZE];
113 uint8 en_ops_ctrl;
114 uint8 uc_ct_window;
115 uint8 auc_rsv[2];
124 uint8 uc_count;
125 uint8 auc_rsv[3];
131 uint8 valid;
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_string.cpp494 uint8 c = (uint8) *(s++); in IsASCII()
673 uint8 *d = buffer.Buffer_uint8 (); in Set_UTF8()
674 uint8 * const destEnd = d + destBufferLength; in Set_UTF8()
698 *(d++) = (uint8) aChar; in Set_UTF8()
704 *(d++) = (uint8) ((aChar >> 6) | 0x000000C0); in Set_UTF8()
705 *(d++) = (uint8) ((aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
711 *(d++) = (uint8) ( (aChar >> 12) | 0x000000E0); in Set_UTF8()
712 *(d++) = (uint8) (((aChar >> 6) & 0x0000003F) | 0x00000080); in Set_UTF8()
713 *(d++) = (uint8) ( (aChar & 0x0000003F) | 0x00000080); in Set_UTF8()
719 *(d++) = (uint8) ( (aChar >> 18) | 0x000000F0); in Set_UTF8()
[all …]
Ddng_color_space.cpp247 const uint8 *&data) const in ICCProfile()
280 const uint8 *&data) const in ICCProfile()
284 static const uint8 ksRGBProfileData [] = in ICCProfile()
591 const uint8 *&data) const in ICCProfile()
595 static const uint8 kAdobeRGBProfileData [] = in ICCProfile()
687 const uint8 *&data) const in ICCProfile()
691 static const uint8 kColorMatchProfileData [] = in ICCProfile()
783 const uint8 *&data) const in ICCProfile()
787 static const uint8 kProPhotoProfileData [] = in ICCProfile()
909 const uint8 *&data) const in ICCProfile()
[all …]
Ddng_read_image.cpp47 static void DecodeDelta8 (uint8 *dPtr, in DecodeDelta8()
140 inline void DecodeDeltaBytes (uint8 *bytePtr, int32 cols, int32 channels) in DecodeDeltaBytes()
146 uint8 b0 = bytePtr [0]; in DecodeDeltaBytes()
166 uint8 b0 = bytePtr [0]; in DecodeDeltaBytes()
167 uint8 b1 = bytePtr [1]; in DecodeDeltaBytes()
168 uint8 b2 = bytePtr [2]; in DecodeDeltaBytes()
192 uint8 b0 = bytePtr [0]; in DecodeDeltaBytes()
193 uint8 b1 = bytePtr [1]; in DecodeDeltaBytes()
194 uint8 b2 = bytePtr [2]; in DecodeDeltaBytes()
195 uint8 b3 = bytePtr [3]; in DecodeDeltaBytes()
[all …]
Ddng_pixel_buffer.cpp76 (((const uint8 *) sPtr) + (int32)(count0 - 1) * sStep0 * (int32)sPixelSize); in OptimizeOrder()
79 (((uint8 *) dPtr) + (int32)(count0 - 1) * dStep0 * (int32)dPixelSize); in OptimizeOrder()
90 (((const uint8 *) sPtr) + (int32)(count1 - 1) * sStep1 * (int32)sPixelSize); in OptimizeOrder()
93 (((uint8 *) dPtr) + (int32)(count1 - 1) * dStep1 * (int32)dPixelSize); in OptimizeOrder()
104 (((const uint8 *) sPtr) + (int32)(count2 - 1) * sStep2 * (int32)sPixelSize); in OptimizeOrder()
107 (((uint8 *) dPtr) + (int32)(count2 - 1) * dStep2 * (int32)dPixelSize); in OptimizeOrder()
127 (((const uint8 *) sPtr) + (int32)(count0 - 1) * sStep0 * (int32)sPixelSize); in OptimizeOrder()
130 (((uint8 *) dPtr) + (int32)(count0 - 1) * dStep0 * (int32)dPixelSize); in OptimizeOrder()
141 (((const uint8 *) sPtr) + (int32)(count1 - 1) * sStep1 * (int32)sPixelSize); in OptimizeOrder()
144 (((uint8 *) dPtr) + (int32)(count1 - 1) * dStep1 * (int32)dPixelSize); in OptimizeOrder()
[all …]
Ddng_memory.h128 uint8 * Buffer_uint8 () in Buffer_uint8()
130 return (uint8 *) Buffer (); in Buffer_uint8()
136 const uint8 * Buffer_uint8 () const in Buffer_uint8()
138 return (const uint8 *) Buffer (); in Buffer_uint8()
390 uint8 * Buffer_uint8 () in Buffer_uint8()
392 return (uint8 *) Buffer (); in Buffer_uint8()
398 const uint8 * Buffer_uint8 () const in Buffer_uint8()
400 return (const uint8 *) Buffer (); in Buffer_uint8()
Ddng_color_space.h152 const uint8 *&data) const;
184 const uint8 *&data) const;
212 const uint8 *&data) const;
240 const uint8 *&data) const;
268 const uint8 *&data) const;
296 const uint8 *&data) const;
324 const uint8 *&data) const;
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.h531 uint8 alphaToCoverageEnable,
532 uint8 independentBlendEnable,
542 uint8 depthEnable,
545 uint8 stencilEnable,
546 uint8 frontEnable,
547 uint8 backEnable,
548 uint8 stencilReadMask,
549 uint8 stencilWriteMask,
550 uint8 frontStencilFailOp,
551 uint8 frontStencilDepthFailOp,
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Drandom.inl20 struct compute_rand<uint8, P, tvec1>
22 GLM_FUNC_QUALIFIER static tvec1<uint8, P> call()
24 return tvec1<uint8, P>(
25 std::rand() % std::numeric_limits<uint8>::max());
30 struct compute_rand<uint8, P, tvec2>
32 GLM_FUNC_QUALIFIER static tvec2<uint8, P> call()
34 return tvec2<uint8, P>(
35 std::rand() % std::numeric_limits<uint8>::max(),
36 std::rand() % std::numeric_limits<uint8>::max());
41 struct compute_rand<uint8, P, tvec3>
[all …]
Dbitfield.hpp104 GLM_FUNC_DECL uint16 bitfieldInterleave(uint8 x, uint8 y);
146 GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z);
188 GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z, uint8 w);
Dtype_precision.hpp322 typedef detail::uint8 lowp_uint8;
338 typedef detail::uint8 lowp_uint8_t;
354 typedef detail::uint8 lowp_u8;
370 typedef detail::uint8 mediump_uint8;
386 typedef detail::uint8 mediump_uint8_t;
402 typedef detail::uint8 mediump_u8;
418 typedef detail::uint8 highp_uint8;
434 typedef detail::uint8 highp_uint8_t;
450 typedef detail::uint8 highp_u8;
466 typedef detail::uint8 uint8; typedef
[all …]
Dpacking.hpp39 GLM_FUNC_DECL uint8 packUnorm1x8(float v);
51 GLM_FUNC_DECL float unpackUnorm1x8(uint8 p);
96 GLM_FUNC_DECL uint8 packSnorm1x8(float s);
109 GLM_FUNC_DECL float unpackSnorm1x8(uint8 p);
521 GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const & v);
527 GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p);
569 GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const & v);
575 GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p);
/third_party/node/deps/npm/node_modules/base64-js/
Dindex.js106 function encodeChunk (uint8, start, end) { argument
111 ((uint8[i] << 16) & 0xFF0000) +
112 ((uint8[i + 1] << 8) & 0xFF00) +
113 (uint8[i + 2] & 0xFF)
119 function fromByteArray (uint8) { argument
121 var len = uint8.length
128 parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
133 tmp = uint8[len - 1]
140 tmp = (uint8[len - 2] << 8) + uint8[len - 1]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dglm.cpp11 template struct tvec1<uint8, lowp>;
22 template struct tvec1<uint8, mediump>;
33 template struct tvec1<uint8, highp>;
45 template struct tvec2<uint8, lowp>;
56 template struct tvec2<uint8, mediump>;
67 template struct tvec2<uint8, highp>;
79 template struct tvec3<uint8, lowp>;
90 template struct tvec3<uint8, mediump>;
101 template struct tvec3<uint8, highp>;
113 template struct tvec4<uint8, lowp>;
[all …]

12345678910