Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/external/vboot_reference/firmware/2lib/
D2secdata.c16 const struct vb2_secdata *sec = in vb2_secdata_check_crc() local
20 if (sec->crc8 != vb2_crc8(sec, offsetof(struct vb2_secdata, crc8))) in vb2_secdata_check_crc()
28 struct vb2_secdata *sec = (struct vb2_secdata *)ctx->secdata; in vb2_secdata_create() local
31 memset(sec, 0, sizeof(*sec)); in vb2_secdata_create()
34 sec->struct_version = VB2_SECDATA_VERSION; in vb2_secdata_create()
37 sec->crc8 = vb2_crc8(sec, offsetof(struct vb2_secdata, crc8)); in vb2_secdata_create()
68 struct vb2_secdata *sec = (struct vb2_secdata *)ctx->secdata; in vb2_secdata_get() local
75 *dest = sec->flags; in vb2_secdata_get()
79 *dest = sec->fw_versions; in vb2_secdata_get()
91 struct vb2_secdata *sec = (struct vb2_secdata *)ctx->secdata; in vb2_secdata_set() local
[all …]
/external/valgrind/coregrind/
Dm_transtab.c682 Bool HostExtent__is_dead (const HostExtent* hx, const Sector* sec) in HostExtent__is_dead() argument
689 hx->start, hx->len, (int)(sec - sectors), \ in HostExtent__is_dead()
691 sec->tt[tteNo].entry, sec->tt[tteNo].tcptr) in HostExtent__is_dead()
694 if (sec->tt[tteNo].status == Deleted) { in HostExtent__is_dead()
704 if ((UChar*) sec->tt[tteNo].tcptr >= hx->start + hx->len) { in HostExtent__is_dead()
726 const Sector* sec = &sectors[sno]; in find_TTEntry_from_hcode() local
727 const XArray* /* of HostExtent */ host_extents = sec->host_extents; in find_TTEntry_from_hcode()
747 if (HostExtent__is_dead (hx, sec)) in find_TTEntry_from_hcode()
750 vg_assert(sec->tt[tteNo].status == InUse); in find_TTEntry_from_hcode()
754 vg_assert((UChar*)sec->tt[tteNo].tcptr <= (UChar*)hcode); in find_TTEntry_from_hcode()
[all …]
/external/wpa_supplicant_8/src/utils/
Dos.h19 void os_sleep(os_time_t sec, os_time_t usec);
22 os_time_t sec; member
27 os_time_t sec; member
50 return (a->sec < b->sec) || in os_time_before()
51 (a->sec == b->sec && a->usec < b->usec); in os_time_before()
58 res->sec = a->sec - b->sec; in os_time_sub()
61 res->sec--; in os_time_sub()
72 return (a->sec < b->sec) || in os_reltime_before()
73 (a->sec == b->sec && a->usec < b->usec); in os_reltime_before()
80 res->sec = a->sec - b->sec; in os_reltime_sub()
[all …]
Dos_win32.c17 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument
19 if (sec) in os_sleep()
20 Sleep(sec * 1000); in os_sleep()
44 t->sec = (os_time_t) (tt / 1000000); in os_get_time()
56 t->sec = now.sec; in os_get_reltime()
62 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
70 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime()
71 sec > 60) in os_mktime()
80 tm.tm_sec = sec; in os_mktime()
110 tm->sec = tm2->tm_sec; in os_gmtime()
Dos_internal.c26 void os_sleep(os_time_t sec, os_time_t usec) in os_sleep() argument
28 if (sec) in os_sleep()
29 sleep(sec); in os_sleep()
40 t->sec = tv.tv_sec; in os_get_time()
51 t->sec = tv.tv_sec; in os_get_reltime()
57 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
63 hour < 0 || hour > 23 || min < 0 || min > 59 || sec < 0 || in os_mktime()
64 sec > 60) in os_mktime()
73 tm.tm_sec = sec; in os_mktime()
88 tm->sec = tm2->tm_sec; in os_gmtime()
/external/elfutils/src/
Dunstrip.c987 const struct section *sec = &sections[i]; in find_alloc_sections_prelink() local
988 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink()
989 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
990 && !strcmp (sec->name, ".gnu.prelink_undo")) in find_alloc_sections_prelink()
992 undo = sec->scn; in find_alloc_sections_prelink()
1067 struct section *sec = &undo_sections[undo_nalloc]; in find_alloc_sections_prelink() local
1072 #define COPY(field) sec->shdr.field = (*s32)[i].field in find_alloc_sections_prelink()
1086 sec->shdr = (*s64)[i]; in find_alloc_sections_prelink()
1087 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1089 sec->shdr.sh_addr += bias; in find_alloc_sections_prelink()
[all …]
/external/iproute2/examples/
Dcbqinit.eth125 $TC class add dev $DEVICE parent 1:0 classid :1 est 1sec 8sec cbq \
35 $TC class add dev $DEVICE parent 1:1 classid :2 est 1sec 8sec cbq \
47 $TC class add dev $DEVICE parent 1:1 classid :3 est 2sec 16sec cbq \
55 $TC class add dev $DEVICE parent 1:1 classid :4 est 1sec 8sec cbq \
73 $TC class add dev $DEVICE parent 1:7FFE classid 1:7FFF est 4sec 32sec cbq \
/external/opencv3/3rdparty/openexr/IlmImf/
DImfMultiView.cpp61 string sec = name.substr (0, s); in parseString() local
67 while (sec.size() > 0 && sec[0] == ' ') in parseString()
68 sec.erase (0, 1); in parseString()
74 while (sec.size() > 0 && sec[sec.size() - 1] == ' ') in parseString()
75 sec.erase (sec.size() - 1); in parseString()
77 r.push_back (sec); in parseString()
/external/wpa_supplicant_8/src/ap/
Dbss_load.c22 unsigned int sec, usec; in update_channel_utilization() local
36 sec = ((hapd->bss_load_update_timeout / 1000) * 1024) / 1000; in update_channel_utilization()
38 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in update_channel_utilization()
47 unsigned int sec, usec; in bss_load_update_init() local
54 sec = ((hapd->bss_load_update_timeout / 1000) * 1024) / 1000; in bss_load_update_init()
56 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in bss_load_update_init()
/external/icu/icu4c/source/data/locales/
Den_GB.txt168 one{"in {0} sec"}
169 other{"in {0} sec"}
172 one{"{0} sec ago"}
173 other{"{0} sec ago"}
178 dn{"sec"}
181 one{"in {0} sec"}
182 other{"in {0} sec"}
185 one{"{0} sec ago"}
186 other{"{0} sec ago"}
/external/skia/src/core/
DSkBitmapProcState.h153 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument
157 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument
163 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument
165 SkASSERT((uint16_t)sec == sec); in pack_two_shorts()
166 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts()
169 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationRootElements.java250 int previousSec, sec; in getSecondaryBefore() local
255 sec = (int)(elements[index] >> 16); in getSecondaryBefore()
259 sec = (int)getFirstSecTerForPrimary(index) >>> 16; in getSecondaryBefore()
261 assert(s >= sec); in getSecondaryBefore()
262 while(s > sec) { in getSecondaryBefore()
263 previousSec = sec; in getSecondaryBefore()
265 sec = (int)(elements[index++] >> 16); in getSecondaryBefore()
267 assert(sec == s); in getSecondaryBefore()
369 int sec = (int)(secTer >> 16); in getSecondaryAfter() local
370 if(sec > s) { return sec; } in getSecondaryAfter()
DCollationFastLatinBuilder.java413 int sec = 0; in encodeUniqueCEs() local
462 sec = CollationFastLatin.COMMON_SEC; in encodeUniqueCEs()
469 if(sec == 0) { in encodeUniqueCEs()
470 sec = CollationFastLatin.MIN_SEC_HIGH; in encodeUniqueCEs()
471 } else if(sec < CollationFastLatin.MAX_SEC_HIGH) { in encodeUniqueCEs()
472 sec += CollationFastLatin.SEC_INC; in encodeUniqueCEs()
480 if(sec == CollationFastLatin.COMMON_SEC) { in encodeUniqueCEs()
481 sec = CollationFastLatin.MIN_SEC_BEFORE; in encodeUniqueCEs()
482 } else if(sec < CollationFastLatin.MAX_SEC_BEFORE) { in encodeUniqueCEs()
483 sec += CollationFastLatin.SEC_INC; in encodeUniqueCEs()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRootElements.java248 int previousSec, sec; in getSecondaryBefore() local
253 sec = (int)(elements[index] >> 16); in getSecondaryBefore()
257 sec = (int)getFirstSecTerForPrimary(index) >>> 16; in getSecondaryBefore()
259 assert(s >= sec); in getSecondaryBefore()
260 while(s > sec) { in getSecondaryBefore()
261 previousSec = sec; in getSecondaryBefore()
263 sec = (int)(elements[index++] >> 16); in getSecondaryBefore()
265 assert(sec == s); in getSecondaryBefore()
367 int sec = (int)(secTer >> 16); in getSecondaryAfter() local
368 if(sec > s) { return sec; } in getSecondaryAfter()
DCollationFastLatinBuilder.java412 int sec = 0; in encodeUniqueCEs() local
461 sec = CollationFastLatin.COMMON_SEC; in encodeUniqueCEs()
468 if(sec == 0) { in encodeUniqueCEs()
469 sec = CollationFastLatin.MIN_SEC_HIGH; in encodeUniqueCEs()
470 } else if(sec < CollationFastLatin.MAX_SEC_HIGH) { in encodeUniqueCEs()
471 sec += CollationFastLatin.SEC_INC; in encodeUniqueCEs()
479 if(sec == CollationFastLatin.COMMON_SEC) { in encodeUniqueCEs()
480 sec = CollationFastLatin.MIN_SEC_BEFORE; in encodeUniqueCEs()
481 } else if(sec < CollationFastLatin.MAX_SEC_BEFORE) { in encodeUniqueCEs()
482 sec += CollationFastLatin.SEC_INC; in encodeUniqueCEs()
[all …]
/external/toybox/toys/pending/
Dhost.c71 i, j, ret, sec, count, rcode, qlen, alen, pllen = 0; in host_main() local
147 for (sec=0; sec<4; sec++) { in host_main()
148 count = 256*abuf[4+2*sec] + abuf[5+2*sec]; in host_main()
149 if (verbose && count>0 && sec>1) in host_main()
150 puts(sec==2 ? "For authoritative answers, see:" in host_main()
157 if (!sec) continue; in host_main()
210 if (!verbose && sec==1) break; in host_main()
/external/tcpdump/
Dprint-timed.c99 long sec, usec; in timed_print() local
123 sec = EXTRACT_32BITS(&tsp->tsp_time.tv_sec); in timed_print()
130 if (sec < 0 && usec != 0) { in timed_print()
131 sec++; in timed_print()
132 if (sec == 0) in timed_print()
136 ND_PRINT((ndo, "%ld.%06ld", sec, usec)); in timed_print()
/external/icu/icu4c/source/i18n/
Dcollationrootelements.cpp119 uint32_t previousSec, sec; in getSecondaryBefore() local
124 sec = elements[index] >> 16; in getSecondaryBefore()
128 sec = getFirstSecTerForPrimary(index) >> 16; in getSecondaryBefore()
130 U_ASSERT(s >= sec); in getSecondaryBefore()
131 while(s > sec) { in getSecondaryBefore()
132 previousSec = sec; in getSecondaryBefore()
134 sec = elements[index++] >> 16; in getSecondaryBefore()
136 U_ASSERT(sec == s); in getSecondaryBefore()
211 uint32_t sec = secTer >> 16; in getSecondaryAfter() local
212 if(sec > s) { return sec; } in getSecondaryAfter()
/external/wpa_supplicant_8/src/rsn_supp/
Dpmksa_cache.c59 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire()
81 int sec; in pmksa_cache_set_expiration() local
90 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration()
91 if (sec < 0) in pmksa_cache_set_expiration()
92 sec = 0; in pmksa_cache_set_expiration()
93 eloop_register_timeout(sec + 1, 0, pmksa_cache_expire, pmksa, NULL); in pmksa_cache_set_expiration()
98 sec = pmksa->pmksa->reauth_time - now.sec; in pmksa_cache_set_expiration()
99 if (sec < 0) in pmksa_cache_set_expiration()
100 sec = 0; in pmksa_cache_set_expiration()
101 eloop_register_timeout(sec, 0, pmksa_cache_reauth, pmksa, in pmksa_cache_set_expiration()
[all …]
/external/fio/
Dgettime.c386 long sec, usec; in utime_since() local
389 sec = e->tv_sec - s->tv_sec; in utime_since()
391 if (sec > 0 && usec < 0) { in utime_since()
392 sec--; in utime_since()
399 if (sec < 0 || (sec == 0 && usec < 0)) in utime_since()
402 ret = sec * 1000000ULL + usec; in utime_since()
417 long sec, usec, ret; in mtime_since() local
419 sec = e->tv_sec - s->tv_sec; in mtime_since()
421 if (sec > 0 && usec < 0) { in mtime_since()
422 sec--; in mtime_since()
[all …]
/external/wpa_supplicant_8/src/common/
Dhw_features_common.c159 int sec = oper->ht_param & in get_pri_sec_chan() local
161 if (sec == HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE) in get_pri_sec_chan()
163 else if (sec == HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW) in get_pri_sec_chan()
289 int sec = pri; in check_40mhz_2g4() local
304 sec = pri - 20; in check_40mhz_2g4()
306 sec = pri + 20; in check_40mhz_2g4()
310 (sec < affected_start || sec > affected_end)) in check_40mhz_2g4()
318 if (pri_freq != pri || sec_freq != sec) { in check_40mhz_2g4()
324 pri, sec, pri_chan, in check_40mhz_2g4()
325 sec > pri ? '+' : '-', in check_40mhz_2g4()
/external/blktrace/btt/doc/
Dbtt.tex30 \section{\label{sec:intro}Introduction}
55 section~\ref{sec:cmd-line}), as we felt that discussing some of the
66 \newpage\section{\label{sec:getting-started}Getting Started}
78 will use \texttt{btt} with -- section~\ref{sec:o-D} shows how you
102 \newpage\section{\label{sec:output-overview}Output Overview}
347 \subsection*{\label{sec:detailed-data}Detailed Data}
350 \texttt{--all-data} or \texttt{-A} argument (see section~\ref{sec:o-A})
426 \newpage\section{\label{sec:data-files}Data Files Output}
434 provided in section~\ref{sec:activity}.
437 incoming IO requests, for more information see section~\ref{sec:qhist}.
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_impl_avx2.c506 const uint8_t *sec, in vpx_sub_pixel_avg_variance32xh_avx2() argument
524 sec_reg = _mm256_loadu_si256((__m256i const *) (sec)); in vpx_sub_pixel_avg_variance32xh_avx2()
526 sec+= sec_stride; in vpx_sub_pixel_avg_variance32xh_avx2()
538 sec_reg = _mm256_loadu_si256((__m256i const *) (sec)); in vpx_sub_pixel_avg_variance32xh_avx2()
540 sec+= sec_stride; in vpx_sub_pixel_avg_variance32xh_avx2()
560 sec_reg = _mm256_loadu_si256((__m256i const *) (sec)); in vpx_sub_pixel_avg_variance32xh_avx2()
562 sec+= sec_stride; in vpx_sub_pixel_avg_variance32xh_avx2()
576 sec_reg = _mm256_loadu_si256((__m256i const *) (sec)); in vpx_sub_pixel_avg_variance32xh_avx2()
578 sec+= sec_stride; in vpx_sub_pixel_avg_variance32xh_avx2()
600 sec_reg = _mm256_loadu_si256((__m256i const *) (sec)); in vpx_sub_pixel_avg_variance32xh_avx2()
[all …]
/external/blktrace/btt/
Diostat.c104 avgrq_sz = (double)(sp->sec[0] + sp->sec[1]) / nios; in __dump_stats()
123 fprintf(iostat_ofp, "%9.2lf ", (double)sp->sec[1] / dt); in __dump_stats()
124 fprintf(iostat_ofp, "%9.2lf ", (double)sp->sec[0] / dt); in __dump_stats()
125 fprintf(iostat_ofp, "%9.2lf ", (double)(sp->sec[1] / 2) / dt); in __dump_stats()
126 fprintf(iostat_ofp, "%9.2lf ", (double)(sp->sec[0] / 2) / dt); in __dump_stats()
138 sp->sec[0] = sp->sec[1] = 0; in __dump_stats()
151 asp->sec_s[i] += ((double)sp->sec[i] / dt); in __dump_stats()
260 ADD_STAT(dip, sec[rw], iop->t.bytes >> 9); in iostat_issue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ec/
DCustomNamedCurves.java9 import org.bouncycastle.asn1.sec.SECObjectIdentifiers;
22 import org.bouncycastle.math.ec.custom.sec.SecP192K1Curve;
23 import org.bouncycastle.math.ec.custom.sec.SecP192R1Curve;
24 import org.bouncycastle.math.ec.custom.sec.SecP224K1Curve;
25 import org.bouncycastle.math.ec.custom.sec.SecP224R1Curve;
26 import org.bouncycastle.math.ec.custom.sec.SecP256K1Curve;
27 import org.bouncycastle.math.ec.custom.sec.SecP256R1Curve;
28 import org.bouncycastle.math.ec.custom.sec.SecP384R1Curve;
29 import org.bouncycastle.math.ec.custom.sec.SecP521R1Curve;

12345678910>>...19