Home
last modified time | relevance | path

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

123

/external/liblzf/src/org/liblzf/
DCLZF.java153 public static int lzf_compress (byte[] in_data, int in_len,byte[] out_data, int out_len) in lzf_compress() argument
169 int hval = FRST (in_data,iidx); in lzf_compress()
177 hval = NEXT (hval, in_data,iidx); in lzf_compress()
185 && in_data[reference+0] == in_data[iidx+0] in lzf_compress()
186 && in_data[reference+1] == in_data[iidx+1] in lzf_compress()
187 && in_data[reference+2] == in_data[iidx+2] in lzf_compress()
200 while (len < maxlen && in_data[reference+len] == in_data[iidx+len]); in lzf_compress()
207 out_data[oidx++] = in_data[iidx+lit]; in lzf_compress()
227 hval = FRST (in_data,iidx); in lzf_compress()
229 hval = NEXT (hval,in_data, iidx); in lzf_compress()
[all …]
/external/liblzf/cs/
DCLZF.cs153 public int lzf_compress (byte[] in_data, int in_len,byte[] out_data, int out_len) in lzf_compress() argument
169 UInt32 hval = FRST (in_data,iidx); in lzf_compress()
177 hval = NEXT (hval, in_data,iidx); in lzf_compress()
185 && in_data[reference+0] == in_data[iidx+0] in lzf_compress()
186 && in_data[reference+1] == in_data[iidx+1] in lzf_compress()
187 && in_data[reference+2] == in_data[iidx+2] in lzf_compress()
200 while (len < maxlen && in_data[reference+len] == in_data[iidx+len]); in lzf_compress()
207 out_data[oidx++] = in_data[iidx+lit]; in lzf_compress()
227 hval = FRST (in_data,iidx); in lzf_compress()
229 hval = NEXT (hval,in_data, iidx); in lzf_compress()
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dsplitting_filter.c48 void WebRtcSpl_AllPassQMF(int32_t* in_data, size_t data_length, in WebRtcSpl_AllPassQMF() argument
78 diff = WebRtcSpl_SubSatW32(in_data[0], filter_state[1]); in WebRtcSpl_AllPassQMF()
86 diff = WebRtcSpl_SubSatW32(in_data[k], out_data[k - 1]); in WebRtcSpl_AllPassQMF()
88 out_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[0], diff, in_data[k - 1]); in WebRtcSpl_AllPassQMF()
92 filter_state[0] = in_data[data_length - 1]; // x[N-1], becomes x[-1] next time in WebRtcSpl_AllPassQMF()
99 in_data[0] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, filter_state[2]); in WebRtcSpl_AllPassQMF()
103 diff = WebRtcSpl_SubSatW32(out_data[k], in_data[k - 1]); in WebRtcSpl_AllPassQMF()
105 in_data[k] = WEBRTC_SPL_SCALEDIFF32(filter_coefficients[1], diff, out_data[k-1]); 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()
113 diff = WebRtcSpl_SubSatW32(in_data[0], filter_state[5]); in WebRtcSpl_AllPassQMF()
[all …]
/external/wpa_supplicant_8/src/crypto/
Dtls_internal.c454 const struct wpabuf *in_data, in tls_connection_handshake() argument
457 return tls_connection_handshake2(tls_ctx, conn, in_data, appl_data, in tls_connection_handshake()
464 const struct wpabuf *in_data, in tls_connection_handshake2() argument
478 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2()
479 in_data ? wpabuf_len(in_data) : 0, in tls_connection_handshake2()
508 const struct wpabuf *in_data, in tls_connection_server_handshake() argument
522 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data), in tls_connection_server_handshake()
523 wpabuf_len(in_data), &res_len); in tls_connection_server_handshake()
543 const struct wpabuf *in_data) in tls_connection_encrypt() argument
549 buf = wpabuf_alloc(wpabuf_len(in_data) + 300); in tls_connection_encrypt()
[all …]
Dtls.h399 const struct wpabuf *in_data,
404 const struct wpabuf *in_data,
420 const struct wpabuf *in_data,
436 const struct wpabuf *in_data);
451 const struct wpabuf *in_data);
455 const struct wpabuf *in_data,
Dtls_none.c105 const struct wpabuf *in_data, in tls_connection_handshake() argument
114 const struct wpabuf *in_data, in tls_connection_server_handshake() argument
123 const struct wpabuf *in_data) in tls_connection_encrypt() argument
131 const struct wpabuf *in_data) in tls_connection_decrypt() argument
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_filter.c135 static void FilterSegment(const double* in_data, PitchFilterParam* parameters, in FilterSegment() argument
203 out_data[parameters->index] = in_data[parameters->index] - sum; in FilterSegment()
204 parameters->buffer[pos] = in_data[parameters->index] + in FilterSegment()
260 static void FilterFrame(const double* in_data, PitchFiltstr* filter_state, in FilterFrame() argument
333 FilterSegment(in_data, &filter_parameters, out_data, out_dg); in FilterFrame()
354 FilterSegment(in_data, &filter_parameters, out_data, out_dg); in FilterFrame()
358 void WebRtcIsac_PitchfilterPre(double* in_data, double* out_data, in WebRtcIsac_PitchfilterPre() argument
361 FilterFrame(in_data, pf_state, lags, gains, kPitchFilterPre, out_data, NULL); in WebRtcIsac_PitchfilterPre()
364 void WebRtcIsac_PitchfilterPre_la(double* in_data, double* out_data, in WebRtcIsac_PitchfilterPre_la() argument
367 FilterFrame(in_data, pf_state, lags, gains, kPitchFilterPreLa, out_data, in WebRtcIsac_PitchfilterPre_la()
[all …]
/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c279 const u8 *in_data, size_t in_len, in tlsv1_record_receive() argument
294 in_data, in_len); in tlsv1_record_receive()
298 ct = in_data[0]; in tlsv1_record_receive()
299 rlen = WPA_GET_BE16(in_data + 3); in tlsv1_record_receive()
301 "length %d", ct, in_data[1], in_data[2], (int) rlen); in tlsv1_record_receive()
308 if (in_data[1] != 0x03) { in tlsv1_record_receive()
310 "%u.%u", in_data[1], in_data[2]); in tlsv1_record_receive()
323 in_data += TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
334 in_data, rlen); in tlsv1_record_receive()
357 if (crypto_cipher_decrypt(rl->read_cbc, in_data, in tlsv1_record_receive()
[all …]
Dtlsv1_client_read.c23 const u8 *in_data, size_t *in_len);
25 const u8 *in_data, size_t *in_len);
27 const u8 *in_data, size_t *in_len);
79 const u8 *in_data, size_t *in_len) in tls_process_server_hello() argument
94 pos = in_data; in tls_process_server_hello()
265 *in_len = end - in_data; in tls_process_server_hello()
347 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument
363 pos = in_data; in tls_process_certificate()
387 return tls_process_server_key_exchange(conn, ct, in_data, in tls_process_certificate()
390 return tls_process_certificate_request(conn, ct, in_data, in tls_process_certificate()
[all …]
Dtlsv1_server_read.c24 const u8 *in_data, size_t *in_len);
26 u8 ct, const u8 *in_data,
122 const u8 *in_data, size_t *in_len) in tls_process_client_hello() argument
139 pos = in_data; in tls_process_client_hello()
353 *in_len = end - in_data; in tls_process_client_hello()
369 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument
385 pos = in_data; in tls_process_certificate()
417 return tls_process_client_key_exchange(conn, ct, in_data, in tls_process_certificate()
562 *in_len = end - in_data; in tls_process_certificate()
780 const u8 *in_data, size_t *in_len) in tls_process_client_key_exchange() argument
[all …]
Dtlsv1_client.c140 const u8 *in_data, size_t in_len, in tlsv1_client_handshake() argument
167 wpabuf_put_data(conn->partial_input, in_data, in_len); in tlsv1_client_handshake()
168 in_data = wpabuf_head(conn->partial_input); in tlsv1_client_handshake()
172 if (in_data == NULL || in_len == 0) in tlsv1_client_handshake()
175 pos = in_data; in tlsv1_client_handshake()
176 end = in_data + in_len; in tlsv1_client_handshake()
274 const u8 *in_data, size_t in_len, in tlsv1_client_encrypt() argument
280 in_data, in_len); in tlsv1_client_encrypt()
283 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_client_encrypt()
307 const u8 *in_data, size_t in_len, in tlsv1_client_decrypt() argument
[all …]
Dtlsv1_server.c133 const u8 *in_data, size_t in_len, in tlsv1_server_handshake() argument
141 if (in_data == NULL || in_len == 0) { in tlsv1_server_handshake()
146 pos = in_data; in tlsv1_server_handshake()
147 end = in_data + in_len; in tlsv1_server_handshake()
226 const u8 *in_data, size_t in_len, in tlsv1_server_encrypt() argument
232 in_data, in_len); in tlsv1_server_encrypt()
235 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_server_encrypt()
259 const u8 *in_data, size_t in_len, in tlsv1_server_decrypt() argument
267 pos = in_data; in tlsv1_server_decrypt()
268 in_end = in_data + in_len; in tlsv1_server_decrypt()
Dtlsv1_server.h24 const u8 *in_data, size_t in_len, size_t *out_len);
26 const u8 *in_data, size_t in_len,
29 const u8 *in_data, size_t in_len,
Dtlsv1_client.h24 const u8 *in_data, size_t in_len,
28 const u8 *in_data, size_t in_len,
31 const u8 *in_data, size_t in_len,
/external/webrtc/webrtc/modules/audio_processing/
Dsplitting_filter_unittest.cc45 IFChannelBuffer in_data(kSamplesPer48kHzChannel, kChannels, kNumBands); in TEST() local
51 memset(in_data.fbuf()->channels()[0], in TEST()
53 kSamplesPer48kHzChannel * sizeof(in_data.fbuf()->channels()[0][0])); in TEST()
58 in_data.fbuf()->channels()[0][k] += in TEST()
64 splitting_filter.Analysis(&in_data, &bands); in TEST()
87 tmpcorr += in_data.fbuf_const()->channels()[0][j - delay] * in TEST()
/external/eigen/unsupported/test/
Dcxx11_tensor_reduction_cuda.cu77 Type* in_data = (Type*)dev.allocate(dim_x*dim_y*dim_z*sizeof(Type)); in test_first_dim_reductions() local
79 Eigen::TensorMap<Eigen::Tensor<Type, 3, DataLayout> > gpu_in(in_data, dim_x, dim_y, dim_z); in test_first_dim_reductions()
83 dev.memcpyHostToDevice(in_data, in.data(), in.size()*sizeof(Type)); in test_first_dim_reductions()
95 dev.deallocate(in_data); in test_first_dim_reductions()
117 Type* in_data = (Type*)dev.allocate(dim_x*dim_y*dim_z*sizeof(Type)); in test_last_dim_reductions() local
119 Eigen::TensorMap<Eigen::Tensor<Type, 3, DataLayout> > gpu_in(in_data, dim_x, dim_y, dim_z); in test_last_dim_reductions()
123 dev.memcpyHostToDevice(in_data, in.data(), in.size()*sizeof(Type)); in test_last_dim_reductions()
135 dev.deallocate(in_data); in test_last_dim_reductions()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c388 const struct wpabuf *in_data) in eap_peer_tls_reassemble_fragment() argument
393 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment()
431 if (in_data) in eap_peer_tls_reassemble_fragment()
432 wpabuf_put_buf(data->tls_in, in_data); in eap_peer_tls_reassemble_fragment()
458 struct eap_ssl_data *data, const struct wpabuf *in_data, in eap_peer_tls_data_reassemble() argument
463 if (data->tls_in_left > wpabuf_len(in_data) || data->tls_in) { in eap_peer_tls_data_reassemble()
465 int res = eap_peer_tls_reassemble_fragment(data, in_data); in eap_peer_tls_data_reassemble()
476 data->tls_in = wpabuf_dup(in_data); in eap_peer_tls_data_reassemble()
495 const struct wpabuf *in_data, in eap_tls_process_input() argument
502 msg = eap_peer_tls_data_reassemble(data, in_data, &need_more_input); in eap_tls_process_input()
[all …]
Deap_tls_common.h103 u8 id, const struct wpabuf *in_data,
119 const struct wpabuf *in_data,
123 const struct wpabuf *in_data,
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_channel_endpoint.py146 in_data = self._device.read(
156 if len(in_data) != struct.calcsize(self.USB_PACKET_HEADER_FORMAT):
160 (in_data, len(in_data)))
163 *struct.unpack(self.USB_PACKET_HEADER_FORMAT, in_data))
167 'Received unexpected notification (%s).' % in_data)
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Dtmod_ki.c54 tif.in_data = 0; in ki_generic()
76 An example of using in_data to pass in a structure:ki_write_t wif;
85 tif.in_data = (caddr_t) & wif;
104 tif.in_data = (caddr_t) & rif;
/external/ltp/testcases/kernel/device-drivers/agp/user_space/
Dtagp_ki.c54 tif.in_data = 0; in ki_generic()
76 An example of using in_data to pass in a structure:ki_write_t wif;
85 tif.in_data = (caddr_t) & wif;
104 tif.in_data = (caddr_t) & rif;
/external/webp/src/dsp/
Dlossless.c522 void VP8LConvertFromBGRA(const uint32_t* const in_data, int num_pixels, in VP8LConvertFromBGRA() argument
526 VP8LConvertBGRAToRGB(in_data, num_pixels, rgba); in VP8LConvertFromBGRA()
529 VP8LConvertBGRAToRGBA(in_data, num_pixels, rgba); in VP8LConvertFromBGRA()
532 VP8LConvertBGRAToRGBA(in_data, num_pixels, rgba); in VP8LConvertFromBGRA()
536 VP8LConvertBGRAToBGR(in_data, num_pixels, rgba); in VP8LConvertFromBGRA()
539 CopyOrSwap(in_data, num_pixels, rgba, 1); in VP8LConvertFromBGRA()
542 CopyOrSwap(in_data, num_pixels, rgba, 1); in VP8LConvertFromBGRA()
546 CopyOrSwap(in_data, num_pixels, rgba, 0); in VP8LConvertFromBGRA()
549 CopyOrSwap(in_data, num_pixels, rgba, 0); in VP8LConvertFromBGRA()
553 VP8LConvertBGRAToRGBA4444(in_data, num_pixels, rgba); in VP8LConvertFromBGRA()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
Dneteq_isac_quality_test.cc46 virtual int EncodeBlock(int16_t* in_data, size_t block_size_samples,
79 int NetEqIsacQualityTest::EncodeBlock(int16_t* in_data, in EncodeBlock() argument
92 value = WebRtcIsacfix_Encode(isac_encoder_, &in_data[pointer], payload); in EncodeBlock()
/external/liblzf/
Dlzf.h77 lzf_compress (const void *const in_data, unsigned int in_len,
96 lzf_decompress (const void *const in_data, unsigned int in_len,
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Disac_speed_test.cc28 virtual float EncodeABlock(int16_t* in_data, uint8_t* bit_stream,
63 float IsacSpeedTest::EncodeABlock(int16_t* in_data, uint8_t* bit_stream, in EncodeABlock() argument
73 value = WebRtcIsacfix_Encode(ISACFIX_main_inst_, &in_data[pointer], in EncodeABlock()

123