Lines Matching refs:arg

99 cef_cp(CONV_EXPN_FIELD_ARG *arg, CONV_EXPN_FIELD_STATE *state,  in cef_cp()  argument
133 (void) conv_invalid_val(&inv_buf, arg->oflags, 0); in cef_cp()
134 (void) strlcpy(arg->buf, inv_buf.buf, arg->bufsize); in cef_cp()
144 cef_setup(CONV_EXPN_FIELD_ARG *arg, Conv_fmt_flags_t fmt_flags, in cef_setup() argument
150 state->cur = arg->buf; in cef_setup()
151 state->room = arg->bufsize; in cef_setup()
153 state->sep_str = arg->sep ? arg->sep : MSG_ORIG(MSG_GBL_SEP); in cef_setup()
158 if (!cef_cp(arg, state, FALSE, in cef_setup()
159 (arg->prefix ? arg->prefix : MSG_ORIG(MSG_GBL_OSQBRKT)))) in cef_setup()
163 lead_str = arg->lead_str; in cef_setup()
166 if (!cef_cp(arg, state, TRUE, *lead_str++)) in cef_setup()
178 cef_wrap(CONV_EXPN_FIELD_ARG *arg, Conv_fmt_flags_t fmt_flags, in cef_wrap() argument
189 if (!cef_cp(arg, state, TRUE, inv_buf.buf)) in cef_wrap()
195 if (!cef_cp(arg, state, FALSE, in cef_wrap()
196 (arg->suffix ? arg->suffix : MSG_ORIG(MSG_GBL_CSQBRKT)))) in cef_wrap()
228 _conv_expn_field(CONV_EXPN_FIELD_ARG *arg, const Val_desc *vdp, in _conv_expn_field() argument
232 Xword rflags = arg->rflags; in _conv_expn_field()
234 if (cef_setup(arg, fmt_flags, &state) == FALSE) in _conv_expn_field()
242 if (arg->oflags & vdp->v_val) { in _conv_expn_field()
243 if (!cef_cp(arg, &state, TRUE, in _conv_expn_field()
252 return (cef_wrap(arg, fmt_flags, &state, rflags)); in _conv_expn_field()
257 _conv_expn_field2(CONV_EXPN_FIELD_ARG *arg, uchar_t osabi, Half mach, in _conv_expn_field2() argument
261 Xword rflags = arg->rflags; in _conv_expn_field2()
263 if (cef_setup(arg, fmt_flags, &state) == FALSE) in _conv_expn_field2()
274 if (arg->oflags & vdp->v_val) { in _conv_expn_field2()
275 if (!cef_cp(arg, &state, TRUE, in _conv_expn_field2()
284 return (cef_wrap(arg, fmt_flags, &state, rflags)); in _conv_expn_field2()