/third_party/skia/third_party/externals/tint/src/sem/ |
H A D | u32_type.cc | 19 TINT_INSTANTIATE_TYPEINFO(tint::sem::U32); variable 24 U32::U32() = default; 26 U32::~U32() = default; 28 U32::U32(U32&&) = default; 30 std::string U32::type_name() const { in type_name() 34 std::string U32 [all...] |
H A D | u32_type.h | 26 class U32 : public Castable<U32, Type> { class 29 U32(); 31 U32(U32&&); 32 ~U32() override;
|
H A D | type.cc | 68 return IsAnyOf<F32, U32, I32, Bool>(); in is_scalar() 72 return IsAnyOf<F32, U32, I32>(); in is_numeric_scalar() 96 return IsAnyOf<U32, I32>(); in is_integer_scalar() 104 return Is<U32>(); in is_unsigned_integer_scalar() 112 return Is([](const Vector* v) { return v->type()->Is<U32>(); }); 116 return Is<U32>() || is_unsigned_integer_vector();
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | u32.cc | 19 TINT_INSTANTIATE_TYPEINFO(tint::ast::U32); variable 24 U32::U32(ProgramID pid, const Source& src) : Base(pid, src) {} in U32() function in tint::ast::U32 26 U32::~U32() = default; 28 U32::U32(U32&&) = default; 30 std::string U32::FriendlyName(const SymbolTable&) const { in FriendlyName() 34 const U32* U3 [all...] |
H A D | u32.h | 26 class U32 : public Castable<U32, Type> { class 31 U32(ProgramID pid, const Source& src); 33 U32(U32&&); 34 ~U32() override; 44 const U32* Clone(CloneContext* ctx) const override;
|
/third_party/lz4/lib/ |
H A D | xxhash.c | 149 typedef uint32_t U32; typedef 153 typedef unsigned int U32; typedef 160 static U32 XXH_read32(const void* memPtr) { return *(const U32*) memPtr; } in XXH_read32() 166 typedef union { U32 u32; } __attribute__((packed)) unalign; 167 static U32 XXH_read32(const void* ptr) { return ((const unalign*)ptr)->u32; } in XXH_read32() 174 static U32 XXH_read32(const void* memPtr) in XXH_read32() 176 U32 val; in XXH_read32() 203 static U32 XXH_swap32 (U32 [all...] |
H A D | lz4hc.c | 88 static U32 LZ4HC_hashPtr(const void* ptr) { return HASH_FUNCTION(LZ4_read32(ptr)); } in LZ4HC_hashPtr() 110 hc4->nextToUpdate = (U32)newStartingOffset; in LZ4HC_init_internal() 114 hc4->dictLimit = (U32)newStartingOffset; in LZ4HC_init_internal() 115 hc4->lowLimit = (U32)newStartingOffset; in LZ4HC_init_internal() 123 U32* const hashTable = hc4->hashTable; in LZ4HC_Insert() 125 U32 const prefixIdx = hc4->dictLimit; in LZ4HC_Insert() 126 U32 const target = (U32)(ip - prefixPtr) + prefixIdx; in LZ4HC_Insert() 127 U32 idx = hc4->nextToUpdate; in LZ4HC_Insert() 132 U32 cons in LZ4HC_Insert() [all...] |
H A D | lz4.c | 304 typedef uint32_t U32; typedef 314 typedef unsigned int U32; typedef 363 const union { U32 u; BYTE c[4]; } one = { 1 }; /* don't use static : performance detrimental */ in LZ4_isLittleEndian() 372 static U32 LZ4_read32(const void* memPtr) { return *(const U32*) memPtr; } in LZ4_read32() 376 static void LZ4_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; } in LZ4_write32() 382 typedef union { U16 u16; U32 u32; reg_t uArch; } __attribute__((packed)) LZ4_unalign; 385 static U32 LZ4_read32(const void* ptr) { return ((const LZ4_unalign*)ptr)->u32; } in LZ4_read32() 389 static void LZ4_write32(void* memPtr, U32 valu in LZ4_write16() [all...] |
H A D | lz4frame.c | 172 typedef uint32_t U32; typedef 178 typedef unsigned int U32; typedef 185 static U32 LZ4F_readLE32 (const void* src) in LZ4F_readLE32() 188 U32 value32 = srcPtr[0]; in LZ4F_readLE32() 189 value32 += ((U32)srcPtr[1])<< 8; in LZ4F_readLE32() 190 value32 += ((U32)srcPtr[2])<<16; in LZ4F_readLE32() 191 value32 += ((U32)srcPtr[3])<<24; in LZ4F_readLE32() 195 static void LZ4F_writeLE32 (void* dst, U32 value32) in LZ4F_writeLE32() 266 U32 version; 267 U32 cStag [all...] |
/third_party/skia/third_party/externals/angle2/src/common/third_party/xxhash/ |
H A D | xxhash.c | 149 typedef uint32_t U32; typedef 153 typedef unsigned int U32; typedef 160 static U32 XXH_read32(const void* memPtr) { return *(const U32*) memPtr; } in XXH_read32() 166 typedef union { U32 u32; } __attribute__((packed)) unalign; 167 static U32 XXH_read32(const void* ptr) { return ((const unalign*)ptr)->u32; } in XXH_read32() 174 static U32 XXH_read32(const void* memPtr) in XXH_read32() 176 U32 val; in XXH_read32() 203 static U32 XXH_swap32 (U32 [all...] |
/third_party/lz4/programs/ |
H A D | datagen.c | 30 #include "util.h" /* U32 */ 61 static unsigned int RDG_rand(U32* src) in RDG_rand() 63 U32 rand32 = *src; in RDG_rand() 77 U32 u = 0; in RDG_fillLiteralDistrib() 80 U32 const weight = (U32)((double)(LTSIZE - u) * ld) + 1; in RDG_fillLiteralDistrib() 81 U32 const end = MIN(u+weight, LTSIZE); in RDG_fillLiteralDistrib() 92 static BYTE RDG_genChar(U32* seed, const litDistribTable lt) in RDG_genChar() 94 U32 id = RDG_rand(seed) & LTMASK; in RDG_genChar() 105 const U32 matchProba3 in RDG_genBlock() [all...] |
H A D | bench.c | 81 static U32 g_compressibilityDefault = 50; 89 static U32 g_displayLevel = 2; /* 0 : no display; 1: errors; 2 : + result + interaction + warnings; 3 : + progression; 4 : + information */ 121 static U32 g_nbSeconds = NBSECONDS; 358 const size_t* fileSizes, U32 nbFiles, in BMK_benchMem() 362 U32 const maxNbBlocks = (U32)((srcSize + (blockSize-1)) / blockSize) + nbFiles; in BMK_benchMem() 370 U32 nbBlocks; in BMK_benchMem() 392 U32 fileNb; in BMK_benchMem() 395 U32 const nbBlocksforThisFile = (U32)((remainin in BMK_benchMem() [all...] |
/third_party/lz4/tests/ |
H A D | fuzzer.c | 46 #include "util.h" /* U32 */ 121 static U32 FUZ_rotl32(U32 u32, U32 nbBits) in FUZ_rotl32() 126 static U32 FUZ_highbit32(U32 v32) in FUZ_highbit32() 134 static U32 FUZ_rand(U32* src) in FUZ_rand() 136 U32 rand32 = *src; in FUZ_rand() 147 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see [all...] |
H A D | frametest.c | 37 #include "util.h" /* U32 */ 55 static void FUZ_writeLE32 (void* dstVoidPtr, U32 value32) in FUZ_writeLE32() 72 static const U32 nbTestsDefault = 256 KB; 74 static const U32 prime1 = 2654435761U; 75 static const U32 prime2 = 2246822519U; 94 static U32 no_prompt = 0; 95 static U32 displayLevel = 2; 96 static U32 use_pause = 0; 165 U32 rand32 = *src; in FUZ_rand() 175 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* see [all...] |
H A D | datagencli.c | 30 #include "util.h" /* U32 */ 91 U32 seed = SEED_DEFAULT; in main() 122 seed = (U32) strtoul(argument, &argument, 10); in main() 149 if (proba!=COMPRESSIBILITY_DEFAULT) DISPLAYLEVEL(3, "Compressibility : %i%%\n", (U32)(proba*100)); in main()
|
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_de.rs | 237 test(0, &[Token::U32(0)]); in test_i8() 241 test(127, &[Token::U32(127)]); in test_i8() 262 test(0, &[Token::U32(0)]); in test_i16() 266 test(32767, &[Token::U32(32767)]); in test_i16() 287 test(0, &[Token::U32(0)]); in test_i32() 291 test(2147483647, &[Token::U32(2147483647)]); in test_i32() 312 test(0, &[Token::U32(0)]); in test_i64() 316 test(4294967295, &[Token::U32(4294967295)]); in test_i64() 337 test(0, &[Token::U32(0)]); in test_i128() 341 test(4294967295, &[Token::U32(429496729 in test_i128() [all...] |
H A D | test_de_error.rs | 111 &[Token::U32(128)], in test_i8() 148 &[Token::U32(32768)], in test_i16() 173 &[Token::U32(2147483648)], in test_i32() 240 &[Token::U32(256)], in test_u8() 281 &[Token::U32(65536)], in test_u16() 436 &[Token::U32(0)], in test_nonzero_i8() 480 &[Token::U32(128)], in test_nonzero_i8() 519 &[Token::U32(0)], in test_nonzero_i16() 551 &[Token::U32(32768)], in test_nonzero_i16() 590 &[Token::U32( in test_nonzero_i32() [all...] |
H A D | test_identifier.rs | 23 assert_de_tokens(&V::Aaa, &[Token::U32(0)]); in variant1() 33 assert_de_tokens(&V::Bbb, &[Token::U32(1)]); in aliases() 57 &[Token::U32(42)], in unknown() 90 assert_de_tokens(&F::Aaa, &[Token::U32(0)]); in field1() 100 assert_de_tokens(&F::Bbb, &[Token::U32(1)]); in aliases() 124 &[Token::U32(42)], in unknown() 154 assert_de_tokens(&F::Other, &[Token::U32(42)]); in unit_fallthrough() 184 assert_de_tokens(&F::Other(42u32), &[Token::U32(42)]); in newtype_fallthrough_generic()
|
/third_party/skia/third_party/skcms/src/ |
H A D | Transform_inl.h | 17 using U32 = V<uint32_t>; 137 SI U32 to_fixed(F f) { return (U32)cast<I32>(f + 0.5f); } in to_fixed() 169 U32 wide = cast<U32>(half); in F_from_Half() 171 U32 s = wide & 0x8000, in F_from_Half() 198 U32 sem = bit_pun<U32>(f), in Half_from_F() 203 return cast<U16>(if_then_else(em < 0x38800000, (U32)F0 in Half_from_F() 321 U32 bit in apply_tf() [all...] |
/third_party/skia/src/opts/ |
H A D | SkRasterPipeline_opts.h | 120 using U32 = uint32_t; 134 SI U32 round (F v, F scale) { return (uint32_t)(v*scale + 0.5f); } in round() 135 SI U16 pack(U32 v) { return (U16)v; } in pack() 141 SI T gather(const T* p, U32 ix) { return p[ix]; } in gather() 196 using U32 = V<uint32_t>; 208 SI U16 pack(U32 v) { return __builtin_convertvector(v, U16); } 211 SI F if_then_else(I32 c, F t, F e) { return vbslq_f32((U32)c,t,e); } 217 SI U32 round(F v, F scale) { return vcvtnq_u32_f32(v*scale); } 232 SI U32 round(F v, F scale) { 239 SI V<T> gather(const T* p, U32 i [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | parser_type_test.cc | 30 EXPECT_EQ(ty.U32(), ty.U32()); in TEST() 60 ty.Pointer(ty.U32(), ast::StorageClass::kNone)); in TEST() 63 EXPECT_NE(ty.Vector(ty.I32(), 3), ty.Vector(ty.U32(), 3)); in TEST() 65 EXPECT_NE(ty.Matrix(ty.I32(), 3, 2), ty.Matrix(ty.U32(), 3, 2)); in TEST() 68 EXPECT_NE(ty.Array(ty.I32(), 3, 2), ty.Array(ty.U32(), 3, 2)); in TEST() 80 ty.MultisampledTexture(ast::TextureDimension::k2d, ty.U32())); in TEST() 84 ty.SampledTexture(ast::TextureDimension::k2d, ty.U32())); in TEST()
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | int.rs | 64 U32, 97 WChar | U32 | U64 | U128 => false, in is_signed() 116 U32 | I32 => 4, in known_size()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | is_host_shareable_test.cc | 37 EXPECT_TRUE(r()->IsHostShareable(create<sem::U32>())); in TEST_F() 45 EXPECT_TRUE(r()->IsHostShareable(create<sem::Vector>(create<sem::U32>(), 2))); in TEST_F() 46 EXPECT_TRUE(r()->IsHostShareable(create<sem::Vector>(create<sem::U32>(), 3))); in TEST_F() 47 EXPECT_TRUE(r()->IsHostShareable(create<sem::Vector>(create<sem::U32>(), 4))); in TEST_F() 98 EXPECT_TRUE(r()->IsHostShareable(create<sem::Atomic>(create<sem::U32>()))); in TEST_F()
|
H A D | is_storeable_test.cc | 34 EXPECT_TRUE(r()->IsStorable(create<sem::U32>())); in TEST_F() 42 EXPECT_TRUE(r()->IsStorable(create<sem::Vector>(create<sem::U32>(), 2))); in TEST_F() 43 EXPECT_TRUE(r()->IsStorable(create<sem::Vector>(create<sem::U32>(), 3))); in TEST_F() 44 EXPECT_TRUE(r()->IsStorable(create<sem::Vector>(create<sem::U32>(), 4))); in TEST_F() 73 EXPECT_TRUE(r()->IsStorable(create<sem::Atomic>(create<sem::U32>()))); in TEST_F()
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | atom.rs | 11 U32, 37 "u32" => Some(U32), in from_str() 68 U32 => "u32", in as_ref()
|