Lines Matching defs:ptr
46 ptr++; /* Go past the asterisk. */ \
56 ptr++; \
65 *sptr++ = *ptr++; /* Copy the type specifier. */ \
80 const char * ptr = format;
84 while (*ptr != '\0')
86 if (*ptr != '%') /* While we have regular characters, print them. */
87 PRINT_CHAR(*ptr);
93 *sptr++ = *ptr++; /* Copy the % and move forward. */
95 while (strchr ("-+ #0", *ptr)) /* Move past flags. */
96 *sptr++ = *ptr++;
98 if (*ptr == '*')
101 while (ISDIGIT(*ptr)) /* Handle explicit numeric value. */
102 *sptr++ = *ptr++;
104 if (*ptr == '.')
106 *sptr++ = *ptr++; /* Copy and go past the period. */
107 if (*ptr == '*')
110 while (ISDIGIT(*ptr)) /* Handle explicit numeric value. */
111 *sptr++ = *ptr++;
113 while (strchr ("hlL", *ptr))
115 switch (*ptr)
129 *sptr++ = *ptr++;
132 switch (*ptr)
198 } /* End of switch (*ptr) */