Lines Matching refs:inpos
391 size_t size = 240, inpos = 0, outpos = 0, temppos; in php_formatted_print() local
438 while (inpos < Z_STRLEN(args[format_offset])) { in php_formatted_print()
442 PRINTF_DEBUG(("sprintf: format[%d]='%c'\n", inpos, format[inpos])); in php_formatted_print()
444 if (format[inpos] != '%') { in php_formatted_print()
445 php_sprintf_appendchar(&result, &outpos, format[inpos++]); in php_formatted_print()
446 } else if (format[inpos + 1] == '%') { in php_formatted_print()
448 inpos += 2; in php_formatted_print()
455 inpos++; /* skip the '%' */ in php_formatted_print()
458 format[inpos], inpos)); in php_formatted_print()
459 if (isascii((int)format[inpos]) && !isalpha((int)format[inpos])) { in php_formatted_print()
461 temppos = inpos; in php_formatted_print()
464 argnum = php_sprintf_getnumber(format, &inpos); in php_formatted_print()
475 inpos++; /* skip the '$' */ in php_formatted_print()
485 format[inpos], inpos)); in php_formatted_print()
486 for (;; inpos++) { in php_formatted_print()
487 if (format[inpos] == ' ' || format[inpos] == '0') { in php_formatted_print()
488 padding = format[inpos]; in php_formatted_print()
489 } else if (format[inpos] == '-') { in php_formatted_print()
492 } else if (format[inpos] == '+') { in php_formatted_print()
494 } else if (format[inpos] == '\'' && inpos+1<format_len) { in php_formatted_print()
495 padding = format[++inpos]; in php_formatted_print()
507 if (isdigit((int)format[inpos])) { in php_formatted_print()
509 if ((width = php_sprintf_getnumber(format, &inpos)) < 0) { in php_formatted_print()
524 if (format[inpos] == '.') { in php_formatted_print()
525 inpos++; in php_formatted_print()
527 if (isdigit((int)format[inpos])) { in php_formatted_print()
528 if ((precision = php_sprintf_getnumber(format, &inpos)) < 0) { in php_formatted_print()
559 if (format[inpos] == 'l') { in php_formatted_print()
560 inpos++; in php_formatted_print()
562 PRINTF_DEBUG(("sprintf: format character='%c'\n", format[inpos])); in php_formatted_print()
565 switch (format[inpos]) { in php_formatted_print()
601 format[inpos], always_sign in php_formatted_print()
645 inpos++; in php_formatted_print()