Lines Matching refs:iptr
140 const char *iptr, *tmpptr;
150 iptr = fmt;
157 while (*iptr) {
158 if (*iptr != '%') {
160 *optr = *iptr;
162 ++iptr;
166 iptr++;
168 if (*iptr == '#') {
170 iptr++;
172 if (*iptr == '-' || *iptr == '0') {
173 iptr++;
177 while (*iptr && bcm_isdigit(*iptr)) {
178 width += (*iptr - '0');
179 iptr++;
180 if (bcm_isdigit(*iptr))
183 if (*iptr == '.') {
184 iptr++;
186 while (*iptr && bcm_isdigit(*iptr)) {
187 width2 += (*iptr - '0');
188 iptr++;
189 if (bcm_isdigit(*iptr)) width2 *= 10;
194 if (*iptr == 'l') {
196 iptr++;
199 switch (*iptr) {
246 *optr++ = *iptr;
250 (*iptr == 'X') ? hex_upper : hex_lower);
256 (*iptr == 'P') ? hex_upper : hex_lower);
267 *optr = *iptr;
271 iptr++;