Lines Matching refs:p
109 static uint32_t PrintGetWidth(const char **p, va_list *ap) in PrintGetWidth() argument
117 c = *(++(*p)); in PrintGetWidth()
131 --(*p); in PrintGetWidth()
140 const char *p = *s; in PrintGetPrecision() local
150 if (*++p == '.') in PrintGetPrecision()
157 char c = *++p; in PrintGetPrecision()
181 --p; in PrintGetPrecision()
189 --p; in PrintGetPrecision()
191 *s = p; in PrintGetPrecision()
352 const char *p = *s; in PrintCheckFlags() local
358 switch (*++p) in PrintCheckFlags()
377 --p; in PrintCheckFlags()
382 *s = p; in PrintCheckFlags()
393 const char *p = *s; in PrintGetLengthFlag() local
397 switch (/* c = */ *++p) in PrintGetLengthFlag()
400 if (*++p != 'h') in PrintGetLengthFlag()
403 --p; in PrintGetLengthFlag()
411 if (*++p != 'l') in PrintGetLengthFlag()
414 --p; in PrintGetLengthFlag()
441 --p; in PrintGetLengthFlag()
444 *s = p; in PrintGetLengthFlag()
450 const char *p = *s; in PrintFilterLengthFlag() local
455 strCh = *++p; in PrintFilterLengthFlag()
458 *s = --p; in PrintFilterLengthFlag()
866 const char *p; in StrFormatPrintf() local
898 p = fmt; in StrFormatPrintf()
901 if ('\0' == *p) in StrFormatPrintf()
905 c = *p; in StrFormatPrintf()
915 p++; in StrFormatPrintf()
924 flags_used = PrintCheckFlags(&p); in StrFormatPrintf()
928 field_width = PrintGetWidth(&p, &ap); in StrFormatPrintf()
932 precision_width = PrintGetPrecision(&p, &ap, &valid_precision_width); in StrFormatPrintf()
934 precision_width = PrintGetPrecision(&p, &ap, NULL); in StrFormatPrintf()
940 flags_used |= PrintGetLengthFlag(&p); in StrFormatPrintf()
943 PrintFilterLengthFlag(&p); in StrFormatPrintf()
947 c = *++p; in StrFormatPrintf()
1096 p++; in StrFormatPrintf()
1157 static uint8_t StrFormatScanCheckSymbol(const char *p, int8_t *neg) in StrFormatScanCheckSymbol() argument
1160 switch (*p) in StrFormatScanCheckSymbol()
1376 char *p; in StrFormatScanfStringHandling() local
1378 (*field_width) = strtoul(c, &p, 10); in StrFormatScanfStringHandling()
1383 c = p - 1; in StrFormatScanfStringHandling()
1567 const char *p = line_ptr; in StrFormatScanf() local
1573 if (*p == '\0') in StrFormatScanf()
1579 while (('\0' != (*c)) && ('\0' != (*p))) in StrFormatScanf()
1584 n_decode += ScanIgnoreWhiteSpace(&p); in StrFormatScanf()
1590 if (*p == *c) in StrFormatScanf()
1593 p++; in StrFormatScanf()
1623 s = (const char *)p; in StrFormatScanf()
1625 StrFormatScanfHandleChar(&p, &field_width, &buf, flag, &n_decode, &nassigned); in StrFormatScanf()
1629 n_decode += ScanIgnoreWhiteSpace(&p); in StrFormatScanf()
1631 StrFormatScanfHandleString(&p, &field_width, &buf, flag, &n_decode, &nassigned); in StrFormatScanf()
1635 n_decode += ScanIgnoreWhiteSpace(&p); in StrFormatScanf()
1636 s = p; in StrFormatScanf()
1640 added = StrFormatScanCheckSymbol(p, &neg); in StrFormatScanf()
1642 p += added; in StrFormatScanf()
1645 s = p; in StrFormatScanf()
1646 if (strlen(p) > field_width) in StrFormatScanf()
1650 (void)memcpy(temp, p, sizeof(temp) - 1U); in StrFormatScanf()
1658 p = p + (tempEnd - temp); in StrFormatScanf()
1664 val = (int32_t)strtoul(p, &tempEnd, (int)base); in StrFormatScanf()
1669 p = tempEnd; in StrFormatScanf()
1671 n_decode += (uintptr_t)p - (uintptr_t)s; in StrFormatScanf()
1680 n_decode += ScanIgnoreWhiteSpace(&p); in StrFormatScanf()
1683 fnum = strtod(p, (char **)&s_temp); in StrFormatScanf()
1694 n_decode = (uint32_t)n_decode + (uint32_t)s - (uint32_t)p; in StrFormatScanf()
1695 p = s; in StrFormatScanf()