Home
last modified time | relevance | path

Searched refs:desiredLength (Results 1 – 4 of 4) sorted by relevance

/external/slf4j/slf4j-ext/src/main/java/org/slf4j/profiler/
DSpacePadder.java36 final static public void leftPad(StringBuffer buf, String s, int desiredLength) { in leftPad() argument
41 if (actualLen < desiredLength) { in leftPad()
42 spacePad(buf, desiredLength - actualLen); in leftPad()
49 final static public void leftPad(StringBuilder buf, String s, int desiredLength) { in leftPad() argument
54 if (actualLen < desiredLength) { in leftPad()
55 spacePad(buf, desiredLength - actualLen); in leftPad()
63 final static public void rightPad(StringBuffer buf, String s, int desiredLength) { in rightPad() argument
71 if (actualLen < desiredLength) { in rightPad()
72 spacePad(buf, desiredLength - actualLen); in rightPad()
76 final static public void rightPad(StringBuilder buf, String s, int desiredLength) { in rightPad() argument
[all …]
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/helper/
DAbbreviator.java32 final int desiredLength; field in Abbreviator
34 public Abbreviator(int invariantPrefixLength, int desiredLength, char folderSeparator) { in Abbreviator() argument
36 this.desiredLength = desiredLength; in Abbreviator()
41 if (filename.length() <= desiredLength) { in abbreviate()
50 StringBuilder buf = new StringBuilder(desiredLength); in abbreviate()
73 int minToRemove = filename.length() - desiredLength + FILLER.length(); in computeNextIndex()
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/bsdiff/
DBsPatchTest.java734 private void createEmptyOldFile(int desiredLength) throws IOException { in createEmptyOldFile() argument
736 for (int x = 0; x < desiredLength; x++) { in createEmptyOldFile()
/external/icu/icu4c/source/i18n/
Ddecimfmtimpl.cpp1339 int32_t desiredLength, in getLeftDigitsForLeftLength() argument
1344 while (lengthSoFar < desiredLength) { in getLeftDigitsForLeftLength()
1348 return (lengthSoFar == desiredLength); in getLeftDigitsForLeftLength()