Home
last modified time | relevance | path

Searched refs:data_length (Results 1 – 25 of 153) sorted by relevance

1234567

/external/chromium_org/chrome/common/net/
Dx509_certificate_model.cc35 size_t data_length, in ProcessRawBytesWithSeparators() argument
45 if (!data_length) in ProcessRawBytesWithSeparators()
48 ret.reserve(std::max(kMin, data_length * 3 - 1)); in ProcessRawBytesWithSeparators()
50 for (size_t i = 0; i < data_length; ++i) { in ProcessRawBytesWithSeparators()
54 if (i + 1 < data_length) { in ProcessRawBytesWithSeparators()
64 std::string ProcessRawBytes(const unsigned char* data, size_t data_length) { in ProcessRawBytes() argument
65 return ProcessRawBytesWithSeparators(data, data_length, ' ', '\n'); in ProcessRawBytes()
69 std::string ProcessRawBits(const unsigned char* data, size_t data_length) { in ProcessRawBits() argument
70 return ProcessRawBytes(data, (data_length + 7) / 8); in ProcessRawBits()
/external/chromium_org/third_party/webrtc/common_audio/vad/
Dvad_filterbank.c41 static void HighPassFilter(const int16_t* data_in, int data_length, in HighPassFilter() argument
57 for (i = 0; i < data_length; i++) { in HighPassFilter()
83 static void AllPassFilter(const int16_t* data_in, int data_length, in AllPassFilter() argument
97 for (i = 0; i < data_length; i++) { in AllPassFilter()
121 static void SplitFilter(const int16_t* data_in, int data_length, in SplitFilter() argument
125 int half_length = data_length >> 1; // Downsampling by 2. in SplitFilter()
155 static void LogOfEnergy(const int16_t* data_in, int data_length, in LogOfEnergy() argument
165 assert(data_length > 0); in LogOfEnergy()
167 energy = (uint32_t) WebRtcSpl_Energy((int16_t*) data_in, data_length, in LogOfEnergy()
248 int data_length, int16_t* features) { in WebRtcVad_CalculateFeatures() argument
[all …]
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
Dsplitting_filter.c48 void WebRtcSpl_AllPassQMF(int32_t* in_data, int16_t data_length, in WebRtcSpl_AllPassQMF() argument
82 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
90 filter_state[0] = in_data[data_length - 1]; // x[N-1], becomes x[-1] next time in WebRtcSpl_AllPassQMF()
91 filter_state[1] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
97 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
104 filter_state[2] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
105 filter_state[3] = in_data[data_length - 1]; // y_2[N-1], becomes y_2[-1] next time in WebRtcSpl_AllPassQMF()
111 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
117 filter_state[4] = in_data[data_length - 1]; // y_2[N-1], becomes y_2[-1] next time in WebRtcSpl_AllPassQMF()
118 filter_state[5] = out_data[data_length - 1]; // y[N-1], becomes y[-1] next time in WebRtcSpl_AllPassQMF()
Dfilter_ar_fast_q12_mips.c18 int data_length) { in WebRtcSpl_FilterARFastQ12() argument
28 assert(data_length > 0); in WebRtcSpl_FilterARFastQ12()
131 : [coefficients] "r" (coefficients), [data_length] "r" (data_length), in WebRtcSpl_FilterARFastQ12()
Dfilter_ar_fast_q12.c20 int data_length) { in WebRtcSpl_FilterARFastQ12() argument
24 assert(data_length > 0); in WebRtcSpl_FilterARFastQ12()
27 for (i = 0; i < data_length; i++) { in WebRtcSpl_FilterARFastQ12()
/external/webrtc/src/common_audio/signal_processing/
Dsplitting_filter.c46 void WebRtcSpl_AllPassQMF(WebRtc_Word32* in_data, const WebRtc_Word16 data_length, in WebRtcSpl_AllPassQMF() argument
80 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
88 filter_state[0] = in_data[data_length - 1]; // x[N-1], becomes x[-1] next time in WebRtcSpl_AllPassQMF()
89 filter_state[1] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
95 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
102 filter_state[2] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
103 filter_state[3] = in_data[data_length - 1]; // y_2[N-1], becomes y_2[-1] next time in WebRtcSpl_AllPassQMF()
109 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
115 filter_state[4] = in_data[data_length - 1]; // y_2[N-1], becomes y_2[-1] next time in WebRtcSpl_AllPassQMF()
116 filter_state[5] = out_data[data_length - 1]; // y[N-1], becomes y[-1] next time in WebRtcSpl_AllPassQMF()
/external/chromium_org/content/common/
Dchild_process_sandbox_support_impl_linux.cc124 size_t data_length = 0; // the length of the file data. in GetFontTable() local
131 data_length = base::checked_cast<size_t>(st.st_size); in GetFontTable()
158 data_length = in GetFontTable()
165 if (!data_length) in GetFontTable()
169 offset = std::min(offset, base::checked_cast<off_t>(data_length)); in GetFontTable()
177 data_length -= offset; in GetFontTable()
181 data_length = std::min(data_length, *output_length); in GetFontTable()
182 ssize_t n = HANDLE_EINTR(pread(fd, output, data_length, data_offset)); in GetFontTable()
183 if (n != base::checked_cast<ssize_t>(data_length)) in GetFontTable()
186 *output_length = data_length; in GetFontTable()
Dcontent_param_traits.cc42 int data_length; in Read() local
43 if (!m->ReadData(iter, &data, &data_length)) { in Read()
47 if (data_length < static_cast<int>(sizeof(blink::WebInputEvent))) { in Read()
53 if (data_length != static_cast<int>(event->size)) { in Read()
59 if (data_length != static_cast<int>(expected_size_for_type)) { in Read()
/external/chromium_org/media/cast/rtp_receiver/rtp_parser/test/
Drtp_packet_builder.cc58 void RtpPacketBuilder::BuildHeader(uint8* data, uint32 data_length) { in BuildHeader() argument
59 BuildCommonHeader(data, data_length); in BuildHeader()
61 data_length - kGenericRtpHeaderLength); in BuildHeader()
64 void RtpPacketBuilder::BuildCastHeader(uint8* data, uint32 data_length) { in BuildCastHeader() argument
66 DCHECK_LE(kCastRtpHeaderLength, data_length); in BuildCastHeader()
83 void RtpPacketBuilder::BuildCommonHeader(uint8* data, uint32 data_length) { in BuildCommonHeader() argument
84 DCHECK_LE(kGenericRtpHeaderLength, data_length); in BuildCommonHeader()
Drtp_packet_builder.h29 void BuildHeader(uint8* data, uint32 data_length);
43 void BuildCastHeader(uint8* data, uint32 data_length);
44 void BuildCommonHeader(uint8* data, uint32 data_length);
/external/chromium_org/content/child/
Dthreaded_data_provider.cc40 void OnReceivedData(int request_id, int data_offset, int data_length,
110 int data_length, in OnReceivedData() argument
116 data_offset, data_length, encoded_data_length)); in OnReceivedData()
242 int data_offset, int data_length, int encoded_data_length) { in OnReceivedDataOnBackgroundThread() argument
246 CHECK_GE(shm_size_, data_offset + data_length); in OnReceivedDataOnBackgroundThread()
252 ForwardAndACKData(data_ptr + data_offset, data_length); in OnReceivedDataOnBackgroundThread()
262 queued_data.length = data_length; in OnReceivedDataOnBackgroundThread()
268 const char* data, int data_length, int encoded_data_length) { in OnReceivedDataOnForegroundThread() argument
274 data, data_length)); in OnReceivedDataOnForegroundThread()
278 int data_length) { in ForwardAndACKData() argument
[all …]
Dthreaded_data_provider.h44 int data_length,
48 int data_length,
56 void ForwardAndACKData(const char* data, int data_length);
/external/chromium_org/content/child/npapi/
Dplugin_url_fetcher.cc59 int data_length, in didReceiveData() argument
65 byte_range_lower_bound_ += data_length; in didReceiveData()
66 plugin_stream_->DidReceiveData(data, data_length, data_offset); in didReceiveData()
333 int data_length, in OnReceivedData() argument
339 multipart_delegate_->OnReceivedData(data, data_length, encoded_data_length); in OnReceivedData()
342 data_offset_ += data_length; in OnReceivedData()
348 scoped_ptr<char[]> data_copy(new char[data_length]); in OnReceivedData()
349 memcpy(data_copy.get(), data, data_length); in OnReceivedData()
350 plugin_stream_->DidReceiveData(data_copy.get(), data_length, offset); in OnReceivedData()
352 plugin_stream_->DidReceiveData(data, data_length, offset); in OnReceivedData()
/external/chromium_org/ui/base/clipboard/
Dcustom_data_helper.cc41 size_t data_length, in ReadCustomDataTypes() argument
43 SkippablePickle pickle(data, data_length); in ReadCustomDataTypes()
66 size_t data_length, in ReadCustomDataForType() argument
69 SkippablePickle pickle(data, data_length); in ReadCustomDataForType()
90 size_t data_length, in ReadCustomDataIntoMap() argument
92 Pickle pickle(reinterpret_cast<const char*>(data), data_length); in ReadCustomDataIntoMap()
Dcustom_data_helper.h38 size_t data_length,
41 size_t data_length,
46 size_t data_length,
/external/chromium_org/net/server/
Dweb_socket.cc275 size_t data_length = frame.length(); in DecodeFrameHybi17() local
276 if (data_length < 2) in DecodeFrameHybi17()
281 const char* buffer_end = p + data_length; in DecodeFrameHybi17()
366 size_t data_length = message.length(); in EncodeFrameHybi17() local
370 if (data_length <= kMaxSingleBytePayloadLength) in EncodeFrameHybi17()
371 frame.push_back(data_length | mask_key_bit); in EncodeFrameHybi17()
372 else if (data_length <= 0xFFFF) { in EncodeFrameHybi17()
374 frame.push_back((data_length & 0xFF00) >> 8); in EncodeFrameHybi17()
375 frame.push_back(data_length & 0xFF); in EncodeFrameHybi17()
379 size_t remaining = data_length; in EncodeFrameHybi17()
[all …]
/external/chromium_org/third_party/iccjpeg/
Diccjpeg.c128 marker->data_length >= ICC_OVERHEAD_LEN && in marker_is_icc()
176 unsigned int data_length[MAX_SEQ_NO+1]; /* size of profile data in marker */ in read_icc_profile() local
201 data_length[seq_no] = marker->data_length - ICC_OVERHEAD_LEN; in read_icc_profile()
217 total_length += data_length[seq_no]; in read_icc_profile()
237 length = data_length[seq_no]; in read_icc_profile()
/external/chromium_org/net/cert/
Dx509_certificate_openssl.cc143 int data_length; member
194 int data_length) { in SetDERCache() argument
205 internal_cache->data_length = data_length; in SetDERCache()
225 int data_length = i2d_X509(cert, &data); in GetDERAndCacheIfNeeded() local
226 if (data_length <= 0 || !data) in GetDERAndCacheIfNeeded()
228 internal_cache = SetDERCache(cert, x509_der_cache_index, data, data_length); in GetDERAndCacheIfNeeded()
317 SHA1_Update(&sha1_ctx, der_cache.data, der_cache.data_length); in CalculateCAFingerprint()
388 der_cache.data_length); in GetDEREncoded()
406 der_cache_a.data_length == der_cache_b.data_length && in IsSameOSCert()
407 memcmp(der_cache_a.data, der_cache_b.data, der_cache_a.data_length) == 0; in IsSameOSCert()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Ddtifmtts.h48 void expect(const char** data, int32_t data_length);
54 void expectUserDII(const char** data, int32_t data_length);
59 void stress(const char** data, int32_t data_length, const Locale& loc,
/external/chromium_org/content/renderer/fetchers/
Dresource_fetcher_impl.cc150 WebURLLoader* loader, const char* data, int data_length, in didReceiveData() argument
153 DCHECK(data_length > 0); in didReceiveData()
155 data_.append(data, data_length); in didReceiveData()
159 WebURLLoader* loader, const char* data, int data_length) { in didReceiveCachedMetadata() argument
161 DCHECK(data_length > 0); in didReceiveCachedMetadata()
163 metadata_.assign(data, data_length); in didReceiveCachedMetadata()
/external/icu/icu4c/source/test/intltest/
Ddtifmtts.h59 void expect(const char** data, int32_t data_length);
65 void expectUserDII(const char** data, int32_t data_length);
70 void stress(const char** data, int32_t data_length, const Locale& loc,
/external/chromium_org/content/renderer/java/
Dgin_java_bridge_value_converter.cc60 size_t data_length,
77 size_t data_length, in serializeTo() argument
79 DCHECK_EQ(data_length, typed_array_->Length() * sizeof(ElementType)); in serializeTo()
130 size_t data_length = 0; in FromV8ArrayBuffer() local
134 data_length = view.num_bytes(); in FromV8ArrayBuffer()
145 serializer->serializeTo(data, data_length, result); in FromV8ArrayBuffer()
/external/lldb/source/Core/
DConnectionMachPort.cpp227 memcpy (dst, payload.data, payload.data_length); in Read()
229 return payload.data_length; in Read()
243 payload.data_length = src_len; in Write()
246 payload.data_length = max_payload_size; in Write()
247 memcpy (payload.data, src, payload.data_length); in Write()
252 return payload.data_length; in Write()
/external/chromium_org/chrome/browser/translate/
Dchrome_translate_client.cc343 uint64 data_length = 0; in OnCLDDataRequested() local
348 data_length = s_cached_data_length_; in OnCLDDataRequested()
353 SendCLDDataAvailable(handle, data_offset, data_length); in OnCLDDataRequested()
373 uint64 data_length = 0; in MaybeSendCLDDataAvailable() local
378 data_length = s_cached_data_length_; in MaybeSendCLDDataAvailable()
382 SendCLDDataAvailable(handle, data_offset, data_length); in MaybeSendCLDDataAvailable()
387 const uint64 data_length) { in SendCLDDataAvailable() argument
403 data_length)); in SendCLDDataAvailable()
454 const uint64 data_length = file_info.size; in HandleCLDDataRequest() local
464 s_cached_data_length_ = data_length; in HandleCLDDataRequest()
/external/chromium_org/third_party/webrtc/test/
Dfake_network_pipe.cc52 size_t data_length() const { return data_length_; } in data_length() function in webrtc::NetworkPacket
101 void FakeNetworkPipe::SendPacket(const uint8_t* data, size_t data_length) { in SendPacket() argument
119 capacity_delay_ms = data_length / (config_.link_capacity_kbps / 8); in SendPacket()
128 NetworkPacket* packet = new NetworkPacket(data, data_length, time_now, in SendPacket()
195 packet_receiver_->DeliverPacket(packet->data(), packet->data_length()); in Process()

1234567