Home
last modified time | relevance | path

Searched refs:max_bytes (Results 1 – 25 of 49) sorted by relevance

12

/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc176 tbl->current_table_bytes = tbl->max_bytes = in grpc_chttp2_hptbl_init()
247 uint32_t max_bytes) { in grpc_chttp2_hptbl_set_max_bytes() argument
248 if (tbl->max_bytes == max_bytes) { in grpc_chttp2_hptbl_set_max_bytes()
252 gpr_log(GPR_INFO, "Update hpack parser max size to %d", max_bytes); in grpc_chttp2_hptbl_set_max_bytes()
254 while (tbl->mem_used > max_bytes) { in grpc_chttp2_hptbl_set_max_bytes()
257 tbl->max_bytes = max_bytes; in grpc_chttp2_hptbl_set_max_bytes()
265 if (bytes > tbl->max_bytes) { in grpc_chttp2_hptbl_set_current_table_size()
269 bytes, tbl->max_bytes); in grpc_chttp2_hptbl_set_current_table_size()
299 if (tbl->current_table_bytes > tbl->max_bytes) { in grpc_chttp2_hptbl_add()
305 tbl->max_bytes, tbl->current_table_bytes); in grpc_chttp2_hptbl_add()
Dhpack_table.h57 uint32_t max_bytes; member
76 uint32_t max_bytes);
/external/wpa_supplicant_8/src/wps/
Dhttpread.c56 int max_bytes; /* maximum file size else abort it */ member
169 if (h->content_length < 0 || h->content_length > h->max_bytes) { in httpread_hdr_option_analyze()
329 h->max_bytes = 0; in httpread_hdr_analyze()
337 h->max_bytes = 0; in httpread_hdr_analyze()
450 if (h->max_bytes == 0) { in httpread_read_handler()
491 if (h->body_nbytes >= h->max_bytes) { in httpread_read_handler()
494 h->body_nbytes, h->max_bytes); in httpread_read_handler()
507 new_alloc_nbytes > h->max_bytes + in httpread_read_handler()
513 h->max_bytes); in httpread_read_handler()
548 h->chunk_size > h->max_bytes) { in httpread_read_handler()
[all …]
Dhttpread.h74 int max_bytes, /* maximum file size else abort it */
/external/python/apitools/apitools/base/py/
Dstream_slice.py26 def __init__(self, stream, max_bytes): argument
28 self.__remaining_bytes = max_bytes
29 self.__max_bytes = max_bytes
/external/libchrome/mojo/public/cpp/system/
Dfile_data_pipe_producer.cc78 void StartFromFile(base::File file, size_t max_bytes) { in StartFromFile() argument
82 std::move(file), max_bytes)); in StartFromFile()
98 void StartFromFileOnFileSequence(base::File file, size_t max_bytes) { in StartFromFileOnFileSequence() argument
104 max_bytes_ = max_bytes; in StartFromFileOnFileSequence()
255 size_t max_bytes, in WriteFromFile() argument
258 file_sequence_state_->StartFromFile(std::move(file), max_bytes); in WriteFromFile()
Dfile_data_pipe_producer.h89 size_t max_bytes,
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
Dneteq_opus_quality_test.cc107 uint8_t* payload, size_t max_bytes);
178 uint8_t* payload, size_t max_bytes) { in EncodeBlock() argument
185 max_bytes, payload); in EncodeBlock()
197 static_cast<opus_int32>(max_bytes)); in EncodeBlock()
Dneteq_pcmu_quality_test.cc63 size_t max_bytes) override { in EncodeBlock() argument
72 max_bytes, payload); in EncodeBlock()
Dneteq_ilbc_quality_test.cc63 size_t max_bytes) override { in EncodeBlock() argument
72 max_bytes, payload); in EncodeBlock()
Dneteq_isac_quality_test.cc47 uint8_t* payload, size_t max_bytes);
81 uint8_t* payload, size_t max_bytes) { in EncodeBlock() argument
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Disac_speed_test.cc29 size_t max_bytes, size_t* encoded_bytes);
64 size_t max_bytes, size_t* encoded_bytes) { in EncodeABlock() argument
82 assert(*encoded_bytes <= max_bytes); in EncodeABlock()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_speed_test.cc27 size_t max_bytes, size_t* encoded_bytes);
61 size_t max_bytes, size_t* encoded_bytes) { in EncodeABlock() argument
64 input_length_sample_, max_bytes, in EncodeABlock()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.h119 size_t max_bytes, uint64 max_staleness,
178 size_t max_bytes() { in max_bytes() function
180 return file_block_cache_->max_bytes(); in max_bytes()
256 void ResetFileBlockCache(size_t block_size_bytes, size_t max_bytes,
261 size_t block_size, size_t max_bytes, uint64 max_staleness);
Dram_file_block_cache.h53 RamFileBlockCache(size_t block_size, size_t max_bytes, uint64 max_staleness,
56 max_bytes_(max_bytes), in block_size_()
110 size_t max_bytes() const override { return max_bytes_; } in max_bytes() function
Dgcs_file_system.cc732 size_t max_bytes = kDefaultMaxCacheSize; in GcsFileSystem() local
755 max_bytes = value * 1024 * 1024; in GcsFileSystem()
762 max_bytes = 0; in GcsFileSystem()
764 VLOG(1) << "GCS cache max size = " << max_bytes << " ; " in GcsFileSystem()
767 file_block_cache_ = MakeFileBlockCache(block_size_, max_bytes, max_staleness); in GcsFileSystem()
885 size_t max_bytes, uint64 max_staleness, uint64 stat_cache_max_age, in GcsFileSystem() argument
895 MakeFileBlockCache(block_size, max_bytes, max_staleness)), in GcsFileSystem()
969 size_t max_bytes, in ResetFileBlockCache() argument
973 MakeFileBlockCache(block_size_bytes, max_bytes, max_staleness_secs); in ResetFileBlockCache()
981 size_t block_size, size_t max_bytes, uint64 max_staleness) { in MakeFileBlockCache() argument
[all …]
Dfile_block_cache.h112 virtual size_t max_bytes() const = 0;
/external/u-boot/fs/ubifs/
Dsb.c352 long long max_bytes; in validate_sb() local
411 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb()
412 if (c->max_bud_bytes < max_bytes) { in validate_sb()
414 c->max_bud_bytes, max_bytes); in validate_sb()
418 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb()
419 if (c->max_bud_bytes > max_bytes) { in validate_sb()
421 c->max_bud_bytes, max_bytes); in validate_sb()
455 if (c->rp_size < 0 || max_bytes < c->rp_size) { in validate_sb()
/external/tensorflow/tensorflow/core/lib/io/
Dinputbuffer.cc139 Status InputBuffer::ReadVarintFallback(T* result, int max_bytes) { in ReadVarintFallback() argument
145 for (int index = 0; index < max_bytes; index++) { in ReadVarintFallback()
151 return errors::DataLoss("Stored data longer than ", max_bytes, " bytes."); in ReadVarintFallback()
/external/webp/src/utils/
Dbit_writer_utils.c209 const size_t max_bytes = bw->end_ - bw->buf_; in VP8LBitWriterResize() local
217 if (max_bytes > 0 && size_required <= max_bytes) return 1; in VP8LBitWriterResize()
218 allocated_size = (3 * max_bytes) >> 1; in VP8LBitWriterResize()
/external/freetype/src/cache/
Dftcmanag.c354 FT_ULong max_bytes, in FTC_Manager_New() argument
381 if ( max_bytes == 0 ) in FTC_Manager_New()
382 max_bytes = FTC_MAX_BYTES_DEFAULT; in FTC_Manager_New()
386 manager->max_weight = max_bytes; in FTC_Manager_New()
/external/u-boot/drivers/ata/
Ddwc_ahsata.c328 u32 sg_count, max_bytes; in ahci_fill_sg() local
331 max_bytes = MAX_DATA_BYTES_PER_SG; in ahci_fill_sg()
332 sg_count = ((buf_len - 1) / max_bytes) + 1; in ahci_fill_sg()
340 cpu_to_le32((u32)buf + i * max_bytes); in ahci_fill_sg()
343 (buf_len < max_bytes in ahci_fill_sg()
345 : (max_bytes - 1))); in ahci_fill_sg()
347 buf_len -= max_bytes; in ahci_fill_sg()
/external/libcups/cups/
Dipp.c1066 max_bytes; /* Maximum number of bytes for value */ in ippAddStringfv() local
1121 max_bytes = IPP_MAX_TEXT; in ippAddStringfv()
1126 max_bytes = IPP_MAX_NAME; in ippAddStringfv()
1130 max_bytes = IPP_MAX_CHARSET; in ippAddStringfv()
1134 max_bytes = IPP_MAX_KEYWORD; in ippAddStringfv()
1138 max_bytes = IPP_MAX_LANGUAGE; in ippAddStringfv()
1142 max_bytes = IPP_MAX_MIMETYPE; in ippAddStringfv()
1146 max_bytes = IPP_MAX_URI; in ippAddStringfv()
1150 max_bytes = IPP_MAX_URISCHEME; in ippAddStringfv()
1154 if (bytes >= max_bytes) in ippAddStringfv()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/tools/
Daudio_codec_speed_test.h40 size_t max_bytes, size_t* encoded_bytes) = 0;
/external/google-breakpad/src/google_breakpad/processor/
Dminidump.h206 static void set_max_bytes(uint32_t max_bytes) { max_bytes_ = max_bytes; } in set_max_bytes() argument
207 static uint32_t max_bytes() { return max_bytes_; } in max_bytes() function

12