Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp513 DateIntervalInfo::stringNumeric(int32_t fieldWidth, int32_t anotherFieldWidth, in stringNumeric() argument
516 if ( (fieldWidth <= 2 && anotherFieldWidth > 2) || in stringNumeric()
517 (fieldWidth > 2 && anotherFieldWidth <= 2 )) { in stringNumeric()
615 int32_t fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
616 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
622 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
625 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
629 distance += (inputFieldWidth > fieldWidth) ? in getBestSkeleton()
630 (inputFieldWidth - fieldWidth) : in getBestSkeleton()
631 (fieldWidth - inputFieldWidth); in getBestSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java1049 private static boolean stringNumeric(int fieldWidth, in stringNumeric() argument
1053 if ( fieldWidth <= 2 && anotherFieldWidth > 2 || in stringNumeric()
1054 fieldWidth > 2 && anotherFieldWidth <= 2 ) { in stringNumeric()
1112 int fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
1113 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1119 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
1122 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1126 distance += Math.abs(inputFieldWidth - fieldWidth); in getBestSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java1028 private static boolean stringNumeric(int fieldWidth, in stringNumeric() argument
1032 if ( fieldWidth <= 2 && anotherFieldWidth > 2 || in stringNumeric()
1033 fieldWidth > 2 && anotherFieldWidth <= 2 ) { in stringNumeric()
1091 int fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
1092 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1098 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
1101 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1105 distance += Math.abs(inputFieldWidth - fieldWidth); in getBestSkeleton()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors_format.inc163 int fieldWidth;
207 p = parse_number(p, &dir->fieldWidth);
209 if (dir->fieldWidth <= 0) // Width if at all must be non-zero
288 if (dir->fieldWidth == 0) {
293 return (dir->fieldWidth + needsTerminator) * charSize;
350 int fieldWidth;
409 p = maybe_parse_number_or_star(p, &dir->fieldWidth,
/external/icu/icu4c/source/i18n/unicode/
Ddtitvinf.h447 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()