Home
last modified time | relevance | path

Searched refs:Mutate (Results 1 – 25 of 30) sorted by relevance

12

/external/libprotobuf-mutator/src/
Dmutator_test.cc399 bool Mutate(const protobuf::Message& from, const protobuf::Message& to, in Mutate() function
407 mutator.Mutate(message.get(), 1500); in Mutate()
499 EXPECT_TRUE(Mutate(*m1_, *m2_)); in TEST_P()
519 mutator.Mutate(m1_.get(), 1000); in TEST_P()
526 EXPECT_TRUE(Mutate(*m1_, *m2_)); in TEST_P()
532 EXPECT_TRUE(Mutate(*m1_, *m2_, 1000000)); in TEST_P()
533 EXPECT_TRUE(Mutate(*m2_, *m1_, 1000000)); in TEST_P()
599 mutator.Mutate(&m, 1000); in TYPED_TEST()
647 mutator.Mutate(&message, 1000); in TYPED_TEST()
667 mutator.Mutate(&message, 1000); in TYPED_TEST()
[all …]
Dmutator.cc51 Mutate, // Mutates field contents. enumerator
198 !allowed_mutations_[static_cast<size_t>(Mutation::Mutate)] || in Sample()
228 Try({message, current_field}, Mutation::Mutate); in SampleImpl()
243 Try({message, field, random_index}, Mutation::Mutate); in SampleImpl()
251 Try({message, field}, Mutation::Mutate); in SampleImpl()
520 void Mutate(int32_t* value) const { in Mutate() function in protobuf_mutator::FieldMutator
524 void Mutate(int64_t* value) const { in Mutate() function in protobuf_mutator::FieldMutator
528 void Mutate(uint32_t* value) const { in Mutate() function in protobuf_mutator::FieldMutator
532 void Mutate(uint64_t* value) const { in Mutate() function in protobuf_mutator::FieldMutator
536 void Mutate(float* value) const { in Mutate() function in protobuf_mutator::FieldMutator
[all …]
Dmutator.h58 void Mutate(protobuf::Message* message, size_t max_size_hint);
/external/llvm/lib/Fuzzer/test/
DFuzzerUnittest.cpp124 TestEraseByte(&MutationDispatcher::Mutate, 1000); in TEST()
160 TestInsertByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
196 TestChangeByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
232 TestChangeBit(&MutationDispatcher::Mutate, 1 << 18); in TEST()
262 TestShuffleBytes(&MutationDispatcher::Mutate, 1 << 20); in TEST()
304 TestAddWordFromDictionary(&MutationDispatcher::Mutate, 1 << 15); in TEST()
333 TestAddWordFromDictionaryWithHint(&MutationDispatcher::Mutate, 1 << 10); in TEST()
365 TestChangeASCIIInteger(&MutationDispatcher::Mutate, 1 << 15); in TEST()
/external/libprotobuf-mutator/
DREADME.md56 for better results you should override the `ProtobufMutator::Mutate*`
65 // Optionally redefine the Mutate* methods to perform more sophisticated mutations.
67 void Mutate(MyMessage* message) {
70 mutator.Mutate(message, 200);
/external/rust/crates/libfuzzer-sys/libfuzzer/tests/
DFuzzerUnittest.cpp169 TestEraseBytes(&MutationDispatcher::Mutate, 2000); in TEST()
205 TestInsertByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
250 TestInsertRepeatedBytes(&MutationDispatcher::Mutate, 300000); in TEST()
286 TestChangeByte(&MutationDispatcher::Mutate, 1 << 17); in TEST()
322 TestChangeBit(&MutationDispatcher::Mutate, 1 << 18); in TEST()
352 TestShuffleBytes(&MutationDispatcher::Mutate, 1 << 20); in TEST()
400 TestCopyPart(&MutationDispatcher::Mutate, 1 << 13); in TEST()
457 TestAddWordFromDictionary(&MutationDispatcher::Mutate, 1 << 15); in TEST()
489 TestChangeASCIIInteger(&MutationDispatcher::Mutate, 1 << 15); in TEST()
529 TestChangeBinaryInteger(&MutationDispatcher::Mutate, 1 << 15); in TEST()
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h680 return Mutate(data_, i, parent_width_, WidthI(i)); in MutateInt()
682 return Mutate(Indirect(), i, byte_width_, WidthI(i)); in MutateInt()
685 return Mutate(data_, u, parent_width_, WidthU(u)); in MutateInt()
688 return Mutate(Indirect(), u, byte_width_, WidthU(u)); in MutateInt()
695 return type_ == FBT_BOOL && Mutate(data_, b, parent_width_, BIT_WIDTH_8); in MutateBool()
700 return Mutate(data_, u, parent_width_, WidthU(u)); in MutateUInt()
702 return Mutate(Indirect(), u, byte_width_, WidthU(u)); in MutateUInt()
705 return Mutate(data_, i, parent_width_, WidthI(i)); in MutateUInt()
708 return Mutate(Indirect(), i, byte_width_, WidthI(i)); in MutateUInt()
754 bool Mutate(const uint8_t *dest, T t, size_t byte_width, in Mutate() function
[all …]
Darray.h90 void Mutate(uoffset_t i, const T &val) { MutateImpl(scalar_tag(), i, val); } in Mutate() function
134 for (size_type k = 0; k < length; k++) { Mutate(k, src[k]); } in CopyFromSpanImpl()
Dvector.h225 void Mutate(uoffset_t i, const T &val) { in Mutate() function
/external/vixl/test/
Dtest-donkey.cc52 Instr Mutate(Instr base) { in Mutate() function
206 inst = Mutate(useful_insts.back().inst); in main()
/external/flatbuffers/tests/
Dtest.cpp496 inventory->Mutate(9, 100); in MutateFlatBuffersTest()
498 inventory->Mutate(9, 9); in MutateFlatBuffersTest()
3753 nStruct0.mutable_a()->Mutate(0, 1); in FixedLengthArrayTest()
3754 nStruct0.mutable_a()->Mutate(1, 2); in FixedLengthArrayTest()
3756 nStruct0.mutable_c()->Mutate(0, MyGame::Example::TestEnum::C); in FixedLengthArrayTest()
3757 nStruct0.mutable_c()->Mutate(1, MyGame::Example::TestEnum::A); in FixedLengthArrayTest()
3759 nStruct0.mutable_d()->Mutate(0, flatbuffers::numeric_limits<int64_t>::max()); in FixedLengthArrayTest()
3760 nStruct0.mutable_d()->Mutate(1, flatbuffers::numeric_limits<int64_t>::min()); in FixedLengthArrayTest()
3763 nStruct1.mutable_a()->Mutate(0, 3); in FixedLengthArrayTest()
3764 nStruct1.mutable_a()->Mutate(1, 4); in FixedLengthArrayTest()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTypePromotion.cpp140 void Mutate();
675 void IRPromoter::Mutate() { in Mutate() function in IRPromoter
929 Promoter.Mutate(); in TryToPromote()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerMutate.h74 size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
DFuzzerMutate.cpp531 size_t MutationDispatcher::Mutate(uint8_t *Data, size_t Size, size_t MaxSize) { in Mutate() function in fuzzer::MutationDispatcher
581 size_t NewSize = Mutate(T.data(), OneBits, OneBits); in MutateWithMask()
DFuzzerLoop.cpp750 NewSize = MD.Mutate(CurrentUnitData, Size, CurrentMaxMutationLen); in MutateAndTestOne()
919 size_t NewSize = MD.Mutate(CurrentUnitData, U.size(), MaxMutationLen); in MinimizeCrashLoop()
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_macro.cc142 GetMutator()->Mutate(message, max_size); in MutateMessage()
/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp272 size_t MutationDispatcher::Mutate(uint8_t *Data, size_t Size, size_t MaxSize) { in Mutate() function in fuzzer::MutationDispatcher
DFuzzerInternal.h285 size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
DFuzzerLoop.cpp653 NewSize = MD.Mutate(CurrentUnitData, Size, Options.MaxLen); in MutateAndTestOne()
/external/angle/build/config/siso/
Dreproxy.star173 …# Mutate the original step rule to rewrite rewrapper and convert its rewrapper config to reproxy c…
/external/flatbuffers/python/flatbuffers/
Dflexbuffers.py372 def Mutate(self, value): member in String
740 return String(self._Indirect(), self._byte_width).Mutate(value)
/external/cronet/third_party/abseil-cpp/absl/strings/
Dcord_test.cc2711 void Mutate(absl::Cord& cord) const { mutate_(cord); } in Mutate() function in __anone84188fd1e11::CordMutator
2890 mutator.Mutate(c2); in TEST_P()
3008 mutator.Mutate(c2); in TEST_P()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcord_test.cc2709 void Mutate(absl::Cord& cord) const { mutate_(cord); } in Mutate() function in __anon8498d0791e11::CordMutator
2888 mutator.Mutate(c2); in TEST_P()
3006 mutator.Mutate(c2); in TEST_P()
/external/angle/third_party/abseil-cpp/absl/strings/
Dcord_test.cc2789 void Mutate(absl::Cord& cord) const { mutate_(cord); } in Mutate() function in __anonde837d991e11::CordMutator
2968 mutator.Mutate(c2); in TEST_P()
3086 mutator.Mutate(c2); in TEST_P()
/external/abseil-cpp/absl/strings/
Dcord_test.cc2673 void Mutate(absl::Cord& cord) const { mutate_(cord); } in Mutate() function in __anonfdca20ea1e11::CordMutator
2806 mutator.Mutate(c2); in TEST_P()

12