Lines Matching refs:rc
42 int rc; in setEnabled() local
45 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &mPreviousTs); in setEnabled()
46 if (rc) { in setEnabled()
53 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs); in setEnabled()
54 if (rc) { in setEnabled()
64 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); in setEnabled()
65 if (rc) { in setEnabled()
106 int rc; in sample() local
107 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); in sample()
108 if (rc) { in sample()
137 int rc; in elapsed() local
138 rc = clock_gettime(CLOCK_MONOTONIC, &ts); in elapsed()
139 if (rc) { in elapsed()
159 int rc; in resetElapsed() local
160 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs); in resetElapsed()
161 if (rc) { in resetElapsed()