Home
last modified time | relevance | path

Searched refs:fieldWidth (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/icu/source/i18n/
Ddtitvinf.cpp404 DateIntervalInfo::stringNumeric(int32_t fieldWidth, int32_t anotherFieldWidth, in stringNumeric() argument
407 if ( (fieldWidth <= 2 && anotherFieldWidth > 2) || in stringNumeric()
408 (fieldWidth > 2 && anotherFieldWidth <= 2 )) { in stringNumeric()
506 int32_t fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
507 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
513 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
516 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
520 distance += (inputFieldWidth > fieldWidth) ? in getBestSkeleton()
521 (inputFieldWidth - fieldWidth) : in getBestSkeleton()
522 (fieldWidth - inputFieldWidth); in getBestSkeleton()
/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp404 DateIntervalInfo::stringNumeric(int32_t fieldWidth, int32_t anotherFieldWidth, in stringNumeric() argument
407 if ( (fieldWidth <= 2 && anotherFieldWidth > 2) || in stringNumeric()
408 (fieldWidth > 2 && anotherFieldWidth <= 2 )) { in stringNumeric()
506 int32_t fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
507 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
513 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
516 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
520 distance += (inputFieldWidth > fieldWidth) ? in getBestSkeleton()
521 (inputFieldWidth - fieldWidth) : in getBestSkeleton()
522 (fieldWidth - inputFieldWidth); in getBestSkeleton()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors_format.inc162 int fieldWidth;
206 p = parse_number(p, &dir->fieldWidth);
208 if (dir->fieldWidth <= 0) // Width if at all must be non-zero
287 if (dir->fieldWidth == 0) {
292 return (dir->fieldWidth + needsTerminator) * charSize;
349 int fieldWidth;
408 p = maybe_parse_number_or_star(p, &dir->fieldWidth,
/external/chromium_org/third_party/icu/source/i18n/unicode/
Ddtitvinf.h439 static UBool U_EXPORT2 stringNumeric(int32_t fieldWidth,
/external/icu/icu4c/source/i18n/unicode/
Ddtitvinf.h439 static UBool U_EXPORT2 stringNumeric(int32_t fieldWidth,
/external/mdnsresponder/mDNSShared/
DDebugServices.c1200 unsigned int fieldWidth; in DebugSNPrintFVAList() member
1246 F.fieldWidth = (unsigned int)f; in DebugSNPrintFVAList()
1252 F.fieldWidth = (10 * F.fieldWidth) + (c - '0'); in DebugSNPrintFVAList()
1335 F.precision = F.fieldWidth; in DebugSNPrintFVAList()
1586 if (i < F.fieldWidth && !F.leftJustify) // Pad on the left in DebugSNPrintFVAList()
1590 } while (i < --F.fieldWidth); in DebugSNPrintFVAList()
1598 for (; i < F.fieldWidth; i++) // Pad on the right in DebugSNPrintFVAList()
/external/mdnsresponder/mDNSCore/
DDNSCommon.c2861 unsigned int fieldWidth; member
2908 F.fieldWidth = (unsigned int)f; in mDNS_vsnprintf()
2914 F.fieldWidth = (10 * F.fieldWidth) + (c - '0'); in mDNS_vsnprintf()
2951 F.precision = F.fieldWidth; in mDNS_vsnprintf()
2968 if (F.zeroPad) F.precision = F.fieldWidth; in mDNS_vsnprintf()
3025 F.precision = F.fieldWidth; in mDNS_vsnprintf()
3114 if (i < F.fieldWidth && !F.leftJustify) // Pad on the left in mDNS_vsnprintf()
3118 } while (i < --F.fieldWidth); in mDNS_vsnprintf()
3131 for (; i < F.fieldWidth; i++) // Pad on the right in mDNS_vsnprintf()