/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | CharsTest.java | 51 assertEquals(((Character) value).hashCode(), Chars.hashCode(value)); in testHashCode() 57 assertEquals(value, Chars.checkedCast((long) value)); in testCheckedCast() 67 assertEquals(value, Chars.saturatedCast((long) value)); in testSaturatedCast() 69 assertEquals(GREATEST, Chars.saturatedCast(GREATEST + 1L)); in testSaturatedCast() 70 assertEquals(LEAST, Chars.saturatedCast(LEAST - 1L)); in testSaturatedCast() 71 assertEquals(GREATEST, Chars.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast() 72 assertEquals(LEAST, Chars.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast() 77 Chars.checkedCast(value); in assertCastFails() 91 Chars.compare(x, y)); in testCompare() 97 assertFalse(Chars.contains(EMPTY, (char) 1)); in testContains() [all …]
|
D | CharArrayAsListTest.java | 42 return Chars.asList(temp); in asList()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | CharsTest.java | 54 assertEquals(((Character) value).hashCode(), Chars.hashCode(value)); in testHashCode() 60 assertEquals(value, Chars.checkedCast((long) value)); in testCheckedCast() 70 assertEquals(value, Chars.saturatedCast((long) value)); in testSaturatedCast() 72 assertEquals(GREATEST, Chars.saturatedCast(GREATEST + 1L)); in testSaturatedCast() 73 assertEquals(LEAST, Chars.saturatedCast(LEAST - 1L)); in testSaturatedCast() 74 assertEquals(GREATEST, Chars.saturatedCast(Long.MAX_VALUE)); in testSaturatedCast() 75 assertEquals(LEAST, Chars.saturatedCast(Long.MIN_VALUE)); in testSaturatedCast() 80 Chars.checkedCast(value); in assertCastFails() 94 Chars.compare(x, y)); in testCompare() 100 assertFalse(Chars.contains(EMPTY, (char) 1)); in testContains() [all …]
|
D | CharArrayAsListTest.java | 50 return Chars.asList(temp); in asList()
|
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 287 size_t find_first_of(StringRef Chars, size_t From = 0) const; 297 size_t find_first_not_of(StringRef Chars, size_t From = 0) const; 309 size_t find_last_of(StringRef Chars, size_t From = npos) const; 319 size_t find_last_not_of(StringRef Chars, size_t From = npos) const; 511 StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const { 512 return drop_front(std::min(Length, find_first_not_of(Chars))); 517 StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const { 518 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1)); 523 StringRef trim(StringRef Chars = " \t\n\v\f\r") const { 524 return ltrim(Chars).rtrim(Chars);
|
D | SmallString.h | 185 size_t find_first_of(StringRef Chars, size_t From = 0) const { 186 return str().find_first_of(Chars, From); 199 size_t find_first_not_of(StringRef Chars, size_t From = 0) const { 200 return str().find_first_not_of(Chars, From); 214 StringRef Chars, size_t From = StringRef::npos) const { 215 return str().find_last_of(Chars, From);
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 198 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of() argument 201 for (size_type i = 0; i != Chars.size(); ++i) in find_first_of() 202 CharBits.set((unsigned char)Chars[i]); in find_first_of() 223 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() argument 226 for (size_type i = 0; i != Chars.size(); ++i) in find_first_not_of() 227 CharBits.set((unsigned char)Chars[i]); in find_first_not_of() 239 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of() argument 242 for (size_type i = 0; i != Chars.size(); ++i) in find_last_of() 243 CharBits.set((unsigned char)Chars[i]); in find_last_of() 264 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() argument [all …]
|
D | ScaledNumber.cpp | 186 SmallVector<char, 24> Chars; in toStringAPFloat() local 187 Float.toString(Chars, Precision, 0); in toStringAPFloat() 188 return std::string(Chars.begin(), Chars.end()); in toStringAPFloat()
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | Chars.java | 49 public final class Chars { class 50 private Chars() {} in Chars() method in Chars 361 int result = Chars.compare(left[i], right[i]); in compare() 453 && Chars.indexOf(array, (Character) target, start, end) != -1; in contains() 459 int i = Chars.indexOf(array, (Character) target, start, end); in indexOf() 470 int i = Chars.lastIndexOf(array, (Character) target, start, end); in lastIndexOf() 518 result = 31 * result + Chars.hashCode(array[i]); in hashCode()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Chars.java | 51 public final class Chars { class 52 private Chars() {} in Chars() method in Chars 412 int result = Chars.compare(left[i], right[i]); in compare() 504 && Chars.indexOf(array, (Character) target, start, end) != -1; in contains() 510 int i = Chars.indexOf(array, (Character) target, start, end); in indexOf() 521 int i = Chars.lastIndexOf(array, (Character) target, start, end); in lastIndexOf() 569 result = 31 * result + Chars.hashCode(array[i]); in hashCode()
|
/external/llvm/unittests/ADT/ |
D | VariadicFunctionTest.cpp | 60 int Chars = 0; in StringAppendImpl() local 62 Chars += Args[i]->size(); in StringAppendImpl() 65 return Chars; in StringAppendImpl()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | TestCharacterListGenerator.java | 20 import com.google.common.collect.testing.SampleElements.Chars; 35 return new Chars(); in samples()
|
D | SampleElements.java | 71 public static class Chars extends SampleElements<Character> { class in SampleElements 72 public Chars() { in Chars() method in SampleElements.Chars
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
D | BaseCharEncodedValue.java | 34 import com.google.common.primitives.Chars; 61 return Chars.compare(getValue(), ((CharEncodedValue)o).getValue()); in compareTo()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | ListGenerators.java | 29 import com.google.common.primitives.Chars; 122 char[] chars = Chars.toArray(Arrays.asList(elements)); in create() 130 char[] chars = Chars.toArray(Arrays.asList(elements)); in create()
|
/external/google-breakpad/src/testing/test/ |
D | gmock-internal-utils_test.cc | 588 typedef std::vector<char> Chars; in TEST() typedef 589 Chars v1; in TEST() 590 const Chars& v2(StlContainerView<Chars>::ConstReference(v1)); in TEST() 594 Chars v3 = StlContainerView<Chars>::Copy(v1); in TEST()
|
/external/guava/guava/src/com/google/common/hash/ |
D | AbstractByteHasher.java | 22 import com.google.common.primitives.Chars; 114 return update(Chars.BYTES); in putChar()
|
D | Murmur3_32HashFunction.java | 30 import com.google.common.primitives.Chars; 122 return fmix(h1, Chars.BYTES * input.length()); in hashString()
|
/external/lzma/CS/7zip/Common/ |
D | CommandLineParser.cs | 225 int len = charsSet.Chars.Length; in ParseSubCharsCommand() 228 char c = charsSet.Chars[j]; in ParseSubCharsCommand() 271 public string Chars = ""; field in SevenZip.CommandLineParser.CommandSubCharsSet
|
/external/clang/lib/Format/ |
D | BreakableToken.cpp | 98 for (unsigned Chars = 0;;) { in getStringSplit() local 102 Chars += Advance; in getStringSplit() 105 Chars += encoding::columnWidthWithTabs( in getStringSplit() 106 Text.substr(0, Advance), UsedColumns + Chars, TabWidth, Encoding); in getStringSplit() 109 if (Chars > MaxSplit || Text.size() <= Advance) in getStringSplit()
|
/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 33 SmallVector<char, 256> Chars; member in __anona705b4500111::HeaderBuilder 37 HeaderBuilder(const HeaderBuilder &X) : IsEmpty(X.IsEmpty), Chars(X.Chars) {} in HeaderBuilder() 39 : IsEmpty(X.IsEmpty), Chars(std::move(X.Chars)) {} in HeaderBuilder() 45 Chars.push_back(0); in concat() 46 Twine(X).toVector(Chars); in concat() 51 return MDString::get(Context, StringRef(Chars.begin(), Chars.size())); in get()
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | AsciiBenchmark.java | 24 import com.google.common.primitives.Chars; 63 char[] array = Chars.toArray(chars); in setUp()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 1664 unsigned Chars = 1; in LexUDSuffix() local 1671 IsUDSuffix = (Chars == 1 && Buffer[0] == 's') || in LexUDSuffix() 1673 getLangOpts(), StringRef(Buffer, Chars)); in LexUDSuffix() 1677 if (Chars == MaxStandardSuffixLength) in LexUDSuffix() 1681 Buffer[Chars++] = Next; in LexUDSuffix()
|
/external/vogar/lib/ |
D | guava.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ObjC.stg | 47 "char" : "0", // Chars start out being 0
|