/external/u-boot/drivers/mmc/ |
D | fsl_esdhc_spl.c | 59 uchar *tmp_buf; in mmc_boot() local 78 tmp_buf = malloc(blklen); in mmc_boot() 79 if (!tmp_buf) { in mmc_boot() 83 memset(tmp_buf, 0, blklen); in mmc_boot() 89 CONFIG_CFG_DATA_SECTOR, 1, tmp_buf); in mmc_boot() 92 free(tmp_buf); in mmc_boot() 96 val = *(tmp_buf + MBRDBR_BOOT_SIG_55); in mmc_boot() 99 free(tmp_buf); in mmc_boot() 102 val = *(tmp_buf + MBRDBR_BOOT_SIG_AA); in mmc_boot() 105 free(tmp_buf); in mmc_boot() [all …]
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | idct32x32_msa.c | 14 int16_t *tmp_buf) { in idct32x8_row_transpose_store() argument 24 ST_SH8(m0, n0, m1, n1, m2, n2, m3, n3, (tmp_buf), 8); in idct32x8_row_transpose_store() 25 ST_SH4(m4, n4, m5, n5, (tmp_buf + 8 * 8), 8); in idct32x8_row_transpose_store() 26 ST_SH4(m6, n6, m7, n7, (tmp_buf + 12 * 8), 8); in idct32x8_row_transpose_store() 35 ST_SH4(m0, n0, m1, n1, (tmp_buf + 16 * 8), 8); in idct32x8_row_transpose_store() 36 ST_SH4(m2, n2, m3, n3, (tmp_buf + 20 * 8), 8); in idct32x8_row_transpose_store() 37 ST_SH4(m4, n4, m5, n5, (tmp_buf + 24 * 8), 8); in idct32x8_row_transpose_store() 38 ST_SH4(m6, n6, m7, n7, (tmp_buf + 28 * 8), 8); in idct32x8_row_transpose_store() 41 static void idct32x8_row_even_process_store(int16_t *tmp_buf, in idct32x8_row_even_process_store() argument 48 LD_SH8(tmp_buf, 32, reg0, reg1, reg2, reg3, reg4, reg5, reg6, reg7); in idct32x8_row_even_process_store() [all …]
|
D | fwd_dct32x32_msa.c | 247 int16_t *tmp_buf, int16_t *tmp_buf_big) { in fdct8x32_1d_column() argument 248 fdct8x32_1d_column_load_butterfly(input, src_stride, tmp_buf); in fdct8x32_1d_column() 249 fdct8x32_1d_column_even_store(tmp_buf, tmp_buf_big); in fdct8x32_1d_column() 250 fdct8x32_1d_column_odd_store(tmp_buf + 128, (tmp_buf_big + 32)); in fdct8x32_1d_column() 665 static void fdct32x8_1d_row_4x(int16_t *tmp_buf_big, int16_t *tmp_buf, in fdct32x8_1d_row_4x() argument 667 fdct8x32_1d_row_load_butterfly(tmp_buf_big, tmp_buf); in fdct32x8_1d_row_4x() 668 fdct8x32_1d_row_even_4x(tmp_buf, tmp_buf_big, tmp_buf); in fdct32x8_1d_row_4x() 669 fdct8x32_1d_row_odd(tmp_buf + 128, tmp_buf_big, tmp_buf + 128); in fdct32x8_1d_row_4x() 670 fdct8x32_1d_row_transpose_store(tmp_buf, output); in fdct32x8_1d_row_4x() 677 DECLARE_ALIGNED(32, int16_t, tmp_buf[256]); in vpx_fdct32x32_msa() [all …]
|
/external/u-boot/board/freescale/common/ |
D | sdhc_boot.c | 22 u8 *tmp_buf; in mmc_get_env_addr() local 26 tmp_buf = malloc(blklen); in mmc_get_env_addr() 27 if (!tmp_buf) in mmc_get_env_addr() 31 n = mmc->block_dev.block_read(&mmc->block_dev, 0, 1, tmp_buf); in mmc_get_env_addr() 33 free(tmp_buf); in mmc_get_env_addr() 38 code_offset = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_ADDR); in mmc_get_env_addr() 41 code_len = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_SIZE); in mmc_get_env_addr() 65 free(tmp_buf); in mmc_get_env_addr() 72 free(tmp_buf); in mmc_get_env_addr()
|
/external/u-boot/board/gdsys/p1022/ |
D | sdhc_boot.c | 37 u8 *tmp_buf; in mmc_get_env_addr() local 41 tmp_buf = malloc(blklen); in mmc_get_env_addr() 42 if (!tmp_buf) in mmc_get_env_addr() 46 n = mmc->block_dev.block_read(&mmc->block_dev, 0, 1, tmp_buf); in mmc_get_env_addr() 48 free(tmp_buf); in mmc_get_env_addr() 53 code_offset = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_ADDR); in mmc_get_env_addr() 56 code_len = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_SIZE); in mmc_get_env_addr() 60 free(tmp_buf); in mmc_get_env_addr()
|
D | controlcenterd-id.c | 160 u8 *tmp_buf = NULL; in ccdm_mmc_read() local 166 tmp_buf = malloc(blk_len); in ccdm_mmc_read() 167 if (!tmp_buf) in ccdm_mmc_read() 174 tmp_buf); in ccdm_mmc_read() 178 memcpy(dst, tmp_buf + ofs, result); in ccdm_mmc_read() 195 tmp_buf); in ccdm_mmc_read() 198 memcpy(dst, tmp_buf, size); in ccdm_mmc_read() 205 if (tmp_buf) in ccdm_mmc_read() 206 free(tmp_buf); in ccdm_mmc_read()
|
/external/selinux/libselinux/src/ |
D | label_support.c | 28 char *tmp_buf = NULL; in read_spec_entry() local 33 tmp_buf = *ptr; in read_spec_entry() 47 *entry = strndup(tmp_buf, *len); in read_spec_entry() 148 unsigned char *tmp_buf; in digest_add_specfile() local 160 tmp_buf = realloc(digest->hashbuf, digest->hashbuf_size); in digest_add_specfile() 161 if (!tmp_buf) in digest_add_specfile() 164 digest->hashbuf = tmp_buf; in digest_add_specfile() 174 tmp_buf = memcpy(digest->hashbuf + in digest_add_specfile() 177 if (!tmp_buf) in digest_add_specfile()
|
/external/u-boot/common/ |
D | avb_verify.c | 262 void *tmp_buf; in mmc_read_and_flush() local 283 tmp_buf = get_sector_buf(); in mmc_read_and_flush() 288 tmp_buf = buffer; in mmc_read_and_flush() 292 start, sectors, tmp_buf); in mmc_read_and_flush() 294 flush_cache((ulong)tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush() 297 memcpy(buffer, tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush() 305 void *tmp_buf; in mmc_write() local 319 tmp_buf = get_sector_buf(); in mmc_write() 325 memcpy(tmp_buf, buffer, sectors * part->info.blksz); in mmc_write() 327 tmp_buf = buffer; in mmc_write() [all …]
|
D | command.c | 148 static char tmp_buf[512]; in var_complete() local 154 return env_complete("", maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete() 157 return env_complete(argv[1], maxv, cmdv, sizeof(tmp_buf), tmp_buf); in var_complete() 320 static char tmp_buf[CONFIG_SYS_CBSIZE + 1]; /* copy of console I/O buffer */ variable 343 strcpy(tmp_buf, buf); in cmd_auto_complete() 346 argc = make_argv(tmp_buf, sizeof(argv)/sizeof(argv[0]), argv); in cmd_auto_complete()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | avg.c | 109 int16_t *tmp_buf = &buffer[0]; in vpx_highbd_hadamard_8x8_c() local 113 hadamard_highbd_col8_first_pass(src_diff, src_stride, tmp_buf); in vpx_highbd_hadamard_8x8_c() 114 tmp_buf += 8; in vpx_highbd_hadamard_8x8_c() 118 tmp_buf = &buffer[0]; in vpx_highbd_hadamard_8x8_c() 122 hadamard_highbd_col8_second_pass(tmp_buf, 8, buffer2 + 8 * idx); in vpx_highbd_hadamard_8x8_c() 123 ++tmp_buf; in vpx_highbd_hadamard_8x8_c() 234 int16_t *tmp_buf = &buffer[0]; in vpx_hadamard_8x8_c() local 236 hadamard_col8(src_diff, src_stride, tmp_buf); // src_diff: 9 bit in vpx_hadamard_8x8_c() 238 tmp_buf += 8; in vpx_hadamard_8x8_c() 242 tmp_buf = &buffer[0]; in vpx_hadamard_8x8_c() [all …]
|
/external/libaom/libaom/aom_dsp/ |
D | avg.c | 90 int16_t *tmp_buf = &buffer[0]; in aom_hadamard_8x8_c() local 92 hadamard_col8(src_diff, src_stride, tmp_buf); // src_diff: 9 bit in aom_hadamard_8x8_c() 94 tmp_buf += 8; in aom_hadamard_8x8_c() 98 tmp_buf = &buffer[0]; in aom_hadamard_8x8_c() 100 hadamard_col8(tmp_buf, 8, buffer2 + 8 * idx); // tmp_buf: 12 bit in aom_hadamard_8x8_c() 104 ++tmp_buf; in aom_hadamard_8x8_c()
|
/external/boringssl/src/crypto/x509/ |
D | x509_obj.c | 87 char tmp_buf[80]; in X509_NAME_oneline() local 114 i2t_ASN1_OBJECT(tmp_buf, sizeof(tmp_buf), ne->object); in X509_NAME_oneline() 115 s = tmp_buf; in X509_NAME_oneline()
|
/external/selinux/libsepol/src/ |
D | services.c | 218 char tmp_buf[128]; in get_name_list() local 236 snprintf(tmp_buf, sizeof(tmp_buf), "(%s%s", src, op); in get_name_list() 237 cat_expr_buf(expr_list[expr_counter], tmp_buf); in get_name_list() 252 snprintf(tmp_buf, sizeof(tmp_buf), " %s", in get_name_list() 256 snprintf(tmp_buf, sizeof(tmp_buf), " %s", in get_name_list() 260 snprintf(tmp_buf, sizeof(tmp_buf), " %s", in get_name_list() 264 cat_expr_buf(expr_list[expr_counter], tmp_buf); in get_name_list() 279 char tmp_buf[128]; in msgcat() local 281 snprintf(tmp_buf, sizeof(tmp_buf), "(%s %s %s -Fail-) ", in msgcat() 284 snprintf(tmp_buf, sizeof(tmp_buf), "(%s %s %s) ", in msgcat() [all …]
|
D | node_record.c | 385 char *tmp_buf = malloc(node->addr_sz); in hidden_def() local 386 if (!tmp_buf) { in hidden_def() 391 memcpy(tmp_buf, node->addr, node->addr_sz); in hidden_def() 392 *buffer = tmp_buf; in hidden_def() 474 char *tmp_buf = malloc(node->mask_sz); in hidden_def() local 475 if (!tmp_buf) { in hidden_def() 480 memcpy(tmp_buf, node->mask, node->mask_sz); in hidden_def() 481 *buffer = tmp_buf; in hidden_def()
|
D | util.c | 203 char *tmp_buf = *ptr; in tokenize_str() local 218 *len = *ptr - tmp_buf; in tokenize_str() 226 *str = strndup(tmp_buf, *len); in tokenize_str()
|
/external/boringssl/src/crypto/fipsmodule/digest/ |
D | digest.c | 134 uint8_t *tmp_buf; in EVP_MD_CTX_copy_ex() local 137 tmp_buf = OPENSSL_malloc(in->digest->ctx_size); in EVP_MD_CTX_copy_ex() 138 if (tmp_buf == NULL) { in EVP_MD_CTX_copy_ex() 148 tmp_buf = out->md_data; in EVP_MD_CTX_copy_ex() 155 out->md_data = tmp_buf; in EVP_MD_CTX_copy_ex()
|
/external/capstone/suite/arm/ |
D | test_arm_regression.c | 315 used = snprintf(tmp_buf + cur, left, __VA_ARGS__); \ in test_valids() 323 char tmp_buf[2048]; in test_valids() local 356 snprint_insn_detail(tmp_buf, &cur, &left, &insn[k]); in test_valids() 359 max_len = strlen(tmp_buf); in test_valids() 365 if (memcmp(tmp_buf, valid_code->expected_out, max_len)) { in test_valids() 369 tmp_buf, valid_code->expected_out in test_valids()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_build.c | 601 struct wpabuf *tmp_buf = NULL; in p2p_buf_add_service_instance() local 613 tmp_buf = wpabuf_alloc(MAX_SVC_ADV_IE_LEN + 256 + P2PS_HASH_LEN); in p2p_buf_add_service_instance() 614 if (!tmp_buf) in p2p_buf_add_service_instance() 621 ie_len = p2p_buf_add_ie_hdr(tmp_buf); in p2p_buf_add_service_instance() 625 wpabuf_put_u8(tmp_buf, P2P_ATTR_ADVERTISED_SERVICE); in p2p_buf_add_service_instance() 626 attr_len = wpabuf_put(tmp_buf, sizeof(u16)); in p2p_buf_add_service_instance() 628 p2p_buf_update_ie_hdr(tmp_buf, ie_len); in p2p_buf_add_service_instance() 629 pos = wpabuf_put(tmp_buf, 0); in p2p_buf_add_service_instance() 633 p2p_buf_add_service_info(tmp_buf, p2p, 0, 0, P2PS_WILD_HASH_STR, in p2p_buf_add_service_instance() 646 p2p_buf_add_service_info(tmp_buf, p2p, in p2p_buf_add_service_instance() [all …]
|
/external/u-boot/drivers/mtd/nand/ |
D | denali.c | 696 void *tmp_buf = denali->buf; in denali_read_page_raw() local 701 ret = denali_data_xfer(denali, tmp_buf, size, page, 1, 0); in denali_read_page_raw() 716 memcpy(buf, tmp_buf + pos, len); in denali_read_page_raw() 720 memcpy(buf, tmp_buf + writesize + oob_skip, in denali_read_page_raw() 731 memcpy(oob, tmp_buf + writesize, oob_skip); in denali_read_page_raw() 744 memcpy(oob, tmp_buf + pos, len); in denali_read_page_raw() 748 memcpy(oob, tmp_buf + writesize + oob_skip, in denali_read_page_raw() 756 memcpy(oob, tmp_buf + size - len, len); in denali_read_page_raw() 827 void *tmp_buf = denali->buf; in denali_write_page_raw() local 837 memset(tmp_buf, 0xff, size); in denali_write_page_raw() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_vcn_enc.c | 227 struct pipe_video_buffer *tmp_buf, templat = {}; in radeon_create_encoder() local 266 if (!(tmp_buf = context->create_video_buffer(context, &templat))) { in radeon_create_encoder() 276 get_buffer(((struct vl_video_buffer *)tmp_buf)->resources[0], NULL, &tmp_surf); in radeon_create_encoder() 286 tmp_buf->destroy(tmp_buf); in radeon_create_encoder()
|
/external/libxaac/decoder/ |
D | ixheaacd_mps_poly_filt.c | 140 WORD32 *tmp_buf = self->tmp_buf; in ixheaacd_mps_synt_calc() local 146 state = &tmp_buf[self->time_slots * 2 * resolution]; in ixheaacd_mps_synt_calc() 148 out = &tmp_buf[74 * MAX_NUM_QMF_BANDS_SAC]; in ixheaacd_mps_synt_calc()
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
D | fallocate04.c | 238 char tmp_buf[buf_size]; in test04() local 241 fill_tst_buf(tmp_buf); in test04() 243 memcpy(exp_buf, tmp_buf, block_size); in test04() 244 memcpy(exp_buf + block_size, tmp_buf + 2 * block_size, in test04()
|
/external/aac/libAACdec/src/ |
D | usacdec_acelp.cpp | 765 C_ALLOC_SCRATCH_START(tmp_buf, FIXP_DBL, L_SUBFR); /* 64 */ in CLpd_AcelpDecode() 769 code = (FIXP_COD *)(tmp_buf + L_SUBFR / 2); in CLpd_AcelpDecode() 771 code = (FIXP_COD *)tmp_buf; in CLpd_AcelpDecode() 773 exc2 = (FIXP_DBL *)tmp_buf; in CLpd_AcelpDecode() 918 C_ALLOC_SCRATCH_END(tmp_buf, FIXP_DBL, L_SUBFR); in CLpd_AcelpDecode() 1094 C_ALLOC_SCRATCH_START(tmp_buf, FIXP_DBL, L_FAC_ZIR + M_LP_FILTER_ORDER); in CLpd_Acelp_Zir() 1097 FDKmemcpy(tmp_buf, acelp_mem->old_syn_mem, in CLpd_Acelp_Zir() 1099 FDKmemset(tmp_buf + M_LP_FILTER_ORDER, 0, L_FAC_ZIR * sizeof(FIXP_DBL)); in CLpd_Acelp_Zir() 1101 Syn_filt(A, A_exp, length, &tmp_buf[M_LP_FILTER_ORDER], in CLpd_Acelp_Zir() 1102 &tmp_buf[M_LP_FILTER_ORDER]); in CLpd_Acelp_Zir() [all …]
|
/external/u-boot/scripts/basic/ |
D | fixdep.c | 226 char tmp_buf[256] = "SPL_"; /* hack for U-Boot */ in parse_config_file() local 271 memcpy(tmp_buf + 4, p, q - p); in parse_config_file() 272 q = tmp_buf + 4 + (q - p); in parse_config_file() 273 p = tmp_buf; in parse_config_file()
|
/external/u-boot/drivers/i2c/ |
D | kona_i2c.c | 309 uint8_t *tmp_buf = msg->buf; in bcm_kona_i2c_read_fifo() local 317 rc = bcm_kona_i2c_read_fifo_single(dev, tmp_buf, bytes_to_read, in bcm_kona_i2c_read_fifo() 323 tmp_buf += bytes_to_read; in bcm_kona_i2c_read_fifo() 403 uint8_t *tmp_buf = msg->buf; in bcm_kona_i2c_write_fifo() local 409 rc = bcm_kona_i2c_write_fifo_single(dev, tmp_buf, in bcm_kona_i2c_write_fifo() 415 tmp_buf += bytes_to_write; in bcm_kona_i2c_write_fifo()
|