Home
last modified time | relevance | path

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

/external/chromium_org/net/http/
Dhttp_auth_challenge_tokenizer.cc33 int encoded_length = params_end_ - params_begin_; in base64_param() local
34 while (encoded_length > 0 && encoded_length % 4 != 0 && in base64_param()
35 params_begin_[encoded_length - 1] == '=') { in base64_param()
36 --encoded_length; in base64_param()
38 return std::string(params_begin_, params_begin_ + encoded_length); in base64_param()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dmedia_optimization.cc336 int32_t MediaOptimization::UpdateWithEncodedData(int encoded_length, in UpdateWithEncodedData() argument
346 encoded_frame_samples_.back().size_bytes += encoded_length; in UpdateWithEncodedData()
350 EncodedFrameSample(encoded_length, timestamp, now_ms)); in UpdateWithEncodedData()
354 if (encoded_length > 0) { in UpdateWithEncodedData()
357 frame_dropper_->Fill(encoded_length, delta_frame); in UpdateWithEncodedData()
358 if (max_payload_size_ > 0 && encoded_length > 0) { in UpdateWithEncodedData()
360 encoded_length / static_cast<float>(max_payload_size_); in UpdateWithEncodedData()
371 qm_resolution_->UpdateEncodedSize(encoded_length, encoded_frame_type); in UpdateWithEncodedData()
374 if (!delta_frame && encoded_length > 0) { in UpdateWithEncodedData()
375 loss_prot_logic_->UpdateKeyFrameSize(static_cast<float>(encoded_length)); in UpdateWithEncodedData()
Dmedia_optimization.h80 int32_t UpdateWithEncodedData(int encoded_length,
/external/chromium_org/sync/internal_api/public/base/
Dunique_position.cc474 uint32 encoded_length; in WriteEncodedRunLength() local
476 encoded_length = 0xffffffff - length; in WriteEncodedRunLength()
478 encoded_length = length; in WriteEncodedRunLength()
482 output_str->append(1, 0xff & (encoded_length >> 24U)); in WriteEncodedRunLength()
483 output_str->append(1, 0xff & (encoded_length >> 16U)); in WriteEncodedRunLength()
484 output_str->append(1, 0xff & (encoded_length >> 8U)); in WriteEncodedRunLength()
485 output_str->append(1, 0xff & (encoded_length >> 0U)); in WriteEncodedRunLength()
493 uint32 encoded_length = in ReadEncodedRunLength() local
501 if (encoded_length & 0x80000000) { in ReadEncodedRunLength()
502 length = 0xffffffff - encoded_length; in ReadEncodedRunLength()
[all …]
/external/chromium_org/content/child/
Dresource_dispatcher_unittest.cc297 int encoded_length) { in NotifyDataDownloaded() argument
300 encoded_length))); in NotifyDataDownloaded()
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
Dmux_client_for_testing.py265 encoded_length = _encode_number(length)
268 encoded_length + encoded_handshake)
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
Dmux.py183 encoded_length = _encode_number(length)
186 encoded_length + value)
/external/chromium_org/chrome/installer/util/
Dshell_util.cc2254 const size_t encoded_length = (size * 8 + 4) / 5; in ByteArrayToBase32() local
2257 ret.reserve(encoded_length); in ByteArrayToBase32()
2278 DCHECK_EQ(ret.length(), encoded_length); in ByteArrayToBase32()