Lines Matching refs:iptr

242       struct va_input *iptr;  in parsefmt()  local
557 iptr = &in[param]; in parsefmt()
558 iptr->type = type; in parsefmt()
593 struct va_input *iptr = &in[i]; in parsefmt() local
599 switch(iptr->type) { in parsefmt()
601 iptr->val.str = va_arg(arglist, char *); in parsefmt()
606 iptr->val.ptr = va_arg(arglist, void *); in parsefmt()
610 iptr->val.numu = (mp_uintmax_t)va_arg(arglist, mp_uintmax_t); in parsefmt()
614 iptr->val.nums = (mp_intmax_t)va_arg(arglist, mp_intmax_t); in parsefmt()
618 iptr->val.numu = (mp_uintmax_t)va_arg(arglist, unsigned long); in parsefmt()
622 iptr->val.nums = (mp_intmax_t)va_arg(arglist, long); in parsefmt()
626 iptr->val.numu = (mp_uintmax_t)va_arg(arglist, unsigned int); in parsefmt()
632 iptr->val.nums = (mp_intmax_t)va_arg(arglist, int); in parsefmt()
636 iptr->val.dnum = va_arg(arglist, double); in parsefmt()
696 struct va_input *iptr; in formatf() local
748 iptr = &input[optr->input]; in formatf()
750 switch(iptr->type) { in formatf()
759 num = iptr->val.numu; in formatf()
791 is_neg = (iptr->val.nums < (mp_intmax_t)0); in formatf()
794 signed_num = iptr->val.nums + (mp_intmax_t)1; in formatf()
878 str = (char *)iptr->val.str; in formatf()
921 if(iptr->val.ptr) { in formatf()
926 num = (size_t) iptr->val.ptr; in formatf()
982 double val = iptr->val.dnum; in formatf()
1017 (snprintf)(work, sizeof(work), formatbuf, iptr->val.dnum); in formatf()
1019 (sprintf)(work, formatbuf, iptr->val.dnum); in formatf()
1034 *(LONG_LONG_TYPE *) iptr->val.ptr = (LONG_LONG_TYPE)done; in formatf()
1038 *(long *) iptr->val.ptr = (long)done; in formatf()
1040 *(int *) iptr->val.ptr = (int)done; in formatf()
1042 *(short *) iptr->val.ptr = (short)done; in formatf()