/third_party/musl/ndk-test/sanitize/scudo/src/ |
D | realloc.cpp | 21 void *p, *old_p; in main() local 45 old_p = p; in main() 51 } while (p == old_p); in main() 59 old_p = p = realloc(nullptr, size); in main() 66 assert(p == old_p); in main() 68 assert(p == old_p); in main() 71 assert(p != old_p); in main() 75 old_p = nullptr; in main()
|
/third_party/pulseaudio/src/pulsecore/ |
D | atomic.h | 137 static inline bool pa_atomic_ptr_cmpxchg(pa_atomic_ptr_t *a, void *old_p, void* new_p) { in pa_atomic_ptr_cmpxchg() argument 138 return __sync_bool_compare_and_swap(&a->value, (long) old_p, (long) new_p); in pa_atomic_ptr_cmpxchg() 209 static inline bool pa_atomic_ptr_cmpxchg(pa_atomic_ptr_t *a, void *old_p, void* new_p) { in pa_atomic_ptr_cmpxchg() argument 210 void *r = atomic_cas_ptr(&a->value, old_p, new_p); in pa_atomic_ptr_cmpxchg() 211 return r == old_p; in pa_atomic_ptr_cmpxchg() 310 static inline int pa_atomic_ptr_cmpxchg(pa_atomic_ptr_t *a, void *old_p, void* new_p) { in pa_atomic_ptr_cmpxchg() argument 312 return atomic_cmpset_ptr(&a->value, (unsigned long) old_p, (unsigned long) new_p); in pa_atomic_ptr_cmpxchg() 314 … return atomic_cmpset_ptr((unsigned int *) &a->value, (unsigned int) old_p, (unsigned int) new_p); in pa_atomic_ptr_cmpxchg() 384 static inline bool pa_atomic_ptr_cmpxchg(pa_atomic_ptr_t *a, void *old_p, void* new_p) { in pa_atomic_ptr_cmpxchg() argument 389 : "r" (new_p), "m" (a->value), "0" (old_p)); in pa_atomic_ptr_cmpxchg() [all …]
|
/third_party/boost/boost/interprocess/indexes/ |
D | iunordered_set_index.hpp | 275 bucket_ptr old_p = this->bucket_pointer(); in reserve() local 280 if(old_p != bucket_ptr(&this->init_bucket)) in reserve() 281 new_p = expand_or_create_buckets(old_p, old_n, this->alloc, new_n); in reserve() 291 if(new_p != old_p && old_p != bucket_ptr(&this->init_bucket)){ in reserve() 292 destroy_buckets(this->alloc, old_p, old_n); in reserve() 302 bucket_ptr old_p = this->bucket_pointer(); in shrink_to_fit() local 304 if(!this->size() && old_p != bucket_ptr(&this->init_bucket)){ in shrink_to_fit() 306 destroy_buckets(this->alloc, old_p, cur_count); in shrink_to_fit() 316 shrink_buckets(old_p, cur_count, this->alloc, sug_count); in shrink_to_fit() 324 this->rehash(bucket_traits(old_p, sug_count)); in shrink_to_fit()
|
/third_party/boost/boost/math/special_functions/ |
D | hypergeometric_pFq.hpp | 97 old_p = T::default_precision(); in scoped_precision() 102 T::default_precision(old_p); in ~scoped_precision() 104 unsigned old_p; member
|
/third_party/flatbuffers/include/flatbuffers/ |
D | grpc.h | 123 virtual uint8_t *reallocate_downward(uint8_t *old_p, size_t old_size, in reallocate_downward() argument 126 FLATBUFFERS_ASSERT(old_p == GRPC_SLICE_START_PTR(slice_)); in reallocate_downward() 132 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, in reallocate_downward()
|
D | flatbuffers.h | 682 virtual uint8_t *reallocate_downward(uint8_t *old_p, size_t old_size, 687 memcpy_downward(old_p, old_size, new_p, new_size, in_use_back, 689 deallocate(old_p, old_size); 698 void memcpy_downward(uint8_t *old_p, size_t old_size, uint8_t *new_p, 701 memcpy(new_p + new_size - in_use_back, old_p + old_size - in_use_back, 703 memcpy(new_p, old_p, in_use_front); 735 inline uint8_t *ReallocateDownward(Allocator *allocator, uint8_t *old_p, 738 return allocator ? allocator->reallocate_downward(old_p, old_size, new_size, 741 old_p, old_size, new_size, in_use_back, in_use_front);
|
/third_party/boost/boost/filesystem/ |
D | operations.hpp | 155 void rename(const path& old_p, const path& new_p, system::error_code* ec=0); 465 void rename(const path& old_p, const path& new_p) {detail::rename(old_p, new_p);} in rename() argument 468 void rename(const path& old_p, const path& new_p, system::error_code& ec) BOOST_NOEXCEPT in rename() argument 469 {detail::rename(old_p, new_p, &ec);} in rename()
|
/third_party/flutter/skia/third_party/externals/libwebp/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()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | frame_enc.c | 158 const int old_p = VP8CoeffsProba0[t][b][c][p]; in FinalizeTokenProbas() local 160 const int old_cost = BranchCost(nb, total, old_p) in FinalizeTokenProbas() 169 has_changed |= (new_p != old_p); in FinalizeTokenProbas() 172 proba->coeffs_[t][b][c][p] = old_p; in FinalizeTokenProbas()
|
/third_party/boost/boost/graph/ |
D | kamada_kawai_spring_layout.hpp | 402 vertex_descriptor old_p = p; in run() local 408 = compute_partial_derivative(*ui, old_p); in run()
|
/third_party/boost/boost/container/ |
D | vector.hpp | 1264 pointer const old_p = this->m_holder.start(); member in boost::container::vector 1265 if(old_p){ 1267 this->m_holder.deallocate(old_p, old_capacity); 2350 pointer const old_p = this->m_holder.start(); in priv_merge_in_new_buffer() local 2352 boost::container::destroy_alloc_n(a, boost::movelib::to_raw_pointer(old_p), old_size); in priv_merge_in_new_buffer() 2354 this->m_holder.deallocate(old_p, old_cap); in priv_merge_in_new_buffer()
|
/third_party/boost/libs/filesystem/src/ |
D | operations.cpp | 2124 void rename(const path& old_p, const path& new_p, error_code* ec) in rename() argument 2126 error(!BOOST_MOVE_FILE(old_p.c_str(), new_p.c_str()) ? BOOST_ERRNO : 0, old_p, new_p, in rename()
|
/third_party/freetype/src/sfnt/ |
D | ttcmap.c | 1302 FT_Byte* old_p; in tt_cmap4_char_map_binary() local 1305 old_p = p; in tt_cmap4_char_map_binary() 1311 p = old_p; in tt_cmap4_char_map_binary()
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | ttcmap.c | 1312 FT_Byte* old_p; in tt_cmap4_char_map_binary() local 1315 old_p = p; in tt_cmap4_char_map_binary() 1321 p = old_p; in tt_cmap4_char_map_binary()
|
/third_party/flutter/skia/third_party/externals/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()
|