Home
last modified time | relevance | path

Searched refs:size_bytes (Results 1 – 25 of 62) sorted by relevance

123

/external/autotest/client/bin/result_tools/
Dutils_lib.py94 def get_size_string(size_bytes): argument
104 if size_bytes == 0:
107 i = int(math.log(size_bytes, 1024))
109 s = size_bytes / p
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
Dprotobufwireadaptertest.cc81 unsigned char* size_bytes; in ExpectReadPreamble() local
82 util::PoloUtil::IntToBigEndianBytes(message_size, size_bytes); in ExpectReadPreamble()
86 std::vector<uint8_t>(size_bytes, size_bytes + 4)); in ExpectReadPreamble()
93 unsigned char* size_bytes; in ExpectSend() local
94 util::PoloUtil::IntToBigEndianBytes(outer_string.length(), size_bytes); in ExpectSend()
98 memcpy(buffer, size_bytes, 4); in ExpectSend()
/external/webrtc/webrtc/modules/audio_processing/
Decho_control_mobile_impl.cc264 size_t size_bytes) { in SetEchoPath() argument
271 if (size_bytes != echo_path_size_bytes()) { in SetEchoPath()
277 external_echo_path_ = new unsigned char[size_bytes]; in SetEchoPath()
279 memcpy(external_echo_path_, echo_path, size_bytes); in SetEchoPath()
286 size_t size_bytes) const { in GetEchoPath()
291 if (size_bytes != echo_path_size_bytes()) { in GetEchoPath()
301 int32_t err = WebRtcAecm_GetEchoPath(my_handle, echo_path, size_bytes); in GetEchoPath()
Decho_control_mobile_impl.h52 int SetEchoPath(const void* echo_path, size_t size_bytes) override;
53 int GetEchoPath(void* echo_path, size_t size_bytes) const override;
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_binding_tables.c94 if (prog_data->binding_table.size_bytes == 0) { in brw_upload_binding_table()
116 .size_bytes / 4); in brw_upload_binding_table()
119 prog_data->binding_table.size_bytes, in brw_upload_binding_table()
125 prog_data->binding_table.size_bytes); in brw_upload_binding_table()
134 reserve_hw_bt_space(brw, prog_data->binding_table.size_bytes); in brw_upload_binding_table()
Dgen7_vs_state.c56 ((prog_data->binding_table.size_bytes / 4) << in upload_vs_state()
Dgen7_cs_state.c60 prog_data->binding_table.size_bytes, in brw_upload_cs_state()
148 prog_data->binding_table.size_bytes); in brw_upload_cs_state()
Dgen8_vs_state.c57 ((prog_data->binding_table.size_bytes / 4) << in upload_vs_state()
Dgen8_hs_state.c46 SET_FIELD(prog_data->binding_table.size_bytes / 4, in gen8_upload_hs_state()
Dgen8_ds_state.c52 SET_FIELD(prog_data->binding_table.size_bytes / 4, in gen8_upload_ds_state()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Decho_control_mobile.h175 size_t size_bytes);
194 size_t size_bytes);
Decho_control_mobile.c517 size_t size_bytes) in WebRtcAecm_InitEchoPath() argument
528 if (size_bytes != WebRtcAecm_echo_path_size_bytes()) in WebRtcAecm_InitEchoPath()
545 size_t size_bytes) in WebRtcAecm_GetEchoPath() argument
556 if (size_bytes != WebRtcAecm_echo_path_size_bytes()) in WebRtcAecm_GetEchoPath()
566 memcpy(echo_path_ptr, aecm->aecmCore->channelStored, size_bytes); in WebRtcAecm_GetEchoPath()
/external/webrtc/webrtc/modules/video_coding/
Dmedia_optimization.cc63 EncodedFrameSample(size_t size_bytes, in EncodedFrameSample()
66 : size_bytes(size_bytes), in EncodedFrameSample()
70 size_t size_bytes; member
348 encoded_frame_samples_.back().size_bytes += encoded_length; in UpdateWithEncodedData()
503 framesize_sum += it->size_bytes; in UpdateSentBitrate()
/external/autotest/client/cros/audio/
Daudio_data.py29 size_bytes=4),
33 size_bytes=2))
/external/libtextclassifier/util/utf8/
Dunilib-icu.cc31 icu::StringPiece(text.data(), text.size_bytes())); in ParseInt32()
84 icu::StringPiece(input.data(), input.size_bytes())))); in Matcher()
249 icu::StringPiece(text.data(), text.size_bytes()))), in BreakIterator()
278 regex.data(), regex.size_bytes())), in CreateRegexPattern()
Dunicodetext.cc129 int UnicodeText::size_bytes() const { return repr_.size_; } in size_bytes() function in libtextclassifier2::UnicodeText
192 bool UnicodeText::empty() const { return size_bytes() == 0; } in empty()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dscreenshare_layers.cc41 void ScreenshareLayersVP9::LayerFrameEncoded(unsigned int size_bytes, in LayerFrameEncoded() argument
44 bits_used_[layer_id] += size_bytes * 8; in LayerFrameEncoded()
Dscreenshare_layers.h28 void LayerFrameEncoded(unsigned int size_bytes, uint8_t layer_id);
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.cc402 uint8_t* size_bytes; in SendOuterMessage() local
403 util::PoloUtil::IntToBigEndianBytes(outer_string.length(), size_bytes); in SendOuterMessage()
408 std::copy(size_bytes, size_bytes + 4, iter); in SendOuterMessage()
410 delete[] size_bytes; in SendOuterMessage()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dnack.cc94 size_t size_bytes = in Create() local
96 size_t header_length = ((size_bytes + 3) / 4) - 1; // As 32bit words - 1 in Create()
/external/linux-kselftest/tools/testing/selftests/x86/
Dmpx-dig.c42 long nr_incore(void *ptr, unsigned long size_bytes) in nr_incore() argument
46 long vec_len = size_bytes / PAGE_SIZE; in nr_incore()
53 incore_ret = mincore(ptr, size_bytes, vec); in nr_incore()
Dmpx-mm.h8 extern long nr_incore(void *ptr, unsigned long size_bytes);
/external/webrtc/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h72 int(const void* echo_path, size_t size_bytes));
74 int(void* echo_path, size_t size_bytes));
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_utility.cc471 size_t size_bytes, in RtcpParseCommonHeader() argument
474 if (size_bytes < RtcpCommonHeader::kHeaderSizeBytes) { in RtcpParseCommonHeader()
475 LOG(LS_WARNING) << "Too little data (" << size_bytes << " byte" in RtcpParseCommonHeader()
476 << (size_bytes != 1 ? "s" : "") in RtcpParseCommonHeader()
496 if (size_bytes < packet_size_words * 4) { in RtcpParseCommonHeader()
497 LOG(LS_WARNING) << "Buffer too small (" << size_bytes in RtcpParseCommonHeader()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_transfer_manager.h63 int64 size_bytes);

123