HomeSort by relevance Sort by last modified time
    Searched defs:ts (Results 301 - 325 of 1050) sorted by null

<<11121314151617181920>>

  /cts/tests/tests/security/jni/
android_security_cts_EncryptionTest.cpp 75 struct timespec ts; local
76 clock_gettime(CLOCK_MONOTONIC, &ts);
77 return (uint64_t)ts.tv_sec * 1000000000 + ts.tv_nsec;
  /device/google/cuttlefish_common/common/libs/threads/
cuttlefish_thread.h 98 struct timespec ts; local
99 tp.ToTimespec(&ts);
100 return pthread_cond_timedwait(&cond_, mutex_->GetMutex(), &ts);
cuttlefish_thread_test.cpp 31 struct timespec ts; local
32 in.ToTimespec(&ts);
43 clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &ts, NULL);
45 clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &ts, NULL);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
lstring.c 100 TString *ts; local
103 ts = &luaC_newobj(L, tag, totalsize, list, 0)->ts;
104 ts->tsv.len = l;
105 ts->tsv.hash = h;
106 ts->tsv.extra = 0;
107 memcpy(ts+1, str, l*sizeof(char));
108 ((char *)(ts+1))[l] = '\0'; /* ending 0 */
109 return ts;
140 TString *ts = rawgco2ts(o) local
    [all...]
  /external/adhd/cras/src/tests/
hfp_info_unittest.cc 20 static timespec ts; variable
256 ts.tv_sec = 0;
257 ts.tv_nsec = 5000000;
264 ASSERT_EQ(0, ts.tv_sec);
265 ASSERT_EQ(5000000, ts.tv_nsec);
util_unittest.cc 220 struct timespec ts; local
222 ts.tv_sec = 0;
223 ts.tv_nsec = 500000000;
224 EXPECT_EQ(500, timespec_to_ms(&ts));
226 ts.tv_sec = 0;
227 ts.tv_nsec = 0;
228 EXPECT_EQ(0, timespec_to_ms(&ts));
230 ts.tv_sec = 0;
231 ts.tv_nsec = 2;
232 EXPECT_EQ(1, timespec_to_ms(&ts));
    [all...]
  /external/boringssl/src/crypto/asn1/
a_utctm.c 193 struct tm *ts; local
205 ts = OPENSSL_gmtime(&t, &data);
206 if (ts == NULL)
210 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec))
214 if ((ts->tm_year < 50) || (ts->tm_year >= 150))
229 BIO_snprintf(p, len, "%02d%02d%02d%02d%02d%02dZ", ts->tm_year % 100,
230 ts->tm_mon + 1, ts->tm_mday, ts->tm_hour, ts->tm_min
    [all...]
  /external/curl/src/
tool_cb_prg.c 198 struct ttysize ts; local
199 if(!ioctl(STDIN_FILENO, TIOCGSIZE, &ts))
200 cols = ts.ts_cols;
202 struct winsize ts; local
203 if(!ioctl(STDIN_FILENO, TIOCGWINSZ, &ts))
204 cols = ts.ws_col;
  /external/fio/
helper_thread.c 87 struct timespec ts; local
92 ts.tv_sec = tv.tv_sec;
93 ts.tv_nsec = tv.tv_usec * 1000;
96 pthread_cond_timedwait(&hd->cond, &hd->lock, &ts);
time.c 48 unsigned long ts = usec; local
55 ts = usec - ns_granularity;
57 if (ts >= 1000000) {
58 req.tv_sec = ts / 1000000;
59 ts -= 1000000 * req.tv_sec;
63 req.tv_nsec = ts * 1000;
69 ts = utime_since_now(&tv);
70 t += ts;
71 if (ts >= usec)
74 usec -= ts;
142 struct timespec ts; local
    [all...]
  /external/icu/icu4c/source/test/compat/
tzdate.c 113 struct tm ts; local
117 ts = *localtime(&now);
120 memset(&ts, 0, sizeof(ts));
121 ts.tm_year = year;
122 ts.tm_mon = month - OFFSET_MONTH;
123 ts.tm_mday = day;
124 ts.tm_hour = hour;
125 ts.tm_min = minute;
127 now = mktime(&ts);
    [all...]
  /external/jemalloc/src/
nstime.c 118 struct timespec ts; local
120 clock_gettime(CLOCK_MONOTONIC_COARSE, &ts);
121 nstime_init2(time, ts.tv_sec, ts.tv_nsec);
128 struct timespec ts; local
130 clock_gettime(CLOCK_MONOTONIC, &ts);
131 nstime_init2(time, ts.tv_sec, ts.tv_nsec);
  /external/kernel-headers/original/uapi/linux/
errqueue.h 37 struct timespec ts[3]; member in struct:scm_timestamping
41 * This defines the type of ts[0]. For SCM_TSTAMP_SND only, if ts[0]
42 * is zero, then this is a hardware timestamp and recorded in ts[2].
  /external/libevent/
evthread_pthread.c 145 struct timespec ts; local
148 ts.tv_sec = abstime.tv_sec;
149 ts.tv_nsec = abstime.tv_usec*1000;
150 r = pthread_cond_timedwait(cond, lock, &ts);
  /external/libevent/test/
bench.c 101 static struct timeval ts, te; local
121 evutil_gettimeofday(&ts, NULL);
131 evutil_timersub(&te, &ts, &te);
  /external/libxcam/xcore/
image_projector.cpp 257 const double ts = frame_ts + _calib_params.gyro_delay; local
258 Quaternd quat = interp_orientation (ts, orientation, pose_ts, index) +
304 const int64_t ts = frame_ts + _calib_params.gyro_delay; local
305 Quaternd quat = interp_orientation (ts, orientation, orient_ts, index) +
  /external/linux-kselftest/tools/testing/selftests/timers/
raw_skew.c 46 unsigned long long ts_to_nsec(struct timespec ts)
48 return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec;
53 struct timespec ts; local
55 ts.tv_sec = ns/NSEC_PER_SEC;
56 ts.tv_nsec = ns%NSEC_PER_SEC;
57 return ts;
  /external/ltp/testcases/kernel/syscalls/utimensat/
utimensat01.c 111 struct timespec ts[2]; local
180 ts[0].tv_sec = atoi(argv[optind + 1]);
182 ts[0].tv_nsec = UTIME_NOW;
184 ts[0].tv_nsec = UTIME_OMIT;
186 ts[0].tv_nsec = atoi(argv[optind + 2]);
189 ts[1].tv_sec = atoi(argv[optind + 3]);
191 ts[1].tv_nsec = UTIME_NOW;
193 ts[1].tv_nsec = UTIME_OMIT;
195 ts[1].tv_nsec = atoi(argv[optind + 4]);
198 tsp = ts;
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
4-1.c 69 struct timespec ts = {0, 10}; local
160 ret = aio_suspend((const struct aiocb **)plist, 2, &ts);
9-1.c 58 struct timespec ts = {0, 1000000}; /* 1 ms */ local
136 ret = aio_suspend((const struct aiocb **)plist, 2, &ts);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
5-2.c 50 struct timespec ts; local
75 ts.tv_sec = time(NULL) + TIMEOUT;
76 ts.tv_nsec = 0;
78 mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts);
8-1.c 47 struct timespec ts; local
73 clock_gettime(CLOCK_REALTIME, &ts);
74 oldtime = ts.tv_sec;
75 ts.tv_sec = ts.tv_sec + TIMEOUT;
77 ts.tv_sec = time(NULL) + TIMEOUT;
80 ts.tv_nsec = 0;
81 mq_timedreceive(mqdes, msgrv, BUFFER, NULL, &ts);
83 clock_gettime(CLOCK_REALTIME, &ts);
84 newtime = ts.tv_sec
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
12-1.c 73 struct timespec ts; local
91 ts.tv_sec = time(NULL) + TIMEOUT;
92 ts.tv_nsec = 0;
100 ret = mq_timedsend(gqueue, msgptr, strlen(msgptr), 1, &ts);
16-1.c 79 struct timespec ts; local
91 clock_gettime(CLOCK_REALTIME, &ts);
92 ts.tv_sec += TIMEOUT;
94 ts.tv_sec = time(NULL) + TIMEOUT;
96 ts.tv_nsec = 0;
100 strlen(msgptr), 1, &ts) != 0) {
123 struct timespec ts; local
124 ts.tv_sec = 1;
125 ts.tv_nsec = 0;
126 nanosleep(&ts, NULL)
    [all...]
3-1.c 52 struct timespec ts; local
68 ts.tv_sec = time(NULL) + 1;
69 ts.tv_nsec = 0;
70 if (mq_timedsend(queue, msgptr3, strlen(msgptr3), PRI3, &ts) != 0) {
75 ts.tv_sec++;
76 if (mq_timedsend(queue, msgptr1, strlen(msgptr1), PRI1, &ts) != 0) {
81 ts.tv_sec++;
82 if (mq_timedsend(queue, msgptr4, strlen(msgptr4), PRI4, &ts) != 0) {
87 ts.tv_sec++;
88 if (mq_timedsend(queue, msgptr2, strlen(msgptr2), PRI2, &ts) != 0)
    [all...]

Completed in 1053 milliseconds

<<11121314151617181920>>