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

/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.c58 (int64_t)perout.start.sec, perout.start.nsec,
59 (int64_t)perout.period.sec, perout.period.nsec,
87 (int64_t)sysoff.ts[0].sec, sysoff.ts[0].nsec);
90 (int64_t)sysoff.ts[i].sec, sysoff.ts[i].nsec);
/external/linux-tools-perf/src/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/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/selinux/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/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/fio/os/
H A Dbinject.h20 __u64 nsec; /* OUTPUT */ member in struct:b_user_cmd
/external/kernel-headers/original/uapi/linux/
H A Dpps.h55 __s32 nsec; member in struct:pps_ktime
H A Dptp_clock.h43 __u32 nsec; /* nanoseconds */ member in struct:ptp_clock_time
H A Dbtrfs.h448 __u32 nsec; member in struct:btrfs_ioctl_timespec
/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/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/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/Windows/util/
H A Dconnect_br.tcl949 binary scan $str c nsec
950 puts stderr "nsec: $nsec"
951 bmesg "nsec: $nsec"
952 for {set i 0} {$i < $nsec} {incr i} {
959 for {set i 0} {$i < $nsec} {incr i} {
969 for {set i 0} {$i < $nsec} {incr i} {
/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++;
H A DmDNSEmbeddedAPI.h844 rdataNSEC nsec; member in union:__anon11635
861 rdataNSEC nsec; member in union:__anon11636
H A DmDNS.c2363 AuthRecord nsec; local
2364 mDNS_SetupResourceRecord(&nsec, mDNSNULL, mDNSInterface_Any, kDNSType_NSEC, rr->resrec.rroriginalttl, kDNSRecordTypeUnique, AuthRecordAny, mDNSNULL, mDNSNULL);
2365 nsec.resrec.rrclass |= kDNSClass_UniqueRRSet;
2366 AssignDomainName(&nsec.namestorage, rr->resrec.name);
2367 mDNSPlatformMemZero(nsec.rdatastorage.u.nsec.bitmap, sizeof(nsec.rdatastorage.u.nsec.bitmap));
2372 else nsec.rdatastorage.u.nsec
[all...]
/external/fio/
H A Dbackend.c2136 uint64_t nsec = (DISK_UTIL_MSEC % 1000) * 1000000; local
2142 ts.tv_nsec = (tv.tv_usec * 1000) + nsec;
/external/blktrace/btreplay/doc/
H A Dbtreplay.tex252 [ -m <nsec> : --max-bunch-time=<nsec> ] Default: 10 msec
/external/elfutils/src/src/
H A Dldgeneric.c6262 Elf32_Word nsec = 0; local
6264 ld_state.allsections[nsec]->scnidx);
6304 if (ld_state.allsections[nsec]->name
6317 isect = first = ld_state.allsections[nsec]->last;
6330 ld_state.allsections[nsec]->addr = addr;
6391 if (++nsec >= ld_state.nallsections)
6395 ld_state.allsections[nsec]->scnidx);
/external/mdnsresponder/mDNSPosix/
H A DNetMonitor.c561 if (rd->nsec.bitmap[i>>3] & (128 >> (i&7)))

Completed in 2311 milliseconds