Home
last modified time | relevance | path

Searched refs:Booleans (Results 1 – 25 of 146) sorted by relevance

123456

/external/guava/guava-tests/test/com/google/common/primitives/
DBooleansTest.java47 assertEquals(Boolean.TRUE.hashCode(), Booleans.hashCode(true)); in testHashCode()
48 assertEquals(Boolean.FALSE.hashCode(), Booleans.hashCode(false)); in testHashCode()
52 assertEquals(0, Booleans.trueFirst().compare(true, true)); in testTrueFirst()
53 assertEquals(0, Booleans.trueFirst().compare(false, false)); in testTrueFirst()
54 assertTrue(Booleans.trueFirst().compare(true, false) < 0); in testTrueFirst()
55 assertTrue(Booleans.trueFirst().compare(false, true) > 0); in testTrueFirst()
59 assertEquals(0, Booleans.falseFirst().compare(true, true)); in testFalseFirst()
60 assertEquals(0, Booleans.falseFirst().compare(false, false)); in testFalseFirst()
61 assertTrue(Booleans.falseFirst().compare(false, true) < 0); in testFalseFirst()
62 assertTrue(Booleans.falseFirst().compare(true, false) > 0); in testFalseFirst()
[all …]
/external/guava/android/guava-tests/test/com/google/common/primitives/
DBooleansTest.java47 assertEquals(Boolean.TRUE.hashCode(), Booleans.hashCode(true)); in testHashCode()
48 assertEquals(Boolean.FALSE.hashCode(), Booleans.hashCode(false)); in testHashCode()
52 assertEquals(0, Booleans.trueFirst().compare(true, true)); in testTrueFirst()
53 assertEquals(0, Booleans.trueFirst().compare(false, false)); in testTrueFirst()
54 assertTrue(Booleans.trueFirst().compare(true, false) < 0); in testTrueFirst()
55 assertTrue(Booleans.trueFirst().compare(false, true) > 0); in testTrueFirst()
59 assertEquals(0, Booleans.falseFirst().compare(true, true)); in testFalseFirst()
60 assertEquals(0, Booleans.falseFirst().compare(false, false)); in testFalseFirst()
61 assertTrue(Booleans.falseFirst().compare(false, true) < 0); in testFalseFirst()
62 assertTrue(Booleans.falseFirst().compare(true, false) > 0); in testFalseFirst()
[all …]
/external/guava/android/guava/src/com/google/common/primitives/
DBooleans.java45 public final class Booleans { class
46 private Booleans() {} in Booleans() method in Booleans
315 int result = Booleans.compare(left[i], right[i]); in compare()
414 && Booleans.indexOf(array, (Boolean) target, start, end) != -1; in contains()
421 int i = Booleans.indexOf(array, (Boolean) target, start, end); in indexOf()
433 int i = Booleans.lastIndexOf(array, (Boolean) target, start, end); in lastIndexOf()
485 result = 31 * result + Booleans.hashCode(array[i]); in hashCode()
/external/guava/guava/src/com/google/common/primitives/
DBooleans.java45 public final class Booleans { class
46 private Booleans() {} in Booleans() method in Booleans
315 int result = Booleans.compare(left[i], right[i]); in compare()
414 && Booleans.indexOf(array, (Boolean) target, start, end) != -1; in contains()
421 int i = Booleans.indexOf(array, (Boolean) target, start, end); in indexOf()
433 int i = Booleans.lastIndexOf(array, (Boolean) target, start, end); in lastIndexOf()
485 result = 31 * result + Booleans.hashCode(array[i]); in hashCode()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/
DBaseBooleanEncodedValue.java34 import com.google.common.primitives.Booleans;
61 return Booleans.compare(getValue(), ((BooleanEncodedValue)o).getValue()); in compareTo()
/external/selinux/python/sepolicy/sepolicy/help/
Dtransition_from_boolean.txt1 Transitions can be controlled by SELinux Booleans.
4 SELinux Booleans are If-then-else rules in policy, that allow the administrator to modify the acces…
/external/guava/guava/src/com/google/common/collect/
DComparisonChain.java20 import com.google.common.primitives.Booleans;
104 return classify(Booleans.compare(right, left)); // reversed
109 return classify(Booleans.compare(left, right));
DCut.java20 import com.google.common.primitives.Booleans;
82 return Booleans.compare(this instanceof AboveValue, that instanceof AboveValue); in compareTo()
/external/guava/android/guava/src/com/google/common/collect/
DComparisonChain.java20 import com.google.common.primitives.Booleans;
104 return classify(Booleans.compare(right, left)); // reversed
109 return classify(Booleans.compare(left, right));
DCut.java20 import com.google.common.primitives.Booleans;
82 return Booleans.compare(this instanceof AboveValue, that instanceof AboveValue); in compareTo()
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java36 import com.google.common.primitives.Booleans;
388 return Booleans.compare(Double.isNaN(a), Double.isNaN(b)); in fuzzyCompare()
/external/guava/android/guava/src/com/google/common/math/
DDoubleMath.java36 import com.google.common.primitives.Booleans;
388 return Booleans.compare(Double.isNaN(a), Double.isNaN(b)); in fuzzyCompare()
/external/python/cpython3/Doc/c-api/
Dbool.rst8 Booleans in Python are implemented as a subclass of integers. There are only
/external/python/cpython2/Doc/c-api/
Dbool.rst8 Booleans in Python are implemented as a subclass of integers. There are only
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb_unittest.cc187 TEST(PbtxtToPb, Booleans) { in TEST() argument
/external/mesa3d/docs/
Dcodingstyle.rst119 - Booleans. Places that are not directly visible to the GL API should
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DImportOrderer.java17 import static com.google.common.primitives.Booleans.trueFirst;
/external/flatbuffers/docs/source/
DInternals.md383 ### Booleans and Nulls
385 Booleans (`TYPE_BOOL`) and nulls (`TYPE_NULL`) are encoded as inlined unsigned integers.
/external/selinux/policycoreutils/po/
Dsv.po1484 msgid "Add Booleans Dialog"
1489 msgstr "Booleans namn"
2201 msgid "Toggle between Customized and All Booleans"
4378 msgid "Booleans"
4534 msgstr "Booleans namn"
4539 msgstr "Booleans namn"
4561 msgstr "Booleans namn"
4912 msgid "Help: Booleans Page"
4913 msgstr "Booleans namn"
5063 msgstr "Booleans namn"
Dnl.po977 msgstr "Kan Booleans niet tonen"
1472 msgid "Add Booleans Dialog"
2119 msgid "Toggle between Customized and All Booleans"
4098 msgid "Booleans"
4617 msgid "Help: Booleans Page"
/external/jackson-databind/
DREADME.md146 While dealing with `Map`s, `List`s and other "simple" Object types (Strings, Numbers, Booleans) can…
/external/mesa3d/docs/relnotes/
D19.0.0.rst192 - [regression][bisected] "nir: Switch to using 1-bit Booleans for
1235 - nir/spirv: Force 32-bit for UBO and SSBO Booleans
1236 - nir/glsl: Force 32-bit for UBO and SSBO Booleans
1287 - nir: Switch to using 1-bit Booleans for almost everything
1288 - nir/algebraic: Optimize 1-bit Booleans
1289 - nir/algebraic: Add some optimizations for D3D-style Booleans
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context_embeddertest.cpp107 TEST_F(CFXJSE_FormCalcContextEmbedderTest, Booleans) { in TEST_F() argument
/external/python/cpython3/Doc/whatsnew/
D2.3.rst571 return Booleans. ::
581 Python's Booleans were added with the primary goal of making code clearer. For
587 Python's Booleans were *not* added for the sake of strict type-checking. A very
589 Booleans, and would require that the expression in an :keyword:`if` statement
/external/python/cpython2/Doc/whatsnew/
D2.3.rst571 return Booleans. ::
581 Python's Booleans were added with the primary goal of making code clearer. For
587 Python's Booleans were *not* added for the sake of strict type-checking. A very
589 Booleans, and would require that the expression in an :keyword:`if` statement

123456