Home
last modified time | relevance | path

Searched refs:fieldWidth (Results 1 – 9 of 9) 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/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java1025 private static boolean stringNumeric(int fieldWidth, in stringNumeric() argument
1029 if ( fieldWidth <= 2 && anotherFieldWidth > 2 || in stringNumeric()
1030 fieldWidth > 2 && anotherFieldWidth <= 2 ) { in stringNumeric()
1088 int fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
1089 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1095 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
1098 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1102 distance += Math.abs(inputFieldWidth - fieldWidth); in getBestSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java1047 private static boolean stringNumeric(int fieldWidth, in stringNumeric() argument
1051 if ( fieldWidth <= 2 && anotherFieldWidth > 2 || in stringNumeric()
1052 fieldWidth > 2 && anotherFieldWidth <= 2 ) { in stringNumeric()
1110 int fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
1111 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1117 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
1120 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1124 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/cldr/tools/java/org/unicode/cldr/util/
DTabber.java96 public Tabber add(int fieldWidth, byte type) { in add() argument
98 stops.add(new Integer(last + fieldWidth)); in add()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvinf.h445 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()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...