/external/chromium/third_party/libevent/test/ |
H A D | bench.c | 87 static struct timeval ts, te; local 106 gettimeofday(&ts, NULL); 116 evutil_timersub(&te, &ts, &te);
|
/external/libpcap/ |
H A D | savefile.c | 1211 hdr->ts.tv_sec = SWAPLONG(sf_hdr.ts.tv_sec); 1212 hdr->ts.tv_usec = SWAPLONG(sf_hdr.ts.tv_usec); 1216 hdr->ts.tv_sec = sf_hdr.ts.tv_sec; 1217 hdr->ts.tv_usec = sf_hdr.ts.tv_usec; 1371 sf_hdr.ts.tv_sec = h->ts [all...] |
H A D | 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 [all...] |
H A D | pcap-int.h | 251 struct pcap_timeval ts; /* time stamp */ member in struct:pcap_sf_pkthdr 267 struct pcap_timeval ts; /* time stamp */ member in struct:pcap_sf_patched_pkthdr
|
/external/e2fsprogs/misc/ |
H A D | tune2fs.c | 603 struct tm ts; local 608 memset(&ts, 0, sizeof(ts)); 610 strptime(str, "%Y%m%d%H%M%S", &ts); 612 sscanf(str, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon, 613 &ts.tm_mday, &ts.tm_hour, &ts.tm_min, &ts [all...] |
H A D | badblocks.c | 357 struct timespec ts; local 358 ts.tv_sec = tv2.tv_sec - tv1.tv_sec; 359 ts.tv_nsec = (tv2.tv_usec - tv1.tv_usec) * MILISEC; 360 if (ts.tv_nsec < 0) { 361 ts.tv_nsec += NANOSEC; 362 ts.tv_sec -= 1; 365 ts.tv_sec = ts.tv_sec * d_flag / 100; 366 ts.tv_nsec = ts [all...] |
/external/tcpdump/ |
H A D | 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;
|
H A D | 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));
|
H A D | 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, dt [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
H A D | RuleListController.java | 77 public void initialize(TestSuite ts) { argument 78 setTestSuite(ts);
|
/external/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 789 std::string ts = TypeString(proto[0], typestr); local 888 s += "(" + ts + ")(__a == __b);"; 891 s += "(" + ts + ")(__a >= __b);"; 894 s += "(" + ts + ")(__a <= __b);"; 897 s += "(" + ts + ")(__a > __b);"; 900 s += "(" + ts + ")(__a < __b);"; 924 s += "(" + ts + ")__a;"; 927 s += "(" + ts + ")__builtin_shufflevector((int64x1_t)__a"; 931 s += "(" + ts + 935 s += "(" + ts 1076 std::string ts = TypeString(proto[0], typestr); local 1333 std::string ts = TypeString('d', TDTypeVec[i]); local 1336 OS << " " << ts << " val"; local [all...] |
/external/chromium/chrome/browser/history/ |
H A D | visitsegment_database.cc | 192 base::Time ts, 194 base::Time t = ts.LocalMidnight(); 250 base::Time ts = from_time.LocalMidnight(); local 251 statement.BindInt64(0, ts.ToInternalValue()); 191 IncreaseSegmentVisitCount(SegmentID segment_id, base::Time ts, int amount) argument
|
/external/ipsec-tools/src/racoon/ |
H A D | 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/ |
H A D | conf_api.c | 108 STACK_OF(CONF_VALUE) *ts; 110 ts = (STACK_OF(CONF_VALUE) *)section->value; 113 if (!sk_CONF_VALUE_push(ts,value)) 121 (void)sk_CONF_VALUE_delete_ptr(ts,v);
|
/external/openssl/crypto/rand/ |
H A D | rand_unix.c | 160 struct timespec ts; local 195 ts.tv_nsec = random (); 210 clock_gettime (CLOCK_REALTIME, &ts); 213 v = (unsigned char) (ts.tv_nsec % 256);
|
/external/strace/ |
H A D | term.c | 194 struct ttysize ts; local 309 if (!verbose(tcp) || umove(tcp, arg, &ts) < 0) 312 ts.ts_lines, ts.ts_cols);
|
/external/quake/quake/src/WinQuake/ |
H A D | snd_android.cpp | 554 timespec ts; local 555 ts.tv_sec = tp.tv_sec; 556 ts.tv_nsec = tp.tv_usec * 1000 + WAIT_NS; 557 if (ts.tv_nsec >= NS_PER_SECOND) { 558 ts.tv_nsec -= NS_PER_SECOND; 559 ts.tv_sec += 1; 561 if (ETIMEDOUT == pthread_cond_timedwait( &condition_cond, &condition_mutex, &ts)) {
|
H A D | 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_sectio [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | valgrind-low.c | 87 ThreadState *ts; local 98 ti, tid, VG_(name_of_ThreadStatus) (ts->status), \ 99 image_ptid (ptid), ts->os_state.lwpid 102 ts = VG_(get_ThreadState) (tid); 103 ptid = ts->os_state.lwpid; 110 if (ts->status != VgTs_Init) { 112 add_thread (ptid, ts, ptid);
|
/external/linux-tools-perf/ |
H A D | builtin-lock.c | 393 static struct lock_seq_stat *get_seq(struct thread_stat *ts, void *addr) argument 397 list_for_each_entry(seq, &ts->seq_list, list) { 408 list_add(&seq->list, &ts->seq_list); 435 struct thread_stat *ts; local 442 ts = thread_stat_findnew(thread->pid); 443 seq = get_seq(ts, acquire_event->addr); 499 struct thread_stat *ts; local 507 ts = thread_stat_findnew(thread->pid); 508 seq = get_seq(ts, acquired_event->addr); 555 struct thread_stat *ts; local 602 struct thread_stat *ts; local [all...] |
/external/openssh/ |
H A D | defines.h | 452 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \ 453 (ts)->tv_sec = (tv)->tv_sec; \ 454 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 459 #define TIMESPEC_TO_TIMEVAL(tv, ts) { \ 460 (tv)->tv_sec = (ts)->tv_sec; \ 461 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
|
/external/aac/libSBRenc/src/ |
H A D | tran_det.cpp | 194 int ts,k; local 197 for (ts=tran_offdiv2; ts<YBufferWriteOffset; ts++) { 199 accu1 += Energies[ts][k] >> 6; 202 for (; ts<tran_offdiv2+(slots>>nrgSzShift); ts++) { 204 accu2 += Energies[ts][k] >> 6;
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
H A D | ToSAXHandler.java | 297 * @param ts A reference to a TransformState object 299 public void setTransformState(TransformStateSetter ts) { argument 300 this.m_state = ts;
|
/external/valgrind/main/helgrind/tests/ |
H A D | annotate_hbefore.c | 240 struct timespec ts = { 0, 500 * 1000 * 1000 }; local 241 nanosleep(&ts, NULL);
|
/external/chromium/chrome/browser/resources/gpu_internals/ |
H A D | timeline_model.js | 164 var slice = new TimelineSlice(event.name, colorId, event.ts, 173 slice.duration = event.ts - slice.start;
|