Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp406 DateIntervalInfo::stringNumeric(int32_t fieldWidth, int32_t anotherFieldWidth, in stringNumeric() argument
409 if ( (fieldWidth <= 2 && anotherFieldWidth > 2) || in stringNumeric()
410 (fieldWidth > 2 && anotherFieldWidth <= 2 )) { in stringNumeric()
508 int32_t fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
509 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
515 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
518 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
522 distance += (inputFieldWidth > fieldWidth) ? in getBestSkeleton()
523 (inputFieldWidth - fieldWidth) : in getBestSkeleton()
524 (fieldWidth - inputFieldWidth); in getBestSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java921 private static boolean stringNumeric(int fieldWidth, in stringNumeric() argument
925 if ( fieldWidth <= 2 && anotherFieldWidth > 2 || in stringNumeric()
926 fieldWidth > 2 && anotherFieldWidth <= 2 ) { in stringNumeric()
984 int fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
985 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
991 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
994 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
998 distance += Math.abs(inputFieldWidth - fieldWidth); in getBestSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java942 private static boolean stringNumeric(int fieldWidth, in stringNumeric() argument
946 if ( fieldWidth <= 2 && anotherFieldWidth > 2 || in stringNumeric()
947 fieldWidth > 2 && anotherFieldWidth <= 2 ) { in stringNumeric()
1005 int fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
1006 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1012 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
1015 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1019 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/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DTabber.java93 public Tabber add(int fieldWidth, byte type) { in add() argument
95 stops.add(new Integer(last + fieldWidth)); in add()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DTabber.java94 public Tabber add(int fieldWidth, byte type) { in add() argument
96 stops.add(new Integer(last + fieldWidth)); in add()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvinf.h440 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()