Home
last modified time | relevance | path

Searched refs:GetUInt32 (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/
Dwgsl_mutator.cc233 uint32_t interval_1_start = generator.GetUInt32( in SwapRandomIntervals()
235 uint32_t interval_1_end = generator.GetUInt32( in SwapRandomIntervals()
238 uint32_t interval_2_start = generator.GetUInt32( in SwapRandomIntervals()
240 uint32_t interval_2_end = generator.GetUInt32( in SwapRandomIntervals()
265 uint32_t interval_start = generator.GetUInt32( in DeleteRandomInterval()
267 uint32_t interval_end = generator.GetUInt32( in DeleteRandomInterval()
289 uint32_t interval_start = generator.GetUInt32( in DuplicateRandomInterval()
291 uint32_t interval_end = generator.GetUInt32( in DuplicateRandomInterval()
294 generator.GetUInt32(static_cast<uint32_t>(delimiter_positions.size())); in DuplicateRandomInterval()
315 generator.GetUInt32(static_cast<uint32_t>(identifiers.size())); in ReplaceRandomIdentifier()
[all …]
Dfuzzer.cc64 delimiters[generator.GetUInt32(static_cast<uint32_t>(delimiters.size()))]; in LLVMFuzzerCustomMutator()
66 MutationKind mutation_kind = static_cast<MutationKind>(generator.GetUInt32( in LLVMFuzzerCustomMutator()
/third_party/skia/third_party/externals/tint/fuzzers/
Drandom_generator_test.cc55 EXPECT_DEATH(rng_->GetUInt32(10, 5), ".*"); in TEST_F()
59 EXPECT_DEATH(rng_->GetUInt32(5, 5), ".*"); in TEST_F()
63 EXPECT_DEATH(rng_->GetUInt32(0u), ".*"); in TEST_F()
69 uint32_t result = rng_->GetUInt32(5u, 6u); in TEST_F()
73 uint32_t result = rng_->GetUInt32(1u); in TEST_F()
80 uint32_t result = rng_->GetUInt32(5u, 10u); in TEST_F()
85 uint32_t result = rng_->GetUInt32(10u); in TEST_F()
Drandom_generator.h45 uint32_t GetUInt32(uint32_t lower, uint32_t upper);
50 uint32_t GetUInt32(uint32_t bound);
Drandom_generator.cc54 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) { in GetUInt32() function in tint::fuzzers::RandomGenerator
59 uint32_t RandomGenerator::GetUInt32(uint32_t bound) { in GetUInt32() function in tint::fuzzers::RandomGenerator
/third_party/spirv-tools/test/fuzzers/
Drandom_generator.h54 uint32_t GetUInt32(uint32_t lower, uint32_t upper);
59 uint32_t GetUInt32(uint32_t bound);
Drandom_generator.cpp102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) { in GetUInt32() function in spvtools::fuzzers::RandomGenerator
106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) { in GetUInt32() function in spvtools::fuzzers::RandomGenerator
Dspvtools_fuzz_fuzzer.cpp63 uint32_t seed = random_gen.GetUInt32(std::numeric_limits<uint32_t>::max()); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/spirv-tools/test/fuzzers/
Drandom_generator.h54 uint32_t GetUInt32(uint32_t lower, uint32_t upper);
59 uint32_t GetUInt32(uint32_t bound);
Drandom_generator.cpp102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) { in GetUInt32() function in spvtools::fuzzers::RandomGenerator
106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) { in GetUInt32() function in spvtools::fuzzers::RandomGenerator
Dspvtools_fuzz_fuzzer.cpp63 uint32_t seed = random_gen.GetUInt32(std::numeric_limits<uint32_t>::max()); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
Drandom_generator.h54 uint32_t GetUInt32(uint32_t lower, uint32_t upper);
59 uint32_t GetUInt32(uint32_t bound);
Drandom_generator.cpp102 uint32_t RandomGenerator::GetUInt32(uint32_t lower, uint32_t upper) { in GetUInt32() function in spvtools::fuzzers::RandomGenerator
106 uint32_t RandomGenerator::GetUInt32(uint32_t bound) { in GetUInt32() function in spvtools::fuzzers::RandomGenerator
Dspvtools_fuzz_fuzzer.cpp63 uint32_t seed = random_gen.GetUInt32(std::numeric_limits<uint32_t>::max()); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
Dspirv_reduce_mutator.h76 auto index = generator_.GetUInt32(static_cast<uint32_t>(arr->size())); in GetRandomElement()
83 auto index = generator_.GetUInt32(static_cast<uint32_t>(arr->size())); in GetRandomElement()
Dspirv_opt_mutator.cc109 generator_.GetUInt32(static_cast<uint32_t>(opt_passes_.size())); in Mutate()
Dfuzzer.cc74 types[generator.GetUInt32(static_cast<uint32_t>(types.size()))]; in CreateMutator()
/third_party/protobuf/src/google/protobuf/
Ddynamic_message.h209 uint32 first = reflection->GetUInt32(*a, field_); in operator()
210 uint32 second = reflection->GetUInt32(*b, field_); in operator()
Dtest_util.h494 EXPECT_EQ(103, reflection->GetUInt32(message, F("optional_uint32"))); in ExpectAllFieldsSetViaReflection1()
498 EXPECT_EQ(107, reflection->GetUInt32(message, F("optional_fixed32"))); in ExpectAllFieldsSetViaReflection1()
557 EXPECT_EQ(601, reflection->GetUInt32(message, F("oneof_uint32"))); in ExpectAllFieldsSetViaReflection1()
772 EXPECT_EQ(403, reflection->GetUInt32(message, F("default_uint32"))); in ExpectAllFieldsSetViaReflection3()
776 EXPECT_EQ(407, reflection->GetUInt32(message, F("default_fixed32"))); in ExpectAllFieldsSetViaReflection3()
910 EXPECT_EQ(0, reflection->GetUInt32(message, F("optional_uint32"))); in ExpectClearViaReflection()
914 EXPECT_EQ(0, reflection->GetUInt32(message, F("optional_fixed32"))); in ExpectClearViaReflection()
1024 EXPECT_EQ(43, reflection->GetUInt32(message, F("default_uint32"))); in ExpectClearViaReflection()
1028 EXPECT_EQ(47, reflection->GetUInt32(message, F("default_fixed32"))); in ExpectClearViaReflection()
Dmap_test_util.h1003 uint32 key = sub_message->GetReflection()->GetUInt32( in ExpectMapFieldsSetViaReflection()
1005 uint32 val = sub_message->GetReflection()->GetUInt32( in ExpectMapFieldsSetViaReflection()
1075 uint32 key = sub_message->GetReflection()->GetUInt32( in ExpectMapFieldsSetViaReflection()
1077 uint32 val = sub_message->GetReflection()->GetUInt32( in ExpectMapFieldsSetViaReflection()
Dmap_field.cc478 map_key.SetUInt32Value(reflection->GetUInt32(*it, key_des)); in SyncMapWithRepeatedFieldNoLock()
Dmessage.h502 uint32 GetUInt32(const Message& message, const FieldDescriptor* field) const;
Dtext_format.cc2080 uint32 first = reflection->GetUInt32(*a, field_); in operator ()()
2081 uint32 second = reflection->GetUInt32(*b, field_); in operator ()()
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/
Dprobability_context.cc38 return generator_->GetUInt32( in RandomFromRange()
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc208 : reflection->GetUInt32(options, field))); in ConvertOptionField()

12