Home
last modified time | relevance | path

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

12345678910>>...18

/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/boost/libs/safe_numerics/example/
Dexample92.cpp54 typedef safe_t<uint8_t> uint8; typedef
68 uint8 RCON;
69 uint8 INTCON;
70 uint8 CCP1IE;
71 uint8 CCP2IE;
72 uint8 PORTC;
73 uint8 TRISC;
74 uint8 T3CON;
75 uint8 T1CON;
77 uint8 CCPR2H;
[all …]
/third_party/libusb/libusb/os/
Dhaiku_usb.h39 uint8 CountConfigurations() const;
41 const usb_configuration_descriptor* ConfigurationDescriptor(uint8) const;
43 uint8 EndpointToIndex(uint8) const;
44 uint8 EndpointToInterface(uint8) const;
45 int ClaimInterface(uint8);
46 int ReleaseInterface(uint8);
47 int CheckInterfacesFree(uint8);
48 void SetActiveConfiguration(uint8);
49 uint8 ActiveConfigurationIndex() const;
56 uint8 fActiveConfiguration;
[all …]
Dhaiku_usb_backend.cpp255 USBDeviceHandle::ClaimInterface(uint8 inumber) in ClaimInterface()
264 USBDeviceHandle::ReleaseInterface(uint8 inumber) in ReleaseInterface()
272 USBDeviceHandle::SetConfiguration(uint8 config) in SetConfiguration()
283 fUSBDevice->SetActiveConfiguration((uint8)config_index); in SetConfiguration()
288 USBDeviceHandle::SetAltSetting(uint8 inumber, uint8 alt) in SetAltSetting()
313 USBDeviceHandle::ClearHalt(uint8 endpoint) in ClearHalt()
348 for (uint8 i = 0; i < fDeviceDescriptor.num_configurations; i++) { in ~USBDevice()
372 uint8
385 USBDevice::ConfigurationDescriptor(uint8 index) const in ConfigurationDescriptor()
398 uint8
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h70 typedef uint8 SVGA3dColorWriteEnable;
75 typedef uint8 SVGA3dDepthWriteMask;
92 typedef uint8 SVGA3dCullMode;
106 typedef uint8 SVGA3dComparisonFunc;
118 typedef uint8 SVGA3dMultisampleEnable;
452 #define SVGADX_QDSTATE_INVALID ((uint8)-1) /* Query has no state */
459 typedef uint8 SVGADXQueryDeviceState;
1084 typedef uint8 SVGA3DCreateDSViewFlags;
1096 uint8 pad0;
1115 uint8 pad0;
[all …]
Dsvga3d_surfacedefs.h142 uint8 blue;
143 uint8 u;
144 uint8 uv_video;
145 uint8 u_video;
148 uint8 green;
149 uint8 v;
150 uint8 stencil;
151 uint8 v_video;
154 uint8 red;
155 uint8 w;
[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/mindspore/tests/ut/python/dataset/
Dtest_paddeddataset.py52 padded_samples = [{'image': np.zeros(1, np.uint8)}, {'image': np.zeros(2, np.uint8)},
53 {'image': np.zeros(3, np.uint8)}, {'image': np.zeros(4, np.uint8)},
54 {'image': np.zeros(5, np.uint8)}]
95 data1 = [{'image': np.zeros(1, np.uint8)}, {'image': np.zeros(2, np.uint8)},
96 {'image': np.zeros(3, np.uint8)}, {'image': np.zeros(4, np.uint8)},
97 {'image': np.zeros(5, np.uint8)}]
98 data2 = [{'image': np.zeros(6, np.uint8)}, {'image': np.zeros(7, np.uint8)},
99 {'image': np.zeros(8, np.uint8)}]
116 data1 = [{'image': np.zeros(1, np.uint8)}, {'image': np.zeros(1, np.uint8)},
117 {'image': np.zeros(1, np.uint8)}, {'image': np.zeros(1, np.uint8)},
[all …]
/third_party/mindspore/mindspore/numpy/
Ddtypes.py17 from ..common.dtype import (int8, int16, int32, int64, uint8, uint16, uint32, uint64,
59 uint8,
76 'uint8': uint8,
105 (uint8, uint16): uint16,
106 (uint8, uint32): uint32,
107 (uint8, uint64): uint64,
111 (uint8, int8): int16,
112 (uint8, int16): int16,
113 (uint8, int32): int32,
114 (uint8, int64): int64,
[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 …]
/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 …]

12345678910>>...18