/external/vboot_reference/firmware/2lib/ |
D | 2secdata.c | 16 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/ |
D | m_transtab.c | 682 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 = §ors[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/ |
D | os.h | 19 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 …]
|
D | os_win32.c | 17 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()
|
D | os_internal.c | 26 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/src/ |
D | unstrip.c | 941 const struct section *sec = §ions[i]; in find_alloc_sections_prelink() local 942 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink() 943 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink() 944 && !strcmp (sec->name, ".gnu.prelink_undo")) in find_alloc_sections_prelink() 946 undo = sec->scn; in find_alloc_sections_prelink() 1015 struct section *sec = &undo_sections[undo_nalloc]; in find_alloc_sections_prelink() local 1018 #define COPY(field) sec->shdr.field = shdr.s32[i].field in find_alloc_sections_prelink() 1032 sec->shdr = shdr.s64[i]; in find_alloc_sections_prelink() 1033 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink() 1035 sec->shdr.sh_addr += bias; in find_alloc_sections_prelink() [all …]
|
/external/iproute2/examples/ |
D | cbqinit.eth1 | 25 $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/linux-tools-perf/src/tools/perf/scripts/python/ |
D | netdev-times.py | 227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, vec): argument 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): argument 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): argument 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, argument 247 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, 251 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, irq, ret): argument 252 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, irq, ret) [all …]
|
/external/v8/src/ |
D | date.js | 48 function MakeTime(hour, min, sec, ms) { argument 51 if (!$isFinite(sec)) return NAN; 55 + TO_INTEGER(sec) * msPerSecond 484 function DateSetSeconds(sec, ms) { argument 486 sec = ToNumber(sec); 488 var time = MakeTime(LOCAL_HOUR(this), LOCAL_MIN(this), sec, ms); 494 function DateSetUTCSeconds(sec, ms) { argument 496 sec = ToNumber(sec); 498 var time = MakeTime(UTC_HOUR(this), UTC_MIN(this), sec, ms); 504 function DateSetMinutes(min, sec, ms) { argument [all …]
|
/external/skia/src/core/ |
D | SkBitmapProcState.h | 155 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument 159 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument 165 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument 167 SkASSERT((uint16_t)sec == sec); in pack_two_shorts() 168 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts() 171 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
|
/external/wpa_supplicant_8/src/ap/ |
D | bss_load.c | 22 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/linux-tools-perf/src/tools/perf/util/ |
D | symbol-elf.c | 121 Elf_Scn *sec = NULL; in elf_addr_to_index() local 125 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_addr_to_index() 126 gelf_getshdr(sec, &shdr); in elf_addr_to_index() 142 Elf_Scn *sec = NULL; in elf_section_by_name() local 149 while ((sec = elf_nextscn(elf, sec)) != NULL) { in elf_section_by_name() 152 gelf_getshdr(sec, shp); in elf_section_by_name() 162 return sec; in elf_section_by_name() 322 Elf_Scn *sec; in elf_read_build_id() local 345 sec = elf_section_by_name(elf, &ehdr, &shdr, in elf_read_build_id() 347 if (sec) in elf_read_build_id() [all …]
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_subpel_variance_impl_intrin_avx2.c | 318 const uint8_t *sec, in vp9_sub_pixel_avg_variance32xh_avx2() argument 336 sec_reg = _mm256_load_si256((__m256i const *) (sec)); in vp9_sub_pixel_avg_variance32xh_avx2() 338 sec+= sec_stride; in vp9_sub_pixel_avg_variance32xh_avx2() 350 sec_reg = _mm256_load_si256((__m256i const *) (sec)); in vp9_sub_pixel_avg_variance32xh_avx2() 352 sec+= sec_stride; in vp9_sub_pixel_avg_variance32xh_avx2() 372 sec_reg = _mm256_load_si256((__m256i const *) (sec)); in vp9_sub_pixel_avg_variance32xh_avx2() 374 sec+= sec_stride; in vp9_sub_pixel_avg_variance32xh_avx2() 388 sec_reg = _mm256_load_si256((__m256i const *) (sec)); in vp9_sub_pixel_avg_variance32xh_avx2() 390 sec+= sec_stride; in vp9_sub_pixel_avg_variance32xh_avx2() 412 sec_reg = _mm256_load_si256((__m256i const *) (sec)); in vp9_sub_pixel_avg_variance32xh_avx2() [all …]
|
/external/tcpdump/ |
D | print-timed.c | 51 long sec, usec; in timed_print() local 89 sec = EXTRACT_32BITS(&tsp->tsp_time.tv_sec); in timed_print() 95 if (sec < 0 && usec != 0) { in timed_print() 96 sec++; in timed_print() 97 if (sec == 0) in timed_print() 101 printf("%ld.%06ld", sec, usec); in timed_print()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationRootElements.java | 248 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()
|
D | CollationFastLatinBuilder.java | 412 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/ |
D | host.c | 71 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/icu/icu4c/source/i18n/ |
D | collationrootelements.cpp | 119 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/ |
D | pmksa_cache.c | 59 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/ |
D | gettime.c | 386 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/lldb/test/python_api/module_section/ |
D | TestModuleAndSection.py | 56 for sec in exe_module.section_iter(): 57 print sec 58 print INDENT + "Number of subsections: %d" % sec.GetNumSubSections() 59 if sec.GetNumSubSections() == 0: 60 for sym in exe_module.symbol_in_section_iter(sec): 64 for subsec in sec:
|
/external/wpa_supplicant_8/src/common/ |
D | hw_features_common.c | 159 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() 291 int sec = pri; in check_40mhz_2g4() local 306 sec = pri - 20; in check_40mhz_2g4() 308 sec = pri + 20; in check_40mhz_2g4() 312 (sec < affected_start || sec > affected_end)) in check_40mhz_2g4() 320 if (pri_freq != pri || sec_freq != sec) { in check_40mhz_2g4() 326 pri, sec, pri_chan, in check_40mhz_2g4() 327 sec > pri ? '+' : '-', in check_40mhz_2g4()
|
/external/blktrace/btt/doc/ |
D | btt.tex | 30 \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/blktrace/btt/ |
D | iostat.c | 104 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/ |
D | CustomNamedCurves.java | 8 import org.bouncycastle.asn1.sec.SECObjectIdentifiers; 16 import org.bouncycastle.math.ec.custom.sec.SecP192K1Curve; 17 import org.bouncycastle.math.ec.custom.sec.SecP192R1Curve; 18 import org.bouncycastle.math.ec.custom.sec.SecP224K1Curve; 19 import org.bouncycastle.math.ec.custom.sec.SecP224R1Curve; 20 import org.bouncycastle.math.ec.custom.sec.SecP256K1Curve; 21 import org.bouncycastle.math.ec.custom.sec.SecP256R1Curve; 22 import org.bouncycastle.math.ec.custom.sec.SecP384R1Curve; 23 import org.bouncycastle.math.ec.custom.sec.SecP521R1Curve;
|