Searched refs:Chars (Results 1 - 19 of 19) sorted by relevance

/external/guava/guava-tests/test/com/google/common/primitives/
H A DCharsTest.java34 * Unit test for {@link Chars}.
54 assertEquals(((Character) value).hashCode(), Chars.hashCode(value));
60 assertEquals(value, Chars.checkedCast((long) value));
70 assertEquals(value, Chars.saturatedCast((long) value));
72 assertEquals(GREATEST, Chars.saturatedCast(GREATEST + 1L));
73 assertEquals(LEAST, Chars.saturatedCast(LEAST - 1L));
74 assertEquals(GREATEST, Chars.saturatedCast(Long.MAX_VALUE));
75 assertEquals(LEAST, Chars.saturatedCast(Long.MIN_VALUE));
80 Chars.checkedCast(value);
94 Chars
[all...]
H A DCharArrayAsListTest.java37 * Test suite covering {@link Chars#asList(char[])}.
49 return Chars.asList(temp);
56 .named("Chars.asList"),
59 .named("Chars.asList, head subList"),
62 .named("Chars.asList, tail subList"),
65 .named("Chars.asList, middle subList")
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/
H A DBaseCharEncodedValue.java34 import com.google.common.primitives.Chars;
61 return Chars.compare(getValue(), ((CharEncodedValue)o).getValue());
/external/llvm/unittests/ADT/
H A DVariadicFunctionTest.cpp60 int Chars = 0; local
62 Chars += Args[i]->size();
65 return Chars;
/external/llvm/lib/Support/
H A DStringRef.cpp195 /// Chars, or npos if not found.
197 /// Note: O(size() + Chars.size())
198 StringRef::size_type StringRef::find_first_of(StringRef Chars,
201 for (size_type i = 0; i != Chars.size(); ++i)
202 CharBits.set((unsigned char)Chars[i]);
220 /// in the string \arg Chars, or npos if not found.
222 /// Note: O(size() + Chars.size())
223 StringRef::size_type StringRef::find_first_not_of(StringRef Chars,
226 for (size_type i = 0; i != Chars.size(); ++i)
227 CharBits.set((unsigned char)Chars[
[all...]
H A DScaledNumber.cpp185 SmallVector<char, 24> Chars;
186 Float.toString(Chars, Precision, 0);
187 return std::string(Chars.begin(), Chars.end());
/external/llvm/include/llvm/ADT/
H A DStringRef.h279 /// Find the first character in the string that is in \p Chars, or npos if
282 /// Complexity: O(size() + Chars.size())
283 size_t find_first_of(StringRef Chars, size_t From = 0) const;
290 /// \p Chars, or npos if not found.
292 /// Complexity: O(size() + Chars.size())
293 size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
304 /// Complexity: O(size() + Chars.size())
305 size_t find_last_of(StringRef Chars, size_t From = npos) const;
311 /// Find the last character in the string that is not in \p Chars, or
314 /// Complexity: O(size() + Chars
[all...]
H A DSmallString.h181 /// Find the first character in the string that is in \p Chars, or npos if
184 /// Complexity: O(size() + Chars.size())
185 size_t find_first_of(StringRef Chars, size_t From = 0) const { argument
186 return str().find_first_of(Chars, From);
196 /// \p Chars, or npos if not found.
198 /// Complexity: O(size() + Chars.size())
199 size_t find_first_not_of(StringRef Chars, size_t From = 0) const { argument
200 return str().find_first_not_of(Chars, From);
212 /// Complexity: O(size() + Chars.size())
214 StringRef Chars, size_
213 find_last_of( StringRef Chars, size_t From = StringRef::npos) const argument
[all...]
/external/guava/guava/src/com/google/common/primitives/
H A DChars.java47 public final class Chars { class
48 private Chars() {} method in class:Chars
308 * bytes, in big-endian order; equivalent to {@code Chars.fromByteArray(new
402 int result = Chars.compare(left[i], right[i]);
494 && Chars.indexOf(array, (Character) target, start, end) != -1;
500 int i = Chars.indexOf(array, (Character) target, start, end);
511 int i = Chars.lastIndexOf(array, (Character) target, start, end);
558 result = 31 * result + Chars.hashCode(array[i]);
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DChars.java45 public final class Chars { class
46 private Chars() {} method in class:Chars
351 int result = Chars.compare(left[i], right[i]);
443 && Chars.indexOf(array, (Character) target, start, end) != -1;
449 int i = Chars.indexOf(array, (Character) target, start, end);
460 int i = Chars.lastIndexOf(array, (Character) target, start, end);
507 result = 31 * result + Chars.hashCode(array[i]);
/external/guava/guava/src/com/google/common/hash/
H A DMessageDigestHashFunction.java20 import com.google.common.primitives.Chars;
138 digest.update(scratch.array(), 0, Chars.BYTES);
/external/lzma/CS/7zip/Common/
H A DCommandLineParser.cs225 int len = charsSet.Chars.Length;
228 char c = charsSet.Chars[j];
271 public string Chars = ""; field in class:SevenZip.CommandLineParser.CommandSubCharsSet
/external/clang/lib/Format/
H A DBreakableToken.cpp98 for (unsigned Chars = 0;;) {
102 Chars += Advance;
105 Chars += encoding::columnWidthWithTabs(
106 Text.substr(0, Advance), UsedColumns + Chars, TabWidth, Encoding);
109 if (Chars > MaxSplit || Text.size() == Advance)
/external/clang/lib/Lex/
H A DLexer.cpp1670 unsigned Chars = 1; local
1677 IsUDSuffix = (Chars == 1 && Buffer[0] == 's') ||
1679 getLangOpts(), StringRef(Buffer, Chars));
1683 if (Chars == MaxStandardSuffixLength)
1687 Buffer[Chars++] = Next;
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...

Completed in 2598 milliseconds