diff options
Diffstat (limited to 'scriptc/rs_atomic.rsh')
| -rw-r--r-- | scriptc/rs_atomic.rsh | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/scriptc/rs_atomic.rsh b/scriptc/rs_atomic.rsh index 29c294a6..58ce1307 100644 --- a/scriptc/rs_atomic.rsh +++ b/scriptc/rs_atomic.rsh @@ -14,7 +14,7 @@ * limitations under the License. */ -// Don't edit this file! It is auto-generated by frameworks/rs/api/gen_runtime. +// Don't edit this file! It is auto-generated by frameworks/rs/api/generate.sh. /* * rs_atomic.rsh: Atomic routines @@ -32,6 +32,7 @@ * threads. Updating globals should be done with atomic functions. If possible, * modify your algorithm to avoid them altogether. */ + #ifndef RENDERSCRIPT_RS_ATOMIC_RSH #define RENDERSCRIPT_RS_ATOMIC_RSH @@ -41,8 +42,8 @@ * Atomicly adds a value to the value at addr, i.e. *addr += value. * * Parameters: - * addr Address of the value to modify - * value Amount to add + * addr: Address of the value to modify + * value: Amount to add * * Returns: Old value */ @@ -63,8 +64,8 @@ extern int32_t __attribute__((overloadable)) * i.e. *addr &= value * * Parameters: - * addr Address of the value to modify - * value Value to and with + * addr: Address of the value to modify + * value: Value to and with * * Returns: Old value */ @@ -88,9 +89,9 @@ extern int32_t __attribute__((overloadable)) * by rsAtomicCas is compareValue. * * Parameters: - * addr The address to compare and replace if the compare passes. - * compareValue The value to test *addr against. - * newValue The value to write if the test passes. + * addr: The address to compare and replace if the compare passes. + * compareValue: The value to test *addr against. + * newValue: The value to write if the test passes. * * Returns: Old value */ @@ -110,7 +111,7 @@ extern uint32_t __attribute__((overloadable)) * Atomicly subtracts one from the value at addr. Equal to rsAtomicSub(addr, 1) * * Parameters: - * addr Address of the value to decrement + * addr: Address of the value to decrement * * Returns: Old value */ @@ -130,7 +131,7 @@ extern int32_t __attribute__((overloadable)) * Atomicly adds one to the value at addr. Equal to rsAtomicAdd(addr, 1) * * Parameters: - * addr Address of the value to increment + * addr: Address of the value to increment * * Returns: Old value */ @@ -151,8 +152,8 @@ extern int32_t __attribute__((overloadable)) * *addr = max(*addr, value) * * Parameters: - * addr Address of the value to modify - * value Comparison value + * addr: Address of the value to modify + * value: Comparison value * * Returns: Old value */ @@ -173,8 +174,8 @@ extern int32_t __attribute__((overloadable)) * *addr = min(*addr, value) * * Parameters: - * addr Address of the value to modify - * value Comparison value + * addr: Address of the value to modify + * value: Comparison value * * Returns: Old value */ @@ -195,8 +196,8 @@ extern int32_t __attribute__((overloadable)) * i.e. *addr |= value * * Parameters: - * addr Address of the value to modify - * value Value to or with + * addr: Address of the value to modify + * value: Value to or with * * Returns: Old value */ @@ -216,8 +217,8 @@ extern int32_t __attribute__((overloadable)) * Atomicly subtracts a value from the value at addr, i.e. *addr -= value * * Parameters: - * addr Address of the value to modify - * value Amount to subtract + * addr: Address of the value to modify + * value: Amount to subtract * * Returns: Old value */ @@ -238,8 +239,8 @@ extern int32_t __attribute__((overloadable)) * i.e. *addr ^= value * * Parameters: - * addr Address of the value to modify - * value Value to xor with + * addr: Address of the value to modify + * value: Value to xor with * * Returns: Old value */ |
