/device/generic/goldfish/wifi/ipv6proxy/ |
log.cpp | 27 struct timespec ts; local 30 if (newLine && clock_gettime(CLOCK_REALTIME, &ts) == 0) { 31 time_t now = ts.tv_sec; 35 snprintf(format, sizeof(format), "[%%T.%03lld] ", (long long)(ts.tv_nsec) / 1000000);
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/ |
sensor_data.h | 87 SensorData(SensorType type, uint64_t ts, float x, float y, float z) 88 : type(type), timestamp_nanos(ts) { 94 SensorData(SensorType type, uint64_t ts, float single_axis_sample) 95 : type(type), timestamp_nanos(ts) {
|
/external/adhd/cras/src/server/ |
cras_tm.h | 42 /* Get the amount of time before the next timer expires. ts is set to an 46 * ts - Filled with time before next event. 50 int cras_tm_get_next_timeout(const struct cras_tm *tm, struct timespec *ts);
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p8.cpp | 13 template<typename T> static constexpr T ts(); 25 int (*ts)() = &S::ts; 35 template<typename T> constexpr T S::ts() { return T(); } function in class:S
|
/external/libffi/testsuite/libffi.call/ |
struct2.c | 16 static test_structure_2 ABI_ATTR struct2(test_structure_2 ts) 18 ts.d1--; 19 ts.d2--; 21 return ts;
|
struct6.c | 15 static test_structure_6 ABI_ATTR struct6 (test_structure_6 ts) 17 ts.f += 1; 18 ts.d += 1; 20 return ts;
|
struct9.c | 16 static test_structure_9 ABI_ATTR struct9 (test_structure_9 ts) 18 ts.f += 1; 19 ts.i += 1; 21 return ts;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
10-1.c | 38 struct timespec ts; local 57 ts.tv_sec = time(NULL) - 1; 58 ts.tv_nsec = 0; 59 if (mq_timedreceive(mqdes, msgrv, BUFFER, &rvprio, &ts) == -1) {
|
10-2.c | 43 struct timespec ts; local 63 ts.tv_sec = time(NULL) - 1; /* Past time */ 64 ts.tv_nsec = 0; 65 if (mq_timedreceive(mqdes, msgrv, BUFFER, &rvprio, &ts) == -1) {
|
13-1.c | 38 struct timespec ts; local 52 ts.tv_sec = time(NULL) + 1; 53 ts.tv_nsec = 0; 54 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) {
|
14-1.c | 39 struct timespec ts; local 53 ts.tv_sec = time(NULL) + 1; 54 ts.tv_nsec = 0; 55 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) {
|
15-1.c | 40 struct timespec ts; local 58 ts.tv_sec = time(NULL) + 1; 59 ts.tv_nsec = 0; 60 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) > 0) {
|
17-1.c | 40 struct timespec ts; local 53 ts.tv_sec = time(NULL) + 1; 54 ts.tv_nsec = -1; 55 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) {
|
17-2.c | 41 struct timespec ts; local 54 ts.tv_sec = time(NULL) + 1; 55 ts.tv_nsec = 1000000000; 56 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) {
|
17-3.c | 41 struct timespec ts; local 54 ts.tv_sec = time(NULL) + 1; 55 ts.tv_nsec = 1000000000 + 1; 56 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) == -1) {
|
2-1.c | 39 struct timespec ts; local 57 ts.tv_sec = time(NULL) + 1; 58 ts.tv_nsec = 0; 59 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) > 0) {
|
5-1.c | 46 struct timespec ts; local 64 ts.tv_sec = INT32_MAX; 65 ts.tv_nsec = 0; 66 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) > 0) {
|
7-1.c | 38 struct timespec ts; local 53 ts.tv_sec = time(NULL) + 1; 54 ts.tv_nsec = 0; 55 if (mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts) != -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/speculative/ |
10-2.c | 41 struct timespec ts; local 60 ts.tv_sec = time(NULL) + 1; 61 ts.tv_nsec = -1; 62 if (mq_timedreceive(mqdes, msgrv, BUFFER, &rvprio, &ts) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
1-1.c | 36 struct timespec ts; local 52 ts.tv_sec = time(NULL) + 1; 53 ts.tv_nsec = 0; 54 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != 0) {
|
10-1.c | 36 struct timespec ts; local 52 ts.tv_sec = time(NULL) + 1; 53 ts.tv_nsec = 0; 56 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) == -1) {
|
11-1.c | 32 struct timespec ts; local 44 ts.tv_sec = time(NULL) + 1; 45 ts.tv_nsec = 0; 46 if (mq_timedsend(queue + 1, msgptr, strlen(msgptr), 1, &ts) != -1) {
|
11-2.c | 32 struct timespec ts; local 44 ts.tv_sec = time(NULL) + 1; 45 ts.tv_nsec = 0; 46 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != -1) {
|
13-1.c | 38 struct timespec ts; local 50 ts.tv_sec = time(NULL) + 1; 51 ts.tv_nsec = 0; 54 strlen(msgptr), invalidpri[i], &ts) == 0) {
|
2-1.c | 31 struct timespec ts; local 47 ts.tv_sec = time(NULL) + 1; 48 ts.tv_nsec = 0; 49 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) == 0) {
|