/system/core/include/cutils/ |
D | atomic-mips64.h | 66 int android_atomic_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) in android_atomic_cas() argument 78 : [ptr] "r" (ptr), [old] "r" (old_value), [new_value] "r" (new_value) in android_atomic_cas() 86 int32_t new_value, in android_atomic_acquire_cas() argument 89 int status = android_atomic_cas(old_value, new_value, ptr); in android_atomic_acquire_cas() 96 int32_t new_value, in android_atomic_release_cas() argument 100 return android_atomic_cas(old_value, new_value, ptr); in android_atomic_release_cas()
|
D | atomic-mips.h | 73 android_atomic_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) in android_atomic_cas() argument 85 : [ptr] "r" (ptr), [old] "r" (old_value), [new_value] "r" (new_value) in android_atomic_cas() 93 int32_t new_value, in android_atomic_acquire_cas() argument 96 int status = android_atomic_cas(old_value, new_value, ptr); in android_atomic_acquire_cas() 103 int32_t new_value, in android_atomic_release_cas() argument 107 return android_atomic_cas(old_value, new_value, ptr); in android_atomic_release_cas()
|
D | atomic-x86_64.h | 80 int android_atomic_cas(int32_t old_value, int32_t new_value, in android_atomic_cas() argument 86 : "q" (new_value), "m" (*ptr), "0" (old_value) in android_atomic_cas() 92 int android_atomic_acquire_cas(int32_t old_value, int32_t new_value, in android_atomic_acquire_cas() argument 96 return android_atomic_cas(old_value, new_value, ptr); in android_atomic_acquire_cas() 100 int android_atomic_release_cas(int32_t old_value, int32_t new_value, in android_atomic_release_cas() argument 104 return android_atomic_cas(old_value, new_value, ptr); in android_atomic_release_cas()
|
D | atomic-x86.h | 73 android_atomic_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) in android_atomic_cas() argument 78 : "q" (new_value), "m" (*ptr), "0" (old_value) in android_atomic_cas() 85 int32_t new_value, in android_atomic_acquire_cas() argument 89 return android_atomic_cas(old_value, new_value, ptr); in android_atomic_acquire_cas() 94 int32_t new_value, in android_atomic_release_cas() argument 98 return android_atomic_cas(old_value, new_value, ptr); in android_atomic_release_cas()
|
D | atomic-arm64.h | 85 int android_atomic_cas(int32_t old_value, int32_t new_value, in android_atomic_cas() argument 88 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; in android_atomic_cas() 92 int android_atomic_acquire_cas(int32_t old_value, int32_t new_value, in android_atomic_acquire_cas() argument 95 int status = android_atomic_cas(old_value, new_value, ptr); in android_atomic_acquire_cas() 101 int android_atomic_release_cas(int32_t old_value, int32_t new_value, in android_atomic_release_cas() argument 105 return android_atomic_cas(old_value, new_value, ptr); in android_atomic_release_cas()
|
D | atomic-arm.h | 70 int android_atomic_cas(int32_t old_value, int32_t new_value, in android_atomic_cas() argument 83 : "r" (ptr), "Ir" (old_value), "r" (new_value) in android_atomic_cas() 90 int android_atomic_acquire_cas(int32_t old_value, int32_t new_value, in android_atomic_acquire_cas() argument 93 int status = android_atomic_cas(old_value, new_value, ptr); in android_atomic_acquire_cas() 99 int android_atomic_release_cas(int32_t old_value, int32_t new_value, in android_atomic_release_cas() argument 103 return android_atomic_cas(old_value, new_value, ptr); in android_atomic_release_cas()
|
/system/media/audio_route/ |
D | audio_route.c | 39 int *new_value; member 315 memcpy(ar->mixer_state[ctl_index].new_value, path->setting[i].value, in path_apply() 338 memcpy(ar->mixer_state[ctl_index].new_value, in path_reset() 439 ar->mixer_state[ctl_index].new_value[id] = value; in start_tag() 446 ar->mixer_state[ctl_index].new_value[i] = value; in start_tag() 500 ar->mixer_state[i].new_value = malloc(num_values * sizeof(int)); in alloc_mixer_state() 507 memcpy(ar->mixer_state[i].new_value, ar->mixer_state[i].old_value, in alloc_mixer_state() 525 free(ar->mixer_state[i].new_value); in free_mixer_state() 554 if (ar->mixer_state[i].old_value[j] != ar->mixer_state[i].new_value[j]) { in audio_route_update_mixer() 561 mixer_ctl_set_value(ctl, 0, ar->mixer_state[i].new_value[0]); in audio_route_update_mixer() [all …]
|