Lines Matching refs:inpos
389 size_t size = 240, inpos = 0, outpos = 0, temppos; in php_formatted_print() local
436 while (inpos < Z_STRLEN(args[format_offset])) { in php_formatted_print()
440 PRINTF_DEBUG(("sprintf: format[%d]='%c'\n", inpos, format[inpos])); in php_formatted_print()
442 if (format[inpos] != '%') { in php_formatted_print()
443 php_sprintf_appendchar(&result, &outpos, format[inpos++]); in php_formatted_print()
444 } else if (format[inpos + 1] == '%') { in php_formatted_print()
446 inpos += 2; in php_formatted_print()
453 inpos++; /* skip the '%' */ in php_formatted_print()
456 format[inpos], inpos)); in php_formatted_print()
457 if (isascii((int)format[inpos]) && !isalpha((int)format[inpos])) { in php_formatted_print()
459 temppos = inpos; in php_formatted_print()
462 argnum = php_sprintf_getnumber(format, &inpos); in php_formatted_print()
473 inpos++; /* skip the '$' */ in php_formatted_print()
483 format[inpos], inpos)); in php_formatted_print()
484 for (;; inpos++) { in php_formatted_print()
485 if (format[inpos] == ' ' || format[inpos] == '0') { in php_formatted_print()
486 padding = format[inpos]; in php_formatted_print()
487 } else if (format[inpos] == '-') { in php_formatted_print()
490 } else if (format[inpos] == '+') { in php_formatted_print()
492 } else if (format[inpos] == '\'' && inpos+1<format_len) { in php_formatted_print()
493 padding = format[++inpos]; in php_formatted_print()
505 if (isdigit((int)format[inpos])) { in php_formatted_print()
507 if ((width = php_sprintf_getnumber(format, &inpos)) < 0) { in php_formatted_print()
522 if (format[inpos] == '.') { in php_formatted_print()
523 inpos++; in php_formatted_print()
525 if (isdigit((int)format[inpos])) { in php_formatted_print()
526 if ((precision = php_sprintf_getnumber(format, &inpos)) < 0) { in php_formatted_print()
557 if (format[inpos] == 'l') { in php_formatted_print()
558 inpos++; in php_formatted_print()
560 PRINTF_DEBUG(("sprintf: format character='%c'\n", format[inpos])); in php_formatted_print()
563 switch (format[inpos]) { in php_formatted_print()
600 format[inpos], always_sign in php_formatted_print()
644 inpos++; in php_formatted_print()