Home
last modified time | relevance | path

Searched refs:new_p (Results 1 – 16 of 16) sorted by relevance

/external/valgrind/main/memcheck/tests/
Dundef_malloc_args.c8 char *new_p; in main() local
19 new_p = realloc(p, def_size); in main()
21 (void) VALGRIND_MAKE_MEM_UNDEFINED(&new_p, 1); in main()
22 new_p = realloc(new_p, def_size); in main()
24 (void) VALGRIND_MAKE_MEM_UNDEFINED(&new_p, 1); in main()
25 free (new_p); in main()
30 new_p = calloc(nmemb, def_size); in main()
31 free (new_p); in main()
37 new_p = memalign(alignment, def_size); in main()
38 free(new_p); in main()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
Dencodemv.c202 const vp8_prob new_p, in update() argument
208 const int new_b = vp8_cost_branch(ct, new_p); in update()
213 *cur_p = new_p; in update()
215 vp8_write_literal(w, new_p >> 1, 7); in update()
331 const vp8_prob *const new_p = Pnew + MVPshort; in write_component_probs() local
338 update(w, short_bct[j], cur_p + j, new_p[j], *Pupdate++, updated); in write_component_probs()
344 const vp8_prob *const new_p = Pnew + MVPbits; in write_component_probs() local
351 update(w, bit_ct[j], cur_p + j, new_p[j], *Pupdate++, updated); in write_component_probs()
/external/libvpx/libvpx/vp8/encoder/
Dencodemv.c202 const vp8_prob new_p, in update() argument
208 const int new_b = vp8_cost_branch(ct, new_p); in update()
213 *cur_p = new_p; in update()
215 vp8_write_literal(w, new_p >> 1, 7); in update()
331 const vp8_prob *const new_p = Pnew + MVPshort; in write_component_probs() local
338 update(w, short_bct[j], cur_p + j, new_p[j], *Pupdate++, updated); in write_component_probs()
344 const vp8_prob *const new_p = Pnew + MVPbits; in write_component_probs() local
351 update(w, bit_ct[j], cur_p + j, new_p[j], *Pupdate++, updated); in write_component_probs()
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc165 void *new_p = MsanAllocate(stack, new_size, alignment, zeroise); in MsanReallocate() local
167 if (new_p) { in MsanReallocate()
168 __msan_memcpy(new_p, old_p, memcpy_size); in MsanReallocate()
171 return new_p; in MsanReallocate()
/external/openssl/ssl/
Dkssl.c2163 krb5_principal new_p = NULL; in kssl_build_principal_2() local
2167 (new_p = (krb5_principal) calloc(1, sizeof(krb5_principal_data))) in kssl_build_principal_2()
2169 new_p->length = 2; in kssl_build_principal_2()
2170 new_p->data = p_data; in kssl_build_principal_2()
2174 krb5_princ_set_realm_length(context, new_p, rlen); in kssl_build_principal_2()
2175 krb5_princ_set_realm_data(context, new_p, new_r); in kssl_build_principal_2()
2177 if ((new_p->data[0].data = calloc(1, slen + 1)) == NULL) goto err; in kssl_build_principal_2()
2178 memcpy(new_p->data[0].data, svc, slen); in kssl_build_principal_2()
2179 new_p->data[0].length = slen; in kssl_build_principal_2()
2181 if ((new_p->data[1].data = calloc(1, hlen + 1)) == NULL) goto err; in kssl_build_principal_2()
[all …]
/external/chromium_org/third_party/openssl/openssl/ssl/
Dkssl.c2163 krb5_principal new_p = NULL; in kssl_build_principal_2() local
2167 (new_p = (krb5_principal) calloc(1, sizeof(krb5_principal_data))) in kssl_build_principal_2()
2169 new_p->length = 2; in kssl_build_principal_2()
2170 new_p->data = p_data; in kssl_build_principal_2()
2174 krb5_princ_set_realm_length(context, new_p, rlen); in kssl_build_principal_2()
2175 krb5_princ_set_realm_data(context, new_p, new_r); in kssl_build_principal_2()
2177 if ((new_p->data[0].data = calloc(1, slen + 1)) == NULL) goto err; in kssl_build_principal_2()
2178 memcpy(new_p->data[0].data, svc, slen); in kssl_build_principal_2()
2179 new_p->data[0].length = slen; in kssl_build_principal_2()
2181 if ((new_p->data[1].data = calloc(1, hlen + 1)) == NULL) goto err; in kssl_build_principal_2()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c138 const vp9_prob new_p = get_binary_prob(ct[0], ct[1]) | 1; in update_mv() local
140 cost_branch256(ct, new_p) + vp9_cost_one(upd_p) + 7 * 256; in update_mv()
143 *cur_p = new_p; in update_mv()
144 vp9_write_literal(w, new_p >> 1, 7); in update_mv()
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_encodemv.c138 const vp9_prob new_p = get_binary_prob(ct[0], ct[1]) | 1; in update_mv() local
140 cost_branch256(ct, new_p) + vp9_cost_one(upd_p) + 7 * 256; in update_mv()
143 *cur_p = new_p; in update_mv()
144 vp9_write_literal(w, new_p >> 1, 7); in update_mv()
/external/chromium_org/base/allocator/
Dallocator_unittest.cc402 void* new_p = realloc(p, start_sizes[s] + deltas[d]); in TEST() local
403 ASSERT_EQ(p, new_p); // realloc should not allocate new memory in TEST()
407 void* new_p = realloc(p, start_sizes[s] - deltas[d]); in TEST() local
408 ASSERT_EQ(p, new_p); // realloc should not allocate new memory in TEST()
/external/webp/src/enc/
Dframe.c160 const int new_p = CalcTokenProba(nb, total); in FinalizeTokenProbas() local
163 const int new_cost = BranchCost(nb, total, new_p) in FinalizeTokenProbas()
169 proba->coeffs_[t][b][c][p] = new_p; in FinalizeTokenProbas()
170 has_changed |= (new_p != old_p); in FinalizeTokenProbas()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dtcmalloc_unittest.cc613 void* new_p = realloc(p, start_sizes[s] + deltas[d]); in TestRealloc() local
614 CHECK(p == new_p); // realloc should not allocate new memory in TestRealloc()
618 void* new_p = realloc(p, start_sizes[s] - deltas[d]); in TestRealloc() local
619 CHECK(p == new_p); // realloc should not allocate new memory in TestRealloc()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dtcmalloc_unittest.cc613 void* new_p = realloc(p, start_sizes[s] + deltas[d]); in TestRealloc() local
614 CHECK(p == new_p); // realloc should not allocate new memory in TestRealloc()
618 void* new_p = realloc(p, start_sizes[s] - deltas[d]); in TestRealloc() local
619 CHECK(p == new_p); // realloc should not allocate new memory in TestRealloc()
/external/chromium_org/third_party/libwebp/enc/
Dframe.c160 const int new_p = CalcTokenProba(nb, total); in FinalizeTokenProbas() local
163 const int new_cost = BranchCost(nb, total, new_p) in FinalizeTokenProbas()
169 proba->coeffs_[t][b][c][p] = new_p; in FinalizeTokenProbas()
170 has_changed |= (new_p != old_p); in FinalizeTokenProbas()
/external/libcxx/include/
Dnew45 new_handler set_new_handler(new_handler new_p) noexcept;
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h1286 void *new_p = Allocate(cache, new_size, alignment); in Reallocate() local
1287 if (new_p) in Reallocate()
1288 internal_memcpy(new_p, p, memcpy_size); in Reallocate()
1290 return new_p; in Reallocate()
/external/chromium_org/chrome/common/extensions/permissions/
Dpermission_set_unittest.cc627 scoped_refptr<const PermissionSet> new_p( in TEST() local
632 old_p.get(), new_p.get(), extension_type); in TEST()