Home
last modified time | relevance | path

Searched refs:sec (Results 1 - 25 of 601) sorted by relevance

12345678910>>...25

/third_party/elfio/tests/
H A DELFIOTest.cpp64 void checkSection( const section* sec, in checkSection() argument
76 EXPECT_EQ( sec->get_index(), index ); in checkSection()
77 EXPECT_EQ( sec->get_name(), name ); in checkSection()
78 EXPECT_EQ( sec->get_type(), type ); in checkSection()
79 EXPECT_EQ( sec->get_flags(), flags ); in checkSection()
80 EXPECT_EQ( sec->get_address(), address ); in checkSection()
81 EXPECT_EQ( sec->get_size(), size ); in checkSection()
82 EXPECT_EQ( sec->get_link(), link ); in checkSection()
83 EXPECT_EQ( sec->get_info(), info ); in checkSection()
84 EXPECT_EQ( sec in checkSection()
89 checkSection( const section* sec, const std::string& name, Elf_Word type, Elf_Xword flags, Elf64_Addr address, Elf_Xword size, Elf_Word link, Elf_Word info, Elf_Xword addrAlign, Elf_Xword entrySize ) checkSection() argument
213 const section* sec = reader.sections[0]; TEST() local
324 const section* sec = reader.sections[0]; TEST() local
432 const section* sec = reader.sections[0]; TEST() local
493 const section* sec = reader.sections[0]; TEST() local
547 const section* sec = reader.sections[0]; TEST() local
618 const section* sec = reader.sections[0]; TEST() local
747 const section* sec = reader.sections[""]; TEST() local
800 const section* sec = reader.sections[""]; TEST() local
853 const section* sec = reader.sections[""]; TEST() local
906 const section* sec = reader.sections[""]; TEST() local
[all...]
/third_party/libbpf/src/
H A 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
299 struct dst_sec *sec; init_output_elf() local
479 is_ignored_sec(struct src_sec *sec) is_ignored_sec() argument
518 struct src_sec *secs = obj->secs, *sec; add_src_sec() local
554 struct src_sec *sec; linker_load_obj_file() local
702 struct src_sec *sec; linker_sanity_check_elf() local
763 linker_sanity_check_elf_symtab(struct src_obj *obj, struct src_sec *sec) linker_sanity_check_elf_symtab() argument
837 linker_sanity_check_elf_relos(struct src_obj *obj, struct src_sec *sec) linker_sanity_check_elf_relos() argument
1036 struct dst_sec *sec; find_dst_sec_by_name() local
1152 is_data_sec(struct src_sec *sec) is_data_sec() argument
1162 is_relo_sec(struct src_sec *sec) is_relo_sec() argument
1729 struct src_sec *sec; find_src_sec_by_name() local
2072 struct src_sec *sec = &obj->secs[src_sym->st_shndx]; linker_append_elf_relos() local
2133 struct src_sec *sec; linker_fixup_btf() local
2556 struct dst_sec *sec; bpf_linker__finalize() local
2670 struct dst_sec *sec = &linker->secs[i]; finalize_btf() local
2770 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local
2848 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local
2865 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local
2882 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local
[all...]
/third_party/elfio/elfio/
H A Delfio.hpp353 const section* sec = variable
356 sec != nullptr ) {
358 get_virtual_addr( seg->get_offset(), sec );
364 sec->get_name() + " (" +
379 const section* sec ) noexcept
381 return ( offset >= sec->get_offset() ) &&
382 ( offset < ( sec->get_offset() + sec->get_size() ) );
387 const section* sec ) noexcept
389 return sec
512 section* sec = create_section(); global() variable
742 const auto& sec = sections_[i]; global() variable
867 section* sec = sections[index]; global() variable
967 section* sec = nullptr; global() variable
979 section* sec = nullptr; global() variable
[all...]
H A Delfio_dump.hpp738 const section* sec = reader.sections[i]; in section_headers() local
739 section_header( out, i, sec, reader.get_class() ); in section_headers()
753 const section* sec, in section_header()
761 << DUMP_STR_FORMAT( 17 ) << str_section_type( sec->get_type() ) in section_header()
762 << " " << DUMP_HEX0x_FORMAT( 8 ) << sec->get_address() << " " in section_header()
763 << DUMP_HEX0x_FORMAT( 8 ) << sec->get_size() << " " in section_header()
764 << DUMP_HEX0x_FORMAT( 2 ) << sec->get_entry_size() << " " in section_header()
765 << DUMP_STR_FORMAT( 3 ) << section_flags( sec->get_flags() ) in section_header()
766 << " " << DUMP_HEX0x_FORMAT( 2 ) << sec->get_link() << " " in section_header()
767 << DUMP_HEX0x_FORMAT( 3 ) << sec in section_header()
751 section_header( std::ostream& out, Elf_Half no, const section* sec, unsigned char elf_class ) section_header() argument
1171 const section* sec = reader.sections[i]; section_datas() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos.h16 * os_sleep - Sleep (sec, usec)
17 * @sec: Number of seconds to sleep
20 void os_sleep(os_time_t sec, os_time_t usec);
23 os_time_t sec; member
28 os_time_t sec; member
33 * os_get_time - Get current time (sec, usec)
40 * os_get_reltime - Get relative time (sec, usec)
51 return (a->sec < b->sec) || in os_time_before()
52 (a->sec in os_time_before()
137 int sec; /* 0..59 or 60 for leap seconds */ global() member
[all...]
H A 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()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos.h16 * os_sleep - Sleep (sec, usec)
17 * @sec: Number of seconds to sleep
20 void os_sleep(os_time_t sec, os_time_t usec);
23 os_time_t sec; member
28 os_time_t sec; member
33 * os_get_time - Get current time (sec, usec)
40 * os_get_reltime - Get relative time (sec, usec)
51 return (a->sec < b->sec) || in os_time_before()
52 (a->sec in os_time_before()
137 int sec; /* 0..59 or 60 for leap seconds */ global() member
[all...]
H A 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()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DdestructuredDeclarationEmit.js5 const arr: [0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]] = [0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]];
14 const [ , one, , [, bee, , [, {sec} ]]] = arr;
15 export { one, bee, sec };
31 var arr = [0, 1, 2, ['a', 'b', 'c', [{ def: 'def' }, { sec: 'sec' }]]];
36 exports.foo2 = exports.sec = exports.bee = exports.one = exports.ibaz = exports.baz = exports.arr = exports.foo = void 0;
43 var one = foo_1.arr[1], _b = foo_1.arr[3], bee = _b[1], _c = _b[3], sec
[all...]
/third_party/elfutils/src/
H A Dunstrip.c1099 const struct section *sec = &sections[i]; in find_alloc_sections_prelink()
1100 if (sec->shdr.sh_type == SHT_PROGBITS in find_alloc_sections_prelink()
1101 && !(sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1102 && !strcmp (sec->name, ".gnu.prelink_undo")) in find_alloc_sections_prelink()
1104 undo = sec->scn; in find_alloc_sections_prelink()
1182 struct section *sec = &undo_sections[undo_nalloc]; in find_alloc_sections_prelink()
1187 #define COPY(field) sec->shdr.field = (*s32)[i].field in find_alloc_sections_prelink()
1201 sec->shdr = (*s64)[i]; in find_alloc_sections_prelink()
1202 if (sec->shdr.sh_flags & SHF_ALLOC) in find_alloc_sections_prelink()
1204 sec in find_alloc_sections_prelink()
1097 const struct section *sec = &sections[i]; find_alloc_sections_prelink() local
1180 struct section *sec = &undo_sections[undo_nalloc]; find_alloc_sections_prelink() local
1232 struct section *sec = find_alloc_section (shdr, 0, name, find_alloc_sections_prelink() local
1266 struct section *sec = &sections[j]; find_alloc_sections_prelink() local
1485 struct section *sec = NULL; copy_elided_sections() local
1918 Elf_Scn *sec = elf_getscn (unstripped, i + 1); copy_elided_sections() local
1945 Elf_Scn *sec = elf_getscn (unstripped, i + 1); copy_elided_sections() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A 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_le in main()
[all...]
/third_party/ltp/testcases/kernel/io/aio/
H A Daio01.c99 int i, j, sec, usec; in main() local
146 sec = etv.tv_sec - stv.tv_sec; in main()
150 sec--; in main()
152 tst_resm(TPASS, "Test 1: %d writes in %3d.%06d sec", in main()
153 nr, sec, usec); in main()
177 sec = etv.tv_sec - stv.tv_sec; in main()
181 sec--; in main()
183 tst_resm(TPASS, "Test 2: %d reads in %3d.%06d sec", in main()
184 nr, sec, usec); in main()
208 sec in main()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
H A Dpmksa_cache.c66 while (entry && entry->expiration <= now.sec) { in pmksa_cache_expire()
107 int sec; in pmksa_cache_set_expiration() local
116 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration()
117 if (sec < 0) { in pmksa_cache_set_expiration()
118 sec = 0; in pmksa_cache_set_expiration()
128 sec = entry->expiration - now.sec; in pmksa_cache_set_expiration()
129 if (sec < 0) in pmksa_cache_set_expiration()
130 sec in pmksa_cache_set_expiration()
[all...]
/third_party/ltp/lib/newlib_tests/
H A Dtest_timer.c80 long long sec = tst_ts_get_sec(ts); in test_add_sub() local
84 if (sec != 1 || nsec != 0) in test_add_sub()
85 tst_res(TFAIL, "sec = %lli, nsec = %lli", sec, nsec); in test_add_sub()
87 tst_res(TPASS, "sec = %lli, nsec = %lli", sec, nsec); in test_add_sub()
92 sec = tst_ts_get_sec(ts); in test_add_sub()
96 if (sec != 0 || nsec != 999999000) in test_add_sub()
97 tst_res(TFAIL, "sec = %lli, nsec = %lli", sec, nse in test_add_sub()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dbss_load.c20 unsigned int *sec, unsigned int *usec) in get_bss_load_update_timeout()
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()
19 get_bss_load_update_timeout(struct hostapd_data *hapd, unsigned int *sec, unsigned int *usec) get_bss_load_update_timeout() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dbss_load.c20 unsigned int *sec, unsigned int *usec) in get_bss_load_update_timeout()
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()
19 get_bss_load_update_timeout(struct hostapd_data *hapd, unsigned int *sec, unsigned int *usec) get_bss_load_update_timeout() argument
/third_party/lwip/src/apps/sntp/
H A Dsntp.c170 SNTP_SEC_FRAC_TO_S64(lwip_ntohl((t).sec), lwip_ntohl((t).frac))
177 u32_t sec; member
274 sntp_format_time(s32_t sec) in sntp_format_time() argument
277 ut = (u32_t)((u32_t)sec + DIFF_SEC_1970_2036); in sntp_format_time()
288 s32_t sec; in sntp_process() local
291 sec = (s32_t)lwip_ntohl(timestamps->xmit.sec); in sntp_process()
296 if (timestamps->recv.sec != 0 || timestamps->recv.frac != 0) in sntp_process()
306 step_sec = (dest_sec < sec) ? ((u32_t)sec in sntp_process()
344 u32_t sec, frac; sntp_initialize_request() local
[all...]
/third_party/skia/src/core/
H A DSkBitmapProcState.h119 #define PACK_TWO_SHORTS(pri, sec) ((pri) << 16 | (sec))
123 #define PACK_TWO_SHORTS(pri, sec) ((pri) | ((sec) << 16))
129 static inline uint32_t pack_two_shorts(U16CPU pri, U16CPU sec) { in pack_two_shorts() argument
131 SkASSERT((uint16_t)sec == sec); in pack_two_shorts()
132 return PACK_TWO_SHORTS(pri, sec); in pack_two_shorts()
135 #define pack_two_shorts(pri, sec) PACK_TWO_SHORTS(pri, sec)
[all...]
/third_party/jerryscript/tests/jerry/
H A Ddate-setters.js16 var sec = 1000 * ms; variable
17 var min = 60 * sec;
38 /* 15.9.5.30 Date.prototype.setSeconds (sec [, ms ] ) */
40 assert (d.setSeconds(1) == sec);
43 assert (d.setSeconds(1, 1) == sec + ms);
47 /* 15.9.5.31 Date.prototype.setUTCSeconds (sec [, ms ] ) */
49 assert (d.setUTCSeconds(1) == sec);
52 assert (d.setUTCSeconds(1, 1) == sec + ms);
56 /* 15.9.5.32 Date.prototype.setMinutes (min [, sec [, ms ] ] ) */
61 assert (d.setMinutes(1, 1) == min + sec);
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c75 const unsigned char *sec, size_t slen,
91 unsigned char *sec; member
130 OPENSSL_clear_free(ctx->sec, ctx->seclen); in kdf_tls1_prf_reset()
148 if (ctx->sec == NULL) { in kdf_tls1_prf_derive()
162 ctx->sec, ctx->seclen, in kdf_tls1_prf_derive()
195 OPENSSL_clear_free(ctx->sec, ctx->seclen); in kdf_tls1_prf_set_ctx_params()
196 ctx->sec = NULL; in kdf_tls1_prf_set_ctx_params()
197 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->sec, 0, &ctx->seclen)) in kdf_tls1_prf_set_ctx_params()
288 const unsigned char *sec, size_t sec_len, in tls1_prf_P_hash()
298 if (!EVP_MAC_init(ctx_init, sec, sec_le in tls1_prf_P_hash()
287 tls1_prf_P_hash(EVP_MAC_CTX *ctx_init, const unsigned char *sec, size_t sec_len, const unsigned char *seed, size_t seed_len, unsigned char *out, size_t olen) tls1_prf_P_hash() argument
373 tls1_prf_alg(EVP_MAC_CTX *mdctx, EVP_MAC_CTX *sha1ctx, const unsigned char *sec, size_t slen, const unsigned char *seed, size_t seed_len, unsigned char *out, size_t olen) tls1_prf_alg() argument
[all...]
/third_party/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c75 const unsigned char *sec, size_t slen,
91 unsigned char *sec; member
130 OPENSSL_clear_free(ctx->sec, ctx->seclen); in kdf_tls1_prf_reset()
148 if (ctx->sec == NULL) { in kdf_tls1_prf_derive()
162 ctx->sec, ctx->seclen, in kdf_tls1_prf_derive()
195 OPENSSL_clear_free(ctx->sec, ctx->seclen); in kdf_tls1_prf_set_ctx_params()
196 ctx->sec = NULL; in kdf_tls1_prf_set_ctx_params()
197 if (!OSSL_PARAM_get_octet_string(p, (void **)&ctx->sec, 0, &ctx->seclen)) in kdf_tls1_prf_set_ctx_params()
288 const unsigned char *sec, size_t sec_len, in tls1_prf_P_hash()
298 if (!EVP_MAC_init(ctx_init, sec, sec_le in tls1_prf_P_hash()
287 tls1_prf_P_hash(EVP_MAC_CTX *ctx_init, const unsigned char *sec, size_t sec_len, const unsigned char *seed, size_t seed_len, unsigned char *out, size_t olen) tls1_prf_P_hash() argument
373 tls1_prf_alg(EVP_MAC_CTX *mdctx, EVP_MAC_CTX *sha1ctx, const unsigned char *sec, size_t slen, const unsigned char *seed, size_t seed_len, unsigned char *out, size_t olen) tls1_prf_alg() argument
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dgettimeofday.c41 int sec = atoi(str); in gettimeofday_0100() local
45 EXPECT_EQ("gettimeofday_0100", (sec == tv.tv_sec || (sec+1) == tv.tv_sec), true); in gettimeofday_0100()
74 int sec = atoi(str); in gettimeofday_time64_0100() local
78 EXPECT_EQ("gettimeofday_time64_0100", (sec == tv.tv_sec || (sec+1) == tv.tv_sec), true); in gettimeofday_time64_0100()
/third_party/ltp/testcases/kernel/syscalls/alarm/
H A Dalarm02.c23 unsigned int sec; member
36 TST_EXP_PASS(alarm(tc->sec), "alarm(%u)", tc->sec); in verify_alarm()
38 TST_EXP_VAL(alarm(0), tc->sec); in verify_alarm()
42 tc->sec, tc->str); in verify_alarm()
/third_party/toybox/toys/pending/
H A Dhost.c71 i, j, ret, sec, count, rcode, qlen, alen, pllen = 0, in host_main() local
149 for (sec=0; sec<4; sec++) { in host_main()
150 count = 256*abuf[4+2*sec] + abuf[5+2*sec]; in host_main()
151 if (verbose && count>0 && sec>1) in host_main()
152 puts(sec==2 ? "For authoritative answers, see:" in host_main()
159 if (!sec) continue; in host_main()
212 if (!verbose && sec in host_main()
[all...]
/third_party/ffmpeg/libavformat/
H A Dwebvttenc.c32 int64_t sec, min, hour; in webvtt_write_time() local
33 sec = millisec / 1000; in webvtt_write_time()
34 millisec -= 1000 * sec; in webvtt_write_time()
35 min = sec / 60; in webvtt_write_time()
36 sec -= 60 * min; in webvtt_write_time()
43 avio_printf(pb, "%02"PRId64":%02"PRId64".%03"PRId64"", min, sec, millisec); in webvtt_write_time()

Completed in 15 milliseconds

12345678910>>...25