Searched refs:new_i (Results 1 – 3 of 3) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | atomic.h | 102 static inline bool pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 103 return __sync_bool_compare_and_swap(&a->value, old_i, new_i); in pa_atomic_cmpxchg() 189 static inline bool pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 190 unsigned int r = atomic_cas_uint(&a->value, (unsigned int) old_i, (unsigned int) new_i); in pa_atomic_cmpxchg() 252 static inline int pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 253 return atomic_cmpset_int((unsigned int *) &a->value, old_i, new_i); in pa_atomic_cmpxchg() 328 static inline bool pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 333 : "r" (new_i), "m" (a->value), "0" (old_i)); in pa_atomic_cmpxchg() 436 static inline bool pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 446 : "r" (&a->value), "Ir" (old_i), "r" (new_i) in pa_atomic_cmpxchg() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.h | 1667 size_t new_i = target.offset; 1669 SetCtrl(new_i, H2(hash), capacity_, ctrl_, slots_, sizeof(slot_type)); 1670 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i); 1711 const size_t new_i = target.offset; 1723 if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) { 1727 if (IsEmpty(ctrl_[new_i])) { 1731 SetCtrl(new_i, H2(hash), capacity_, ctrl_, slots_, sizeof(slot_type)); 1732 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i); 1735 assert(IsDeleted(ctrl_[new_i])); 1736 SetCtrl(new_i, H2(hash), capacity_, ctrl_, slots_, sizeof(slot_type)); [all …]
|
/third_party/python/Python/ |
D | hamt.c | 1834 Py_ssize_t new_i = 0; in hamt_node_array_without() local 1867 new->b_array[new_i] = key; in hamt_node_array_without() 1869 new->b_array[new_i + 1] = val; in hamt_node_array_without() 1872 new->b_array[new_i] = NULL; in hamt_node_array_without() 1874 new->b_array[new_i + 1] = (PyObject*)node; in hamt_node_array_without() 1891 new->b_array[new_i] = NULL; in hamt_node_array_without() 1893 new->b_array[new_i + 1] = (PyObject*)node; in hamt_node_array_without() 1896 new_i += 2; in hamt_node_array_without()
|