/external/u-boot/drivers/rtc/ |
D | mx27rtc.c | 21 uint32_t day, hour, min, sec; in rtc_get() local 25 sec = readl(&rtc_regs->seconds); in rtc_get() 30 sec += min * 60 + hour * 3600 + day * 24 * 3600; in rtc_get() 32 rtc_to_tm(sec, time); in rtc_get() 40 uint32_t day, hour, min, sec; in rtc_set() local 42 sec = rtc_mktime(time); in rtc_set() 44 day = sec / (24 * 3600); in rtc_set() 45 sec = sec % (24 * 3600); in rtc_set() 46 hour = sec / 3600; in rtc_set() 47 sec = sec % 3600; in rtc_set() [all …]
|
/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/perfetto/ui/src/common/ |
D | time.ts | 18 export function timeToString(sec: number) { 20 const sign = Math.sign(sec); 21 let n = Math.abs(sec); 36 export function formatTimestamp(sec: number) { 37 const parts = sec.toFixed(9).split('.'); 44 export function timeToCode(sec: number) { 46 let ns = Math.round(sec * 1e9); 89 isInBounds(sec: number) { 90 return this.start <= sec && sec <= this.end; 93 add(sec: number): TimeSpan { [all …]
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | timestruct.go | 18 sec := nsec / 1e9 22 sec-- 24 return setTimespec(sec, nsec) 32 sec := t.Unix() 34 ts := setTimespec(sec, nsec) 39 if int64(ts.Sec) != sec { 54 sec := nsec / 1e9 57 sec-- 59 return setTimeval(sec, usec) 64 func (ts *Timespec) Unix() (sec int64, nsec int64) { [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()
|
/external/elfutils/src/ |
D | unstrip.c | 1067 const struct section *sec = §ions[i]; in find_alloc_sections_prelink() local 1068 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink() 1069 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink() 1070 && !strcmp (sec->name, ".gnu.prelink_undo")) in find_alloc_sections_prelink() 1072 undo = sec->scn; in find_alloc_sections_prelink() 1150 struct section *sec = &undo_sections[undo_nalloc]; in find_alloc_sections_prelink() local 1155 #define COPY(field) sec->shdr.field = (*s32)[i].field in find_alloc_sections_prelink() 1169 sec->shdr = (*s64)[i]; in find_alloc_sections_prelink() 1170 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink() 1172 sec->shdr.sh_addr += bias; in find_alloc_sections_prelink() [all …]
|
/external/u-boot/drivers/crypto/fsl/ |
D | jr.c | 40 ccsr_sec_t *sec = (void *)SEC_ADDR(sec_idx); in start_jr0() local 41 u32 ctpr_ms = sec_in32(&sec->ctpr_ms); in start_jr0() 42 u32 scfgr = sec_in32(&sec->scfgr); in start_jr0() 50 sec_out32(&sec->jrstartr, CONFIG_JRSTARTR_JR0); in start_jr0() 54 sec_out32(&sec->jrstartr, CONFIG_JRSTARTR_JR0); in start_jr0() 60 ccsr_sec_t *sec = (void *)SEC_ADDR(sec_idx); in jr_reset_liodn() local 61 sec_out32(&sec->jrliodnr[0].ls, 0); in jr_reset_liodn() 413 ccsr_sec_t *sec = (void *)SEC_ADDR(sec_idx); in sec_reset_idx() local 414 uint32_t mcfgr = sec_in32(&sec->mcfgr); in sec_reset_idx() 418 sec_out32(&sec->mcfgr, mcfgr); in sec_reset_idx() [all …]
|
/external/ltp/testcases/kernel/io/aio/ |
D | aio01.c | 99 int i, j, sec, usec; in main() local 146 sec = etv.tv_sec - stv.tv_sec; in main() 150 sec--; in main() 153 nr, sec, usec); in main() 177 sec = etv.tv_sec - stv.tv_sec; in main() 181 sec--; in main() 184 nr, sec, usec); in main() 208 sec = etv.tv_sec - stv.tv_sec; in main() 212 sec--; in main() 215 nr, sec, usec); in main() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
D | COFFObjectFile.cpp | 280 const coff_section *sec = toSec(Sec); in getSectionNext() local 281 sec += 1; in getSectionNext() 282 Sec.p = reinterpret_cast<uintptr_t>(sec); in getSectionNext() 289 const coff_section *sec = toSec(Sec); in getSectionName() local 291 if (sec->Name[7] == 0) in getSectionName() 293 name = sec->Name; in getSectionName() 296 name = StringRef(sec->Name, 8); in getSectionName() 312 const coff_section *sec = toSec(Sec); in getSectionAddress() local 313 Result = sec->VirtualAddress; in getSectionAddress() 319 const coff_section *sec = toSec(Sec); in getSectionSize() local [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/bcc/tools/ |
D | pidpersec_example.txt | 9 18:33:06: PIDs/sec: 4 10 18:33:07: PIDs/sec: 5 11 18:33:08: PIDs/sec: 4 12 18:33:09: PIDs/sec: 4 13 18:33:10: PIDs/sec: 21 14 18:33:11: PIDs/sec: 5 15 18:33:12: PIDs/sec: 4 16 18:33:13: PIDs/sec: 4
|
/external/python/cpython2/Lib/plat-irix5/ |
D | cddb.py | 47 sec = 0 51 sec = sec + length[1] 52 min = min + sec / 60 53 sec = sec % 60 54 hash = hash + _dbid(min) + _dbid(sec) 159 sec = 0 163 sec = sec + length[1] 164 min = min + sec / 60 165 sec = sec % 60 166 self.id = self.id + _dbid(min) + _dbid(sec)
|
/external/python/cpython2/Lib/plat-irix6/ |
D | cddb.py | 47 sec = 0 51 sec = sec + length[1] 52 min = min + sec / 60 53 sec = sec % 60 54 hash = hash + _dbid(min) + _dbid(sec) 159 sec = 0 163 sec = sec + length[1] 164 min = min + sec / 60 165 sec = sec % 60 166 self.id = self.id + _dbid(min) + _dbid(sec)
|
/external/wpa_supplicant_8/src/ap/ |
D | bss_load.c | 20 unsigned int *sec, unsigned int *usec) in get_bss_load_update_timeout() argument 35 *sec = ((update_timeout / 1000) * 1024) / 1000; in get_bss_load_update_timeout() 45 unsigned int sec, usec; in update_channel_utilization() local 60 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0) in update_channel_utilization() 78 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in update_channel_utilization() 85 unsigned int sec, usec; in bss_load_update_init() local 87 if (get_bss_load_update_timeout(hapd, &sec, &usec) < 0) in bss_load_update_init() 90 eloop_register_timeout(sec, usec, update_channel_utilization, hapd, in bss_load_update_init()
|
/external/iptables/extensions/ |
D | libxt_hashlimit.t | 2 -m hashlimit --hashlimit-above 1/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK 3 -m hashlimit --hashlimit-above 1000000/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK 8 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK 9 -m hashlimit --hashlimit-upto 1000000/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK 14 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-name mini1 --hashlimit-htable-e… 15 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-mode srcip --hashlimit-name min… 16 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-mode dstip --hashlimit-name min… 17 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-mode dstip --hashlimit-name min… 18 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-mode dstip --hashlimit-name min… 19 -m hashlimit --hashlimit-upto 1/sec --hashlimit-name mini1;-m hashlimit --hashlimit-upto 1/sec --ha… [all …]
|
/external/iperf3/src/ |
D | iperf_udp.c | 64 uint32_t sec, usec; in iperf_udp_recv() local 87 memcpy(&sec, sp->buffer, sizeof(sec)); in iperf_udp_recv() 90 sec = ntohl(sec); in iperf_udp_recv() 93 sent_time.secs = sec; in iperf_udp_recv() 98 memcpy(&sec, sp->buffer, sizeof(sec)); in iperf_udp_recv() 101 sec = ntohl(sec); in iperf_udp_recv() 104 sent_time.secs = sec; in iperf_udp_recv() 202 uint32_t sec, usec; in iperf_udp_send() local 205 sec = htonl(before.secs); in iperf_udp_send() 209 memcpy(sp->buffer, &sec, sizeof(sec)); in iperf_udp_send() [all …]
|
/external/ltp/testcases/kernel/syscalls/alarm/ |
D | alarm02.c | 22 unsigned int sec; member 36 ret = alarm(tc->sec); in verify_alarm() 40 tc->sec, TST_RET); in verify_alarm() 48 tc->sec, tc->str); in verify_alarm() 52 if (tc->sec != TST_RET) { in verify_alarm() 55 tc->sec, TST_RET); in verify_alarm() 62 tc->sec, TST_RET, tc->str); in verify_alarm()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/ |
D | coff-import-library.test | 3 CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 0) (nx 0) 0x00000000 __imp__constant 5 CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 0) (nx 0) 0x00000000 __imp__data 7 CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 0) (nx 0) 0x00000000 __imp__function 8 CHECK: [ 1](sec 0)(fl 0x00)(ty 20)(scl 0) (nx 0) 0x00000000 _function 10 CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 0) (nx 0) 0x00000000 __imp__ordinal 11 CHECK: [ 1](sec 0)(fl 0x00)(ty 20)(scl 0) (nx 0) 0x00000000 _ordinal
|
/external/skia/src/core/ |
D | SkBitmapProcState.h | 135 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument 139 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument 145 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument 147 SkASSERT((uint16_t)sec == sec); in pack_two_shorts() 148 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts() 151 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
|
/external/skqp/src/core/ |
D | SkBitmapProcState.h | 135 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec)) argument 139 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16)) argument 145 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument 147 SkASSERT((uint16_t)sec == sec); in pack_two_shorts() 148 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts() 151 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec) argument
|
/external/python/cpython2/Tools/faqwiz/ |
D | faqwiz.py | 208 self.sec, self.num = sec_num 337 sec, num = m.group(1, 2) 338 return int(sec), int(num) 366 sec, num = self.parse(file) 367 if sec == section: 500 sec = 0 506 if headers and entry.sec != sec: 507 sec = entry.sec 509 title = SECTION_TITLES[sec] 513 sec=sec, title=title) [all …]
|
/external/tensorflow/tensorflow/core/profiler/g3doc/ |
D | profile_time.md | 50 _TFProfRoot (--/3.74sec) 51 seq2seq_attention.py'>:168:run_filename_from...:none (0us/3.74sec) 52 seq2seq_attention.py'>:33:_run_code_in_main:none (0us/3.74sec) 53 seq2seq_attention.py:316:<module>:app.run() (0us/3.74sec) 54 seq2seq_attention.py:270:main:_Train(model, bat... (0us/3.74sec) 55 seq2seq_attention.py:128:_Train:model.build_graph() (0us/3.74sec) 56 seq2seq_attention_model.py:360:build_graph:self._add_seq2seq() (0us/2.79sec) 57 seq2seq_attention_model.py:293:_add_seq2seq:decoder_outputs, ... (0us/2.46sec) 77 _TFProfRoot (--/3.74sec) 78 seq2seq_attention_model.py:360:build_graph:self._add_seq2seq() (0us/2.79sec) [all …]
|
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-nsec-timestamps/ |
D | ext4_nsec_timestamps_test.sh | 92 sec=`echo $cur_time | awk {'print $1'}` 95 sec_atime=`ext4_file_time mnt_point/tmp_file atime sec` 96 sec_mtime=`ext4_file_time mnt_point/tmp_file mtime sec` 97 sec_ctime=`ext4_file_time mnt_point/tmp_file ctime sec` 109 diff1=$(( $sec_atime - $sec )) 110 diff2=$(( $sec_mtime - $sec )) 111 diff3=$(( $sec_ctime - $sec )) 118 cur_time[s]: $sec)"
|
/external/libaom/libaom/aom_dsp/x86/ |
D | variance_impl_avx2.c | 297 const uint8_t *dst, int dst_stride, const uint8_t *sec, int sec_stride, in aom_sub_pixel_avg_variance32xh_avx2() argument 313 sec_reg = _mm256_loadu_si256((__m256i const *)(sec)); in aom_sub_pixel_avg_variance32xh_avx2() 315 sec += sec_stride; in aom_sub_pixel_avg_variance32xh_avx2() 327 sec_reg = _mm256_loadu_si256((__m256i const *)(sec)); in aom_sub_pixel_avg_variance32xh_avx2() 329 sec += sec_stride; in aom_sub_pixel_avg_variance32xh_avx2() 349 sec_reg = _mm256_loadu_si256((__m256i const *)(sec)); in aom_sub_pixel_avg_variance32xh_avx2() 351 sec += sec_stride; in aom_sub_pixel_avg_variance32xh_avx2() 365 sec_reg = _mm256_loadu_si256((__m256i const *)(sec)); in aom_sub_pixel_avg_variance32xh_avx2() 367 sec += sec_stride; in aom_sub_pixel_avg_variance32xh_avx2() 389 sec_reg = _mm256_loadu_si256((__m256i const *)(sec)); in aom_sub_pixel_avg_variance32xh_avx2() [all …]
|