Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 25 of 30) 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/dist2/src/sljit/
DsljitNativeX86_32.c281 sljit_u8 *buf_ptr; in emit_x86_instruction() local
362 buf_ptr = inst + size; in emit_x86_instruction()
370 *buf_ptr = 0; in emit_x86_instruction()
372 *buf_ptr = reg_map[a] << 3; in emit_x86_instruction()
374 *buf_ptr = a << 3; in emit_x86_instruction()
384 *buf_ptr = 0; in emit_x86_instruction()
388 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_map[b] : b); in emit_x86_instruction()
393 *buf_ptr |= 0x40; in emit_x86_instruction()
395 *buf_ptr |= 0x80; in emit_x86_instruction()
399 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction()
[all …]
DsljitNativeX86_64.c353 sljit_u8 *buf_ptr; in emit_x86_instruction() local
472 buf_ptr = inst + size; in emit_x86_instruction()
480 *buf_ptr = 0; in emit_x86_instruction()
482 *buf_ptr = reg_lmap[a] << 3; in emit_x86_instruction()
484 *buf_ptr = a << 3; in emit_x86_instruction()
494 *buf_ptr = 0; in emit_x86_instruction()
498 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_lmap[b] : b); in emit_x86_instruction()
503 *buf_ptr |= 0x40; in emit_x86_instruction()
505 *buf_ptr |= 0x80; in emit_x86_instruction()
509 *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
366 cpool_start_address[value] = *buf_ptr; in resolve_const_pool_index()
561 sljit_uw *buf_ptr; in sljit_generate_code() local
617 buf_ptr = (sljit_uw*)buf->memory; in sljit_generate_code()
618 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
624 buf_ptr++; in sljit_generate_code()
628 …lve_const_pool_index(compiler, &first_patch, cpool_current_index, cpool_start_address, buf_ptr))) { in sljit_generate_code()
633 buf_ptr++; in sljit_generate_code()
646 else if ((*buf_ptr & 0xff000000) != PUSH_POOL) { in sljit_generate_code()
648 *code_ptr = *buf_ptr++; in sljit_generate_code()
[all …]
DsljitNativePPC_common.c326 sljit_ins *buf_ptr; in sljit_generate_code() local
356 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
357 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
359 *code_ptr = *buf_ptr++; in sljit_generate_code()
417 } while (buf_ptr < buf_end); in sljit_generate_code()
441 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
447 *buf_ptr = BCx | (addr & 0xfffc) | ((*buf_ptr) & 0x03ff0001); in sljit_generate_code()
451 *buf_ptr = BCx | (addr & 0xfffc) | 0x2 | ((*buf_ptr) & 0x03ff0001); in sljit_generate_code()
458 *buf_ptr = Bx | (addr & 0x03fffffc) | ((*buf_ptr) & 0x1); in sljit_generate_code()
462 *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.c280 sljit_ins *buf_ptr; in sljit_generate_code() local
303 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
304 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
306 *code_ptr = *buf_ptr++; in sljit_generate_code()
333 } while (buf_ptr < buf_end); in sljit_generate_code()
353 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
358 buf_ptr[0] = CALL | (addr & 0x3fffffff); in sljit_generate_code()
364 buf_ptr[0] = (buf_ptr[0] & ~DISP_MASK) | (addr & DISP_MASK); in sljit_generate_code()
370 buf_ptr[0] = (buf_ptr[0] & 0xffc00000) | ((addr >> 10) & 0x3fffff); in sljit_generate_code()
371 buf_ptr[1] = (buf_ptr[1] & 0xfffffc00) | (addr & 0x3ff); in sljit_generate_code()
DsljitNativeX86_common.c476 sljit_u8 *buf_ptr; in sljit_generate_code() local
498 buf_ptr = buf->memory; in sljit_generate_code()
499 buf_end = buf_ptr + buf->used_size; in sljit_generate_code()
501 len = *buf_ptr++; in sljit_generate_code()
504 SLJIT_MEMCPY(code_ptr, buf_ptr, len); in sljit_generate_code()
506 buf_ptr += len; in sljit_generate_code()
509 if (*buf_ptr >= 4) { in sljit_generate_code()
512 code_ptr = generate_near_jump_code(jump, code_ptr, code, *buf_ptr - 4); in sljit_generate_code()
514 code_ptr = generate_far_jump_code(jump, code_ptr, *buf_ptr - 4); in sljit_generate_code()
517 else if (*buf_ptr == 0) { in sljit_generate_code()
[all …]
DsljitNativeTILEGX_64.c1001 sljit_ins *buf_ptr; in sljit_generate_code() local
1024 buf_ptr = (sljit_ins *)buf->memory; in sljit_generate_code()
1025 buf_end = buf_ptr + (buf->used_size >> 3); in sljit_generate_code()
1027 *code_ptr = *buf_ptr++; in sljit_generate_code()
1057 } while (buf_ptr < buf_end); in sljit_generate_code()
1077 buf_ptr = (sljit_ins *)jump->addr; in sljit_generate_code()
1082 buf_ptr[0] = (buf_ptr[0] & ~(BOFF_X1(-1))) | BOFF_X1(addr); in sljit_generate_code()
1086 print_insn_tilegx(buf_ptr); in sljit_generate_code()
1094 buf_ptr[0] = (buf_ptr[0] & ~(JOFF_X1(-1))) | JOFF_X1(addr); in sljit_generate_code()
1098 print_insn_tilegx(buf_ptr); in sljit_generate_code()
[all …]
DsljitNativeARM_64.c211 sljit_ins *buf_ptr; in sljit_generate_code() local
236 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
237 buf_end = buf_ptr + (buf->used_size >> 2); in sljit_generate_code()
239 *code_ptr = *buf_ptr++; in sljit_generate_code()
260 } while (buf_ptr < buf_end); in sljit_generate_code()
280 buf_ptr = (sljit_ins*)jump->addr; in sljit_generate_code()
284 buf_ptr[0] = ((jump->flags & IS_BL) ? BL : B) | (addr & 0x3ffffff); in sljit_generate_code()
286 buf_ptr[-1] -= (4 << 5); in sljit_generate_code()
292 buf_ptr[0] = (buf_ptr[0] & ~0xffffe0) | ((addr & 0x7ffff) << 5); in sljit_generate_code()
299 dst = buf_ptr[0] & 0x1f; in sljit_generate_code()
[all …]
DsljitNativeARM_T2_32.c347 sljit_u16 *buf_ptr; in sljit_generate_code() local
370 buf_ptr = (sljit_u16*)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/libmojo/mojo/public/cpp/bindings/tests/
Dbuffer_unittest.cc47 void* buf_ptr = nullptr; in TEST() local
54 buf_ptr = buf.Leak(); in TEST()
58 EXPECT_EQ(ptr, buf_ptr); in TEST()
68 free(buf_ptr); in TEST()
/external/libvpx/libvpx/
Dvpxstats.c64 stats->buf_ptr = stats->buf.buf; in stats_open_mem()
91 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); in stats_write()
99 memcpy(stats->buf_ptr, pkt, len); in stats_write()
101 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/webp/src/demux/
Danim_decode.c310 uint8_t** buf_ptr, int* timestamp_ptr) { in WebPAnimDecoderGetNext() argument
318 if (dec == NULL || buf_ptr == NULL || timestamp_ptr == NULL) return 0; in WebPAnimDecoderGetNext()
417 *buf_ptr = dec->curr_frame_; in WebPAnimDecoderGetNext()
/external/iproute2/tc/
Demp_ematch.l34 static void __attribute__ ((unused)) yyunput (int c,char *buf_ptr );
/external/fio/exp/
Dexpression-parser.l42 static void __attribute__((unused)) yyunput(int c, char *buf_ptr);
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c1090 struct x86_reg buf_ptr = in init_inputs() local
1155 x86_mov(p->func, buf_ptr, tmp_EAX); in init_inputs()
1176 struct x86_reg buf_ptr = in get_buffer_ptr() local
1181 x86_mov(p->func, ptr, buf_ptr); in get_buffer_ptr()
1249 struct x86_reg buf_ptr = x86_make_disp(p->machine_EDI, in incr_inputs() local
1258 x86_add(p->func, p->tmp_EAX, buf_ptr); in incr_inputs()
1262 x86_mov(p->func, buf_ptr, p->tmp_EAX); in incr_inputs()
/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/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c481 const uint8_t *buf_ptr; in extend_and_predict() local
485 buf_ptr = mc_buf + border_offset; in extend_and_predict()
487 inter_predictor(buf_ptr, b_w, dst, dst_buf_stride, subpel_x, subpel_y, sf, w, in extend_and_predict()
503 uint8_t *ref_frame, *buf_ptr; in dec_build_inter_predictors() local
571 buf_ptr = ref_frame + y0 * pre_buf->stride + x0; in dec_build_inter_predictors()
631 highbd_inter_predictor(CONVERT_TO_SHORTPTR(buf_ptr), buf_stride, in dec_build_inter_predictors()
635 inter_predictor(buf_ptr, buf_stride, dst, dst_buf->stride, subpel_x, in dec_build_inter_predictors()
639 inter_predictor(buf_ptr, buf_stride, dst, dst_buf->stride, subpel_x, subpel_y, in dec_build_inter_predictors()

12