/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
BooleansTest.java | 37 private static final boolean[] EMPTY = {}; 38 private static final boolean[] ARRAY_FALSE = {false}; 39 private static final boolean[] ARRAY_TRUE = {true}; 40 private static final boolean[] ARRAY_FALSE_FALSE = {false, false}; 41 private static final boolean[] ARRAY_FALSE_TRUE = {false, true}; 43 private static final boolean[] VALUES = {false, true}; 46 assertEquals(Boolean.TRUE.hashCode(), Booleans.hashCode(true)); 47 assertEquals(Boolean.FALSE.hashCode(), Booleans.hashCode(false)); 51 for (boolean x : VALUES) { 52 for (boolean y : VALUES) [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
BooleansTest.java | 40 private static final boolean[] EMPTY = {}; 41 private static final boolean[] ARRAY_FALSE = {false}; 42 private static final boolean[] ARRAY_TRUE = {true}; 43 private static final boolean[] ARRAY_FALSE_FALSE = {false, false}; 44 private static final boolean[] ARRAY_FALSE_TRUE = {false, true}; 46 private static final boolean[] VALUES = {false, true}; 49 assertEquals(Boolean.TRUE.hashCode(), Booleans.hashCode(true)); 50 assertEquals(Boolean.FALSE.hashCode(), Booleans.hashCode(false)); 54 for (boolean x : VALUES) { 55 for (boolean y : VALUES) [all...] |
/frameworks/support/compat/tests/java/android/support/v4/app/ |
NotificationCompatTest.java | 141 assertTrue(Boolean.TRUE.equals(extras.get(EXTRA_COLORIZED))); 150 assertTrue(Boolean.FALSE.equals(extras.get(EXTRA_COLORIZED)));
|
/external/clang/test/Analysis/ |
cfref_rdar6080742.c | 11 typedef unsigned char Boolean; 35 Boolean DebugDisplayOSStatusMsg(OSStatus status, const char *statusStr, const char *fileName, unsigned long lineNumber);
|
/external/deqp/modules/gles3/functional/ |
es3fImplementationLimitTests.cpp | 90 struct Boolean 93 Boolean (GLboolean value_) : value(value_) {} 96 std::ostream& operator<< (std::ostream& str, const Boolean& boolean) { return str << (boolean.value ? "GL_TRUE" : "GL_FALSE"); } 138 Boolean query<Boolean> (const glw::Functions& gl, deUint32 param) 142 return Boolean(val); 161 bool compare<Boolean> (const Boolean& min, const Boolean& reported [all...] |
/frameworks/base/opengl/java/android/opengl/ |
EGLLogWrapper.java | 33 boolean mLogArgumentNames; 34 boolean mCheckError; 47 public boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, 55 boolean result = mEgl10.eglChooseConfig(display, attrib_list, configs, 64 public boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, 72 boolean result = mEgl10.eglCopyBuffers(display, surface, native_pixmap); 141 public boolean eglDestroyContext(EGLDisplay display, EGLContext context) { 147 boolean result = mEgl10.eglDestroyContext(display, context); 153 public boolean eglDestroySurface(EGLDisplay display, EGLSurface surface) { 159 boolean result = mEgl10.eglDestroySurface(display, surface) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/compat/ |
CompatUtilsTest.java | 82 Boolean.TYPE));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
aetypes.py | 79 class Boolean: 80 """An AE boolean value""" 86 return "Boolean(%r)" % (self.bool,) 98 return isinstance(x, Boolean) 102 return Boolean(bool)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
aetypes.py | 79 class Boolean: 80 """An AE boolean value""" 86 return "Boolean(%r)" % (self.bool,) 98 return isinstance(x, Boolean) 102 return Boolean(bool)
|
/art/test/959-invoke-polymorphic-accessors/src/ |
Main.java | 23 public boolean m_z = false; 33 public static boolean s_z; 48 public static void assertActualAndExpectedMatch(boolean actual, boolean expected) 55 public static void assertTrue(boolean value) throws AssertionError { 68 Boolean, 86 static void setByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) 88 boolean exceptionThrown = false; 103 static void setByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { 107 static void getByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure [all...] |
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
MethodHandleAccessorsTest.java | 31 public boolean m_z = false; 41 public static boolean s_z; 56 Boolean, 74 static void setByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) 76 boolean exceptionThrown = false; 91 static void setByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { 95 static void getByte(MethodHandle m, ValueHolder v, byte value, boolean expectFailure) 97 boolean exceptionThrown = false; 113 static void getByte(MethodHandle m, byte value, boolean expectFailure) throws Throwable { 117 static void setChar(MethodHandle m, ValueHolder v, char value, boolean expectFailure [all...] |
/external/llvm/lib/Target/AMDGPU/ |
SIAnnotateControlFlow.cpp | 49 Type *Boolean; 134 Boolean = Type::getInt1Ty(Context); 136 ReturnStruct = StructType::get(Boolean, Int64, (Type *)nullptr); 140 BoolUndef = UndefValue::get(Boolean); 144 IfIntrinsic, ReturnStruct, Boolean, (Type *)nullptr); 153 IfBreakIntrinsic, Int64, Boolean, Int64, (Type *)nullptr); 159 LoopIntrinsic, Boolean, Int64, (Type *)nullptr);
|
/external/testng/src/main/java/org/testng/ |
Assert.java | 40 static public void assertTrue(boolean condition, String message) { 42 failNotEquals(condition, Boolean.TRUE, message); 51 static public void assertTrue(boolean condition) { 61 static public void assertFalse(boolean condition, String message) { 63 failNotEquals(condition, Boolean.FALSE, message); // TESTNG-81 72 static public void assertFalse(boolean condition) { 304 static public void assertEquals(boolean actual, boolean expected, String message) { 305 assertEquals( Boolean.valueOf(actual), Boolean.valueOf(expected), message) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_iter.py | 335 class Boolean:
340 bTrue = Boolean(1)
341 bFalse = Boolean(0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/ |
macsupport.py | 13 Boolean = Type("Boolean", "b")
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiNetworkHistory.java | 56 private static final boolean DBG = true; 57 private static final boolean VDBG = true; 203 + Boolean.toString(config.selfAdded) + NL); 205 + Boolean.toString(config.didSelfAdd) + NL); 209 + Boolean.toString(config.validatedInternetAccess) + NL); 211 Boolean.toString(config.noInternetAccessExpected) + NL); 213 + Boolean.toString(config.ephemeral) + NL); 215 + Boolean.toString(config.meteredHint) + NL); 217 + Boolean.toString(config.useExternalScores) + NL); 246 out.writeUTF(SHARED_KEY + SEPARATOR + Boolean.toString(config.shared) + NL) [all...] |
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
KeyboardLayoutDialogFragment.java | 58 private boolean mHasShownLayoutSelectionScreen; 261 boolean checked = (position == mCheckedItem); 270 String label, boolean checked) { 285 String label, String collection, boolean checked) { 303 private static boolean isTwoLine(View view) { 304 return view.getTag() == Boolean.TRUE; 307 private static void setTwoLine(View view, boolean twoLine) { 308 view.setTag(Boolean.valueOf(twoLine));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_iter.py | 335 class Boolean: 340 bTrue = Boolean(1) 341 bFalse = Boolean(0)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_iter.py | 335 class Boolean: 340 bTrue = Boolean(1) 341 bFalse = Boolean(0)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_iter.py | 335 class Boolean: 340 bTrue = Boolean(1) 341 bFalse = Boolean(0)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_iter.py | 335 class Boolean: 340 bTrue = Boolean(1) 341 bFalse = Boolean(0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
xmlrpclib.py | 22 # 2000-11-28 fl Changed boolean to check the truth value of its argument
91 # TODO: sort out True/False/boolean issues for Python 2.3
111 Boolean boolean wrapper to generate a "boolean" XML-RPC value
130 boolean Convert any Python value to an XML-RPC boolean
285 # Wrapper for XML-RPC boolean values. Use the xmlrpclib.True and
286 # xmlrpclib.False constants, or the xmlrpclib.boolean() function, to
287 # generate boolean XML-RPC values. 343 def boolean(value, _truefalse=(False, True)): function [all...] |
/external/llvm/lib/Transforms/Scalar/ |
StructurizeCFG.cpp | 168 Type *Boolean; 291 Boolean = Type::getInt1Ty(Context); 294 BoolUndef = UndefValue::get(Boolean); 535 PhiInserter.Initialize(Boolean, "");
|
/external/testng/src/main/java/org/testng/xml/ |
TestNGContentHandler.java | 68 private boolean m_enabledTest; 72 private boolean m_loadClasses; 73 private boolean m_validate = false; 74 private boolean m_hasWarn = false; 76 public TestNGContentHandler(String fileName, boolean loadClasses) { 124 private void xmlSuiteFile(boolean start, Attributes attributes) { 139 private void xmlSuite(boolean start, Attributes attributes) { 157 m_currentSuite.setJUnit(Boolean.valueOf(jUnit)); 184 m_currentSuite.setGroupByInstances(Boolean.valueOf(groupByInstances)); 188 m_currentSuite.setSkipFailedInvocationCounts(Boolean.valueOf(skip)) [all...] |
/external/wpa_supplicant_8/src/common/ |
defs.h | 18 typedef enum { FALSE = 0, TRUE = 1 } Boolean;
|