Lines Matching refs:cp

48   CHAR_TYPE* cp;            /* handy char pointer (short term usage) */  in FUNCTION_NAME()  local
164 for (cp = fmt; (ch = *fmt) != '\0' && ch != '%'; fmt++) continue; in FUNCTION_NAME()
165 if (fmt != cp) { in FUNCTION_NAME()
166 ptrdiff_t m = fmt - cp; in FUNCTION_NAME()
168 PRINT(cp, m); in FUNCTION_NAME()
321 cp = buf; in FUNCTION_NAME()
324 *(cp = buf) = GETARG(int); in FUNCTION_NAME()
356 dtoaresult = cp = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
363 dtoaresult = cp = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
393 dtoaresult = cp = __ldtoa(&fparg.ldbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
400 dtoaresult = cp = __dtoa(fparg.dbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
410 if (*cp == 'N') { in FUNCTION_NAME()
411 cp = const_cast<CHAR_TYPE*>((ch >= 'a') ? CHAR_TYPE_nan : CHAR_TYPE_NAN); in FUNCTION_NAME()
413 cp = const_cast<CHAR_TYPE*>((ch >= 'a') ? CHAR_TYPE_inf : CHAR_TYPE_INF); in FUNCTION_NAME()
420 ndig = dtoaend - cp; in FUNCTION_NAME()
456 cp = strerror_r(caller_errno, buf, sizeof(buf)); in FUNCTION_NAME()
488 cp = const_cast<char*>("(null)"); in FUNCTION_NAME()
495 cp = convbuf; in FUNCTION_NAME()
497 } else if ((cp = GETARG(char*)) == nullptr) { in FUNCTION_NAME()
498 cp = const_cast<char*>("(null)"); in FUNCTION_NAME()
502 size = CHAR_TYPE_STRNLEN(cp, prec); in FUNCTION_NAME()
506 if ((len = CHAR_TYPE_STRLEN(cp)) > INT_MAX) goto overflow; in FUNCTION_NAME()
545 cp = buf + BUF; in FUNCTION_NAME()
555 *--cp = to_char(_umax & 7); in FUNCTION_NAME()
559 if (flags & ALT && *cp != '0') *--cp = '0'; in FUNCTION_NAME()
565 *--cp = to_char(_umax % 10); in FUNCTION_NAME()
568 *--cp = to_char(_umax); in FUNCTION_NAME()
573 *--cp = xdigs[_umax & 15]; in FUNCTION_NAME()
582 size = buf + BUF - cp; in FUNCTION_NAME()
588 cp = buf; in FUNCTION_NAME()
589 *cp = ch; in FUNCTION_NAME()
631 PRINT(cp, size); in FUNCTION_NAME()
642 PRINTANDPAD(cp, dtoaend, lead, zeroes); in FUNCTION_NAME()
643 cp += lead; in FUNCTION_NAME()
646 PRINTANDPAD(cp, dtoaend, prec, zeroes); in FUNCTION_NAME()
649 buf[0] = *cp++; in FUNCTION_NAME()
652 PRINT(cp, ndig - 1); in FUNCTION_NAME()
655 PRINT(cp, 1); in FUNCTION_NAME()