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

12

/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
H A DCharsTest.java31 * 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
[all...]
H A DCharArrayAsListTest.java30 * Test suite covering {@link Chars#asList(char[])}.
42 return Chars.asList(temp);
/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.java38 * Test suite covering {@link Chars#asList(char[])}.
50 return Chars.asList(temp);
58 .named("Chars.asList"),
61 .named("Chars.asList, head subList"),
64 .named("Chars.asList, tail subList"),
67 .named("Chars.asList, middle subList")
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DTestCharacterListGenerator.java20 import com.google.common.collect.testing.SampleElements.Chars;
35 return new Chars();
H A DSampleElements.java71 public static class Chars extends SampleElements<Character> { class in class:SampleElements
72 public Chars() { method in class:SampleElements.Chars
/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.cpp202 /// 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[
[all...]
H A DScaledNumber.cpp186 SmallVector<char, 24> Chars;
187 Float.toString(Chars, Precision, 0);
188 return std::string(Chars.begin(), Chars.end());
/external/llvm/include/llvm/ADT/
H A DStringRef.h295 /// Find the first character in the string that is in \p Chars, or npos if
298 /// Complexity: O(size() + Chars.size())
299 size_t find_first_of(StringRef Chars, size_t From = 0) const;
306 /// \p Chars, or npos if not found.
308 /// Complexity: O(size() + Chars.size())
309 size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
320 /// Complexity: O(size() + Chars.size())
321 size_t find_last_of(StringRef Chars, size_t From = npos) const;
327 /// Find the last character in the string that is not in \p Chars, or
330 /// 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/hash/
H A DAbstractByteHasher.java22 import com.google.common.primitives.Chars;
114 return update(Chars.BYTES);
H A DMurmur3_32HashFunction.java30 import com.google.common.primitives.Chars;
122 return fmix(h1, Chars.BYTES * input.length());
/external/guava/guava/src/com/google/common/primitives/
H A DChars.java51 public final class Chars { class
52 private Chars() {} method in class: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/
H A DChars.java49 public final class Chars { class
50 private Chars() {} method in class: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/
H A DListGenerators.java29 import com.google.common.primitives.Chars;
122 char[] chars = Chars.toArray(Arrays.asList(elements));
130 char[] chars = Chars.toArray(Arrays.asList(elements));
/external/guava/guava-tests/benchmark/com/google/common/base/
H A DAsciiBenchmark.java24 import com.google.common.primitives.Chars;
63 char[] array = Chars.toArray(chars);
/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/gmock/test/
H A Dgmock-internal-utils_test.cc582 typedef std::vector<char> Chars; typedef
583 Chars v1;
584 const Chars& v2(StlContainerView<Chars>::ConstReference(v1));
588 Chars v3 = StlContainerView<Chars>::Copy(v1);
/external/google-breakpad/src/testing/test/
H A Dgmock-internal-utils_test.cc588 typedef std::vector<char> Chars; typedef
589 Chars v1;
590 const Chars& v2(StlContainerView<Chars>::ConstReference(v1));
594 Chars v3 = StlContainerView<Chars>::Copy(v1);
/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/llvm/lib/IR/
H A DDIBuilder.cpp30 /// Note that this is not equivalent to \c Chars.empty(), since \a concat()
33 SmallVector<char, 256> Chars; member in class:__anon12333::HeaderBuilder
37 HeaderBuilder(const HeaderBuilder &X) : IsEmpty(X.IsEmpty), Chars(X.Chars) {}
39 : IsEmpty(X.IsEmpty), Chars(std::move(X.Chars)) {}
45 Chars.push_back(0);
46 Twine(X).toVector(Chars);
51 return MDString::get(Context, StringRef(Chars.begin(), Chars
[all...]
/external/dbus/dbus/
H A Ddbus-string.c1554 * @param Chars the bytes to decode
1559 #define UTF8_GET(Result, Chars, Count, Mask, Len) \
1560 (Result) = (Chars)[0] & (Mask); \
1563 if (((Chars)[(Count)] & 0xc0) != 0x80) \
1569 (Result) |= ((Chars)[(Count)] & 0x3f); \
/external/clang/lib/Lex/
H A DLexer.cpp1668 unsigned Chars = 1; local
1675 IsUDSuffix = (Chars == 1 && Buffer[0] == 's') ||
1677 getLangOpts(), StringRef(Buffer, Chars));
1681 if (Chars == MaxStandardSuffixLength)
1685 Buffer[Chars++] = Next;

Completed in 683 milliseconds

12