/external/compiler-rt/test/scudo/ |
D | realloc.cpp | 19 void *p, *old_p; in main() local 24 old_p = p = realloc(nullptr, size); in main() 31 if (p != old_p) in main() 34 if (p != old_p) in main() 38 if (p == old_p) in main() 44 old_p = nullptr; in main()
|
D | quarantine.cpp | 14 void *p, *old_p; in main() local 21 old_p = p; in main() 26 if (old_p == p) in main() 36 found = (p == old_p); in main()
|
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 177 void *MsanReallocate(StackTrace *stack, void *old_p, uptr new_size, in MsanReallocate() argument 179 if (!old_p) in MsanReallocate() 182 MsanDeallocate(stack, old_p); in MsanReallocate() 185 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p)); in MsanReallocate() 187 uptr actually_allocated_size = allocator.GetActuallyAllocatedSize(old_p); in MsanReallocate() 193 __msan_clear_and_unpoison((char *)old_p + old_size, in MsanReallocate() 197 PoisonMemory((char *)old_p + old_size, new_size - old_size, stack); in MsanReallocate() 200 return old_p; in MsanReallocate() 206 CopyMemory(new_p, old_p, memcpy_size, stack); in MsanReallocate() 207 MsanDeallocate(stack, old_p); in MsanReallocate()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/ |
D | current_path.pass.cpp | 64 const path old_p = current_path(); in TEST_CASE() local 67 TEST_CHECK(old_p == current_path()); in TEST_CASE() 87 const path old_p = current_path(); in TEST_CASE() local 90 TEST_CHECK(old_p == current_path()); in TEST_CASE()
|
/external/flatbuffers/include/flatbuffers/ |
D | grpc.h | 124 virtual uint8_t *reallocate_downward(uint8_t *old_p, size_t old_size, in reallocate_downward() argument 127 FLATBUFFERS_ASSERT(old_p == GRPC_SLICE_START_PTR(slice_)); in reallocate_downward() 133 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, in reallocate_downward()
|
D | flatbuffers.h | 450 virtual uint8_t *reallocate_downward(uint8_t *old_p, size_t old_size, 455 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, 457 deallocate(old_p, old_size); 466 void memcpy_downward(uint8_t *old_p, size_t old_size, 469 memcpy(new_p + new_size - in_use_back, old_p + old_size - in_use_back, 471 memcpy(new_p, old_p, in_use_front); 505 inline uint8_t *ReallocateDownward(Allocator *allocator, uint8_t *old_p, 509 ? allocator->reallocate_downward(old_p, old_size, new_size, 511 : DefaultAllocator().reallocate_downward(old_p, old_size, new_size,
|
/external/iproute2/ip/ |
D | ip6tunnel.c | 279 struct ip6_tnl_parm2 old_p = {}; in parse_args() local 281 if (tnl_get_ioctl(*argv, &old_p)) in parse_args() 283 *p = old_p; in parse_args()
|
D | iptunnel.c | 184 struct ip_tunnel_parm old_p = {}; in parse_args() local 186 if (tnl_get_ioctl(*argv, &old_p)) in parse_args() 188 *p = old_p; in parse_args()
|
/external/webp/src/enc/ |
D | frame_enc.c | 155 const int old_p = VP8CoeffsProba0[t][b][c][p]; in FinalizeTokenProbas() local 157 const int old_cost = BranchCost(nb, total, old_p) in FinalizeTokenProbas() 166 has_changed |= (new_p != old_p); in FinalizeTokenProbas() 169 proba->coeffs_[t][b][c][p] = old_p; in FinalizeTokenProbas()
|
/external/freetype/src/sfnt/ |
D | ttcmap.c | 1303 FT_Byte* old_p; in tt_cmap4_char_map_binary() local 1306 old_p = p; in tt_cmap4_char_map_binary() 1312 p = old_p; in tt_cmap4_char_map_binary()
|