/busybox-1.35.0/libbb/ |
D | xatonum_template.c | 19 unsigned type FAST_FUNC xstrtou(_range_sfx)(const char *numstr, int base, in xstrtou() 20 unsigned type lower, in xstrtou() 21 unsigned type upper, in xstrtou() 24 unsigned type r; in xstrtou() 77 unsigned type FAST_FUNC xstrtou(_range)(const char *numstr, int base, in xstrtou() 78 unsigned type lower, in xstrtou() 79 unsigned type upper) in xstrtou() 84 unsigned type FAST_FUNC xstrtou(_sfx)(const char *numstr, int base, in xstrtou() 90 unsigned type FAST_FUNC xstrtou()(const char *numstr, int base) in xstrtou() 95 unsigned type FAST_FUNC xatou(_range_sfx)(const char *numstr, in xatou() [all …]
|
D | selinux_common.c | 13 char *user, char *role, char *type, char *range) in set_security_context_component() argument 21 if (type && context_type_set(con, type)) in set_security_context_component()
|
/busybox-1.35.0/scripts/kconfig/ |
D | expr.c | 19 e->type = E_SYMBOL; in expr_alloc_symbol() 24 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() argument 28 e->type = type; in expr_alloc_one() 33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument 37 e->type = type; in expr_alloc_two() 43 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() argument 47 e->type = type; in expr_alloc_comp() 76 switch (org->type) { in expr_copy() 95 printf("can't copy type %d\n", e->type); in expr_copy() 109 switch (e->type) { in expr_free() [all …]
|
D | menu.c | 82 switch (e->type) { in menu_check_dep() 107 void menu_set_type(int type) in menu_set_type() argument 111 if (sym->type == type) in menu_set_type() 113 if (sym->type == S_UNKNOWN) { in menu_set_type() 114 sym->type = type; in menu_set_type() 119 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type() 122 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… in menu_add_prop() argument 124 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop() 140 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument 142 return menu_add_prop(type, prompt, NULL, dep); in menu_add_prompt() [all …]
|
D | lkc.h | 24 #define P(name,type,arg) extern type name arg argument 27 #define P(name,type,arg) extern type (*name ## _p) arg 77 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… 78 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 79 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 80 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 82 void menu_set_type(int type); 104 struct property *prop_alloc(enum prop_type type, struct symbol *sym);
|
D | kconfig_load.c | 7 #define P(name,type,arg) type (*name ## _p) arg argument 25 #define P(name,type,arg) \ in kconfig_load() argument
|
D | symbol.c | 58 sym->type = S_STRING; in sym_init() 65 sym->type = S_STRING; in sym_init() 72 sym->type = S_STRING; in sym_init() 79 enum symbol_type type = sym->type; in sym_get_type() local 81 if (type == S_TRISTATE) { in sym_get_type() 83 type = S_BOOLEAN; in sym_get_type() 85 type = S_BOOLEAN; in sym_get_type() 87 return type; in sym_get_type() 90 const char *sym_type_name(enum symbol_type type) in sym_type_name() argument 92 switch (type) { in sym_type_name() [all …]
|
D | expr.h | 44 enum expr_type type; member 70 enum symbol_type type; member 79 …or (i = 0; i < 257; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER) 109 enum prop_type type; member 120 if (st->type == (tok)) 154 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 155 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 156 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); 172 void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2); 173 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); [all …]
|
/busybox-1.35.0/coreutils/ |
D | sum.c | 41 static unsigned sum_file(const char *file, unsigned type) in sum_file() argument 68 if (type >= SUM_SYSV) { in sum_file() 80 if (type < PRINT_NAME) in sum_file() 82 if (type >= SUM_SYSV) { in sum_file() 96 unsigned type = SUM_BSD; in sum_main() local 100 if (n & 1) type = SUM_SYSV; in sum_main() 102 if (n & 2) type = SUM_BSD; in sum_main() 106 n = sum_file("-", type); in sum_main() 111 type += (argv[1] || type == SUM_SYSV); in sum_main() 114 n &= sum_file(*argv, type); in sum_main()
|
D | mknod.c | 56 const char *type, *arg; in mknod_main() local 64 type = strchr(modes_chars, argv[1][0]); in mknod_main() 65 if (!type) in mknod_main() 68 mode |= modes_cubp[(int)(type[4])]; in mknod_main() 72 if (*type != 'p') { in mknod_main()
|
/busybox-1.35.0/include/ |
D | xatonum.h | 13 #define DECLARE_STR_CONV(type, T, UT) \ argument 15 unsigned type xstrto##UT##_range_sfx(const char *str, int b, unsigned type l, unsigned type u, cons… 16 unsigned type xstrto##UT##_range(const char *str, int b, unsigned type l, unsigned type u) FAST_FUN… 17 unsigned type xstrto##UT##_sfx(const char *str, int b, const struct suffix_mult *sfx) FAST_FUNC; \ 18 unsigned type xstrto##UT(const char *str, int b) FAST_FUNC; \ 19 unsigned type xato##UT##_range_sfx(const char *str, unsigned type l, unsigned type u, const struct … 20 unsigned type xato##UT##_range(const char *str, unsigned type l, unsigned type u) FAST_FUNC; \ 21 unsigned type xato##UT##_sfx(const char *str, const struct suffix_mult *sfx) FAST_FUNC; \ 22 unsigned type xato##UT(const char *str) FAST_FUNC; \ 23 type xstrto##T##_range_sfx(const char *str, int b, type l, type u, const struct suffix_mult *sfx) F… [all …]
|
/busybox-1.35.0/util-linux/volume_id/ |
D | udf.c | 53 } PACKED type; member 57 uint8_t type; member 71 unsigned type; in volume_id_probe_udf() local 135 type = le16_to_cpu(vd->tag.id); in volume_id_probe_udf() 136 if (type != 2) /* TAG_ID_AVDP */ in volume_id_probe_udf() 140 count = le32_to_cpu(vd->type.anchor.length) / bs; in volume_id_probe_udf() 141 loc = le32_to_cpu(vd->type.anchor.location); in volume_id_probe_udf() 150 type = le16_to_cpu(vd->tag.id); in volume_id_probe_udf() 151 dbg("descriptor type %i", type); in volume_id_probe_udf() 154 if (type == 0) in volume_id_probe_udf() [all …]
|
D | get_devname.c | 28 IF_FEATURE_BLKID_TYPE(const char *type;) 32 #define get_label_uuid(fd, label, uuid, type) \ argument 34 #define uuidcache_addentry(device, label, uuid, type) \ argument 43 get_label_uuid(int fd, char **label, char **uuid, const char **type) in get_label_uuid() argument 60 || vid->type != NULL in get_label_uuid() 66 *type = vid->type; in get_label_uuid() 67 dbg("found label '%s', uuid '%s', type '%s'", *label, *uuid, *type); in get_label_uuid() 80 …idcache_addentry(char *device, /*int major, int minor,*/ char *label, char *uuid, const char *type) in uuidcache_addentry() argument 98 IF_FEATURE_BLKID_TYPE(last->type = type;) in uuidcache_addentry() 244 if (uc->type) in display_uuid_cache() [all …]
|
D | fat.c | 79 } PACKED type; member 161 if (memcmp(vs->type.fat32.magic, "MSWIN", 5) == 0) in volume_id_probe_vfat() 164 if (memcmp(vs->type.fat32.magic, "FAT32 ", 8) == 0) in volume_id_probe_vfat() 167 if (memcmp(vs->type.fat.magic, "FAT16 ", 8) == 0) in volume_id_probe_vfat() 170 if (memcmp(vs->type.fat.magic, "MSDOS", 5) == 0) in volume_id_probe_vfat() 173 if (memcmp(vs->type.fat.magic, "FAT12 ", 8) == 0) in volume_id_probe_vfat() 229 fat_size_sct = le32_to_cpu(vs->type.fat32.fat32_length); in volume_id_probe_vfat() 272 } else if (memcmp(vs->type.fat.label, "NO NAME ", 11) != 0) { in volume_id_probe_vfat() 274 volume_id_set_label_string(id, vs->type.fat.label, 11); in volume_id_probe_vfat() 276 volume_id_set_uuid(id, vs->type.fat.serno, UUID_DOS); in volume_id_probe_vfat() [all …]
|
D | ext.c | 58 id->type = "ext4"; in volume_id_probe_ext() 61 id->type = "ext3"; in volume_id_probe_ext() 63 id->type = "ext2"; in volume_id_probe_ext()
|
D | exfat.c | 72 } PACKED type; member 125 volume_id_set_label_unicode16(id, (uint8_t *)de->type.label.vol_label, in volume_id_probe_exfat() 126 LE, 2 * de->type.label.char_count); in volume_id_probe_exfat() 131 volume_id_set_uuid(id, de->type.guid.vol_guid, UUID_DCE); in volume_id_probe_exfat() 138 IF_FEATURE_BLKID_TYPE(id->type = "exfat";) in volume_id_probe_exfat()
|
D | unused_msdos.c | 49 #define is_extended(type) \ argument 50 (type == DOS_EXTENDED_PARTITION || \ 51 type == WIN98_EXTENDED_PARTITION || \ 52 type == LINUX_EXTENDED_PARTITION) 53 #define is_raid(type) \ argument 54 (type == LINUX_RAID_PARTITION)
|
/busybox-1.35.0/selinux/ |
D | runcon.c | 61 static context_t runcon_compute_new_context(char *user, char *role, char *type, char *range, in runcon_compute_new_context() argument 87 if (type && context_type_set(con, type)) in runcon_compute_new_context() 88 bb_error_msg_and_die("can't set new type '%s'", type); in runcon_compute_new_context() 122 char *type = NULL; in runcon_main() local 133 &role, &type, &user, &range in runcon_main() 148 con = runcon_compute_new_context(user, role, type, range, in runcon_main()
|
/busybox-1.35.0/miscutils/ |
D | rfkill.c | 97 char *name, *type; in rfkill_main() local 99 if (rf_type && rf_type != event.type && rf_idx < 0) { in rfkill_main() 108 type = NULL; in rfkill_main() 117 type = xstrdup(tokens[1]); in rfkill_main() 123 printf("%u: %s: %s\n", event.idx, name, type); in rfkill_main() 127 free(type); in rfkill_main() 132 event.type = rf_type; in rfkill_main()
|
D | makedevs.c | 125 char *basedev, *type, *nodname, *buf; in makedevs_main() local 133 type = argv[2]; in makedevs_main() 141 switch (type[0]) { in makedevs_main() 203 char type; in makedevs_main() local 220 &name_len, &type, &mode, user, group, in makedevs_main() 238 if (type == 'd') { in makedevs_main() 252 } else if (type == 'f') { in makedevs_main() 266 if (type == 'p') { in makedevs_main() 268 } else if (type == 'c') { in makedevs_main() 270 } else if (type == 'b') { in makedevs_main() [all …]
|
D | lsscsi.c | 64 unsigned type; in lsscsi_main() local 96 type = bb_strtou(type_str, NULL, 10); in lsscsi_main() 98 || type >= 0x20 in lsscsi_main() 99 || (type_name = nth_string(scsi_device_types, type))[0] == '\0' in lsscsi_main()
|
/busybox-1.35.0/networking/libiproute/ |
D | libnetlink.h | 23 extern void xrtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type) FAST_FUNC; 24 extern int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) FAST_FUNC; 55 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, uint32_t data) FAST_FUNC; 56 extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen) FAST_FUNC; 57 extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, uint32_t data) FAST_FUNC; 58 extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen) FAST_FUNC;
|
D | ll_addr.c | 16 const char* FAST_FUNC ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen) in ll_addr_n2a() argument 22 && (type == ARPHRD_TUNNEL || type == ARPHRD_SIT || type == ARPHRD_IPGRE) in ll_addr_n2a()
|
/busybox-1.35.0/networking/udhcp/ |
D | dhcprelay.c | 202 int type; in pass_to_server() local 205 type = get_dhcp_packet_type(p); in pass_to_server() 207 if (type != DHCPDISCOVER && type != DHCPREQUEST in pass_to_server() 208 && type != DHCPDECLINE && type != DHCPRELEASE in pass_to_server() 209 && type != DHCPINFORM in pass_to_server() 234 int type; in pass_to_client() local 238 type = get_dhcp_packet_type(p); in pass_to_client() 240 if (type != DHCPOFFER && type != DHCPACK && type != DHCPNAK) { in pass_to_client()
|
/busybox-1.35.0/e2fsprogs/ |
D | fsck.c | 95 char *type; member 310 const char *type, const char *opts, in create_fs_device() argument 318 if (strchr(type, ',')) in create_fs_device() 319 type = (char *)"auto"; in create_fs_device() 320 fs->type = xstrdup(type); in create_fs_device() 470 if (strcmp(inst2->type, "ext2") != 0 in wait_one() 471 && strcmp(inst2->type, "ext3") != 0 in wait_one() 527 static void execute(const char *type, const char *device, in execute() argument 534 G.args[0] = xasprintf("fsck.%s", type); in execute() 538 if (strcmp(type, "ext2") == 0 in execute() [all …]
|