Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 13 of 13) sorted by relevance

/development/ndk/platforms/android-9/arch-x86/include/asm/
Datomic_32.h25 typedef struct { int counter; } atomic_t; member
27 #define atomic_read(v) ((v)->counter)
29 #define atomic_set(v,i) (((v)->counter) = (i))
30 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
31 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
Dlocal_32.h36 #define local_cmpxchg(l, o, n) (cmpxchg_local(&((l)->a.counter), (o), (n)))
37 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n)))
/development/ndk/platforms/android-9/arch-mips/include/asm/
Datomic.h27 typedef struct { volatile int counter; } atomic_t; member
30 #define atomic_read(v) ((v)->counter)
31 #define atomic_set(v, i) ((v)->counter = (i))
32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))
34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
Dlocal.h41 #define local_cmpxchg(l, o, n) ((long)cmpxchg_local(&((l)->a.counter), (o), (n)))
42 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n)))
54 #define __local_inc(l) ((l)->a.counter++)
55 #define __local_dec(l) ((l)->a.counter++)
56 #define __local_add(i, l) ((l)->a.counter+=(i))
57 #define __local_sub(i, l) ((l)->a.counter-=(i))
Dmipsregs.h474 …e read_r10k_perf_cntr(counter) ({ unsigned int __res; __asm__ __volatile__( "mfpc\t%0, %1" … argument
475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r… argument
476 … read_r10k_perf_event(counter) ({ unsigned int __res; __asm__ __volatile__( "mfps\t%0, %1" … argument
477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r… argument
/development/ndk/platforms/android-9/include/sys/
Deventfd.h45 extern int eventfd_read(int fd, eventfd_t *counter);
46 extern int eventfd_write(int fd, const eventfd_t counter);
/development/ndk/sources/android/libportable/common/include/
Deventfd_portable.h57 extern int eventfd_read(int fd, eventfd_t *counter);
58 extern int eventfd_write(int fd, const eventfd_t counter);
/development/ndk/platforms/android-3/arch-arm/include/asm/
Datomic.h17 typedef struct { volatile int counter; } atomic_t; member
/development/samples/browseable/BatchStepSensor/
D_index.jd7 … <p>This sample demonstrates the use of the two step sensors (step detector and counter) and
12 event when a step is detected, while the step counter returns the total number of
/development/samples/ApiDemos/src/com/example/android/apis/preference/
DLaunchingPreferences.java97 final int counter = sharedPref.getInt(AdvancedPreferences.KEY_MY_PREFERENCE, 0); in updateCounterText() local
98 mCounterText.setText(getString(R.string.counter_value_is) + " " + counter); in updateCounterText()
/development/samples/browseable/JumpingJack/Wearable/src/com.example.android.wearable.jumpingjack/fragments/
DCounterFragment.java54 mCounterText = (TextView) view.findViewById(R.id.counter); in onCreateView()
/development/ndk/platforms/android-5/include/GLES2/
Dgl2ext.h580 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei…
581 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pn…
592 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, …
593 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GL…
/development/ndk/platforms/android-L/include/arpa/
Dnameser.h268 int counter; member