Lines Matching refs:sym

86 elfedit_atoi_value_to_str(const elfedit_atoi_sym_t *sym, elfedit_atoi_t value,  in elfedit_atoi_value_to_str()  argument
89 for (; sym->sym_name != NULL; sym++) in elfedit_atoi_value_to_str()
90 if (value == sym->sym_value) in elfedit_atoi_value_to_str()
91 return (sym->sym_name); in elfedit_atoi_value_to_str()
99 elfedit_atoui_value_to_str(const elfedit_atoui_sym_t *sym, in elfedit_atoui_value_to_str() argument
102 for (; sym->sym_name != NULL; sym++) in elfedit_atoui_value_to_str()
103 if (value == sym->sym_value) in elfedit_atoui_value_to_str()
104 return (sym->sym_name); in elfedit_atoui_value_to_str()
133 atoi_sym_process(const char *str, const elfedit_atoi_sym_t *sym, in atoi_sym_process() argument
148 for (; sym->sym_name != NULL; sym++) { in atoi_sym_process()
149 if ((strlen(sym->sym_name) == cmp_len) && in atoi_sym_process()
150 (strncasecmp(sym->sym_name, str, cmp_len) == 0)) { in atoi_sym_process()
151 *value = sym->sym_value; in atoi_sym_process()
160 atoui_sym_process(const char *str, const elfedit_atoui_sym_t *sym, in atoui_sym_process() argument
175 for (; sym->sym_name != NULL; sym++) { in atoui_sym_process()
176 if ((strlen(sym->sym_name) == cmp_len) && in atoui_sym_process()
177 (strncasecmp(sym->sym_name, str, cmp_len) == 0)) { in atoui_sym_process()
178 *value = sym->sym_value; in atoui_sym_process()
193 elfedit_cpl_atoi(void *cpldata, const elfedit_atoi_sym_t *sym) in elfedit_cpl_atoi() argument
195 for (; sym->sym_name != NULL; sym++) in elfedit_cpl_atoi()
196 elfedit_cpl_match(cpldata, sym->sym_name, 1); in elfedit_cpl_atoi()
199 elfedit_cpl_atoui(void *cpldata, const elfedit_atoui_sym_t *sym) in elfedit_cpl_atoui() argument
201 for (; sym->sym_name != NULL; sym++) in elfedit_cpl_atoui()
202 elfedit_cpl_match(cpldata, sym->sym_name, 1); in elfedit_cpl_atoui()
237 elfedit_atoi2(const char *str, const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v) in elfedit_atoi2() argument
241 if (sym && atoi_sym_process(str, sym, v)) in elfedit_atoi2()
253 elfedit_atoi(const char *str, const elfedit_atoi_sym_t *sym) in elfedit_atoi() argument
256 if (elfedit_atoi2(str, sym, &v) == 0) in elfedit_atoi()
262 elfedit_atoui2(const char *str, const elfedit_atoui_sym_t *sym, in elfedit_atoui2() argument
267 if (sym && atoui_sym_process(str, sym, v)) in elfedit_atoui2()
279 elfedit_atoui(const char *str, const elfedit_atoui_sym_t *sym) in elfedit_atoui() argument
282 if (elfedit_atoui2(str, sym, &v) == 0) in elfedit_atoui()
329 const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v) in elfedit_atoi_range2() argument
331 return ((elfedit_atoi2(str, sym, v) != 0) && in elfedit_atoi_range2()
336 elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym) in elfedit_atoi_range() argument
338 elfedit_atoi_t v = elfedit_atoi(str, sym); in elfedit_atoi_range()
348 const elfedit_atoui_sym_t *sym, elfedit_atoui_t *v) in elfedit_atoui_range2() argument
350 return ((elfedit_atoui2(str, sym, v) != 0) && in elfedit_atoui_range2()
355 elfedit_atoui_t min, elfedit_atoui_t max, const elfedit_atoui_sym_t *sym) in elfedit_atoui_range() argument
357 elfedit_atoui_t v = elfedit_atoui(str, sym); in elfedit_atoui_range()