Searched refs:nsec (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/
H A Dtestlib.c126 int nsec = (y->tv_usec - x->tv_usec) / 1000000 + 1; local
127 y->tv_usec -= 1000000 * nsec;
128 y->tv_sec += nsec;
132 int nsec = (x->tv_usec - y->tv_usec) / 1000000; local
133 y->tv_usec += 1000000 * nsec;
134 y->tv_sec -= nsec;
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
H A Dtestlib.c126 int nsec = (y->tv_usec - x->tv_usec) / 1000000 + 1; local
127 y->tv_usec -= 1000000 * nsec;
128 y->tv_sec += nsec;
132 int nsec = (x->tv_usec - y->tv_usec) / 1000000; local
133 y->tv_usec += 1000000 * nsec;
134 y->tv_sec -= nsec;
/external/strace/
H A Dptp.c57 (int64_t)perout.start.sec, perout.start.nsec,
58 (int64_t)perout.period.sec, perout.period.nsec,
86 (int64_t)sysoff.ts[0].sec, sysoff.ts[0].nsec);
89 (int64_t)sysoff.ts[i].sec, sysoff.ts[i].nsec);
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/
H A Dnetdev-times.py55 # Calculate a time interval(msec) from src(nsec) to dst(nsec)
227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, vec):
230 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
233 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, vec):
236 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
239 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, vec):
242 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
245 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm,
247 event_info = (name, context, cpu, nsecs(sec, nsec), pi
[all...]
H A Dnet_dropmonitor.py69 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm,
/external/chromium_org/third_party/re2/util/
H A Dbenchmark.cc27 static int64 nsec() { function
45 ns += nsec() - t0;
51 t0 = nsec();
70 t0 = nsec();
80 ns += nsec() - t0;
/external/regex-re2/util/
H A Dbenchmark.cc27 static int64 nsec() { function
45 ns += nsec() - t0;
51 t0 = nsec();
70 t0 = nsec();
80 ns += nsec() - t0;
/external/libsepol/src/
H A Dmodule.c376 uint32_t *buf = NULL, nsec; local
400 nsec = *sections = le32_to_cpu(buf[2]);
402 if (nsec > MAXSECTIONS) {
404 nsec);
408 off = (size_t *) malloc((nsec + 1) * sizeof(size_t));
415 buf = malloc(sizeof(uint32_t) * nsec);
420 rc = next_entry(buf, file, sizeof(uint32_t) * nsec);
426 for (i = 0; i < nsec; i++) {
436 rc = policy_file_length(file, &off[nsec]);
440 if (nsec
467 uint32_t buf[1], nsec; local
653 uint32_t buf[5], len, nsec; local
878 uint32_t buf[5], offsets[5], len, nsec = 0; local
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dptp_clock.h43 __u32 nsec; /* nanoseconds */ member in struct:ptp_clock_time
H A Dpps.h55 __s32 nsec; member in struct:pps_ktime
H A Dbtrfs.h434 __u32 nsec; member in struct:btrfs_ioctl_timespec
/external/strace/linux/
H A Dptp_clock.h43 __u32 nsec; /* nanoseconds */ member in struct:ptp_clock_time
/external/fio/engines/
H A Dposixaio.c45 long long sec, nsec; local
52 nsec = now.tv_nsec - t->tv_nsec;
53 if (sec > 0 && nsec < 0) {
55 nsec += 1000000000;
59 nsec /= 1000;
60 return sec + nsec;
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_util.cc122 long nsec; local
123 if (GetNanoSecsFromStat(file_stat, &sec, &nsec)) {
124 int64 usec = (nsec / base::Time::kNanosecondsPerMicrosecond);
/external/fio/os/
H A Dbinject.h20 __u64 nsec; /* OUTPUT */ member in struct:b_user_cmd
/external/lldb/include/lldb/Host/
H A DTimeValue.h80 OffsetWithNanoSeconds (uint64_t nsec);
/external/blktrace/btt/
H A Dtrace_complete.c24 __u64 sec, __u32 nsec, int indent)
31 type2c(type), (unsigned long long)sec, nsec);
23 __out(FILE *ofp, __u64 tm, enum iop_type type, __u64 sec, __u32 nsec, int indent) argument
/external/lldb/source/Host/common/
H A DTimeValue.cpp121 TimeValue::OffsetWithNanoSeconds (uint64_t nsec) argument
123 m_nano_seconds += nsec;
/external/openssl/crypto/ocsp/
H A Docsp_cl.c307 * rejecting otherwise valid time we allow the times to be within 'nsec' of the current time.
312 int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd, long nsec, long maxsec) argument
317 /* Check thisUpdate is valid and not more than nsec in the future */
325 t_tmp = t_now + nsec;
347 /* Check nextUpdate is valid and not more than nsec in the past */
355 t_tmp = t_now - nsec;
/external/blktrace/
H A Dblkparse_fmt.c89 unsigned long nsec; local
92 nsec = abs_start_time.tv_nsec + NANO_SECONDS(timestamp);
93 if (nsec >= 1000000000) {
94 nsec -= 1000000000;
104 nsec / 1000);
/external/openssl/apps/
H A Docsp.c104 STACK_OF(OCSP_CERTID) *ids, long nsec,
149 long nsec = MAX_VALIDITY_PERIOD, maxage = -1; local
371 nsec = atol(*args);
372 if (nsec < 0)
905 if (!print_ocsp_summary(out, bs, req, reqnames, ids, nsec, maxage))
999 STACK_OF(OCSP_CERTID) *ids, long nsec,
1029 if (!OCSP_check_validity(thisupd, nextupd, nsec, maxage))
997 print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req, STACK_OF(OPENSSL_STRING) *names, STACK_OF(OCSP_CERTID) *ids, long nsec, long maxage) argument
/external/mdnsresponder/mDNSCore/
H A DDNSCommon.h160 #define RRAssertsNonexistence(R,T) ((R)->rrtype == kDNSType_NSEC && (T) < kDNSQType_ANY && !((R)->rdata->u.nsec.bitmap[(T)>>3] & (128 >> ((T)&7))))
H A DDNSCommon.c250 if (rd->nsec.bitmap[i>>3] & (128 >> (i&7)))
1441 for (i=sizeof(rdataNSEC); i>0; i--) if (rd->nsec.bitmap[i-1]) break;
1775 for (i=sizeof(rdataNSEC); i>0; i--) if (rdb->nsec.bitmap[i-1]) break;
1783 for (j=0; j<i; j++) *ptr++ = rdb->nsec.bitmap[j];
2355 mDNSPlatformMemZero(rdb->nsec.bitmap, sizeof(rdb->nsec.bitmap));
2361 for (j=0; j<i; j++) rdb->nsec.bitmap[j] = *ptr++;
/external/blktrace/btreplay/doc/
H A Dbtreplay.tex252 [ -m <nsec> : --max-bunch-time=<nsec> ] Default: 10 msec
/external/elfutils/0.153/src/
H A Dldgeneric.c6270 Elf32_Word nsec = 0; local
6272 ld_state.allsections[nsec]->scnidx);
6312 if (ld_state.allsections[nsec]->name
6325 isect = first = ld_state.allsections[nsec]->last;
6338 ld_state.allsections[nsec]->addr = addr;
6399 if (++nsec >= ld_state.nallsections)
6403 ld_state.allsections[nsec]->scnidx);

Completed in 5809 milliseconds

12