/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | stack.rs | 163 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 164 self.idxs.size_hint() in size_hint() 331 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 332 self.idxs.size_hint() in size_hint() 365 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 366 self.idxs.size_hint() in size_hint()
|
/third_party/rust/crates/syn/tests/ |
H A D | test_iterators.rs | 12 let size_hint = iter.size_hint(); 16 assert_eq!(size_hint, (count, Some(count)));
|
/third_party/rust/crates/regex/src/ |
H A D | re_set.rs | 371 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 372 self.0.size_hint() in size_hint() 413 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 414 self.0.size_hint() in size_hint()
|
/third_party/rust/crates/clap/src/parser/matches/ |
H A D | arg_matches.rs | 1381 fn size_hint(&self) -> (usize, Option<usize>) { in next() functions 1382 self.iter.size_hint() in next() 1426 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 1483 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 1544 fn size_hint(&self) -> (usize, Option<usize>) { in next() functions 1588 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 1628 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 1629 self.iter.size_hint() in size_hint() 1663 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 1664 self.iter.size_hint() in size_hint() 1692 fn size_hint(&self) -> (usize, Option<usize>) { size_hint() functions 1732 fn size_hint(&self) -> (usize, Option<usize>) { size_hint() functions 1761 fn size_hint(&self) -> (usize, Option<usize>) { size_hint() functions 1799 fn size_hint(&self) -> (usize, Option<usize>) { size_hint() functions 1847 fn size_hint(&self) -> (usize, Option<usize>) { size_hint() functions [all...] |
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
H A D | convert.rs | 92 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 93 let (low, high) = self.iter.size_hint(); in size_hint() 167 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions
|
/third_party/rust/crates/cxx/gen/cmd/src/syntax/ |
H A D | set.rs | 124 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 125 self.0.size_hint() in size_hint()
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | set.rs | 124 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 125 self.0.size_hint() in size_hint()
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | set.rs | 124 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 125 self.0.size_hint() in size_hint()
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | set.rs | 124 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 125 self.0.size_hint() in size_hint()
|
/third_party/rust/crates/cxx/syntax/ |
H A D | set.rs | 124 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 125 self.0.size_hint() in size_hint()
|
/third_party/rust/crates/serde/serde/src/de/ |
H A D | mod.rs | 124 pub(crate) mod size_hint; 714 /// if let Some(size_hint) = seq.size_hint() { 715 /// self.0.reserve(size_hint); 1733 fn size_hint(&self) -> Option<usize> { in size_hint() functions 1761 fn size_hint(&self) -> Option<usize> { in size_hint() functions 1762 (**self).size_hint() in size_hint() 1886 fn size_hint(&self) -> Option<usize> { in size_hint() functions 1952 fn size_hint(&self) -> Option<usize> { in size_hint() functions 1953 (**self).size_hint() in size_hint() [all...] |
H A D | value.rs | 27 use crate::de::{self, size_hint, Deserializer, Expected, IntoDeserializer, SeqAccess, Visitor}; 976 fn size_hint(&self) -> Option<usize> { in size_hint() functions 977 size_hint::from_bounds(&self.iter) in size_hint() 1253 fn size_hint(&self) -> Option<usize> { in size_hint() functions 1254 size_hint::from_bounds(&self.iter) in size_hint() 1281 fn size_hint(&self) -> Option<usize> { in size_hint() functions 1282 size_hint::from_bounds(&self.iter) in size_hint() 1354 let remaining = pair_visitor.size_hint().unwrap(); in deserialize_seq() 1398 fn size_hint(&self) -> Option<usize> { in size_hint() functions
|
H A D | size_hint.rs | 7 helper(iter.size_hint()) in from_bounds()
|
/third_party/node/deps/brotli/c/enc/ |
H A D | quality.h | 125 } else if (params->quality == 4 && params->size_hint >= (1 << 20)) { in ChooseHasher() 131 } else if (params->size_hint >= (1 << 20) && params->lgwin >= 19) { in ChooseHasher()
|
H A D | params.h | 38 size_t size_hint; member
|
H A D | encode.c | 174 state->params.size_hint = value; in BrotliEncoderSetParameter() 403 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in ShouldUseComplexStaticContextMap() 425 if (size_hint < (1 << 20)) { in ShouldUseComplexStaticContextMap() 483 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in DecideOverLiteralContextModeling() 488 input, start_pos, length, mask, quality, size_hint, in DecideOverLiteralContextModeling() 618 params->size_hint, &num_literal_contexts, in WriteMetaBlockInternal() 746 params->size_hint = 0; in BrotliEncoderInitParams() 1790 if (s->params.size_hint == 0) { in UpdateSizeHint() 1800 s->params.size_hint = total; in UpdateSizeHint() 402 ShouldUseComplexStaticContextMap(const uint8_t* input, size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, size_t* num_literal_contexts, const uint32_t** literal_context_map) ShouldUseComplexStaticContextMap() argument 482 DecideOverLiteralContextModeling(const uint8_t* input, size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, size_t* num_literal_contexts, const uint32_t** literal_context_map) DecideOverLiteralContextModeling() argument
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | quality.h | 125 } else if (params->quality == 4 && params->size_hint >= (1 << 20)) { in ChooseHasher() 131 } else if (params->size_hint >= (1 << 20) && params->lgwin >= 19) { in ChooseHasher()
|
H A D | params.h | 38 size_t size_hint; member
|
H A D | encode.c | 174 state->params.size_hint = value; in BrotliEncoderSetParameter() 403 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in ShouldUseComplexStaticContextMap() 425 if (size_hint < (1 << 20)) { in ShouldUseComplexStaticContextMap() 483 size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, in DecideOverLiteralContextModeling() 488 input, start_pos, length, mask, quality, size_hint, in DecideOverLiteralContextModeling() 618 params->size_hint, &num_literal_contexts, in WriteMetaBlockInternal() 746 params->size_hint = 0; in BrotliEncoderInitParams() 1790 if (s->params.size_hint == 0) { in UpdateSizeHint() 1800 s->params.size_hint = total; in UpdateSizeHint() 402 ShouldUseComplexStaticContextMap(const uint8_t* input, size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, size_t* num_literal_contexts, const uint32_t** literal_context_map) ShouldUseComplexStaticContextMap() argument 482 DecideOverLiteralContextModeling(const uint8_t* input, size_t start_pos, size_t length, size_t mask, int quality, size_t size_hint, size_t* num_literal_contexts, const uint32_t** literal_context_map) DecideOverLiteralContextModeling() argument
|
/third_party/rust/crates/nix/src/sys/ |
H A D | select.rs | 133 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 134 let (_, upper) = self.range.size_hint(); in size_hint()
|
/third_party/rust/crates/proc-macro2/src/ |
H A D | rcvec.rs | 140 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 141 self.inner.size_hint() in size_hint()
|
/third_party/rust/crates/os_str_bytes/src/windows/ |
H A D | mod.rs | 67 let mut encoded_string = Vec::with_capacity(encoder.size_hint().0); in from_bytes() 82 let mut string = Vec::with_capacity(encoder.size_hint().0); in to_bytes()
|
/third_party/rust/crates/clap/src/util/ |
H A D | flat_map.rs | 201 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 202 self.keys.size_hint() in size_hint() 237 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 238 self.keys.size_hint() in size_hint()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | encode_decode.c | 73 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument 222 size_t size_hint) { in appendstr_handler() 240 size_t size_hint) { in appendbytes_handler() 251 size_t size_hint) { in str_handler() 265 size_t size_hint) { in bytes_handler() 511 size_t size_hint) { in oneofstr_handler() 524 size_t size_hint) { in oneofbytes_handler() 666 size_t size_hint) { in startstringwrapper_handler() 668 (void)size_hint; in startstringwrapper_handler() 683 size_t size_hint) { in startbyteswrapper_handler() 220 appendstr_handler(void *closure, const void *hd, size_t size_hint) appendstr_handler() argument 238 appendbytes_handler(void *closure, const void *hd, size_t size_hint) appendbytes_handler() argument 249 str_handler(void *closure, const void *hd, size_t size_hint) str_handler() argument 263 bytes_handler(void *closure, const void *hd, size_t size_hint) bytes_handler() argument 509 oneofstr_handler(void *closure, const void *hd, size_t size_hint) oneofstr_handler() argument 522 oneofbytes_handler(void *closure, const void *hd, size_t size_hint) oneofbytes_handler() argument 665 startstringwrapper_handler(void* closure, const void* hd, size_t size_hint) startstringwrapper_handler() argument 682 startbyteswrapper_handler(void* closure, const void* hd, size_t size_hint) startbyteswrapper_handler() argument [all...] |
/third_party/rust/crates/memchr/src/memchr/ |
H A D | iter.rs | 59 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 103 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions 160 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() functions
|