/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
CharsTest.java | 31 * Unit test for {@link Chars}. 51 assertEquals(((Character) value).hashCode(), Chars.hashCode(value)); 57 assertEquals(value, Chars.checkedCast((long) value)); 67 assertEquals(value, Chars.saturatedCast((long) value)); 69 assertEquals(GREATEST, Chars.saturatedCast(GREATEST + 1L)); 70 assertEquals(LEAST, Chars.saturatedCast(LEAST - 1L)); 71 assertEquals(GREATEST, Chars.saturatedCast(Long.MAX_VALUE)); 72 assertEquals(LEAST, Chars.saturatedCast(Long.MIN_VALUE)); 77 Chars.checkedCast(value); 91 Chars.compare(x, y)) [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
CharsTest.java | 34 * 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.compare(x, y)) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestCharacterListGenerator.java | 20 import com.google.common.collect.testing.SampleElements.Chars; 35 return new Chars();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
BaseCharEncodedValue.java | 34 import com.google.common.primitives.Chars; 61 return Chars.compare(getValue(), ((CharEncodedValue)o).getValue());
|
/external/llvm/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
StringRef.h | 302 /// Find the first character in the string that is in \p Chars, or npos if 305 /// Complexity: O(size() + Chars.size()) 306 size_t find_first_of(StringRef Chars, size_t From = 0) const; 313 /// \p Chars, or npos if not found. 315 /// Complexity: O(size() + Chars.size()) 316 size_t find_first_not_of(StringRef Chars, size_t From = 0) const; 327 /// Complexity: O(size() + Chars.size()) 328 size_t find_last_of(StringRef Chars, size_t From = npos) const; 334 /// Find the last character in the string that is not in \p Chars, or 337 /// Complexity: O(size() + Chars.size() [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/ADT/ |
SmallString.h | 181 /// 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 { 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 { 200 return str().find_first_not_of(Chars, From); 212 /// Complexity: O(size() + Chars.size()) 214 StringRef Chars, size_t From = StringRef::npos) const [all...] |
/external/llvm/unittests/ADT/ |
VariadicFunctionTest.cpp | 60 int Chars = 0; 62 Chars += Args[i]->size(); 65 return Chars;
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ProfileInfoLoader.cpp | 117 std::vector<char> Chars(ArgLength+4); 120 if (fread(&Chars[0], (ArgLength+3) & ~3, 1, F) != 1) { 125 CommandLines.push_back(std::string(&Chars[0], &Chars[ArgLength]));
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
StringRef.cpp | 170 /// Chars, or npos if not found. 172 /// Note: O(size() + Chars.size()) 173 StringRef::size_type StringRef::find_first_of(StringRef Chars, 176 for (size_type i = 0; i != Chars.size(); ++i) 177 CharBits.set((unsigned char)Chars[i]); 195 /// in the string \arg Chars, or npos if not found. 197 /// Note: O(size() + Chars.size()) 198 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, 201 for (size_type i = 0; i != Chars.size(); ++i) 202 CharBits.set((unsigned char)Chars[i]) [all...] |
/external/llvm/lib/Support/ |
StringRef.cpp | 202 /// Chars, or npos if not found. 204 /// Note: O(size() + Chars.size()) 205 StringRef::size_type StringRef::find_first_of(StringRef Chars, 208 for (size_type i = 0; i != Chars.size(); ++i) 209 CharBits.set((unsigned char)Chars[i]); 227 /// in the string \arg Chars, or npos if not found. 229 /// Note: O(size() + Chars.size()) 230 StringRef::size_type StringRef::find_first_not_of(StringRef Chars, 233 for (size_type i = 0; i != Chars.size(); ++i) 234 CharBits.set((unsigned char)Chars[i]) [all...] |