Searched defs:size_bytes (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/sandbox/win/src/
H A Dshared_handles.cc18 bool SharedHandles::Init(void* raw_mem, size_t size_bytes) { argument
19 if (size_bytes < sizeof(shared_.items[0])) {
24 shared_.max_items = size_bytes / sizeof(shared_.items[0]);
H A Dsandbox_nt_util.cc177 int TouchMemory(void* buffer, size_t size_bytes, RequiredAccess intent) { argument
181 char* end = start + size_bytes - 1;
451 size_t size_bytes = (start_pos - ix + 1) * sizeof(wchar_t); local
453 // Based on the code above, size_bytes should always be small enough
455 DCHECK_NT(kuint16max > size_bytes);
456 char* str_buffer = new(NT_ALLOC) char[size_bytes + sizeof(UNICODE_STRING)];
462 out_string->Length = static_cast<USHORT>(size_bytes - sizeof(wchar_t));
463 out_string->MaximumLength = static_cast<USHORT>(size_bytes);
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
H A Dprotobufwireadaptertest.cc81 unsigned char* size_bytes; local
82 util::PoloUtil::IntToBigEndianBytes(message_size, size_bytes);
86 std::vector<uint8_t>(size_bytes, size_bytes + 4));
93 unsigned char* size_bytes; local
94 util::PoloUtil::IntToBigEndianBytes(outer_string.length(), size_bytes);
98 memcpy(buffer, size_bytes, 4);
/external/webrtc/src/common_audio/vad/
H A Dwebrtc_vad.c25 WebRtc_Word16 WebRtcVad_get_version(char *version, size_t size_bytes) argument
34 if (size_bytes < sizeof(my_version))
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Decho_control_mobile_impl.cc198 size_t size_bytes) {
203 if (size_bytes != echo_path_size_bytes()) {
209 external_echo_path_ = new unsigned char[size_bytes];
211 memcpy(external_echo_path_, echo_path, size_bytes);
217 size_t size_bytes) const {
222 if (size_bytes != echo_path_size_bytes()) {
232 if (WebRtcAecm_GetEchoPath(my_handle, echo_path, size_bytes) != 0) {
197 SetEchoPath(const void* echo_path, size_t size_bytes) argument
/external/chromium_org/net/proxy/
H A Dproxy_script_fetcher_impl.cc98 size_t ProxyScriptFetcherImpl::SetSizeConstraint(size_t size_bytes) { argument
100 max_response_bytes_ = size_bytes;
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
H A Dprotobufwireadapter.cc402 uint8_t* size_bytes; local
403 util::PoloUtil::IntToBigEndianBytes(outer_string.length(), size_bytes);
408 std::copy(size_bytes, size_bytes + 4, iter);
410 delete[] size_bytes;
/external/webrtc/src/modules/audio_processing/
H A Decho_control_mobile_impl.cc197 size_t size_bytes) {
202 if (size_bytes != echo_path_size_bytes()) {
208 external_echo_path_ = new unsigned char[size_bytes];
210 memcpy(external_echo_path_, echo_path, size_bytes);
216 size_t size_bytes) const {
221 if (size_bytes != echo_path_size_bytes()) {
231 if (WebRtcAecm_GetEchoPath(my_handle, echo_path, size_bytes) != 0) {
196 SetEchoPath(const void* echo_path, size_t size_bytes) argument
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/
H A Decho_control_mobile.c578 size_t size_bytes)
590 if (size_bytes != WebRtcAecm_echo_path_size_bytes())
609 size_t size_bytes)
621 if (size_bytes != WebRtcAecm_echo_path_size_bytes())
633 memcpy(echo_path_ptr, aecm->aecmCore->channelStored, size_bytes);
576 WebRtcAecm_InitEchoPath(void* aecmInst, const void* echo_path, size_t size_bytes) argument
607 WebRtcAecm_GetEchoPath(void* aecmInst, void* echo_path, size_t size_bytes) argument
/external/webrtc/src/modules/audio_processing/aecm/
H A Decho_control_mobile.c645 size_t size_bytes)
655 if (size_bytes != WebRtcAecm_echo_path_size_bytes())
674 size_t size_bytes)
684 if (size_bytes != WebRtcAecm_echo_path_size_bytes())
696 memcpy(echo_path_ptr, aecm->aecmCore->channelStored, size_bytes);
643 WebRtcAecm_InitEchoPath(void* aecmInst, const void* echo_path, size_t size_bytes) argument
672 WebRtcAecm_GetEchoPath(void* aecmInst, void* echo_path, size_t size_bytes) argument
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
H A Dmedia_optimization.cc65 EncodedFrameSample(int size_bytes, argument
68 : size_bytes(size_bytes),
72 uint32_t size_bytes; member in struct:webrtc::media_optimization::MediaOptimization::EncodedFrameSample
345 // size_bytes.
346 encoded_frame_samples_.back().size_bytes += encoded_length;
492 framesize_sum += it->size_bytes;
/external/tinyalsa/
H A Dpcm.c405 int size_bytes = pcm_frames_to_bytes(pcm, frames); local
413 size_bytes);
417 size_bytes);
/external/chromium_org/chrome/browser/safe_browsing/
H A Dsafe_browsing_database.cc1123 int64 size_bytes = UpdateHashPrefixStore( local
1128 static_cast<int>(size_bytes / 1024));
1140 int64 size_bytes = UpdateHashPrefixStore( local
1145 static_cast<int>(size_bytes / 1024));

Completed in 352 milliseconds