Searched defs:nsec (Results 1 - 13 of 13) sorted by relevance

/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/kernel-headers/original/linux/
H A Dktime.h51 s32 sec, nsec; member in struct:__anon6952::__anon6953
53 s32 nsec, sec;
130 * that the tv.sec field is negative and the tv.nsec field is greater
134 * tv.sec < 0 and 0 >= tv.nsec < NSEC_PER_SEC
137 /* Set a ktime_t variable to a value in sec/nsec representation: */
140 return (ktime_t) { .tv = { .sec = secs, .nsec = nsecs } };
155 if (res.tv.nsec < 0)
156 res.tv.nsec += NSEC_PER_SEC;
178 * tv.nsec -= NSEC_PER_SEC
181 if (res.tv.nsec >
[all...]
H A Djiffies.h58 /* TICK_NSEC is the time between ticks in nsec assuming real ACTHZ */
66 /* TICK_USEC_TO_NSEC is the time between ticks in nsec assuming real ACTHZ and */
304 * nsec -= nsec % TICK_NSEC; is NOT a correct resolution rounding.
308 * The >> (NSEC_JIFFIE_SC - SEC_JIFFIE_SC) converts the scaled nsec
315 long nsec = value->tv_nsec + TICK_NSEC - 1; local
319 nsec = 0;
322 (((u64)nsec * NSEC_CONVERSION) >>
334 u64 nsec = (u64)jiffies * TICK_NSEC; local
335 value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SE
372 u64 nsec = (u64)jiffies * TICK_NSEC; local
[all...]
/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/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/grub/stage2/
H A Dbios.c30 int nsec, int segment);
52 int sector, int nsec, int segment)
79 dap.blocks = nsec;
98 return biosdisk (read, drive, geometry, sector, nsec, segment);
120 nsec, segment);
49 biosdisk(int read, int drive, struct geometry *geometry, int sector, int nsec, int segment) argument
/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/libsepol/src/
H A Dmodule.c356 uint32_t *buf = NULL, nsec; local
380 nsec = *sections = le32_to_cpu(buf[2]);
382 if (nsec > MAXSECTIONS) {
384 nsec);
388 off = (size_t *) malloc((nsec + 1) * sizeof(size_t));
395 buf = malloc(sizeof(uint32_t) * nsec);
400 rc = next_entry(buf, file, sizeof(uint32_t) * nsec);
406 for (i = 0; i < nsec; i++) {
416 off[nsec] = policy_file_length(file);
417 if (nsec
444 uint32_t buf[1], nsec; local
630 uint32_t buf[5], len, nsec; local
855 uint32_t buf[5], offsets[5], len, nsec = 0; local
[all...]
/external/grub/grub/
H A Dasmstub.c929 int sector, int nsec, int segment)
968 if (sector == 0 && nsec > 1)
977 nsec--;
980 if (nread (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
989 nsec, sector, drive, device_map[drive]);
990 hex_dump (buf, nsec * SECTOR_SIZE);
993 if (nwrite (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
928 biosdisk(int subfunc, int drive, struct geometry *geometry, int sector, int nsec, int segment) argument
/external/openssl/apps/
H A Docsp.c104 STACK_OF(OCSP_CERTID) *ids, long nsec,
148 long nsec = MAX_VALIDITY_PERIOD, maxage = -1; local
361 nsec = atol(*args);
362 if (nsec < 0)
895 if (!print_ocsp_summary(out, bs, req, reqnames, ids, nsec, maxage))
989 STACK_OF(OCSP_CERTID) *ids, long nsec,
1019 if (!OCSP_check_validity(thisupd, nextupd, nsec, maxage))
987 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/elfutils/src/
H A Dldgeneric.c6273 Elf32_Word nsec = 0; local
6275 ld_state.allsections[nsec]->scnidx);
6315 if (ld_state.allsections[nsec]->name
6328 isect = first = ld_state.allsections[nsec]->last;
6341 ld_state.allsections[nsec]->addr = addr;
6402 if (++nsec >= ld_state.nallsections)
6406 ld_state.allsections[nsec]->scnidx);
/external/mdnsresponder/mDNSCore/
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...]
H A DmDNSEmbeddedAPI.h844 rdataNSEC nsec; member in union:__anon9381
861 rdataNSEC nsec; member in union:__anon9382

Completed in 384 milliseconds