Home
last modified time | relevance | path

Searched refs:size_hint (Results 1 – 25 of 26) sorted by relevance

12

/third_party/grpc/third_party/upb/upb/
Dsink.h145 size_t size_hint, upb_sink *sub) { in upb_sink_startstr() argument
155 sub->closure = startstr(s.closure, hd, size_hint); in upb_sink_startstr()
335 bool StartString(HandlersPtr::Selector s, size_t size_hint, Sink* sub) { in StartString() argument
337 bool ret = upb_sink_startstr(sink_, s, size_hint, &sub_c); in StartString()
408 UPB_INLINE bool upb_bytessink_start(upb_bytessink s, size_t size_hint, in upb_bytessink_start() argument
419 size_hint); in upb_bytessink_start()
477 bool Start(size_t size_hint, void **subc) { in Start() argument
478 return upb_bytessink_start(sink_, size_hint, subc); in Start()
Dhandlers.h158 size_t size_hint);
/third_party/grpc/third_party/upb/upb/json/
Dprinter.c514 size_t size_hint) { in scalar_startstr() argument
517 UPB_UNUSED(size_hint); in scalar_startstr()
538 size_t size_hint) { in repeated_startstr() argument
541 UPB_UNUSED(size_hint); in repeated_startstr()
562 size_t size_hint) { in mapkeyval_startstr() argument
565 UPB_UNUSED(size_hint); in mapkeyval_startstr()
743 size_t size_hint) { in scalar_startstr_nokey() argument
746 UPB_UNUSED(size_hint); in scalar_startstr_nokey()
789 size_t size_hint) { in repeated_startstr_fieldmask() argument
792 UPB_UNUSED(size_hint); in repeated_startstr_fieldmask()
[all …]
/third_party/boost/boost/random/
Dfaure.hpp139 if (coeff.size() != size_hint(hisum)) { in update()
170 inline static size_type size_hint(size_type n) in size_hint() function
206 coeff.resize(static_cast<std::size_t>(size_hint(n))); in compute_coefficients()
/third_party/skia/third_party/externals/brotli/c/enc/
Dquality.h125 } 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()
Dparams.h38 size_t size_hint; member
Dencode.c174 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() argument
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() argument
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()
/third_party/node/deps/brotli/c/enc/
Dquality.h125 } 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()
Dparams.h38 size_t size_hint; member
Dencode.c174 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() argument
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() argument
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()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c73 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
222 size_t size_hint) { in DEFINE_APPEND_HANDLER()
240 size_t size_hint) { in appendbytes_handler() argument
251 size_t size_hint) { in str_handler() argument
265 size_t size_hint) { in bytes_handler() argument
511 size_t size_hint) { in DEFINE_ONEOF_HANDLER()
524 size_t size_hint) { in oneofbytes_handler() argument
666 size_t size_hint) { in startstringwrapper_handler() argument
668 (void)size_hint; in startstringwrapper_handler()
683 size_t size_hint) { in startbyteswrapper_handler() argument
[all …]
Dupb.c7816 void *upb_pbdecoder_startbc(void *closure, const void *pc, size_t size_hint) { in upb_pbdecoder_startbc() argument
7818 UPB_UNUSED(size_hint); in upb_pbdecoder_startbc()
8376 static void *encode_startstr(void *c, const void *hd, size_t size_hint) { in encode_startstr() argument
8377 UPB_UNUSED(size_hint); in encode_startstr()
8749 size_t size_hint) { in textprinter_startstr() argument
8752 UPB_UNUSED(size_hint); in textprinter_startstr()
9071 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
9075 UPB_UNUSED(size_hint); in stringsink_start()
12905 size_t size_hint) { in scalar_startstr() argument
12908 UPB_UNUSED(size_hint); in scalar_startstr()
[all …]
Dupb.h3703 size_t size_hint);
5341 size_t size_hint, upb_sink *sub) {
5351 sub->closure = startstr(s.closure, hd, size_hint);
5531 bool StartString(HandlersPtr::Selector s, size_t size_hint, Sink* sub) {
5533 bool ret = upb_sink_startstr(sink_, s, size_hint, &sub_c);
5604 UPB_INLINE bool upb_bytessink_start(upb_bytessink s, size_t size_hint,
5615 size_hint);
5673 bool Start(size_t size_hint, void **subc) {
5674 return upb_bytessink_start(sink_, size_hint, subc);
6157 void *upb_pbdecoder_startbc(void *closure, const void *pc, size_t size_hint);
/third_party/flatbuffers/rust/flexbuffers/src/reader/
Diter.rs49 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() method
Dde.rs71 fn size_hint(&self) -> Option<usize> { in size_hint() method
/third_party/grpc/third_party/upb/upb/pb/
Dtextprinter.c202 size_t size_hint) { in textprinter_startstr() argument
205 UPB_UNUSED(size_hint); in textprinter_startstr()
Ddecoder.int.h212 void *upb_pbdecoder_startbc(void *closure, const void *pc, size_t size_hint);
Dencoder.c396 static void *encode_startstr(void *c, const void *hd, size_t size_hint) { in encode_startstr() argument
397 UPB_UNUSED(size_hint); in encode_startstr()
Ddecoder.c886 void *upb_pbdecoder_startbc(void *closure, const void *pc, size_t size_hint) { in upb_pbdecoder_startbc() argument
888 UPB_UNUSED(size_hint); in upb_pbdecoder_startbc()
/third_party/flatbuffers/rust/flatbuffers/src/
Dvector.rs260 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() method
/third_party/python/Modules/_io/
Dtextio.c1798 textiowrapper_read_chunk(textio *self, Py_ssize_t size_hint) in textiowrapper_read_chunk() argument
1857 if (size_hint > 0) { in textiowrapper_read_chunk()
1858 size_hint = (Py_ssize_t)(Py_MAX(self->b2cratio, 1.0) * size_hint); in textiowrapper_read_chunk()
1860 chunk_size = PyLong_FromSsize_t(Py_MAX(self->chunk_size, size_hint)); in textiowrapper_read_chunk()
/third_party/skia/third_party/externals/brotli/c/tools/
Dbrotli.c1011 uint32_t size_hint = context->input_file_length < (1 << 30) ? in CompressFiles() local
1013 BrotliEncoderSetParameter(s, BROTLI_PARAM_SIZE_HINT, size_hint); in CompressFiles()
/third_party/grpc/third_party/upb/tests/pb/
Dtest_decoder.cc278 int* startstr(int* depth, const uint32_t* num, size_t size_hint) { in startstr() argument
280 appendf(&output, "%" PRIu32 ":(%zu)\"", *num, size_hint); in startstr()
/third_party/grpc/third_party/upb/generated_for_cmake/upb/json/
Dparser.c114 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
118 UPB_UNUSED(size_hint); in stringsink_start()
/third_party/grpc/third_party/upb/cmake/upb/json/
Dparser.c114 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
118 UPB_UNUSED(size_hint); in stringsink_start()

12