Searched refs:remaining_bytes_ (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/fuzzing/compiler-rt/include/fuzzer/ |
D | FuzzedDataProvider.h | 34 : data_ptr_(data), remaining_bytes_(size) {} in FuzzedDataProvider() 42 num_bytes = std::min(num_bytes, remaining_bytes_); in ConsumeBytes() 53 num_bytes = std::min(num_bytes, remaining_bytes_); 67 num_bytes = std::min(num_bytes, remaining_bytes_); in ConsumeBytesAsString() 92 remaining_bytes_ != 0) { in ConsumeIntegralInRange() 99 --remaining_bytes_; in ConsumeIntegralInRange() 100 result = (result << CHAR_BIT) | data_ptr_[remaining_bytes_]; in ConsumeIntegralInRange() 125 result.reserve(std::min(max_length, remaining_bytes_)); in ConsumeRandomLengthString() 126 for (size_t i = 0; i < max_length && remaining_bytes_ != 0; ++i) { in ConsumeRandomLengthString() 129 if (next == '\\' && remaining_bytes_ != 0) { in ConsumeRandomLengthString() [all …]
|
/external/llvm-project/compiler-rt/include/fuzzer/ |
D | FuzzedDataProvider.h | 34 : data_ptr_(data), remaining_bytes_(size) {} in FuzzedDataProvider() 80 size_t remaining_bytes() { return remaining_bytes_; } in remaining_bytes() 96 size_t remaining_bytes_; variable 105 num_bytes = std::min(num_bytes, remaining_bytes_); in ConsumeBytes() 116 num_bytes = std::min(num_bytes, remaining_bytes_); in ConsumeBytesWithTerminator() 125 return ConsumeBytes<T>(remaining_bytes_); in ConsumeRemainingBytes() 136 num_bytes = std::min(num_bytes, remaining_bytes_); in ConsumeBytesAsString() 158 result.reserve(std::min(max_length, remaining_bytes_)); in ConsumeRandomLengthString() 159 for (size_t i = 0; i < max_length && remaining_bytes_ != 0; ++i) { in ConsumeRandomLengthString() 162 if (next == '\\' && remaining_bytes_ != 0) { in ConsumeRandomLengthString() [all …]
|
/external/pigweed/pw_tokenizer/public/pw_tokenizer/internal/ |
D | decode.h | 191 : segments_(std::move(segments)), remaining_bytes_(remaining_bytes) {} in DecodedFormatString() 210 size_t remaining_bytes() const { return remaining_bytes_; } in remaining_bytes() 220 size_t remaining_bytes_; variable
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | internal.h | 243 uint32_t remaining_bytes() const { return remaining_bytes_; } in remaining_bytes() 259 uint32_t remaining_bytes_; variable
|
D | chttp2_transport.cc | 2810 remaining_bytes_(frame_size) { in Chttp2IncomingByteStream() 2869 if (bs->remaining_bytes_ != 0) { in NextLocked() 2966 if (remaining_bytes_ < GRPC_SLICE_LENGTH(slice)) { in Push() 2973 remaining_bytes_ -= static_cast<uint32_t> GRPC_SLICE_LENGTH(slice); in Push() 2984 if (remaining_bytes_ != 0) { in Finished()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | internal.h | 250 uint32_t remaining_bytes() const { return remaining_bytes_; } in remaining_bytes() 266 uint32_t remaining_bytes_; variable
|
D | chttp2_transport.cc | 2919 remaining_bytes_(frame_size) { in Chttp2IncomingByteStream() 2969 if (bs->remaining_bytes_ != 0) { in NextLocked() 3071 if (remaining_bytes_ < GRPC_SLICE_LENGTH(slice)) { in Push() 3079 remaining_bytes_ -= static_cast<uint32_t> GRPC_SLICE_LENGTH(slice); in Push() 3090 if (remaining_bytes_ != 0) { in Finished()
|