Home
last modified time | relevance | path

Searched refs:U8 (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/typescript/tests/baselines/reference/
DexactSpellingSuggestion.js4 enum U8 {
10 U8.bit_2
16 var U8;
17 (function (U8) { argument
18 U8[U8["BIT_0"] = 1] = "BIT_0";
19 U8[U8["BIT_1"] = 2] = "BIT_1";
20 U8[U8["BIT_2"] = 4] = "BIT_2";
21 })(U8 || (U8 = {}));
22 U8.bit_2;
DexactSpellingSuggestion.types4 enum U8 {
5 >U8 : U8
8 >BIT_0 : U8
14 >BIT_1 : U8
20 >BIT_2 : U8
26 U8.bit_2
27 >U8.bit_2 : any
28 >U8 : typeof U8
DexactSpellingSuggestion.symbols4 enum U8 {
5 >U8 : Symbol(U8, Decl(exactSpellingSuggestion.ts, 0, 0))
8 >BIT_0 : Symbol(U8.BIT_0, Decl(exactSpellingSuggestion.ts, 2, 9))
11 >BIT_1 : Symbol(U8.BIT_1, Decl(exactSpellingSuggestion.ts, 3, 19))
14 >BIT_2 : Symbol(U8.BIT_2, Decl(exactSpellingSuggestion.ts, 4, 19))
17 U8.bit_2
18 >U8 : Symbol(U8, Decl(exactSpellingSuggestion.ts, 0, 0))
DexactSpellingSuggestion.errors.txt1 …ion.ts(9,4): error TS2551: Property 'bit_2' does not exist on type 'typeof U8'. Did you mean 'BIT_…
7 enum U8 {
13 U8.bit_2
15 !!! error TS2551: Property 'bit_2' does not exist on type 'typeof U8'. Did you mean 'BIT_2'?
/third_party/rust/crates/serde/test_suite/tests/
Dtest_de.rs231 test(0, &[Token::U8(0)]); in test_i8()
235 test(127, &[Token::U8(127)]); in test_i8()
256 test(0, &[Token::U8(0)]); in test_i16()
260 test(255, &[Token::U8(255)]); in test_i16()
281 test(0, &[Token::U8(0)]); in test_i32()
285 test(255, &[Token::U8(255)]); in test_i32()
306 test(0, &[Token::U8(0)]); in test_i64()
310 test(255, &[Token::U8(255)]); in test_i64()
331 test(0, &[Token::U8(0)]); in test_i128()
335 test(255, &[Token::U8(255)]); in test_i128()
[all …]
Dtest_macros.rs626 Token::U8(1), in test_untagged_enum()
639 Token::U8(2), in test_untagged_enum()
649 assert_tokens(&Untagged::D(4), &[Token::U8(4)]); in test_untagged_enum()
656 Token::U8(1), in test_untagged_enum()
657 Token::U8(2), in test_untagged_enum()
663 &[Token::Tuple { len: 1 }, Token::U8(1), Token::TupleEnd], in test_untagged_enum()
670 Token::U8(1), in test_untagged_enum()
671 Token::U8(2), in test_untagged_enum()
672 Token::U8(3), in test_untagged_enum()
709 Token::U8(1), in test_internally_tagged_enum()
[all …]
Dtest_de_error.rs99 &[Token::U8(128)], in test_i8()
424 &[Token::U8(0)], in test_nonzero_i8()
468 &[Token::U8(128)], in test_nonzero_i8()
507 &[Token::U8(0)], in test_nonzero_i16()
578 &[Token::U8(0)], in test_nonzero_i32()
637 &[Token::U8(0)], in test_nonzero_i64()
682 &[Token::U8(0)], in test_nonzero_i128()
721 &[Token::U8(0)], in test_nonzero_isize()
760 &[Token::U8(0)], in test_nonzero_u8()
843 &[Token::U8(0)], in test_nonzero_u16()
[all …]
Dtest_identifier.rs14 assert_de_tokens(&V::Aaa, &[Token::U8(0)]); in test_variant_identifier()
31 assert_de_tokens(&F::Aaa, &[Token::U8(0)]); in test_field_identifier()
50 assert_de_tokens(&F::Other, &[Token::U8(42)]); in test_unit_fallthrough()
80 assert_de_tokens(&F::Other(42u8), &[Token::U8(42)]); in test_newtype_fallthrough_generic()
Dtest_ser.rs95 assert_ser_tokens(&0u8, &[Token::U8(0)]); in test_usizes()
520 Token::U8(0), in test_bound()
528 Token::U8(0), in test_bound()
636 assert_ser_tokens(&AtomicU8::new(192u8), &[Token::U8(192u8)]); in test_atomic()
710 b"1234".iter().copied().map(Token::U8), in test_net_ipv4addr_compact()
722 b"1234567890123456".iter().copied().map(Token::U8), in test_net_ipv6addr_compact()
738 b"1234".iter().copied().map(Token::U8), in test_net_ipaddr_compact()
755 b"1234567890123456".iter().copied().map(Token::U8), in test_net_socketaddr_compact()
766 b"1234".iter().copied().map(Token::U8), in test_net_socketaddr_compact()
777 b"1234567890123456".iter().copied().map(Token::U8), in test_net_socketaddr_compact()
[all …]
Dtest_roundtrip.rs19 b"1234".iter().copied().map(Token::U8), in ip_addr_roundtrip()
36 b"1234567890123456".iter().copied().map(Token::U8), in socket_addr_roundtrip()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dissue-1947.rs94 pub type U8 = ::std::os::raw::c_uchar; typedef
102 pub MADK: U8,
103 pub MABR: U8,
106 pub _rB_: U8,
274 pub fn MASW(&self) -> U8 { in MASW() argument
280 pub fn set_MASW(&mut self, val: U8) { in set_MASW() argument
287 pub fn MABW(&self) -> U8 { in MABW() argument
293 pub fn set_MABW(&mut self, val: U8) { in set_MABW() argument
300 pub fn MAXN(&self) -> U8 { in MAXN() argument
306 pub fn set_MAXN(&mut self, val: U8) { in set_MAXN() argument
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dissue-1947.h1 typedef unsigned char U8; typedef
6 U8 MADK, MABR;
8 U8 MASW : 4, MABW : 3, MAXN : 1, _rB_;
/third_party/rust/crates/bindgen/bindgen/ir/
Dint.rs52 U8, enumerator
96 Bool | UChar | UShort | UInt | ULong | ULongLong | U8 | U16 | in is_signed()
114 Bool | UChar | SChar | U8 | I8 | Char { .. } => 1, in known_size()
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeX86_64.c41 *inst++ = U8(MOV_r_i32 | (reg_map[reg] & 0x7)); in emit_load_imm64()
205 *buf_ptr = U8(reg_lmap[a] << 3); in emit_x86_instruction()
207 *buf_ptr = U8(freg_lmap[a] << 3); in emit_x86_instruction()
221 *buf_ptr = U8(*buf_ptr | MOD_REG | (!(flags & EX86_SSE2_OP2) ? reg_lmap[b] : freg_lmap[b])); in emit_x86_instruction()
238 *buf_ptr++ = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3)); in emit_x86_instruction()
243 *buf_ptr++ = U8(immb); /* 8 bit displacement. */ in emit_x86_instruction()
252 *buf_ptr++ = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction()
264 *buf_ptr = U8(imma); in emit_x86_instruction()
289 *code_ptr++ = U8(get_jump_code(type ^ 0x1) - 0x10); in generate_far_jump_code()
308 *code_ptr++ = U8(MOD_REG | (type >= SLJIT_FAST_CALL ? CALL_rm : JMP_rm) | reg_lmap[TMP_REG2]); in generate_far_jump_code()
[all …]
DsljitNativeX86_common.c148 #define U8(v) ((sljit_u8)(v)) macro
283 #define INC_SIZE(s) (*inst++ = U8(s), compiler->size += (s))
285 #define PUSH_REG(r) (*inst++ = U8(PUSH_r + (r)))
286 #define POP_REG(r) (*inst++ = U8(POP_r + (r)))
288 #define RET_I16(n) (*inst++ = RET_i16, *inst++ = U8(n), *inst++ = 0)
472 *code_ptr++ = U8(get_jump_code(type) - 0x10); in generate_near_jump_code()
588 *(sljit_u8*)jump->addr = U8(jump->u.label->addr - (jump_addr + sizeof(sljit_s8))); in sljit_generate_code()
919 …return emit_do_imm32(compiler, (reg_map[dst] >= 8) ? REX_B : 0, U8(MOV_r_i32 | reg_lmap[dst]), src… in emit_mov()
1106 *inst = U8(prefix); \
1594 sljit_u8 op_eax_imm = U8(op_types >> 24);
[all …]
DsljitNativeX86_32.c147 *buf_ptr = U8(reg_map[a] << 3); in emit_x86_instruction()
149 *buf_ptr = U8(a << 3); in emit_x86_instruction()
163 *buf_ptr = U8(*buf_ptr | MOD_REG | (!(flags & EX86_SSE2_OP2) ? reg_map[b] : b)); in emit_x86_instruction()
180 *buf_ptr++ = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3)); in emit_x86_instruction()
185 *buf_ptr++ = U8(immb); /* 8 bit displacement. */ in emit_x86_instruction()
194 *buf_ptr++ = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction()
205 *buf_ptr = U8(imma); in emit_x86_instruction()
621 RET_I16(U8(compiler->args_size)); in sljit_emit_return_void()
724 *inst++ = U8(XCHG_EAX_r | reg_map[SLJIT_R2]); in c_fast_call_with_args()
732 *inst++ = U8(MOD_REG | (reg_map[SLJIT_R2] << 3) | reg_map[SLJIT_R0]); in c_fast_call_with_args()
/third_party/rust/crates/cxx/syntax/
Datom.rs9 U8, enumerator
35 "u8" => Some(U8), in from_str()
66 U8 => "u8", in as_ref()
Ddiscriminant.rs94 return Ok(U8); in inferred_repr()
269 U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 | Isize => return Ok(Some(atom)), in parse_int_suffix()
297 repr: U8,
/third_party/skia/src/opts/
DSkBlitRow_opts.h227 using U8 = skvx::Vec<4*N, uint8_t>; in blit_row_color32() local
236 U8 s = skvx::bit_pun<U8>(src), in blit_row_color32()
237 a = U8(invA); in blit_row_color32()
238 U16 c = skvx::cast<uint16_t>(skvx::bit_pun<U8>(U32(color))), in blit_row_color32()
/third_party/typescript/tests/cases/compiler/
DexactSpellingSuggestion.ts3 enum U8 { enum
9 U8.bit_2
/third_party/node/deps/npm/node_modules/concat-stream/
Dindex.js6 var U8 = require('typedarray').Uint8Array variable
8 var U8 = Uint8Array
136 var u8 = new U8(len)
/third_party/flutter/skia/src/opts/
DSkBlitRow_opts.h96 using U8 = skvx::Vec<4*N, uint8_t>; in blit_row_color32() local
105 U8 s = skvx::bit_pun<U8>(src), in blit_row_color32()
106 a = U8(invA); in blit_row_color32()
107 U16 c = skvx::cast<uint16_t>(skvx::bit_pun<U8>(U32(color))), in blit_row_color32()
/third_party/flutter/skia/third_party/skcms/src/
DTransform_inl.h19 using U8 = V<uint8_t>; variable
375 SI U8 gather_8(const uint8_t* p, I32 ix) { in gather_8()
377 U8 v = p[ix]; in gather_8()
379 U8 v = { p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]] }; in gather_8()
381 U8 v = { p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]], in gather_8()
384 U8 v = { p[ix[ 0]], p[ix[ 1]], p[ix[ 2]], p[ix[ 3]], in gather_8()
536 SI F F_from_U8(U8 v) { in F_from_U8()
698 a = F_from_U8(load<U8>(src + 1*i)); in exec_ops()
702 r = g = b = F_from_U8(load<U8>(src + 1*i)); in exec_ops()
774 I32 ix = cast<I32>(load<U8>(src + 1*i)); in exec_ops()
[all …]
/third_party/rust/crates/unicode-width/scripts/
Dunicode.py42 U8 = 8 variable in OffsetType
47 (13, MAX_CODEPOINT_BITS, OffsetType.U8),
48 (6, 13, OffsetType.U8),
/third_party/skia/third_party/skcms/src/
DTransform_inl.h19 using U8 = V<uint8_t>; variable
458 SI U8 gather_8(const uint8_t* p, I32 ix) { in gather_8()
460 U8 v = p[ix]; in gather_8()
462 U8 v = { p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]] }; in gather_8()
464 U8 v = { p[ix[0]], p[ix[1]], p[ix[2]], p[ix[3]], in gather_8()
467 U8 v = { p[ix[ 0]], p[ix[ 1]], p[ix[ 2]], p[ix[ 3]], in gather_8()
619 SI F F_from_U8(U8 v) { in F_from_U8()
810 a = F_from_U8(load<U8>(src + 1*i)); in exec_ops()
814 r = g = b = F_from_U8(load<U8>(src + 1*i)); in exec_ops()
886 I32 ix = cast<I32>(load<U8>(src + 1*i)); in exec_ops()
[all …]

12345