summaryrefslogtreecommitdiffstats
path: root/scriptc/rs_atomic.rsh
diff options
context:
space:
mode:
authorJean-Luc Brouillet <jeanluc@google.com>2015-04-02 16:15:25 -0700
committerJean-Luc Brouillet <jeanluc@google.com>2015-04-02 16:16:52 -0700
commit4a73004df5231d188c41267fee17c566ae7c3631 (patch)
treeb6a7ec31a3231a9648e7a91db29902c8c215230c /scriptc/rs_atomic.rsh
parent301dc422de63135cd617546dad52e11c89fafaf7 (diff)
downloadandroid_frameworks_rs-4a73004df5231d188c41267fee17c566ae7c3631.tar.gz
android_frameworks_rs-4a73004df5231d188c41267fee17c566ae7c3631.tar.bz2
android_frameworks_rs-4a73004df5231d188c41267fee17c566ae7c3631.zip
Add "deprecated:" flag to the spec files.
Also cleanup of the documentation found in the header and html files. Change-Id: I8a606d1af93b0fd0f912ac23aabdb73aa99233b4
Diffstat (limited to 'scriptc/rs_atomic.rsh')
-rw-r--r--scriptc/rs_atomic.rsh41
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
*/