Lines Matching refs:cp
48 CHAR_TYPE* cp; /* handy char pointer (short term usage) */ in FUNCTION_NAME() local
153 for (cp = fmt; (ch = *fmt) != '\0' && ch != '%'; fmt++) continue; in FUNCTION_NAME()
154 if (fmt != cp) { in FUNCTION_NAME()
155 ptrdiff_t m = fmt - cp; in FUNCTION_NAME()
157 PRINT(cp, m); in FUNCTION_NAME()
307 *(cp = buf) = (wchar_t)GETARG(wint_t); in FUNCTION_NAME()
309 *(cp = buf) = (wchar_t)btowc(GETARG(int)); in FUNCTION_NAME()
356 cp = convbuf = helpers::mbsconv(dtoaresult, -1); in FUNCTION_NAME()
357 if (cp == nullptr) goto error; in FUNCTION_NAME()
396 cp = convbuf = helpers::mbsconv(dtoaresult, -1); in FUNCTION_NAME()
397 if (cp == nullptr) goto error; in FUNCTION_NAME()
402 if (*cp == 'N') { in FUNCTION_NAME()
403 cp = const_cast<CHAR_TYPE*>((ch >= 'a') ? CHAR_TYPE_nan : CHAR_TYPE_NAN); in FUNCTION_NAME()
405 cp = const_cast<CHAR_TYPE*>((ch >= 'a') ? CHAR_TYPE_inf : CHAR_TYPE_INF); in FUNCTION_NAME()
454 cp = convbuf; in FUNCTION_NAME()
482 if ((cp = GETARG(wchar_t*)) == nullptr) cp = const_cast<wchar_t*>(L"(null)"); in FUNCTION_NAME()
492 cp = convbuf; in FUNCTION_NAME()
497 size = CHAR_TYPE_STRNLEN(cp, prec); in FUNCTION_NAME()
501 if ((len = CHAR_TYPE_STRLEN(cp)) > INT_MAX) goto overflow; in FUNCTION_NAME()
568 cp = buf + BUF; in FUNCTION_NAME()
578 *--cp = to_char(_umax & 1); in FUNCTION_NAME()
585 *--cp = to_char(_umax & 7); in FUNCTION_NAME()
589 if (flags & ALT && *cp != '0') *--cp = '0'; in FUNCTION_NAME()
595 *--cp = to_char(_umax % 10); in FUNCTION_NAME()
598 *--cp = to_char(_umax); in FUNCTION_NAME()
603 *--cp = xdigs[_umax & 15]; in FUNCTION_NAME()
612 size = buf + BUF - cp; in FUNCTION_NAME()
618 cp = buf; in FUNCTION_NAME()
619 *cp = ch; in FUNCTION_NAME()
661 PRINT(cp, size); in FUNCTION_NAME()
672 PRINTANDPAD(cp, convbuf + ndig, lead, zeroes); in FUNCTION_NAME()
673 cp += lead; in FUNCTION_NAME()
676 PRINTANDPAD(cp, convbuf + ndig, prec, zeroes); in FUNCTION_NAME()
679 buf[0] = *cp++; in FUNCTION_NAME()
682 PRINT(cp, ndig - 1); in FUNCTION_NAME()
685 PRINT(cp, 1); in FUNCTION_NAME()