/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_de.rs | 235 test(0, &[Token::U8(0)]); in test_i8() 239 test(127, &[Token::U8(127)]); in test_i8() 260 test(0, &[Token::U8(0)]); in test_i16() 264 test(255, &[Token::U8(255)]); in test_i16() 285 test(0, &[Token::U8(0)]); in test_i32() 289 test(255, &[Token::U8(255)]); in test_i32() 310 test(0, &[Token::U8(0)]); in test_i64() 314 test(255, &[Token::U8(255)]); in test_i64() 335 test(0, &[Token::U8(0)]); in test_i128() 339 test(255, &[Token::U8(25 in test_i128() [all...] |
H A D | test_macros.rs | 629 Token::U8(1), in test_untagged_enum() 642 Token::U8(2), in test_untagged_enum() 652 assert_tokens(&Untagged::D(4), &[Token::U8(4)]); in test_untagged_enum() 659 Token::U8(1), in test_untagged_enum() 660 Token::U8(2), in test_untagged_enum() 666 &[Token::Tuple { len: 1 }, Token::U8(1), Token::TupleEnd], in test_untagged_enum() 673 Token::U8(1), in test_untagged_enum() 674 Token::U8(2), in test_untagged_enum() 675 Token::U8(3), in test_untagged_enum() 712 Token::U8( in test_internally_tagged_enum() [all...] |
H A D | test_identifier.rs | 21 assert_de_tokens(&V::Aaa, &[Token::U8(0)]); in variant1() 31 assert_de_tokens(&V::Bbb, &[Token::U8(1)]); in aliases() 49 &[Token::U8(42)], in unknown() 88 assert_de_tokens(&F::Aaa, &[Token::U8(0)]); in field1() 98 assert_de_tokens(&F::Bbb, &[Token::U8(1)]); in aliases() 116 &[Token::U8(42)], in unknown() 152 assert_de_tokens(&F::Other, &[Token::U8(42)]); in unit_fallthrough() 182 assert_de_tokens(&F::Other(42u8), &[Token::U8(42)]); in newtype_fallthrough_generic()
|
H A D | test_de_error.rs | 103 &[Token::U8(128)], in test_i8() 428 &[Token::U8(0)], in test_nonzero_i8() 472 &[Token::U8(128)], in test_nonzero_i8() 511 &[Token::U8(0)], in test_nonzero_i16() 582 &[Token::U8(0)], in test_nonzero_i32() 641 &[Token::U8(0)], in test_nonzero_i64() 686 &[Token::U8(0)], in test_nonzero_i128() 725 &[Token::U8(0)], in test_nonzero_isize() 764 &[Token::U8(0)], in test_nonzero_u8() 847 &[Token::U8( in test_nonzero_u16() [all...] |
H A D | test_ser.rs | 93 assert_ser_tokens(&0u8, &[Token::U8(0)]); in test_usizes() 550 Token::U8(0), in test_bound() 558 Token::U8(0), in test_bound() 666 assert_ser_tokens(&AtomicU8::new(192u8), &[Token::U8(192u8)]); in test_atomic() 740 b"1234".iter().copied().map(Token::U8), in test_net_ipv4addr_compact() 752 b"1234567890123456".iter().copied().map(Token::U8), in test_net_ipv6addr_compact() 768 b"1234".iter().copied().map(Token::U8), in test_net_ipaddr_compact() 785 b"1234567890123456".iter().copied().map(Token::U8), in test_net_socketaddr_compact() 796 b"1234".iter().copied().map(Token::U8), in test_net_socketaddr_compact() 807 b"1234567890123456".iter().copied().map(Token::U8), in test_net_socketaddr_compact() [all...] |
H A D | test_roundtrip.rs | 18 b"1234".iter().copied().map(Token::U8), in ip_addr_roundtrip() 35 b"1234567890123456".iter().copied().map(Token::U8), in socket_addr_roundtrip()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | issue-1947.rs | 94 pub type U8 = ::std::os::raw::c_uchar; types 102 pub MADK: U8, 103 pub MABR: U8, 106 pub _rB_: U8, 274 pub fn MASW(&self) -> U8 { in MASW() 280 pub fn set_MASW(&mut self, val: U8) { in set_MASW() 287 pub fn MABW(&self) -> U8 { in MABW() 293 pub fn set_MABW(&mut self, val: U8) { in set_MABW() 300 pub fn MAXN(&self) -> U8 { in MAXN() 306 pub fn set_MAXN(&mut self, val: U8) { in set_MAXN() [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | issue-1947.h | 1 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/ |
H A D | int.rs | 52 U8, 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/ |
H A D | sljitNativeX86_64.c | 41 *inst++ = U8(MOV_r_i32 | (reg_map[reg] & 0x7)); in emit_load_imm64() 209 *buf_ptr = U8(reg_lmap[a] << 3); in emit_x86_instruction() 211 *buf_ptr = U8(freg_lmap[a] << 3); in emit_x86_instruction() 225 *buf_ptr = U8(*buf_ptr | MOD_REG | (!(flags & EX86_SSE2_OP2) ? reg_lmap[b] : freg_lmap[b])); in emit_x86_instruction() 242 *buf_ptr++ = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3)); in emit_x86_instruction() 247 *buf_ptr++ = U8(immb); /* 8 bit displacement. */ in emit_x86_instruction() 259 *buf_ptr++ = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction() 274 *buf_ptr = U8(imma); in emit_x86_instruction() 299 *code_ptr++ = U8(get_jump_code(type ^ 0x1) - 0x10); in generate_far_jump_code() 318 *code_ptr++ = U8(MOD_RE in generate_far_jump_code() [all...] |
H A D | sljitNativeX86_common.c | 141 #define U8(v) ((sljit_u8)(v)) macro 286 #define INC_SIZE(s) (*inst++ = U8(s), compiler->size += (s)) 288 #define PUSH_REG(r) (*inst++ = U8(PUSH_r + (r))) 289 #define POP_REG(r) (*inst++ = U8(POP_r + (r))) 291 #define RET_I16(n) (*inst++ = RET_i16, *inst++ = U8(n), *inst++ = 0) 563 *code_ptr++ = U8(get_jump_code(type) - 0x10); in generate_near_jump_code() 686 *(sljit_u8*)jump->addr = U8(jump_addr); in sljit_generate_code() 1037 return emit_do_imm32(compiler, (reg_map[dst] >= 8) ? REX_B : 0, U8(MOV_r_i32 | reg_lmap[dst]), srcw); in emit_mov() 1224 *inst = U8(prefix); \ 1742 sljit_u8 op_eax_imm = U8(op_type [all...] |
H A D | sljitNativeX86_32.c | 154 *buf_ptr = U8(reg_map[a] << 3); in emit_x86_instruction() 156 *buf_ptr = U8(a << 3); in emit_x86_instruction() 170 *buf_ptr = U8(*buf_ptr | MOD_REG | (!(flags & EX86_SSE2_OP2) ? reg_map[b] : b)); in emit_x86_instruction() 187 *buf_ptr++ = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3)); in emit_x86_instruction() 192 *buf_ptr++ = U8(immb); /* 8 bit displacement. */ in emit_x86_instruction() 204 *buf_ptr++ = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction() 218 *buf_ptr = U8(imma); in emit_x86_instruction() 1220 regs[0] = U8(REG_PAIR_FIRST(reg)); in sljit_emit_mem() 1221 regs[1] = U8(REG_PAIR_SECOND(reg)); in sljit_emit_mem() 1263 inst[1] = 0x44 | U8(reg_ma in sljit_emit_mem() [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | atom.rs | 9 U8, 35 "u8" => Some(U8), in from_str() 66 U8 => "u8", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | atom.rs | 9 U8, 35 "u8" => Some(U8), in from_str() 66 U8 => "u8", in as_ref()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | atom.rs | 9 U8, 35 "u8" => Some(U8), in from_str() 66 U8 => "u8", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | atom.rs | 9 U8, 35 "u8" => Some(U8), in from_str() 66 U8 => "u8", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | atom.rs | 9 U8, 35 "u8" => Some(U8), in from_str() 66 U8 => "u8", in as_ref()
|
H A D | pod.rs | 11 Bool | Char | U8 | U16 | U32 | U64 | Usize | I8 | I16 | I32 | I64 in is_guaranteed_pod()
|
/third_party/skia/src/opts/ |
H A D | SkBlitRow_opts.h | 227 using U8 = skvx::Vec<4*N, uint8_t>; in blit_row_color32() 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/rust/crates/unicode-width/scripts/ |
H A D | unicode.py | 42 U8 = 8 variable in OffsetType 47 (13, MAX_CODEPOINT_BITS, OffsetType.U8), 48 (6, 13, OffsetType.U8),
|
/third_party/skia/third_party/skcms/src/ |
H A D | Transform_inl.h | 19 using U8 = V<uint8_t>; 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>(sr in exec_ops() [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_formats.c | 51 FORMAT(R8_UINT, U8, U8),
|