HomeSort by relevance Sort by last modified time
    Searched refs:Chars (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /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();
SampleElements.java 71 public static class Chars extends SampleElements<Character> {
72 public 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-3957855/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-3960126/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-3977809/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-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-3957855/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-3960126/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-3977809/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-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...]
  /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...]
  /external/guava/guava/src/com/google/common/hash/
AbstractByteHasher.java 22 import com.google.common.primitives.Chars;
114 return update(Chars.BYTES);
  /external/guava/guava/src/com/google/common/primitives/
Chars.java 51 public final class Chars {
52 private Chars() {}
318 * bytes, in big-endian order; equivalent to {@code Chars.fromByteArray(new
412 int result = Chars.compare(left[i], right[i]);
504 && Chars.indexOf(array, (Character) target, start, end) != -1;
510 int i = Chars.indexOf(array, (Character) target, start, end);
521 int i = Chars.lastIndexOf(array, (Character) target, start, end);
569 result = 31 * result + Chars.hashCode(array[i]);
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Chars.java 49 public final class Chars {
50 private Chars() {}
361 int result = Chars.compare(left[i], right[i]);
453 && Chars.indexOf(array, (Character) target, start, end) != -1;
459 int i = Chars.indexOf(array, (Character) target, start, end);
470 int i = Chars.lastIndexOf(array, (Character) target, start, end);
518 result = 31 * result + Chars.hashCode(array[i]);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
ListGenerators.java 29 import com.google.common.primitives.Chars;
122 char[] chars = Chars.toArray(Arrays.asList(elements)); local
123 return Lists.charactersOf(String.copyValueOf(chars));
130 char[] chars = Chars.toArray(Arrays.asList(elements)); local
132 str.append(chars);
  /external/swiftshader/third_party/llvm-subzero/lib/Support/
StringRef.cpp 247 /// Chars, or npos if not found.
249 /// Note: O(size() + Chars.size())
250 StringRef::size_type StringRef::find_first_of(StringRef Chars,
253 for (size_type i = 0; i != Chars.size(); ++i)
254 CharBits.set((unsigned char)Chars[i]);
272 /// in the string \arg Chars, or npos if not found.
274 /// Note: O(size() + Chars.size())
275 StringRef::size_type StringRef::find_first_not_of(StringRef Chars,
278 for (size_type i = 0; i != Chars.size(); ++i)
279 CharBits.set((unsigned char)Chars[i])
    [all...]

Completed in 1160 milliseconds

1 2 3 4