Home
last modified time | relevance | path

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

1234567891011

/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/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.java46 public final class Booleans { class
47 private Booleans() {} in Booleans() method in Booleans
316 int result = Booleans.compare(left[i], right[i]); in compare()
415 && Booleans.indexOf(array, (Boolean) target, start, end) != -1; in contains()
422 int i = Booleans.indexOf(array, (Boolean) target, start, end); in indexOf()
434 int i = Booleans.lastIndexOf(array, (Boolean) target, start, end); in lastIndexOf()
486 result = 31 * result + Booleans.hashCode(array[i]); in hashCode()
/external/guava/guava/src/com/google/common/primitives/
DBooleans.java46 public final class Booleans { class
47 private Booleans() {} in Booleans() method in Booleans
316 int result = Booleans.compare(left[i], right[i]); in compare()
415 && Booleans.indexOf(array, (Boolean) target, start, end) != -1; in contains()
422 int i = Booleans.indexOf(array, (Boolean) target, start, end); in indexOf()
434 int i = Booleans.lastIndexOf(array, (Boolean) target, start, end); in lastIndexOf()
486 result = 31 * result + Booleans.hashCode(array[i]); in hashCode()
/external/truth/core/src/main/java/com/google/common/truth/
DPrimitiveBooleanArraySubject.java18 import com.google.common.primitives.Booleans;
36 return checkNoNeedToDisplayBothValues("asList()").that(Booleans.asList(actual)); in asList()
DSubject.java39 import com.google.common.primitives.Booleans;
437 iterable = Booleans.asList((boolean[]) input);
/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;
105 return classify(Booleans.compare(right, left)); // reversed
110 return classify(Booleans.compare(left, right));
DCut.java20 import com.google.common.primitives.Booleans;
85 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;
105 return classify(Booleans.compare(right, left)); // reversed
110 return classify(Booleans.compare(left, right));
DCut.java20 import com.google.common.primitives.Booleans;
85 return Booleans.compare(this instanceof AboveValue, that instanceof AboveValue); in compareTo()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/base/value/
DBaseBooleanEncodedValue.java36 import com.google.common.primitives.Booleans;
61 return Booleans.compare(getValue(), ((BooleanEncodedValue)o).getValue()); in compareTo()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/
DTracksInfo.java31 import com.google.common.primitives.Booleans;
99 return Booleans.contains(trackSelected, true); in isSelected()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/
DTracksInfo.java31 import com.google.common.primitives.Booleans;
134 return Booleans.contains(trackSelected, true); in isSelected()
/external/guava/android/guava/src/com/google/common/math/
DDoubleMath.java36 import com.google.common.primitives.Booleans;
389 return Booleans.compare(Double.isNaN(a), Double.isNaN(b)); in fuzzyCompare()
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java36 import com.google.common.primitives.Booleans;
389 return Booleans.compare(Double.isNaN(a), Double.isNaN(b)); in fuzzyCompare()
/external/python/cpython2/Doc/c-api/
Dbool.rst8 Booleans in Python are implemented as a subclass of integers. There are only
/external/python/cpython3/Doc/c-api/
Dbool.rst8 Booleans in Python are implemented as a subclass of integers. There are only
/external/selinux/gui/po/
Dnl.po246 msgid "Add Booleans Dialog"
247 msgstr "Dialoog Booleans toevoegen"
648 msgstr "<b>Booleans uit het %s beleid toevoegen:</b>"
657 msgstr "Booleans gebruikt door het %s domein toevoegen en verwijderen"
912 msgid "Toggle between Customized and All Booleans"
913 msgstr "Schakelen tussen Aangepaste en Alle Booleans"
Den_GB.po239 msgid "Add Booleans Dialog"
240 msgstr "Add Booleans Dialogue"
894 msgid "Toggle between Customized and All Booleans"
895 msgstr "Toggle between Customised and All Booleans"
/external/armnn/third-party/cxxopts/
DCHANGELOG.md97 * Booleans can be specified with various strings and explicitly set false.
/external/mesa3d/docs/
Dcodingstyle.rst119 - Booleans. Places that are not directly visible to the GL API should
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb_unittest.cc189 TEST(PbtxtToPb, Booleans) { in TEST() argument
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DImportOrderer.java17 import static com.google.common.primitives.Booleans.trueFirst;

1234567891011