Home
last modified time | relevance | path

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

12345678910>>...59

/external/vboot_reference/tests/
Dvb2_secdata_fwmp_tests.c19 static struct vb2_secdata_fwmp *sec; variable
33 sec = (struct vb2_secdata_fwmp *)ctx->secdata_fwmp; in reset_common_data()
34 sec->struct_size = VB2_SECDATA_FWMP_MIN_SIZE; in reset_common_data()
35 sec->struct_version = VB2_SECDATA_FWMP_VERSION; in reset_common_data()
36 sec->flags = 0; in reset_common_data()
37 sec->crc8 = vb2_secdata_fwmp_crc(sec); in reset_common_data()
59 sec->struct_size = VB2_SECDATA_FWMP_MAX_SIZE + 1; in check_init_test()
60 sec->crc8 = vb2_secdata_fwmp_crc(sec); in check_init_test()
61 size = sec->struct_size; in check_init_test()
69 sec->struct_size = VB2_SECDATA_FWMP_MIN_SIZE - 1; in check_init_test()
[all …]
/external/vboot_reference/firmware/2lib/
D2secdata_fwmp.c17 struct vb2_secdata_fwmp *sec = in vb2api_secdata_fwmp_check() local
29 if (sec->struct_size < VB2_SECDATA_FWMP_MIN_SIZE || in vb2api_secdata_fwmp_check()
30 sec->struct_size > VB2_SECDATA_FWMP_MAX_SIZE) { in vb2api_secdata_fwmp_check()
31 VB2_DEBUG("FWMP: invalid size: %d\n", sec->struct_size); in vb2api_secdata_fwmp_check()
36 if (*size < sec->struct_size) { in vb2api_secdata_fwmp_check()
37 VB2_DEBUG("FWMP: missing %d bytes\n", sec->struct_size - *size); in vb2api_secdata_fwmp_check()
38 *size = sec->struct_size; in vb2api_secdata_fwmp_check()
41 *size = sec->struct_size; in vb2api_secdata_fwmp_check()
44 if (sec->crc8 != vb2_secdata_fwmp_crc(sec)) { in vb2api_secdata_fwmp_check()
50 if ((sec->struct_version >> 4) != (VB2_SECDATA_FWMP_VERSION >> 4)) { in vb2api_secdata_fwmp_check()
[all …]
D2secdata_kernel.c20 struct vb2_secdata_kernel_v1 *sec = (void *)ctx->secdata_kernel; in is_v0() local
21 return MAJOR_VER(sec->struct_version) == 0; in is_v0()
38 struct vb2_secdata_kernel_v1 *sec in secdata_kernel_crc() local
41 size = sec->struct_size - offset; in secdata_kernel_crc()
50 struct vb2_secdata_kernel_v0 *sec = (void *)ctx->secdata_kernel; in secdata_kernel_check_v0() local
51 uint8_t ver = sec->struct_version; in secdata_kernel_check_v0()
62 if (sec->crc8 != secdata_kernel_crc(ctx)) { in secdata_kernel_check_v0()
68 if (sec->uid != VB2_SECDATA_KERNEL_UID) { in secdata_kernel_check_v0()
79 struct vb2_secdata_kernel_v1 *sec = (void *)ctx->secdata_kernel; in secdata_kernel_check_v1() local
80 uint8_t ver = sec->struct_version; in secdata_kernel_check_v1()
[all …]
D2secdata_firmware.c17 struct vb2_secdata_firmware *sec = in vb2api_secdata_firmware_check() local
21 if (sec->crc8 != vb2_crc8(sec, offsetof(struct vb2_secdata_firmware, in vb2api_secdata_firmware_check()
28 if (sec->struct_version < VB2_SECDATA_FIRMWARE_VERSION) { in vb2api_secdata_firmware_check()
38 struct vb2_secdata_firmware *sec = in vb2api_secdata_firmware_create() local
42 memset(sec, 0, sizeof(*sec)); in vb2api_secdata_firmware_create()
45 sec->struct_version = VB2_SECDATA_FIRMWARE_VERSION; in vb2api_secdata_firmware_create()
48 sec->crc8 = vb2_crc8(sec, offsetof(struct vb2_secdata_firmware, crc8)); in vb2api_secdata_firmware_create()
53 return sizeof(*sec); in vb2api_secdata_firmware_create()
76 struct vb2_secdata_firmware *sec = in vb2_secdata_firmware_get() local
87 return sec->flags; in vb2_secdata_firmware_get()
[all …]
/external/libbpf/src/
Dlinker.c164 static int linker_sanity_check_elf_symtab(struct src_obj *obj, struct src_sec *sec);
165 static int linker_sanity_check_elf_relos(struct src_obj *obj, struct src_sec *sec);
201 struct dst_sec *sec = &linker->secs[i]; in bpf_linker__free() local
203 free(sec->sec_name); in bpf_linker__free()
204 free(sec->raw_data); in bpf_linker__free()
205 free(sec->sec_vars); in bpf_linker__free()
207 free(sec->func_info.recs); in bpf_linker__free()
208 free(sec->line_info.recs); in bpf_linker__free()
209 free(sec->core_relo_info.recs); in bpf_linker__free()
249 struct dst_sec *secs = linker->secs, *sec; in add_dst_sec() local
[all …]
/external/coreboot/util/intelvbttool/
Dintelvbttool.c522 const struct bdb_general_features *sec = in dump_vbt() local
526 if (sec->panel_fitting) in dump_vbt()
528 sec->panel_fitting); in dump_vbt()
529 if (sec->flexaim) in dump_vbt()
531 sec->flexaim); in dump_vbt()
532 if (sec->msg_enable) in dump_vbt()
534 sec->msg_enable); in dump_vbt()
535 if (sec->clear_screen) in dump_vbt()
537 sec->clear_screen); in dump_vbt()
538 if (sec->color_flip) in dump_vbt()
[all …]
/external/coreboot/tests/lib/
Drtc-test.c21 assert_int_equal(0, tm.sec); in test_rtc_to_tm_from_unix_time()
32 assert_int_equal(1, tm.sec); in test_rtc_to_tm_from_unix_time()
43 assert_int_equal(7, tm.sec); in test_rtc_to_tm_from_unix_time()
54 assert_int_equal(25, tm.sec); in test_rtc_to_tm_from_unix_time()
65 assert_int_equal(-1, tm.sec); in test_rtc_to_tm_from_unix_time()
78 .year = 1970, .mon = 1, .mday = 1, .hour = 0, .min = 0, .sec = 0, in test_mktime()
84 .year = 2038, .mon = 1, .mday = 19, .hour = 3, .min = 14, .sec = 7, in test_mktime()
90 .year = 1999, .mon = 12, .mday = 6, .hour = 16, .min = 13, .sec = 59, in test_mktime()
96 .year = 2017, .mon = 2, .mday = 29, .hour = 1, .min = 2, .sec = 3, in test_mktime()
99 .year = 2017, .mon = 3, .mday = 1, .hour = 1, .min = 2, .sec = 3, in test_mktime()
[all …]
/external/pytorch/benchmarks/distributed/ddp/
DREADME.md68sec/iter ex/sec sec/iter ex/sec sec/iter ex/sec sec/iter ex/sec
78sec/iter ex/sec sec/iter ex/sec sec/iter ex/sec sec/iter ex/sec
88sec/iter ex/sec sec/iter ex/sec sec/iter ex/sec sec/iter ex/sec
98sec/iter ex/sec sec/iter ex/sec sec/iter ex/sec sec/iter ex/sec
125 sec/iter ex/sec diff sec/iter ex/sec diff
134 sec/iter ex/sec diff sec/iter ex/sec diff
143 sec/iter ex/sec diff sec/iter ex/sec diff
152 sec/iter ex/sec diff sec/iter ex/sec diff
/external/libwebsockets/READMEs/
DREADME.ctest.md79 1/73 Test #71: st_wcs_srv .................................. Passed 5.01 sec
81 2/73 Test #43: st_hcp_srv .................................. Passed 5.01 sec
83 3/73 Test #19: st_hcmp_srv ................................. Passed 5.01 sec
85 4/73 Test #17: st_hcm_srv .................................. Passed 5.01 sec
87 5/73 Test #55: st_ssproxyctx ............................... Passed 1.02 sec
89 6/73 Test #52: st_ssproxy .................................. Passed 1.02 sec
91 7/73 Test #67: st_sstfproxy ................................ Passed 1.01 sec
93 8/73 Test #60: st_ssprxsmd_sspc ............................ Passed 1.01 sec
95 9/73 Test #63: st_mulssprxsmd_sspc ......................... Passed 1.02 sec
97 10/73 Test #73: ws-client-spam .............................. Passed 12.21 sec
[all …]
/external/rust/android-crates-io/crates/toml/src/
Dmacros.rs84 …nt [$($path:tt)*] $($($k:tt)-+).+ = $yr:tt - $mo:tt - $dhr:tt : $min:tt : $sec:tt . $frac:tt - $tz…
85 …leveldatetime $root [$($path)*] $($($k)-+).+ = ($yr - $mo - $dhr : $min : $sec . $frac - $tzh : $t…
88 …path:tt)*] $($($k:tt)-+).+ = $yr:tt - $mo:tt - $day:tt $hr:tt : $min:tt : $sec:tt . $frac:tt - $tz…
89 …atetime $root [$($path)*] $($($k)-+).+ = ($yr - $mo - $day T $hr : $min : $sec . $frac - $tzh : $t…
93 …nt [$($path:tt)*] $($($k:tt)-+).+ = $yr:tt - $mo:tt - $dhr:tt : $min:tt : $sec:tt - $tzh:tt : $tzm…
94 …leveldatetime $root [$($path)*] $($($k)-+).+ = ($yr - $mo - $dhr : $min : $sec - $tzh : $tzm) $($r…
97 …path:tt)*] $($($k:tt)-+).+ = $yr:tt - $mo:tt - $day:tt $hr:tt : $min:tt : $sec:tt - $tzh:tt : $tzm…
98 …atetime $root [$($path)*] $($($k)-+).+ = ($yr - $mo - $day T $hr : $min : $sec - $tzh : $tzm) $($r…
102 …nt [$($path:tt)*] $($($k:tt)-+).+ = $yr:tt - $mo:tt - $dhr:tt : $min:tt : $sec:tt . $frac:tt $($re…
103 …leveldatetime $root [$($path)*] $($($k)-+).+ = ($yr - $mo - $dhr : $min : $sec . $frac) $($rest)*);
[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 …]
/external/wpa_supplicant_8/hostapd/
Dsae_pk_gen.c26 int sec, j; in main() local
48 sec = atoi(argv[2]); in main()
49 if (sec != 3 && sec != 5) { in main()
54 sec_1b = sec == 3; in main()
56 for (j = 0; j < sec; j++) in main()
118 for (j = 2; j < sec; j++) { in main()
122 if (j == sec) in main()
150 val20 = sae_pk_get_be19(hash + sec); in main()
152 sae_pk_buf_shift_left_19(hash + sec, hash_len - sec); in main()
166 pw_base_bin, hash_len - sec) >= 0) in main()
[all …]
/external/trusty/arm-trusted-firmware/plat/hisilicon/hikey/
Dhisi_mcu.c86 static int is_binary_section_invalid(struct mcu_image_sec *sec, in is_binary_section_invalid() argument
91 if ((sec->serial >= head->secs_num) || in is_binary_section_invalid()
92 (sec->src_offset + sec->size > head->image_size)) in is_binary_section_invalid()
95 if ((sec->type >= MCU_IMAGE_SEC_TYPE_BUTT) || in is_binary_section_invalid()
96 (sec->load_attr >= MCU_IMAGE_SEC_LOAD_BUTT)) in is_binary_section_invalid()
99 ap_dst_offset = mcu2ap_addr(sec->dst_offset); in is_binary_section_invalid()
101 (ap_dst_offset < SOC_SRAM_M3_BASE_ADDR + 0x20000 - sec->size)) in is_binary_section_invalid()
104 (ap_dst_offset < MCU_SYS_MEM_ADDR + MCU_SYS_MEM_SIZE - sec->size)) in is_binary_section_invalid()
107 (ap_dst_offset < 0xfff91c00 - sec->size)) in is_binary_section_invalid()
112 __func__, sec->serial, sec->dst_offset, sec->size); in is_binary_section_invalid()
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhisi_mcu.c86 static int is_binary_section_invalid(struct mcu_image_sec *sec, in is_binary_section_invalid() argument
91 if ((sec->serial >= head->secs_num) || in is_binary_section_invalid()
92 (sec->src_offset + sec->size > head->image_size)) in is_binary_section_invalid()
95 if ((sec->type >= MCU_IMAGE_SEC_TYPE_BUTT) || in is_binary_section_invalid()
96 (sec->load_attr >= MCU_IMAGE_SEC_LOAD_BUTT)) in is_binary_section_invalid()
99 ap_dst_offset = mcu2ap_addr(sec->dst_offset); in is_binary_section_invalid()
101 (ap_dst_offset < SOC_SRAM_M3_BASE_ADDR + 0x20000 - sec->size)) in is_binary_section_invalid()
104 (ap_dst_offset < MCU_SYS_MEM_ADDR + MCU_SYS_MEM_SIZE - sec->size)) in is_binary_section_invalid()
107 (ap_dst_offset < 0xfff91c00 - sec->size)) in is_binary_section_invalid()
112 __func__, sec->serial, sec->dst_offset, sec->size); in is_binary_section_invalid()
/external/elfutils/src/
Dunstrip.c1138 const struct section *sec = &sections[i]; in find_alloc_sections_prelink() local
1139 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink()
1140 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1141 && !strcmp (sec->name, ".gnu.prelink_undo")) in find_alloc_sections_prelink()
1143 undo = sec->scn; in find_alloc_sections_prelink()
1221 struct section *sec = &undo_sections[undo_nalloc]; in find_alloc_sections_prelink() local
1226 #define COPY(field) sec->shdr.field = (*s32)[i].field in find_alloc_sections_prelink()
1240 sec->shdr = (*s64)[i]; in find_alloc_sections_prelink()
1241 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1243 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/ltp/testcases/kernel/io/aio/
Daio01.c99 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/iptables/extensions/
Dlibxt_hashlimit.t2 -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
7 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK
8 -m hashlimit --hashlimit-upto 1000000/sec --hashlimit-burst 5 --hashlimit-name mini1;=;OK
12 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-name mini1 --hashlimit-htable-e…
13 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-mode srcip --hashlimit-name min…
14 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-mode dstip --hashlimit-name min…
15 -m hashlimit --hashlimit-upto 1/sec --hashlimit-burst 1 --hashlimit-mode dstip --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-name mini1;-m hashlimit --hashlimit-upto 1/sec --ha…
[all …]
/external/bcc/tools/
Dpidpersec_example.txt9 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/coreboot/src/soc/amd/common/block/cpu/mca/
Dmca_common_bert.c25 void fill_generic_section(cper_proc_generic_error_section_t *sec, in fill_generic_section() argument
31 sec->error_type = GENPROC_ERRTYPE_BUS; in fill_generic_section()
33 sec->error_type = GENPROC_ERRTYPE_UARCH; in fill_generic_section()
35 sec->error_type = GENPROC_ERRTYPE_CACHE; in fill_generic_section()
37 sec->error_type = GENPROC_ERRTYPE_TLB; in fill_generic_section()
39 sec->error_type = GENPROC_ERRTYPE_UNKNOWN; in fill_generic_section()
40 sec->validation |= GENPROC_VALID_PROC_ERR_TYPE; in fill_generic_section()
/external/rust/android-crates-io/crates/chrono/src/naive/time/
Dmod.rs253 pub const fn from_hms(hour: u32, min: u32, sec: u32) -> NaiveTime { in from_hms()
254 expect(NaiveTime::from_hms_opt(hour, min, sec), "invalid time") in from_hms()
281 pub const fn from_hms_opt(hour: u32, min: u32, sec: u32) -> Option<NaiveTime> { in from_hms_opt()
282 NaiveTime::from_hms_nano_opt(hour, min, sec, 0) in from_hms_opt()
296 pub const fn from_hms_milli(hour: u32, min: u32, sec: u32, milli: u32) -> NaiveTime { in from_hms_milli()
297 expect(NaiveTime::from_hms_milli_opt(hour, min, sec, milli), "invalid time") in from_hms_milli()
329 sec: u32, in from_hms_milli_opt()
333 NaiveTime::from_hms_nano_opt(hour, min, sec, nano) in from_hms_milli_opt()
347 pub const fn from_hms_micro(hour: u32, min: u32, sec: u32, micro: u32) -> NaiveTime { in from_hms_micro()
348 expect(NaiveTime::from_hms_micro_opt(hour, min, sec, micro), "invalid time") in from_hms_micro()
[all …]
/external/openscreen/cast/common/certificate/
Dtypes.cc52 time_t sec = static_cast<time_t>(seconds); in DateTimeFromSeconds() local
53 OSP_DCHECK_GE(sec, 0); in DateTimeFromSeconds()
54 OSP_DCHECK_EQ(static_cast<uint64_t>(sec), seconds); in DateTimeFromSeconds()
58 if (gmtime_s(&tm, &sec)) { in DateTimeFromSeconds()
62 if (!gmtime_r(&sec, &tm)) { in DateTimeFromSeconds()
91 time_t sec; in DateTimeToSeconds() local
93 sec = _mkgmtime(&tm); in DateTimeToSeconds()
95 sec = timegm(&tm); in DateTimeToSeconds()
97 return std::chrono::seconds(sec); in DateTimeToSeconds()
/external/wpa_supplicant_8/src/ap/
Dbss_load.c20 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/openthread/tools/cp-caps/
DREADME.md174 Throughput ----------------------------------------------- 75.6 Kbits/sec
183 1 TX ver:2003,Cmd,seq,dst[addr:short,pan:id],src[addr:no,pan:no],sec:no,ie:no,plen:0 --------------…
184 1 RX ver:2003,Cmd,seq,dst[addr:short,pan:id],src[addr:no,pan:no],sec:no,ie:no,plen:0 --------------…
185 2 TX ver:2003,Bcon,seq,dst[addr:no,pan:no],src[addr:extd,pan:id],sec:no,ie:no,plen:30 -------------…
186 2 RX ver:2003,Bcon,seq,dst[addr:no,pan:no],src[addr:extd,pan:id],sec:no,ie:no,plen:30 -------------…
187 3 TX ver:2003,MP,noseq,dst[addr:extd,pan:id],src[addr:extd,pan:no],sec:l5,ie[ren con],plen:0 ------…
188 3 RX ver:2003,MP,noseq,dst[addr:extd,pan:id],src[addr:extd,pan:no],sec:l5,ie[ren con],plen:0 ------…
189 4 TX ver:2006,Cmd,seq,dst[addr:short,pan:id],src[addr:short,pan:no],sec:l5,ie:no,plen:0 -----------…
190 4 RX ver:2006,Cmd,seq,dst[addr:short,pan:id],src[addr:short,pan:no],sec:l5,ie:no,plen:0 -----------…
191 5 TX ver:2006,Cmd,seq,dst[addr:extd,pan:id],src[addr:extd,pan:no],sec:l5,ie:no,plen:0 -------------…
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dtime_zone.h274 const time_point<seconds>& sec, const femtoseconds& fs,
278 const time_point<seconds>& sec, const femtoseconds& fs,
282 const time_point<seconds>& sec, const femtoseconds& fs,
284 bool join_seconds(const time_point<seconds>& sec, const femtoseconds&,
374 time_point<seconds> sec; in parse() local
376 return detail::parse(fmt, input, tz, &sec, &fs) && in parse()
377 detail::join_seconds(sec, fs, tpp); in parse()
389 auto sec = std::chrono::time_point_cast<seconds>(tp); in split_seconds() local
390 auto sub = tp - sec; in split_seconds()
392 sec -= seconds(1); in split_seconds()
[all …]

12345678910>>...59