Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddtitvinf.cpp547 DateIntervalInfo::stringNumeric(int32_t fieldWidth, int32_t anotherFieldWidth, in stringNumeric() argument
550 if ( (fieldWidth <= 2 && anotherFieldWidth > 2) || in stringNumeric()
551 (fieldWidth > 2 && anotherFieldWidth <= 2 )) { in stringNumeric()
652 int32_t fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
653 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
659 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
662 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
666 distance += (inputFieldWidth > fieldWidth) ? in getBestSkeleton()
667 (inputFieldWidth - fieldWidth) : in getBestSkeleton()
668 (fieldWidth - inputFieldWidth); in getBestSkeleton()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalInfo.java1032 private static boolean stringNumeric(int fieldWidth, in stringNumeric() argument
1036 if ( fieldWidth <= 2 && anotherFieldWidth > 2 || in stringNumeric()
1037 fieldWidth > 2 && anotherFieldWidth <= 2 ) { in stringNumeric()
1100 int fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
1101 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1107 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
1110 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1114 distance += Math.abs(inputFieldWidth - fieldWidth); in getBestSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalInfo.java1054 private static boolean stringNumeric(int fieldWidth, in stringNumeric() argument
1058 if ( fieldWidth <= 2 && anotherFieldWidth > 2 || in stringNumeric()
1059 fieldWidth > 2 && anotherFieldWidth <= 2 ) { in stringNumeric()
1122 int fieldWidth = skeletonFieldWidth[i]; in getBestSkeleton() local
1123 if ( inputFieldWidth == fieldWidth ) { in getBestSkeleton()
1129 } else if ( fieldWidth == 0 ) { in getBestSkeleton()
1132 } else if (stringNumeric(inputFieldWidth, fieldWidth, in getBestSkeleton()
1136 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/llvm-project/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;
355 int fieldWidth;
414 p = maybe_parse_number_or_star(p, &dir->fieldWidth,
/external/cldr/tools/java/org/unicode/cldr/util/
DTabber.java99 public Tabber add(int fieldWidth, byte type) { in add() argument
101 stops.add(new Integer(last + fieldWidth)); in add()
/external/icu/libicu/cts_headers/unicode/
Ddtitvinf.h447 static UBool U_EXPORT2 stringNumeric(int32_t 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()
/external/deqp/external/vulkancts/scripts/
Dgen_framework.py281 self.fieldWidth = arraySizeOrFieldWidth
284 self.fieldWidth = ''
299 return '%s%s%s%s%s' % (self.getType(), separator, self.name, self.arraySize, self.fieldWidth)