Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 25 of 29) sorted by relevance

12

/external/libopus/silk/
Dresampler_private_down_FIR.c47 opus_int32 *buf_ptr; in silk_resampler_private_down_FIR_INTERPOL() local
55 buf_ptr = buf + silk_RSHIFT( index_Q16, 16 ); in silk_resampler_private_down_FIR_INTERPOL()
62 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], interpol_ptr[ 0 ] ); in silk_resampler_private_down_FIR_INTERPOL()
63 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], interpol_ptr[ 1 ] ); in silk_resampler_private_down_FIR_INTERPOL()
64 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], interpol_ptr[ 2 ] ); in silk_resampler_private_down_FIR_INTERPOL()
65 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], interpol_ptr[ 3 ] ); in silk_resampler_private_down_FIR_INTERPOL()
66 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], interpol_ptr[ 4 ] ); in silk_resampler_private_down_FIR_INTERPOL()
67 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 5 ], interpol_ptr[ 5 ] ); in silk_resampler_private_down_FIR_INTERPOL()
68 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 6 ], interpol_ptr[ 6 ] ); in silk_resampler_private_down_FIR_INTERPOL()
69 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 7 ], interpol_ptr[ 7 ] ); in silk_resampler_private_down_FIR_INTERPOL()
[all …]
Dresampler_down2_3.c48 opus_int32 *buf_ptr; in silk_resampler_down2_3() local
65 buf_ptr = buf; in silk_resampler_down2_3()
69 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ); in silk_resampler_down2_3()
70 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); in silk_resampler_down2_3()
71 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); in silk_resampler_down2_3()
72 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); in silk_resampler_down2_3()
77 res_Q6 = silk_SMULWB( buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); in silk_resampler_down2_3()
78 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); in silk_resampler_down2_3()
79 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); in silk_resampler_down2_3()
80 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ); in silk_resampler_down2_3()
[all …]
Dresampler_private_IIR_FIR.c44 opus_int16 *buf_ptr; in silk_resampler_private_IIR_FIR_INTERPOL() local
50 buf_ptr = &buf[ index_Q16 >> 16 ]; in silk_resampler_private_IIR_FIR_INTERPOL()
52 …res_Q15 = silk_SMULBB( buf_ptr[ 0 ], silk_resampler_frac_FIR_12[ table_index ][ 0 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
53 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 1 ], silk_resampler_frac_FIR_12[ table_index ][ 1 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
54 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 2 ], silk_resampler_frac_FIR_12[ table_index ][ 2 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
55 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 3 ], silk_resampler_frac_FIR_12[ table_index ][ 3 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
56 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 4 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 3 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
57 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 5 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 2 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
58 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 6 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 1 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
59 …res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 7 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 0 ] … in silk_resampler_private_IIR_FIR_INTERPOL()
/external/pcre/dist/sljit/
DsljitNativeX86_32.c260 sljit_ub *buf_ptr; in emit_x86_instruction() local
341 buf_ptr = inst + size; in emit_x86_instruction()
349 *buf_ptr = 0; in emit_x86_instruction()
351 *buf_ptr = reg_map[a] << 3; in emit_x86_instruction()
353 *buf_ptr = a << 3; in emit_x86_instruction()
363 *buf_ptr = 0; in emit_x86_instruction()
367 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_map[b] : b); in emit_x86_instruction()
372 *buf_ptr |= 0x40; in emit_x86_instruction()
374 *buf_ptr |= 0x80; in emit_x86_instruction()
378 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction()
[all …]
DsljitNativeX86_64.c366 sljit_ub *buf_ptr; in emit_x86_instruction() local
485 buf_ptr = inst + size; in emit_x86_instruction()
493 *buf_ptr = 0; in emit_x86_instruction()
495 *buf_ptr = reg_lmap[a] << 3; in emit_x86_instruction()
497 *buf_ptr = a << 3; in emit_x86_instruction()
507 *buf_ptr = 0; in emit_x86_instruction()
511 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_lmap[b] : b); in emit_x86_instruction()
516 *buf_ptr |= 0x40; in emit_x86_instruction()
518 *buf_ptr |= 0x80; in emit_x86_instruction()
522 *buf_ptr++ |= reg_lmap[b & REG_MASK]; in emit_x86_instruction()
[all …]
DsljitNativeARM_32.c318 …atch **first_patch, sljit_uw cpool_current_index, sljit_uw *cpool_start_address, sljit_uw *buf_ptr) in resolve_const_pool_index() argument
364 cpool_start_address[value] = *buf_ptr; in resolve_const_pool_index()
559 sljit_uw *buf_ptr; in sljit_generate_code() local
615 buf_ptr = (sljit_uw*)buf->memory; in sljit_generate_code()
616 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
622 buf_ptr++; in sljit_generate_code()
626 …IKELY(resolve_const_pool_index(&first_patch, cpool_current_index, cpool_start_address, buf_ptr))) { in sljit_generate_code()
631 buf_ptr++; in sljit_generate_code()
644 else if ((*buf_ptr & 0xff000000) != PUSH_POOL) { in sljit_generate_code()
646 *code_ptr = *buf_ptr++; in sljit_generate_code()
[all …]
DsljitNativePPC_common.c322 sljit_ins *buf_ptr; in sljit_generate_code() local
352 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
353 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
355 *code_ptr = *buf_ptr++; in sljit_generate_code()
413 } while (buf_ptr < buf_end); in sljit_generate_code()
437 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
443 *buf_ptr = BCx | (addr & 0xfffc) | ((*buf_ptr) & 0x03ff0001); in sljit_generate_code()
447 *buf_ptr = BCx | (addr & 0xfffc) | 0x2 | ((*buf_ptr) & 0x03ff0001); in sljit_generate_code()
454 *buf_ptr = Bx | (addr & 0x03fffffc) | ((*buf_ptr) & 0x1); in sljit_generate_code()
458 *buf_ptr = Bx | (addr & 0x03fffffc) | 0x2 | ((*buf_ptr) & 0x1); in sljit_generate_code()
[all …]
DsljitNativeMIPS_common.c364 sljit_ins *buf_ptr; in sljit_generate_code() local
387 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
388 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
390 *code_ptr = *buf_ptr++; in sljit_generate_code()
417 } while (buf_ptr < buf_end); in sljit_generate_code()
437 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
442 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | (addr & 0xffff); in sljit_generate_code()
447 buf_ptr[0] |= (addr >> 2) & 0x03ffffff; in sljit_generate_code()
453 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | ((addr >> 16) & 0xffff); in sljit_generate_code()
454 buf_ptr[1] = (buf_ptr[1] & 0xffff0000) | (addr & 0xffff); in sljit_generate_code()
[all …]
DsljitNativeSPARC_common.c276 sljit_ins *buf_ptr; in sljit_generate_code() local
299 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
300 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
302 *code_ptr = *buf_ptr++; in sljit_generate_code()
329 } while (buf_ptr < buf_end); in sljit_generate_code()
349 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
354 buf_ptr[0] = CALL | (addr & 0x3fffffff); in sljit_generate_code()
360 buf_ptr[0] = (buf_ptr[0] & ~DISP_MASK) | (addr & DISP_MASK); in sljit_generate_code()
366 buf_ptr[0] = (buf_ptr[0] & 0xffc00000) | ((addr >> 10) & 0x3fffff); in sljit_generate_code()
367 buf_ptr[1] = (buf_ptr[1] & 0xfffffc00) | (addr & 0x3ff); in sljit_generate_code()
DsljitNativeX86_common.c450 sljit_ub *buf_ptr; in sljit_generate_code() local
472 buf_ptr = buf->memory; in sljit_generate_code()
473 buf_end = buf_ptr + buf->used_size; in sljit_generate_code()
475 len = *buf_ptr++; in sljit_generate_code()
478 SLJIT_MEMMOVE(code_ptr, buf_ptr, len); in sljit_generate_code()
480 buf_ptr += len; in sljit_generate_code()
483 if (*buf_ptr >= 4) { in sljit_generate_code()
486 code_ptr = generate_near_jump_code(jump, code_ptr, code, *buf_ptr - 4); in sljit_generate_code()
488 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 4); in sljit_generate_code()
491 else if (*buf_ptr == 0) { in sljit_generate_code()
[all …]
DsljitNativeTILEGX_64.c1002 sljit_ins *buf_ptr; in sljit_generate_code() local
1025 buf_ptr = (sljit_ins *)buf->memory; in sljit_generate_code()
1026 buf_end = buf_ptr + (buf->used_size >> 3); in sljit_generate_code()
1028 *code_ptr = *buf_ptr++; in sljit_generate_code()
1058 } while (buf_ptr < buf_end); in sljit_generate_code()
1078 buf_ptr = (sljit_ins *)jump->addr; in sljit_generate_code()
1083 buf_ptr[0] = (buf_ptr[0] & ~(BOFF_X1(-1))) | BOFF_X1(addr); in sljit_generate_code()
1087 print_insn_tilegx(buf_ptr); in sljit_generate_code()
1095 buf_ptr[0] = (buf_ptr[0] & ~(JOFF_X1(-1))) | JOFF_X1(addr); in sljit_generate_code()
1099 print_insn_tilegx(buf_ptr); in sljit_generate_code()
[all …]
DsljitNativeARM_64.c212 sljit_ins *buf_ptr; in sljit_generate_code() local
237 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
238 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
240 *code_ptr = *buf_ptr++; in sljit_generate_code()
261 } while (buf_ptr < buf_end); in sljit_generate_code()
281 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
285 buf_ptr[0] = ((jump->flags & IS_BL) ? BL : B) | (addr & 0x3ffffff); in sljit_generate_code()
287 buf_ptr[-1] -= (4 << 5); in sljit_generate_code()
293 buf_ptr[0] = (buf_ptr[0] & ~0xffffe0) | ((addr & 0x7ffff) << 5); in sljit_generate_code()
300 dst = buf_ptr[0] & 0x1f; in sljit_generate_code()
[all …]
DsljitNativeARM_T2_32.c347 sljit_uh *buf_ptr; in sljit_generate_code() local
370 buf_ptr = (sljit_uh*)buf->memory; in sljit_generate_code()
371 buf_end = buf_ptr + (buf->used_size >> 1); in sljit_generate_code()
373 *code_ptr = *buf_ptr++; in sljit_generate_code()
394 } while (buf_ptr < buf_end); in sljit_generate_code()
/external/libvpx/libvpx/
Dvpxstats.c74 stats->buf_ptr = stats->buf.buf; in stats_open_mem()
106 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); in stats_write()
114 memcpy(stats->buf_ptr, pkt, len); in stats_write()
116 stats->buf_ptr += len; in stats_write()
Dvpxstats.h29 char *buf_ptr; member
/external/vboot_reference/host/lib21/
Dhost_signature.c29 const uint8_t **buf_ptr, in vb2_digest_info() argument
32 *buf_ptr = NULL; in vb2_digest_info()
43 *buf_ptr = info; in vb2_digest_info()
56 *buf_ptr = info; in vb2_digest_info()
69 *buf_ptr = info; in vb2_digest_info()
/external/vboot_reference/firmware/lib21/
Dmisc.c35 void **buf_ptr) in vb2_read_resource_object() argument
41 *buf_ptr = NULL; in vb2_read_resource_object()
61 *buf_ptr = buf; in vb2_read_resource_object()
/external/opencv/ml/src/
Dmlann_mlp.cpp889 double *buf_ptr; in train_backprop() local
912 buf_ptr = buf->data.db; in train_backprop()
916 x[j] = buf_ptr; in train_backprop()
918 buf_ptr += (df[j] - x[j])*2; in train_backprop()
985 cvInitMatHeader( grad1, 1, ovcount, CV_64F, buf_ptr ); in train_backprop()
987 grad2->data.db = buf_ptr + max_count; in train_backprop()
1064 double *buf_ptr; in train_rprop() local
1101 buf_ptr = buf->data.db; in train_rprop()
1105 x[i] = buf_ptr; in train_rprop()
1107 buf_ptr += (df[i] - x[i])*2; in train_rprop()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.c307 uint8_t *ref_frame, *buf_ptr; in dec_build_inter_predictors() local
367 buf_ptr = ref_frame + y0 * pre_buf->stride + x0; in dec_build_inter_predictors()
400 buf_ptr = xd->mc_buf + y_pad * 3 * buf_stride + x_pad * 3; in dec_build_inter_predictors()
404 inter_predictor(buf_ptr, buf_stride, dst, dst_buf->stride, subpel_x, in dec_build_inter_predictors()
/external/iproute2/tc/
Demp_ematch.l34 static void __attribute__ ((unused)) yyunput (int c,char *buf_ptr );
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c1074 struct x86_reg buf_ptr = x86_make_disp(p->machine_EDI, in init_inputs() local
1132 x86_mov(p->func, buf_ptr, tmp_EAX); in init_inputs()
1155 struct x86_reg buf_ptr = in get_buffer_ptr() local
1160 x86_mov(p->func, ptr, buf_ptr); in get_buffer_ptr()
1230 struct x86_reg buf_ptr = x86_make_disp(p->machine_EDI, in incr_inputs() local
1238 x86_add(p->func, p->tmp_EAX, buf_ptr); in incr_inputs()
1241 x86_mov(p->func, buf_ptr, p->tmp_EAX); in incr_inputs()
/external/fio/exp/
Dexpression-parser.l42 static void __attribute__((unused)) yyunput(int c, char *buf_ptr);
/external/vboot_reference/futility/
Dvb1_helper.c100 static unsigned int find_cmdline_start(uint8_t *buf_ptr, unsigned int max_len) in find_cmdline_start() argument
102 char *input = (char *)buf_ptr; in find_cmdline_start()
/external/valgrind/perf/
Dtinycc.c2263 uint8_t *buf_ptr; member
7514 bf->buf_ptr = bf->buffer; in tcc_open()
7537 if (bf->buf_ptr >= bf->buf_end) { in tcc_peekc_slow()
7551 bf->buf_ptr = bf->buffer; in tcc_peekc_slow()
7555 if (bf->buf_ptr < bf->buf_end) { in tcc_peekc_slow()
7556 return bf->buf_ptr[0]; in tcc_peekc_slow()
7558 bf->buf_ptr = bf->buf_end; in tcc_peekc_slow()
7573 ch = *(++(file->buf_ptr)); in inp()
7607 file->buf_ptr = p; in handle_stray1()
7609 p = file->buf_ptr; in handle_stray1()
[all …]
/external/linux-tools-perf/src/tools/perf/util/
Dpmu-flex.c564 static void yyunput (int c,char *buf_ptr );

12