Lines Matching +defs:val +defs:state
40 * val - The value for which a string is desired.
47 * strings corresponding to val.
52 * If val lies in the range [0-(num_msg-1)], then the string
53 * corresponding to it is returned. If val is outside the range,
59 map_msg2str(Conv_inv_buf_t *inv_buf, Conv_elfvalue_t val,
63 if ((val < num_msg) && (msg[val] != 0))
64 return (MSG_ORIG_STRTAB(msg[val], local_sgs_msg));
67 return (conv_invalid_val(inv_buf, val, flags));
78 * val is to be interpreted. Items with a non-0 osabi or machine
80 * val - The value for which a string is desired.
90 * If val is found in the vdp array, and in the osabi version of
92 * val is returned. If a string for val is not found, conv_invalid_val()
98 map_vd2str(Conv_inv_buf_t *inv_buf, Conv_elfvalue_t val,
102 if (val == vdp->v_val)
107 return (conv_invalid_val(inv_buf, val, flags));
113 Conv_elfvalue_t val, Conv_fmt_flags_t flags, const Val_desc2 *vdp,
120 if (val == vdp->v_val)
125 return (conv_invalid_val(inv_buf, val, flags));
349 conv_strtol_uvalue_t *state = (conv_strtol_uvalue_t *)uvalue;
351 if ((strlen(str) == state->csl_strlen) &&
352 (strncasecmp(str, state->csl_str, state->csl_strlen) == 0)) {
353 state->csl_found = 1;
354 state->csl_value = value;