/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 | 366 static bool deserialize(keymaster_key_param_t* param, const uint8_t** buf_ptr, const uint8_t* end, 368 if (!copy_uint32_from_buf(buf_ptr, end, ¶m->tag)) 376 return copy_uint32_from_buf(buf_ptr, end, ¶m->enumerated); 379 return copy_uint32_from_buf(buf_ptr, end, ¶m->integer); 382 return copy_uint64_from_buf(buf_ptr, end, ¶m->long_integer); 384 return copy_uint64_from_buf(buf_ptr, end, ¶m->date_time); 387 if (*buf_ptr < end) { 388 param->boolean = static_cast<bool>(**buf_ptr); 389 (*buf_ptr)++; 397 if (!copy_uint32_from_buf(buf_ptr, end, ¶m->blob.data_length) | [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
buffer_unittest.cc | 47 void* buf_ptr = nullptr; local 54 buf_ptr = buf.Leak(); 58 EXPECT_EQ(ptr, buf_ptr); 68 free(buf_ptr);
|
/system/keymaster/include/keymaster/ |
serializable.h | 53 virtual bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) = 0; 137 * Copy \p size bytes from \p *buf_ptr into \p dest. If there are fewer than \p size bytes to read, 138 * returns false. Advances *buf_ptr to the next byte to be read. 140 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size); 143 * Extracts a uint32_t size from *buf_ptr, placing it in \p *size, and then reads *size bytes from 144 * *buf_ptr, placing them in newly-allocated storage in *dest. If there aren't enough bytes in 145 * *buf_ptr, returns false. Advances \p *buf_ptr to the next byte to be read. 149 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size, 153 * Copies a value convertible from uint32_t from \p *buf_ptr. Returns false if there are less tha [all...] |
android_keymaster_messages.h | 113 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 117 virtual bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) = 0; 128 bool Deserialize(const uint8_t** /* buf_ptr */, const uint8_t* /* end */) override { 140 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { 141 return copy_uint32_from_buf(buf_ptr, end, &algorithm); 166 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { 167 return copy_uint32_from_buf(buf_ptr, end, &algorithm) && 168 copy_uint32_from_buf(buf_ptr, end, &purpose); 215 bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) override { 219 if (!copy_uint32_array_from_buf(buf_ptr, end, &tmp, &results_length) [all...] |
android_keymaster_utils.h | 298 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { 301 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:__anon24857
|
vpxstats.c | 64 stats->buf_ptr = stats->buf.buf; 91 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); 99 memcpy(stats->buf_ptr, pkt, len); 101 stats->buf_ptr += len;
|
/system/chre/apps/wifi_offload/ |
utility.cc | 101 char *buf_ptr = ssid_hex_buffer; local 103 buf_ptr += std::sprintf(buf_ptr, "%02" PRIx8 ":", ssid[i]); 105 buf_ptr[-1] = '\0';
|
/external/pcre/dist2/src/sljit/ |
sljitNativeX86_32.c | 281 sljit_u8 *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_u8 *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_s32 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 | 326 sljit_ins *buf_ptr; local 356 buf_ptr = (sljit_ins*)buf->memory; 357 buf_end = buf_ptr + (buf->used_size >> 2); 359 *code_ptr = *buf_ptr++; 417 } while (buf_ptr < buf_end); 441 buf_ptr = (sljit_ins*)jump->addr; 447 *buf_ptr = BCx | (addr & 0xfffc) | ((*buf_ptr) & 0x03ff0001); 451 *buf_ptr = BCx | (addr & 0xfffc) | 0x2 | ((*buf_ptr) & 0x03ff0001) [all...] |
sljitNativeMIPS_common.c | 364 sljit_ins *buf_ptr; local 387 buf_ptr = (sljit_ins*)buf->memory; 388 buf_end = buf_ptr + (buf->used_size >> 2); 390 *code_ptr = *buf_ptr++; 417 } while (buf_ptr < buf_end); 437 buf_ptr = (sljit_ins*)jump->addr; 442 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | (addr & 0xffff); 447 buf_ptr[0] |= (addr >> 2) & 0x03ffffff; 453 buf_ptr[0] = (buf_ptr[0] & 0xffff0000) | ((addr >> 16) & 0xffff) [all...] |
sljitNativeSPARC_common.c | 280 sljit_ins *buf_ptr; local 303 buf_ptr = (sljit_ins*)buf->memory; 304 buf_end = buf_ptr + (buf->used_size >> 2); 306 *code_ptr = *buf_ptr++; 333 } while (buf_ptr < buf_end); 353 buf_ptr = (sljit_ins*)jump->addr; 358 buf_ptr[0] = CALL | (addr & 0x3fffffff); 364 buf_ptr[0] = (buf_ptr[0] & ~DISP_MASK) | (addr & DISP_MASK); 370 buf_ptr[0] = (buf_ptr[0] & 0xffc00000) | ((addr >> 10) & 0x3fffff) [all...] |
/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/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);
|