/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 …]
|
/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 …]
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 205 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of() argument 208 for (size_type i = 0; i != Chars.size(); ++i) in find_first_of() 209 CharBits.set((unsigned char)Chars[i]); in find_first_of() 230 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() argument 233 for (size_type i = 0; i != Chars.size(); ++i) in find_first_not_of() 234 CharBits.set((unsigned char)Chars[i]); in find_first_not_of() 246 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of() argument 249 for (size_type i = 0; i != Chars.size(); ++i) in find_last_of() 250 CharBits.set((unsigned char)Chars[i]); in find_last_of() 271 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() argument [all …]
|
D | ScaledNumber.cpp | 187 SmallVector<char, 24> Chars; in toStringAPFloat() local 188 Float.toString(Chars, Precision, 0); in toStringAPFloat() 189 return std::string(Chars.begin(), Chars.end()); in toStringAPFloat()
|
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 306 size_t find_first_of(StringRef Chars, size_t From = 0) const; 316 size_t find_first_not_of(StringRef Chars, size_t From = 0) const; 328 size_t find_last_of(StringRef Chars, size_t From = npos) const; 338 size_t find_last_not_of(StringRef Chars, size_t From = npos) const; 558 StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const { 559 return drop_front(std::min(Length, find_first_not_of(Chars))); 570 StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const { 571 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1)); 582 StringRef trim(StringRef Chars = " \t\n\v\f\r") const { 583 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/swiftshader/third_party/LLVM/lib/Support/ |
D | StringRef.cpp | 173 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of() argument 176 for (size_type i = 0; i != Chars.size(); ++i) in find_first_of() 177 CharBits.set((unsigned char)Chars[i]); in find_first_of() 198 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() argument 201 for (size_type i = 0; i != Chars.size(); ++i) in find_first_not_of() 202 CharBits.set((unsigned char)Chars[i]); in find_first_not_of() 214 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of() argument 217 for (size_type i = 0; i != Chars.size(); ++i) in find_last_of() 218 CharBits.set((unsigned char)Chars[i]); in find_last_of()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
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);
|
D | StringRef.h | 401 size_t find_first_of(StringRef Chars, size_t From = 0) const; 413 size_t find_first_not_of(StringRef Chars, size_t From = 0) const; 427 size_t find_last_of(StringRef Chars, size_t From = npos) const; 439 size_t find_last_not_of(StringRef Chars, size_t From = npos) const; 804 StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const { 805 return drop_front(std::min(Length, find_first_not_of(Chars))); 818 StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const { 819 return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1)); 832 StringRef trim(StringRef Chars = " \t\n\v\f\r") const { 833 return ltrim(Chars).rtrim(Chars);
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | StringRef.cpp | 250 StringRef::size_type StringRef::find_first_of(StringRef Chars, in find_first_of() argument 253 for (size_type i = 0; i != Chars.size(); ++i) in find_first_of() 254 CharBits.set((unsigned char)Chars[i]); in find_first_of() 275 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, in find_first_not_of() argument 278 for (size_type i = 0; i != Chars.size(); ++i) in find_first_not_of() 279 CharBits.set((unsigned char)Chars[i]); in find_first_not_of() 291 StringRef::size_type StringRef::find_last_of(StringRef Chars, in find_last_of() argument 294 for (size_type i = 0; i != Chars.size(); ++i) in find_last_of() 295 CharBits.set((unsigned char)Chars[i]); in find_last_of() 316 StringRef::size_type StringRef::find_last_not_of(StringRef Chars, in find_last_not_of() argument [all …]
|
/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/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ProfileInfoLoader.cpp | 117 std::vector<char> Chars(ArgLength+4); in ProfileInfoLoader() local 120 if (fread(&Chars[0], (ArgLength+3) & ~3, 1, F) != 1) { in ProfileInfoLoader() 125 CommandLines.push_back(std::string(&Chars[0], &Chars[ArgLength])); in ProfileInfoLoader()
|
/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/v8/testing/gmock/test/ |
D | gmock-internal-utils_test.cc | 631 typedef std::vector<char> Chars; in TEST() typedef 632 Chars v1; in TEST() 633 const Chars& v2(StlContainerView<Chars>::ConstReference(v1)); in TEST() 637 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()
|
/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/googletest/googlemock/test/ |
D | gmock-internal-utils_test.cc | 631 typedef std::vector<char> Chars; in TEST() typedef 632 Chars v1; in TEST() 633 const Chars& v2(StlContainerView<Chars>::ConstReference(v1)); in TEST() 637 Chars v3 = StlContainerView<Chars>::Copy(v1); in TEST()
|
/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/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | StringRef.h | 260 size_type find_first_of(StringRef Chars, size_t From = 0) const; 270 size_type find_first_not_of(StringRef Chars, size_t From = 0) const; 282 size_type find_last_of(StringRef Chars, size_t From = npos) const;
|