/external/chromium/third_party/libevent/test/ |
bench.c | 87 static struct timeval ts, te; local 106 gettimeofday(&ts, NULL); 116 evutil_timersub(&te, &ts, &te);
|
/external/libpcap/ |
savefile.c | [all...] |
pcap-dag.c | 437 register unsigned long long ts; local 440 ts = SWAPLL(header->ts); 442 ts = header->ts; 445 pcap_header.ts.tv_sec = ts >> 32; 446 ts = (ts & 0xffffffffULL) * 1000000; 447 ts += 0x80000000; /* rounding * [all...] |
/bionic/libc/bionic/ |
pthread.c | 1229 struct timespec ts; local 1292 struct timespec ts; local 1463 struct timespec ts; local 1511 struct timespec ts; local [all...] |
/cts/tools/host/src/com/android/cts/ |
TestSession.java | 368 public TestSessionThread(final TestSession ts) { 369 mTestSession = ts; 373 public TestSessionThread(final TestSession ts, final Test test) { 374 mTestSession = ts; 379 public TestSessionThread(final TestSession ts, 381 mTestSession = ts;
|
/external/tcpdump/ |
print-wb.c | 322 u_int32_t ts = EXTRACT_32BITS(&dh->dh_ts); local 323 printf("%d", ts - ss + 1); 324 if (ss > ts || ts > es) { 326 if (ts < ss) 329 ss = ts;
|
print-dccp.c | 410 u_int32_t *ts; local 486 ts = (u_int32_t *)(option + 2); 487 printf("timestamp %u", (u_int32_t)ntohl(*ts)); 490 ts = (u_int32_t *)(option + 2); 491 printf("timestamp_echo %u", (u_int32_t)ntohl(*ts)); 496 ts = (u_int32_t *)(option + 2); 497 printf("%u", (u_int32_t)ntohl(*ts));
|
print-udp.c | 91 u_int32_t rr_lsr; /* orig. ts from last rr from this src */ 114 u_int ts = *(u_int16_t *)hdr; local 115 if ((ts & 0xf060) != 0) { 119 ts & 0x3ff, ts >> 10); 216 double ts, dts; local 236 ts = (double)(EXTRACT_32BITS(&sr->sr_ntp.upper)) + 239 printf(" @%.2f %u %up %ub", ts, EXTRACT_32BITS(&sr->sr_ts), 277 ts = (double)(EXTRACT_32BITS(&rr->rr_lsr)) / 65536.; 282 EXTRACT_32BITS(&rr->rr_dv), ts, dts) [all...] |
/development/tools/axl/ |
chewperf.py | 20 ts = int(rawLines[x - 1].split()[-1]) 21 times.append(ts)
|
/external/webkit/WebCore/platform/graphics/chromium/ |
FontPlatformDataLinux.cpp | 122 const float ts = m_textSize > 0 ? m_textSize : 12; local 127 paint->setTextSize(SkFloatToScalar(ts));
|
/frameworks/base/core/tests/coretests/src/android/database/ |
MatrixCursorTest.java | 128 NonIterableArrayList(Collection<? extends T> ts) { 129 super(ts);
|
/system/core/adb/ |
commandline.c | 378 const char *ts; local 383 ts = s; 387 for( ;*ts != '\0'; ts++) { 389 if (*ts == ' ' || *ts == '"' || *ts == '\\' || *ts == '(' || *ts == ')') { 396 ts = s [all...] |
/external/ipsec-tools/src/racoon/ |
logger.c | 185 char ts[256]; local 198 strftime(ts, sizeof(ts), "%B %d %T", tm); 199 fprintf(fp, "%s: %s\n", ts, p->buf[j]);
|
/external/openssl/crypto/conf/ |
conf_api.c | 107 STACK_OF(CONF_VALUE) *ts; 109 ts = (STACK_OF(CONF_VALUE) *)section->value; 112 if (!sk_CONF_VALUE_push(ts,value)) 120 (void)sk_CONF_VALUE_delete_ptr(ts,v);
|
/external/openssl/crypto/rand/ |
rand_unix.c | 145 struct timespec ts; local 160 clock_gettime (CLOCK_REALTIME, &ts); 163 seed = ts.tv_sec ^ ts.tv_nsec ^ curr_pid ^ curr_uid;
|
/external/strace/ |
term.c | 197 struct ttysize ts; local 312 if (!verbose(tcp) || umove(tcp, arg, &ts) < 0) 315 ts.ts_lines, ts.ts_cols);
|
/external/webkit/WebCore/svg/graphics/filters/ |
SVGFEConvolveMatrix.h | 74 TextStream& externalRepresentation(TextStream& ts) const;
|
/hardware/ril/mock-ril/src/cpp/ |
worker.cpp | 164 struct timespec ts; local 171 ts.tv_sec = tv.tv_sec + (delay_ms / 1000); 172 ts.tv_nsec = (tv.tv_usec + 174 pthread_cond_timedwait(&cond_, &mutex_, &ts);
|
/packages/apps/Nfc/jni/ |
com_android_nfc_NativeLlcpSocket.cpp | 122 struct timespec ts; local 161 struct timespec ts; local 224 struct timespec ts; local 266 struct timespec ts; local
|
/system/extras/tests/bionic/libc/other/ |
test_jpeg.c | 223 struct timespec ts; local 225 if ( clock_gettime( CLOCK_MONOTONIC, &ts ) < 0 ) 228 return ts.tv_sec*1e6 + ts.tv_nsec*1e-3;
|
test_zlib.c | 160 struct timespec ts; local 162 if ( clock_gettime( CLOCK_MONOTONIC, &ts ) < 0 ) 165 return ts.tv_sec*1e6 + ts.tv_nsec*1e-3;
|
/bionic/libc/netbsd/isc/ |
ev_timers.c | 157 struct timespec ts; local 159 ts.tv_sec = tv.tv_sec; 160 ts.tv_nsec = tv.tv_usec * 1000; 161 return (ts); 165 evTimeVal(struct timespec ts) { 168 tv.tv_sec = ts.tv_sec; 169 tv.tv_usec = ts.tv_nsec / 1000;
|
/dalvik/vm/ |
Sync.c | 663 void absoluteTime(s8 msec, s4 nsec, struct timespec *ts) 668 clock_gettime(CLOCK_MONOTONIC, ts); 673 ts->tv_sec = tv.tv_sec; 674 ts->tv_nsec = tv.tv_usec * 1000; 677 endSec = ts->tv_sec + msec / 1000; 682 ts->tv_sec = endSec; 683 ts->tv_nsec = (ts->tv_nsec + (msec % 1000) * 1000000) + nsec; 686 if (ts->tv_nsec >= 1000000000L) { 687 ts->tv_sec++ 696 struct timespec ts; local 733 struct timespec ts; local [all...] |
/external/v8/src/ |
platform-solaris.cc | 466 #define TIMEVAL_TO_TIMESPEC(tv, ts) do { \ 467 (ts)->tv_sec = (tv)->tv_sec; \ 468 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 504 struct timespec ts; local 505 TIMEVAL_TO_TIMESPEC(&end_time, &ts); 508 int result = sem_timedwait(&sem_, &ts);
|
/external/quake/quake/src/WinQuake/ |
snd_gus.cpp | 357 char ts[INI_STRING_SIZE*2];
local 388 stripped_fgets(ts,INI_STRING_SIZE*2,f);
390 if (is_section(ts,"*"))
391 current_section=add_section(ts,ftell(f));
393 if (is_section(ts,section))
413 stripped_fgets(ts,INI_STRING_SIZE*2,f);
414 get_field_string(s,ts);
426 stripped_fgets(ts,INI_STRING_SIZE*2,f);
428 if (is_field(ts,"*"))
429 add_field(ts,current_section,string_start_pos); [all...] |