Home
last modified time | relevance | path

Searched refs:data_length (Results 1 – 25 of 160) 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/modules/rtp_rtcp/source/
Drtp_format_vp8.cc24 ParsedPayload() : data(NULL), data_length(0) {} in ParsedPayload()
27 int data_length; // Length of parsed payload data. member
32 int* data_length, in ParseVP8PictureID() argument
35 if (*data_length <= 0) in ParseVP8PictureID()
42 if (--(*data_length) <= 0) in ParseVP8PictureID()
49 (*data_length)--; in ParseVP8PictureID()
55 int* data_length, in ParseVP8Tl0PicIdx() argument
58 if (*data_length <= 0) in ParseVP8Tl0PicIdx()
64 (*data_length)--; in ParseVP8Tl0PicIdx()
70 int* data_length, in ParseVP8TIDAndKeyIdx() argument
[all …]
/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/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/components/translate/content/browser/
Ddata_file_browser_cld_data_provider.cc89 uint64 data_length = 0; in OnCldDataRequest() local
94 data_length = g_cached_data_length; in OnCldDataRequest()
100 SendCldDataResponseInternal(handle, data_offset, data_length); in OnCldDataRequest()
127 uint64 data_length = 0; in SendCldDataResponse() local
132 data_length = g_cached_data_length; in SendCldDataResponse()
136 SendCldDataResponseInternal(handle, data_offset, data_length); in SendCldDataResponse()
142 const uint64 data_length) { in SendCldDataResponseInternal() argument
177 data_length)); in SendCldDataResponseInternal()
226 const uint64 data_length = file_info.size; in OnCldDataRequestInternal() local
238 g_cached_data_length = data_length; in OnCldDataRequestInternal()
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
Dsplitting_filter.c48 void WebRtcSpl_AllPassQMF(int32_t* in_data, int data_length, in WebRtcSpl_AllPassQMF() argument
83 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
92 filter_state[0] = in_data[data_length - 1]; // x[N-1], becomes x[-1] next time in WebRtcSpl_AllPassQMF()
93 filter_state[1] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
100 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
108 filter_state[2] = out_data[data_length - 1]; // y_1[N-1], becomes y_1[-1] next time in WebRtcSpl_AllPassQMF()
109 filter_state[3] = in_data[data_length - 1]; // y_2[N-1], becomes y_2[-1] next time in WebRtcSpl_AllPassQMF()
116 for (k = 1; k < data_length; k++) in WebRtcSpl_AllPassQMF()
123 filter_state[4] = in_data[data_length - 1]; // y_2[N-1], becomes y_2[-1] next time in WebRtcSpl_AllPassQMF()
124 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/chromium_org/content/renderer/fetchers/
Dweb_url_loader_client_impl.cc31 int data_length, in didReceiveData() argument
34 DCHECK(data_length > 0); in didReceiveData()
36 data_.append(data, data_length); in didReceiveData()
42 int data_length) { in didReceiveCachedMetadata() argument
44 DCHECK(data_length > 0); in didReceiveCachedMetadata()
46 metadata_.assign(data, data_length); in didReceiveCachedMetadata()
/external/chromium_org/media/cast/net/rtp/
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/components/translate/content/renderer/
Ddata_file_renderer_cld_data_provider.cc82 const uint64 data_length) { in OnCldDataAvailable() argument
85 data_length); in OnCldDataAvailable()
90 const uint64 data_length) { in LoadCldData() argument
112 if (data_length + data_offset > g_cld_mmap.Get().value->length() || in LoadCldData()
113 data_length > max_int32) { // max signed 32 bit integer in LoadCldData()
115 << ", data_length=" << data_length in LoadCldData()
124 CLD2::loadDataFromRawAddress(data_ptr, data_length); in LoadCldData()
/external/chromium_org/content/common/
Dchild_process_sandbox_support_impl_linux.cc141 size_t data_length = 0; // the length of the file data. in GetFontTable() local
148 data_length = base::checked_cast<size_t>(st.st_size); in GetFontTable()
175 data_length = in GetFontTable()
182 if (!data_length) in GetFontTable()
186 offset = std::min(offset, base::checked_cast<off_t>(data_length)); in GetFontTable()
194 data_length -= offset; in GetFontTable()
198 data_length = std::min(data_length, *output_length); in GetFontTable()
199 ssize_t n = HANDLE_EINTR(pread(fd, output, data_length, data_offset)); in GetFontTable()
200 if (n != base::checked_cast<ssize_t>(data_length)) in GetFontTable()
203 *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/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.h39 int data_length,
43 int data_length,
51 void ForwardAndACKData(const char* data, int data_length);
/external/chromium_org/content/child/npapi/
Dplugin_url_fetcher.cc60 int data_length, in didReceiveData() argument
66 byte_range_lower_bound_ += data_length; in didReceiveData()
67 plugin_stream_->DidReceiveData(data, data_length, data_offset); in didReceiveData()
328 int data_length, in OnReceivedData() argument
334 multipart_delegate_->OnReceivedData(data, data_length, encoded_data_length); in OnReceivedData()
337 data_offset_ += data_length; in OnReceivedData()
343 scoped_ptr<char[]> data_copy(new char[data_length]); in OnReceivedData()
344 memcpy(data_copy.get(), data, data_length); in OnReceivedData()
345 plugin_stream_->DidReceiveData(data_copy.get(), data_length, offset); in OnReceivedData()
347 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/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/server/
Dweb_socket.cc291 size_t data_length = frame.length(); in DecodeFrameHybi17() local
292 if (data_length < 2) in DecodeFrameHybi17()
297 const char* buffer_end = p + data_length; in DecodeFrameHybi17()
381 size_t data_length = message.length(); in EncodeFrameHybi17() local
385 if (data_length <= kMaxSingleBytePayloadLength) in EncodeFrameHybi17()
386 frame.push_back(data_length | mask_key_bit); in EncodeFrameHybi17()
387 else if (data_length <= 0xFFFF) { in EncodeFrameHybi17()
389 frame.push_back((data_length & 0xFF00) >> 8); in EncodeFrameHybi17()
390 frame.push_back(data_length & 0xFF); in EncodeFrameHybi17()
394 size_t remaining = data_length; in EncodeFrameHybi17()
[all …]
/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/third_party/icu/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()

1234567