/external/libopus/silk/ |
resampler_private_down_FIR.c | 47 opus_int32 *buf_ptr; local 55 buf_ptr = buf + silk_RSHIFT( index_Q16, 16 ); 62 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], interpol_ptr[ 0 ] ); 63 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], interpol_ptr[ 1 ] ); 64 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], interpol_ptr[ 2 ] ); 65 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], interpol_ptr[ 3 ] ); 66 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], interpol_ptr[ 4 ] ); 67 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 5 ], interpol_ptr[ 5 ] ); 68 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 6 ], interpol_ptr[ 6 ] ); 69 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 7 ], interpol_ptr[ 7 ] ) [all...] |
resampler_down2_3.c | 48 opus_int32 *buf_ptr; local 65 buf_ptr = buf; 69 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ); 70 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); 71 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); 72 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); 77 res_Q6 = silk_SMULWB( buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); 78 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); 79 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); 80 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ) [all...] |
resampler_private_IIR_FIR.c | 44 opus_int16 *buf_ptr; local 50 buf_ptr = &buf[ index_Q16 >> 16 ]; 52 res_Q15 = silk_SMULBB( buf_ptr[ 0 ], silk_resampler_frac_FIR_12[ table_index ][ 0 ] ); 53 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 1 ], silk_resampler_frac_FIR_12[ table_index ][ 1 ] ); 54 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 2 ], silk_resampler_frac_FIR_12[ table_index ][ 2 ] ); 55 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 3 ], silk_resampler_frac_FIR_12[ table_index ][ 3 ] ); 56 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 4 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 3 ] ); 57 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 5 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 2 ] ); 58 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 6 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 1 ] ); 59 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 7 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 0 ] ) [all...] |
/system/keymaster/ |
auth_encrypted_key_blob.cpp | 63 const uint8_t** buf_ptr = &tmp; local 69 if (!copy_from_buf(buf_ptr, end, nonce->peek_write(), OCB_NONCE_LENGTH) || 70 !encrypted_key_material->Deserialize(buf_ptr, end) || 71 !copy_from_buf(buf_ptr, end, tag->peek_write(), OCB_TAG_LENGTH) || 72 !hw_enforced->Deserialize(buf_ptr, end) || // 73 !sw_enforced->Deserialize(buf_ptr, end)) { 91 const uint8_t** buf_ptr = &tmp; local 94 if (end <= *buf_ptr) 97 uint8_t version = *(*buf_ptr)++; 99 !nonce->Deserialize(buf_ptr, end) || nonce->available_read() != OCB_NONCE_LENGTH | [all...] |
android_keymaster_messages.cpp | 41 static bool deserialize_key_blob(keymaster_key_blob_t* key_blob, const uint8_t** buf_ptr, 46 if (!copy_size_and_data_from_buf(buf_ptr, end, &key_blob->key_material_size, 67 bool KeymasterResponse::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { 68 if (!copy_uint32_from_buf(buf_ptr, end, &error)) 72 return NonErrorDeserialize(buf_ptr, end); 89 bool GenerateKeyResponse::NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) { 90 return deserialize_key_blob(&key_blob, buf_ptr, end) && enforced.Deserialize(buf_ptr, end) && 91 unenforced.Deserialize(buf_ptr, end); 111 bool GetKeyCharacteristicsRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) [all...] |
serializable.cpp | 38 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { 39 if (__pval(*buf_ptr) + size < __pval(*buf_ptr)) // Pointer wrap check 42 if (end < *buf_ptr + size) 44 memcpy(dest, *buf_ptr, size); 45 *buf_ptr += size; 49 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size, 51 if (!copy_uint32_from_buf(buf_ptr, end, size)) 54 if (__pval(*buf_ptr) + *size < __pval(*buf_ptr)) // Pointer wrap chec [all...] |
authorization_set.cpp | 340 static bool deserialize(keymaster_key_param_t* param, const uint8_t** buf_ptr, const uint8_t* end, 342 if (!copy_uint32_from_buf(buf_ptr, end, ¶m->tag)) 350 return copy_uint32_from_buf(buf_ptr, end, ¶m->enumerated); 353 return copy_uint32_from_buf(buf_ptr, end, ¶m->integer); 356 return copy_uint64_from_buf(buf_ptr, end, ¶m->long_integer); 358 return copy_uint64_from_buf(buf_ptr, end, ¶m->date_time); 361 if (*buf_ptr < end) { 362 param->boolean = static_cast<bool>(**buf_ptr); 363 (*buf_ptr)++; 371 if (!copy_uint32_from_buf(buf_ptr, end, ¶m->blob.data_length) | [all...] |
/system/keymaster/include/keymaster/ |
serializable.h | 52 virtual bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) = 0; 136 * Copy \p size bytes from \p *buf_ptr into \p dest. If there are fewer than \p size bytes to read, 137 * returns false. Advances *buf_ptr to the next byte to be read. 139 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size); 142 * Extracts a uint32_t size from *buf_ptr, placing it in \p *size, and then reads *size bytes from 143 * *buf_ptr, placing them in newly-allocated storage in *dest. If there aren't enough bytes in 144 * *buf_ptr, returns false. Advances \p *buf_ptr to the next byte to be read. 148 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size, 152 * Copies a value convertible from uint32_t from \p *buf_ptr. Returns false if there are less tha [all...] |
android_keymaster_messages.h | 112 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 116 virtual bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) = 0; 127 bool Deserialize(const uint8_t** /* buf_ptr */, const uint8_t* /* end */) override { 139 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { 140 return copy_uint32_from_buf(buf_ptr, end, &algorithm); 165 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { 166 return copy_uint32_from_buf(buf_ptr, end, &algorithm) && 167 copy_uint32_from_buf(buf_ptr, end, &purpose); 214 bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) override { 218 if (!copy_uint32_array_from_buf(buf_ptr, end, &tmp, &results_length) [all...] |
android_keymaster_utils.h | 293 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { 296 if (!copy_size_and_data_from_buf(buf_ptr, end, &key_material_size, &tmp)) {
|
/external/libvpx/libvpx/ |
vpxstats.h | 29 char *buf_ptr; member in struct:__anon16675
|
vpxstats.c | 77 stats->buf_ptr = stats->buf.buf; 109 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); 117 memcpy(stats->buf_ptr, pkt, len); 119 stats->buf_ptr += len;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
vpxstats.h | 29 char *buf_ptr; member in struct:__anon30296
|
vpxstats.c | 74 stats->buf_ptr = stats->buf.buf; 106 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); 114 memcpy(stats->buf_ptr, pkt, len); 116 stats->buf_ptr += len;
|
/external/pcre/dist/sljit/ |
sljitNativeX86_32.c | 281 sljit_ub *buf_ptr; local 362 buf_ptr = inst + size; 370 *buf_ptr = 0; 372 *buf_ptr = reg_map[a] << 3; 374 *buf_ptr = a << 3; 384 *buf_ptr = 0; 388 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_map[b] : b); 393 *buf_ptr |= 0x40; 395 *buf_ptr |= 0x80; 399 *buf_ptr++ |= reg_map[b & REG_MASK] [all...] |
sljitNativeX86_64.c | 353 sljit_ub *buf_ptr; local 472 buf_ptr = inst + size; 480 *buf_ptr = 0; 482 *buf_ptr = reg_lmap[a] << 3; 484 *buf_ptr = a << 3; 494 *buf_ptr = 0; 498 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_lmap[b] : b); 503 *buf_ptr |= 0x40; 505 *buf_ptr |= 0x80; 509 *buf_ptr++ |= reg_lmap[b & REG_MASK] [all...] |
sljitNativeARM_32.c | 318 static sljit_si resolve_const_pool_index(struct sljit_compiler *compiler, struct future_patch **first_patch, sljit_uw cpool_current_index, sljit_uw *cpool_start_address, sljit_uw *buf_ptr) 366 cpool_start_address[value] = *buf_ptr; 561 sljit_uw *buf_ptr; local 617 buf_ptr = (sljit_uw*)buf->memory; 618 buf_end = buf_ptr + (buf->used_size >> 2); 624 buf_ptr++; 628 if (SLJIT_UNLIKELY(resolve_const_pool_index(compiler, &first_patch, cpool_current_index, cpool_start_address, buf_ptr))) { 633 buf_ptr++; 646 else if ((*buf_ptr & 0xff000000) != PUSH_POOL) { 648 *code_ptr = *buf_ptr++ [all...] |
sljitNativePPC_common.c | 322 sljit_ins *buf_ptr; local 352 buf_ptr = (sljit_ins*)buf->memory; 353 buf_end = buf_ptr + (buf->used_size >> 2); 355 *code_ptr = *buf_ptr++; 413 } while (buf_ptr < buf_end); 437 buf_ptr = (sljit_ins*)jump->addr; 443 *buf_ptr = BCx | (addr & 0xfffc) | ((*buf_ptr) & 0x03ff0001); 447 *buf_ptr = BCx | (addr & 0xfffc) | 0x2 | ((*buf_ptr) & 0x03ff0001) [all...] |
/system/core/libprocessgroup/ |
processgroup.cpp | 68 char *buf_ptr; member in struct:ctx 120 ctx->buf_ptr = ctx->buf; 131 memmove(ctx->buf, ctx->buf_ptr, ctx->buf_len); 132 ctx->buf_ptr = ctx->buf; 134 ssize_t ret = read(ctx->fd, ctx->buf_ptr + ctx->buf_len, 161 while ((eptr = (char *)memchr(ctx->buf_ptr, '\n', ctx->buf_len)) == NULL) { 174 long pid = strtol(ctx->buf_ptr, &pid_eptr, 10); 182 ctx->buf_len -= (eptr - ctx->buf_ptr) + 1; 183 ctx->buf_ptr = eptr + 1;
|
/external/vboot_reference/host/lib21/ |
host_signature.c | 24 * @param buf_ptr On success, points to the digest info 29 const uint8_t **buf_ptr, 32 *buf_ptr = NULL; 43 *buf_ptr = info; 56 *buf_ptr = info; 69 *buf_ptr = info;
|
/external/vboot_reference/firmware/lib21/ |
misc.c | 22 * object will be stored into the buffer, and *buf_ptr will point to the 28 * @param buf_ptr Destination for object pointer 35 void **buf_ptr) 41 *buf_ptr = NULL; 61 *buf_ptr = buf;
|
/external/opencv3/modules/imgproc/src/opencl/ |
integral_sum.cl | 25 __global uchar *buf_ptr, int buf_step, int buf_offset 77 __global sumT *buf = (__global sumT *)(buf_ptr + buf_index); 90 kernel void integral_sum_rows(__global const uchar *buf_ptr, int buf_step, int buf_offset, 151 __global const sumT *buf = (__global const sumT *)(buf_ptr + buf_index);
|
/external/iproute2/tc/ |
emp_ematch.l | 34 static void __attribute__ ((unused)) yyunput (int c,char *buf_ptr );
|
/frameworks/compile/mclinker/include/mcld/Script/ |
FlexLexer.h | 142 void yyunput(int c, char* buf_ptr);
|
/external/fio/exp/ |
expression-parser.l | 42 static void __attribute__((unused)) yyunput(int c, char *buf_ptr);
|