Home
last modified time | relevance | path

Searched refs:str_size (Results 1 – 1 of 1) sorted by relevance

/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutateFns.cpp110 size_t str_size = mutator_config_.default_string_size_; in StringRandomGen() local
111 string str(str_size, 0); in StringRandomGen()
113 std::generate_n(str.begin(), str_size, rand_char); in StringRandomGen()
117 string_data.set_length(str_size); in StringRandomGen()
126 size_t str_size = result.string_value().length(); in StringMutate() local
133 size_t idx = rand_(str_size); in StringMutate()
138 ++str_size; in StringMutate()
143 --str_size; in StringMutate()
155 result.mutable_string_value()->set_length(str_size); in StringMutate()