Lines Matching refs:sym

87 elfedit_atoi_value_to_str(const elfedit_atoi_sym_t *sym, elfedit_atoi_t value,  in elfedit_atoi_value_to_str()  argument
90 for (; sym->sym_name != NULL; sym++) in elfedit_atoi_value_to_str()
91 if (value == sym->sym_value) in elfedit_atoi_value_to_str()
92 return (sym->sym_name); in elfedit_atoi_value_to_str()
100 elfedit_atoui_value_to_str(const elfedit_atoui_sym_t *sym, in elfedit_atoui_value_to_str() argument
103 for (; sym->sym_name != NULL; sym++) in elfedit_atoui_value_to_str()
104 if (value == sym->sym_value) in elfedit_atoui_value_to_str()
105 return (sym->sym_name); in elfedit_atoui_value_to_str()
134 atoi_sym_process(const char *str, const elfedit_atoi_sym_t *sym, in atoi_sym_process() argument
149 for (; sym->sym_name != NULL; sym++) { in atoi_sym_process()
150 if ((strlen(sym->sym_name) == cmp_len) && in atoi_sym_process()
151 (strncasecmp(sym->sym_name, str, cmp_len) == 0)) { in atoi_sym_process()
152 *value = sym->sym_value; in atoi_sym_process()
161 atoui_sym_process(const char *str, const elfedit_atoui_sym_t *sym, in atoui_sym_process() argument
176 for (; sym->sym_name != NULL; sym++) { in atoui_sym_process()
177 if ((strlen(sym->sym_name) == cmp_len) && in atoui_sym_process()
178 (strncasecmp(sym->sym_name, str, cmp_len) == 0)) { in atoui_sym_process()
179 *value = sym->sym_value; in atoui_sym_process()
194 elfedit_cpl_atoi(void *cpldata, const elfedit_atoi_sym_t *sym) in elfedit_cpl_atoi() argument
196 for (; sym->sym_name != NULL; sym++) in elfedit_cpl_atoi()
197 elfedit_cpl_match(cpldata, sym->sym_name, 1); in elfedit_cpl_atoi()
200 elfedit_cpl_atoui(void *cpldata, const elfedit_atoui_sym_t *sym) in elfedit_cpl_atoui() argument
202 for (; sym->sym_name != NULL; sym++) in elfedit_cpl_atoui()
203 elfedit_cpl_match(cpldata, sym->sym_name, 1); in elfedit_cpl_atoui()
238 elfedit_atoi2(const char *str, const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v) in elfedit_atoi2() argument
242 if (sym && atoi_sym_process(str, sym, v)) in elfedit_atoi2()
254 elfedit_atoi(const char *str, const elfedit_atoi_sym_t *sym) in elfedit_atoi() argument
257 if (elfedit_atoi2(str, sym, &v) == 0) in elfedit_atoi()
263 elfedit_atoui2(const char *str, const elfedit_atoui_sym_t *sym, in elfedit_atoui2() argument
268 if (sym && atoui_sym_process(str, sym, v)) in elfedit_atoui2()
280 elfedit_atoui(const char *str, const elfedit_atoui_sym_t *sym) in elfedit_atoui() argument
283 if (elfedit_atoui2(str, sym, &v) == 0) in elfedit_atoui()
330 const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v) in elfedit_atoi_range2() argument
332 return ((elfedit_atoi2(str, sym, v) != 0) && in elfedit_atoi_range2()
337 elfedit_atoi_t min, elfedit_atoi_t max, const elfedit_atoi_sym_t *sym) in elfedit_atoi_range() argument
339 elfedit_atoi_t v = elfedit_atoi(str, sym); in elfedit_atoi_range()
349 const elfedit_atoui_sym_t *sym, elfedit_atoui_t *v) in elfedit_atoui_range2() argument
351 return ((elfedit_atoui2(str, sym, v) != 0) && in elfedit_atoui_range2()
356 elfedit_atoui_t min, elfedit_atoui_t max, const elfedit_atoui_sym_t *sym) in elfedit_atoui_range() argument
358 elfedit_atoui_t v = elfedit_atoui(str, sym); in elfedit_atoui_range()