Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 25 of 56) sorted by relevance

123

/busybox-1.35.0/libbb/
Dcapability.c69 for (i = 0; i < ARRAY_SIZE(capabilities); i++) { in cap_name_to_number()
83 if (cap_no < ARRAY_SIZE(capabilities)) { in printf_cap()
103 for (i = 0; i < ARRAY_SIZE(versions); i++) { in getcaps()
Dauto_string.c20 cur_saved = (cur_saved + 1) & (ARRAY_SIZE(saved)-1); in auto_string()
Du_signal_names.c165 for (i = 0; i < ARRAY_SIZE(signals); i++) in get_signum()
236 if ((unsigned)number < ARRAY_SIZE(signals)) { in get_signame()
251 for (signo = 1; signo < ARRAY_SIZE(signals); signo++) { in print_signames()
Dunicode.c624 if (in_interval_table(ucs, combining, ARRAY_SIZE(combining) - 1)) in wcwidth()
626 if (in_uint16_table(ucs, combining1, ARRAY_SIZE(combining1) - 1)) in wcwidth()
658 if (in_interval_table(ucs ^ 0x10000, combining0x10000, ARRAY_SIZE(combining0x10000) - 1)) in wcwidth()
777 if (in_interval_table(wc, rtl_b, ARRAY_SIZE(rtl_b) - 1)) in unicode_bidi_isrtl()
779 if (in_uint16_table(wc, rtl_p, ARRAY_SIZE(rtl_p) - 1)) in unicode_bidi_isrtl()
981 if (in_interval_table(wc, neutral_b, ARRAY_SIZE(neutral_b) - 1)) in unicode_bidi_is_neutral_wchar()
983 if (in_uint16_table(wc, neutral_p, ARRAY_SIZE(neutral_p) - 1)) in unicode_bidi_is_neutral_wchar()
Dspeed_table.c122 enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };
/busybox-1.35.0/util-linux/volume_id/
Dvolume_id.c187 for (i = 0; i < ARRAY_SIZE(raid1); i++) { in volume_id_probe_all()
195 for (i = 0; i < ARRAY_SIZE(raid2); i++) { in volume_id_probe_all()
203 for (i = 0; i < ARRAY_SIZE(fs1); i++) { in volume_id_probe_all()
213 for (i = 0; i < ARRAY_SIZE(fs2); i++) { in volume_id_probe_all()
Dunused_promise_raid.c51 for (i = 0; i < ARRAY_SIZE(sectors); i++) { in volume_id_probe_promise_fasttrack_raid()
Dunused_ufs.c181 for (i = 0; i < ARRAY_SIZE(offsets); i++) { in volume_id_probe_ufs()
/busybox-1.35.0/applets/
Dapplet_tables.c20 #undef ARRAY_SIZE
21 #define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0]))) macro
47 enum { NUM_APPLETS = ARRAY_SIZE(applets) };
/busybox-1.35.0/coreutils/
Dnproc.c57 for (i = 0; i < ARRAY_SIZE(mask); i++) { in nproc_main()
Dfactor.c111 for (i = 0; i < ARRAY_SIZE(packed_wheel); i++) { in unpack_wheel()
/busybox-1.35.0/miscutils/
Dubirename.c73 if (argc > ARRAY_SIZE(rnvol->ents)) in ubirename_main()
Ddc.c255 } while (o != operators + ARRAY_SIZE(operators)); in stack_machine()
/busybox-1.35.0/selinux/
Dsestatus.c100 read_config(pc, ARRAY_SIZE(pc), fc, ARRAY_SIZE(fc)); in display_verbose()
/busybox-1.35.0/networking/libiproute/
Dll_types.c197 for (i = 0; i < ARRAY_SIZE(arphrd_type); i++) { in ll_type_n2a()
Dll_proto.c157 for (i = 0; i < ARRAY_SIZE(llproto_ids); i++) { in ll_proto_n2a()
169 for (i = 0; i < ARRAY_SIZE(llproto_ids); i++) { in ll_proto_a2n()
/busybox-1.35.0/util-linux/
Dfdisk_gpt.c82 while (i < ARRAY_SIZE(wc)-1) { in gpt_print_wide36()
94 while (i < ARRAY_SIZE(buf)-1) { in gpt_print_wide36()
Dfdisk_sun.c212 for (i = 0; i < ARRAY_SIZE(sun_drives); i++) { in sun_autoconfigure_scsi()
249 for (i = 0; i < ARRAY_SIZE(sun_drives); i++) { in create_sunlabel()
260 if (c >= 'a' && c < 'a' + ARRAY_SIZE(sun_drives)) { in create_sunlabel()
264 if (c >= 'A' && c < 'A' + ARRAY_SIZE(sun_drives)) { in create_sunlabel()
452 qsort(array, ARRAY_SIZE(array), sizeof(array[0]), in verify_sun()
Dacpid.c218 n_act = ARRAY_SIZE(f_act_tab); in parse_conf_file()
243 n_evt = ARRAY_SIZE(f_evt_tab); in parse_map_file()
Dmkfs_ext2.c142 const uint32_t *sp = supers + ARRAY_SIZE(supers); in has_super()
535 + (sb->s_uuid[ARRAY_SIZE(sb->s_uuid)-1] % EXT2_DFL_MAX_MNT_COUNT)); in mkfs_ext2_main()
/busybox-1.35.0/networking/
Dip.c418 if (ARRAY_SIZE(ip_func_ptrs) > 1 && *argv) in ip_main()
Difupdown.c546 ARRAY_SIZE(methods6),
664 for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { in dhcp_up()
701 for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) { in dhcp_down()
789 ARRAY_SIZE(methods),
805 "link", ARRAY_SIZE(link_methods), link_methods
/busybox-1.35.0/modutils/
Dmodinfo.c46 OPT_TAGS = ((1 << ARRAY_SIZE(shortcuts)) - 1) << 2,
/busybox-1.35.0/docs/
Difupdown_design.txt23 for (i = 0; i < ARRAY_SIZE(ext_dhcp_clients); i++) {
/busybox-1.35.0/mailutils/
Dreformime.c134 if (ntokens < ARRAY_SIZE(tokens) - 1) in parse()

123