Searched refs:new_i (Results 1 – 5 of 5) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
D | atomic.h | 101 static inline bool pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 102 return __sync_bool_compare_and_swap(&a->value, old_i, new_i); in pa_atomic_cmpxchg() 188 static inline bool pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 189 unsigned int r = atomic_cas_uint(&a->value, (unsigned int) old_i, (unsigned int) new_i); in pa_atomic_cmpxchg() 284 static inline int pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 285 return atomic_cmpset_int((unsigned int *) &a->value, old_i, new_i); in pa_atomic_cmpxchg() 360 static inline bool pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 365 : "r" (new_i), "m" (a->value), "0" (old_i)); in pa_atomic_cmpxchg() 468 static inline bool pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) { in pa_atomic_cmpxchg() argument 478 : "r" (&a->value), "Ir" (old_i), "r" (new_i) in pa_atomic_cmpxchg() [all …]
|
/third_party/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.h | 1542 size_t new_i = target.offset; 1544 set_ctrl(new_i, H2(hash)); 1545 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, old_slots + i); 1586 size_t new_i = target.offset; 1597 if (ABSL_PREDICT_TRUE(probe_index(new_i) == probe_index(i))) { 1601 if (IsEmpty(ctrl_[new_i])) { 1605 set_ctrl(new_i, H2(hash)); 1606 PolicyTraits::transfer(&alloc_ref(), slots_ + new_i, slots_ + i); 1609 assert(IsDeleted(ctrl_[new_i])); 1610 set_ctrl(new_i, H2(hash)); [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()
|
/third_party/glib/glib/ |
D | goption.c | 2120 gint new_i = i, arg_length; in g_option_context_parse() local 2135 i, &new_i, arg[j], in g_option_context_parse() 2145 if (!parse_short_option (context, group, i, &new_i, arg[j], in g_option_context_parse() 2178 i = new_i; in g_option_context_parse() 2183 i = new_i; in g_option_context_parse()
|