Home
last modified time | relevance | path

Searched refs:tmp_ptr (Results 1 – 12 of 12) sorted by relevance

/external/android-clat/
Dconfig.c178 struct in6_addr tmp_ptr; in dns64_detection() local
183 status = plat_prefix(Global_Clatd_Config.plat_from_dns64_hostname, net_id, &tmp_ptr); in dns64_detection()
185 memcpy(&Global_Clatd_Config.plat_subnet, &tmp_ptr, sizeof(struct in6_addr)); in dns64_detection()
312 void *tmp_ptr = NULL; in read_config() local
349 tmp_ptr = (void *)config_item_str(root, "plat_from_dns64", "yes"); in read_config()
350 if (!tmp_ptr || strcmp(tmp_ptr, "no") == 0) { in read_config()
351 free(tmp_ptr); in read_config()
358 free(tmp_ptr); in read_config()
/external/python/cpython2/Modules/
Ddbmmodule.c248 char *tmp_ptr; in dbm_has_key() local
252 if (!PyArg_ParseTuple(args, "s#:has_key", &tmp_ptr, &tmp_size)) in dbm_has_key()
254 key.dptr = tmp_ptr; in dbm_has_key()
266 char *tmp_ptr; in dbm_get() local
270 &tmp_ptr, &tmp_size, &defvalue)) in dbm_get()
272 key.dptr = tmp_ptr; in dbm_get()
289 char *tmp_ptr; in dbm_setdefault() local
293 &tmp_ptr, &tmp_size, &defvalue)) in dbm_setdefault()
295 key.dptr = tmp_ptr; in dbm_setdefault()
/external/selinux/libsepol/src/
Dusers.c231 void *tmp_ptr; in sepol_user_modify() local
234 tmp_ptr = realloc(policydb->user_val_to_struct, in sepol_user_modify()
237 if (!tmp_ptr) in sepol_user_modify()
239 policydb->user_val_to_struct = tmp_ptr; in sepol_user_modify()
242 tmp_ptr = realloc(policydb->sym_val_to_name[SYM_USERS], in sepol_user_modify()
245 if (!tmp_ptr) in sepol_user_modify()
247 policydb->sym_val_to_name[SYM_USERS] = tmp_ptr; in sepol_user_modify()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_cached.c156 LLVMValueRef tag_value, tmp_ptr; in update_cached_block() local
196 tmp_ptr = lp_build_array_alloca(gallivm, i32x4, in update_cached_block()
199 tmp_ptr = LLVMBuildBitCast(builder, tmp_ptr, pi8t, ""); in update_cached_block()
216 args[0] = LLVMBuildGEP(gallivm->builder, tmp_ptr, &dst_offset, 1, ""); in update_cached_block()
225 tmp_ptr = LLVMBuildBitCast(builder, tmp_ptr, LLVMPointerType(i32x4, 0), ""); in update_cached_block()
228 LLVMValueRef ptr = LLVMBuildGEP(gallivm->builder, tmp_ptr, &tmp_offset, 1, ""); in update_cached_block()
Dlp_bld_format_aos.c774 LLVMValueRef tmp_ptr; in lp_build_fetch_rgba_aos() local
815 tmp_ptr = lp_build_alloca(gallivm, i32t, ""); in lp_build_fetch_rgba_aos()
828 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pi8t, ""); in lp_build_fetch_rgba_aos()
843 tmp = LLVMBuildLoad(builder, tmp_ptr, ""); in lp_build_fetch_rgba_aos()
879 LLVMValueRef tmp_ptr; in lp_build_fetch_rgba_aos() local
914 tmp_ptr = lp_build_alloca(gallivm, f32x4t, ""); in lp_build_fetch_rgba_aos()
924 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pf32t, ""); in lp_build_fetch_rgba_aos()
940 tmps[k] = LLVMBuildLoad(builder, tmp_ptr, ""); in lp_build_fetch_rgba_aos()
/external/libvpx/libvpx/vpx_dsp/mips/
Dfwd_txfm_msa.c28 void fdct8x16_1d_column(const int16_t *input, int16_t *tmp_ptr, in fdct8x16_1d_column() argument
54 ST_SH8(tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7, tmp_ptr, 32); in fdct8x16_1d_column()
58 tmp_ptr += 16; in fdct8x16_1d_column()
92 ST_SH(in8, tmp_ptr); in fdct8x16_1d_column()
97 ST_SH(in8, tmp_ptr + 224); in fdct8x16_1d_column()
104 ST_SH(in8, tmp_ptr + 128); in fdct8x16_1d_column()
109 ST_SH(in8, tmp_ptr + 96); in fdct8x16_1d_column()
127 ST_SH(in8, tmp_ptr + 64); in fdct8x16_1d_column()
132 ST_SH(in8, tmp_ptr + 160); in fdct8x16_1d_column()
140 ST_SH(in8, tmp_ptr + 192); in fdct8x16_1d_column()
[all …]
Dfwd_txfm_msa.h361 void fdct8x16_1d_column(const int16_t *input, int16_t *tmp_ptr,
/external/libxcam/modules/ocl/
Dcl_pyramid_blender.cpp163 float *tmp_ptr = NULL; in gauss_blur_buffer() local
171 tmp_ptr = (float *)xcam_malloc (buf_len * sizeof (float)); in gauss_blur_buffer()
172 XCAM_ASSERT (tmp_ptr); in gauss_blur_buffer()
174 tmp_ptr[i] = 0.0f; in gauss_blur_buffer()
176 tmp_ptr[i] += buf_ptr[clamp(i + j, 0, buf_len)] * coeff[g_radius + j]; in gauss_blur_buffer()
181 buf_ptr[i] = tmp_ptr[i]; in gauss_blur_buffer()
183 xcam_free (tmp_ptr); in gauss_blur_buffer()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c568 uint8_t *tmp_ptr; in fp_estimate_point_noise() local
576 tmp_ptr = src_ptr - stride - 1; in fp_estimate_point_noise()
579 diff = abs((int)centre_val - (int)tmp_ptr[j]); in fp_estimate_point_noise()
583 sum_val += (int)tmp_ptr[j] * (int)*kernal_ptr; in fp_estimate_point_noise()
587 tmp_ptr += stride; in fp_estimate_point_noise()
609 uint8_t *tmp_ptr; in fp_highbd_estimate_point_noise() local
618 tmp_ptr = src_ptr - stride - 1; in fp_highbd_estimate_point_noise()
620 tmp_ptr16 = CONVERT_TO_SHORTPTR(tmp_ptr); in fp_highbd_estimate_point_noise()
630 tmp_ptr += stride; in fp_highbd_estimate_point_noise()
Dvp9_encoder.c4508 uint8_t *tmp_ptr; local
4512 tmp_ptr = src_ptr - (stride * (half_k_size + 1)) - (half_k_size + 1);
4515 max_diff = VPXMAX(max_diff, abs((int)*src_ptr - (int)tmp_ptr[j]));
4517 tmp_ptr += stride;
4529 tmp_ptr = src_ptr - (stride * half_k_size) - half_k_size;
4532 add_denoise_point((int)*src_ptr, (int)tmp_ptr[j], thresh, *kernal_ptr,
4536 tmp_ptr += stride;
4553 uint16_t *tmp_ptr; local
4557 tmp_ptr = src_ptr - (stride * (half_k_size + 1)) - (half_k_size + 1);
4560 max_diff = VPXMAX(max_diff, abs((int)src_ptr - (int)tmp_ptr[j]));
[all …]
/external/libxml2/
Dnanohttp.c567 char *tmp_ptr = ctxt->in; in xmlNanoHTTPRecv() local
570 ctxt->in = (char *) xmlRealloc(tmp_ptr, ctxt->inlen); in xmlNanoHTTPRecv()
573 xmlFree(tmp_ptr); in xmlNanoHTTPRecv()
DxmlIO.c1553 unsigned char * tmp_ptr = NULL; in xmlZMemBuffExtend() local
1573 tmp_ptr = xmlRealloc( buff->zbuff, new_size ); in xmlZMemBuffExtend()
1574 if ( tmp_ptr != NULL ) { in xmlZMemBuffExtend()
1577 buff->zbuff = tmp_ptr; in xmlZMemBuffExtend()
1578 buff->zctrl.next_out = tmp_ptr + cur_used; in xmlZMemBuffExtend()