Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Ddata_encoding_fuzzer.cc15 constexpr int kMaxStringLength = 256; variable
20 provider->ConsumeRandomLengthString(kMaxStringLength).c_str(), in FuzzUrlEncodeDecode()
24 provider->ConsumeRandomLengthString(kMaxStringLength).c_str()); in FuzzUrlEncodeDecode()
32 provider->ConsumeRandomLengthString(kMaxStringLength), in FuzzWebParamsEncodeDecode()
33 provider->ConsumeRandomLengthString(kMaxStringLength))); in FuzzWebParamsEncodeDecode()
38 provider->ConsumeRandomLengthString(kMaxStringLength)); in FuzzWebParamsEncodeDecode()
43 provider->ConsumeRandomLengthString(kMaxStringLength)); in FuzzBase64EncodeDecode()
46 provider->ConsumeRandomLengthString(kMaxStringLength), &output); in FuzzBase64EncodeDecode()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/qpack/fuzzer/
Dqpack_encoder_stream_sender_fuzzer.cc26 const uint16_t kMaxStringLength = 2048; in LLVMFuzzerTestOneInput() local
34 provider.ConsumeIntegralInRange<uint16_t>(0, kMaxStringLength); in LLVMFuzzerTestOneInput()
42 provider.ConsumeIntegralInRange<uint16_t>(0, kMaxStringLength); in LLVMFuzzerTestOneInput()
45 provider.ConsumeIntegralInRange<uint16_t>(0, kMaxStringLength); in LLVMFuzzerTestOneInput()
/external/webrtc/rtc_base/win/
Dwindows_version.cc124 const size_t kMaxStringLength = 1024; // This is after expansion. in ReadValue() local
126 wchar_t raw_value[kMaxStringLength]; in ReadValue()
133 wchar_t expanded[kMaxStringLength]; in ReadValue()
135 ::ExpandEnvironmentStringsW(raw_value, expanded, kMaxStringLength); in ReadValue()
139 if (size == 0 || size > kMaxStringLength) { in ReadValue()
/external/pigweed/pw_tokenizer/
Dencode_args.cc53 static constexpr size_t kMaxStringLength = 0x7Fu; in EncodeString() local
65 std::min(static_cast<size_t>(output.size()), kMaxStringLength) - 1; in EncodeString()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp40 const size_t kMaxStringLength = 32767; variable
468 return buf.First(std::min(buf.GetLength(), kMaxStringLength)); in ReadString()
538 return buf.First(std::min(buf.GetLength(), kMaxStringLength)); in ReadString()
571 return buf.First(std::min<size_t>(buf.GetLength(), kMaxStringLength)); in ReadHexString()
/external/openthread/script/
Dcheck-posix-pty144 local -r kMaxStringLength="$((OPENTHREAD_CONFIG_CLI_MAX_LINE_LENGTH - 1))"
147 for len in $(seq 1 ${kMaxStringLength}); do
/external/google-breakpad/src/client/mac/handler/
Ddynamic_images.cc149 #define kMaxStringLength 8192 macro
166 size_to_end > kMaxStringLength ? kMaxStringLength : size_to_end; in ReadTaskString()
/external/cronet/base/win/
Dregistry.cc733 const size_t kMaxStringLength = 1024; // This is after expansion. in ReadValue() local
735 wchar_t raw_value[kMaxStringLength]; in ReadValue()
742 wchar_t expanded[kMaxStringLength]; in ReadValue()
743 size = ExpandEnvironmentStrings(raw_value, expanded, kMaxStringLength); in ReadValue()
747 if (size == 0 || size > kMaxStringLength) { in ReadValue()