/external/guava/guava-tests/test/com/google/common/primitives/ |
BooleansTest.java | 34 * Unit test for {@link Booleans}. 48 assertEquals(Boolean.TRUE.hashCode(), Booleans.hashCode(true)); 49 assertEquals(Boolean.FALSE.hashCode(), Booleans.hashCode(false)); 58 Booleans.compare(x, y)); 64 assertFalse(Booleans.contains(EMPTY, false)); 65 assertFalse(Booleans.contains(ARRAY_FALSE, true)); 66 assertTrue(Booleans.contains(ARRAY_FALSE, false)); 67 assertTrue(Booleans.contains(ARRAY_FALSE_TRUE, false)); 68 assertTrue(Booleans.contains(ARRAY_FALSE_TRUE, true)); 72 assertEquals(-1, Booleans.indexOf(EMPTY, false)) [all...] |
/external/libsepol/src/ |
boolean_internal.h | 5 #include <sepol/booleans.h>
|
genbools.c | 149 int sepol_genbools(void *data, size_t len, char *booleans) 160 if (load_booleans(&policydb, booleans, &changes) < 0) { 161 WARN(NULL, "error while reading %s", booleans); 195 int hidden sepol_genbools_policydb(policydb_t * policydb, const char *booleans) 199 rc = load_booleans(policydb, booleans, &changes);
|
booleans.c | 8 #include <sepol/booleans.h> 213 ERR(handle, "could not iterate over booleans");
|
/external/libsepol/man/man8/ |
genpolbools.8 | 5 .B genpolbools oldpolicy booleans newpolicy 10 generating a new binary policy. The booleans file specifies the
|
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/ |
bool.pxd | 11 # Booleans in Python are implemented as a subclass of 12 # integers. There are only two booleans, Py_False and Py_True. As 14 # booleans. The following macros are available, however.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
term.h | 156 #define auto_left_margin CUR Booleans[0] 157 #define auto_right_margin CUR Booleans[1] 158 #define no_esc_ctlc CUR Booleans[2] 159 #define ceol_standout_glitch CUR Booleans[3] 160 #define eat_newline_glitch CUR Booleans[4] 161 #define erase_overstrike CUR Booleans[5] 162 #define generic_type CUR Booleans[6] 163 #define hard_copy CUR Booleans[7] 164 #define has_meta_key CUR Booleans[8] 165 #define has_status_line CUR Booleans[9 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
term.h | 156 #define auto_left_margin CUR Booleans[0] 157 #define auto_right_margin CUR Booleans[1] 158 #define no_esc_ctlc CUR Booleans[2] 159 #define ceol_standout_glitch CUR Booleans[3] 160 #define eat_newline_glitch CUR Booleans[4] 161 #define erase_overstrike CUR Booleans[5] 162 #define generic_type CUR Booleans[6] 163 #define hard_copy CUR Booleans[7] 164 #define has_meta_key CUR Booleans[8] 165 #define has_status_line CUR Booleans[9 [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ArrayTest.java | 23 private static boolean[] booleans; field in class:ArrayTest 34 booleans = new boolean[] { true }; 45 assertEquals(booleans[0], Array.getBoolean(booleans, 0)); 57 try { Array.getByte(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} 69 try { Array.getChar(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} 81 try { Array.getDouble(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} 93 try { Array.getFloat(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} 105 try { Array.getInt(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} 117 try { Array.getLong(booleans, 0); fail(); } catch (IllegalArgumentException expected) { [all...] |
/external/libsepol/include/sepol/ |
sepol.h | 14 #include <sepol/booleans.h>
|
booleans.h | 33 /* Return the number of booleans */ 48 /* Iterate the booleans
|
/external/libsepol/tests/ |
test-linker-cond-map.c | 41 * - 2 booleans in base 42 * - 2 booleans in module 43 * - 2 booleans in base optional 44 * - 2 booleans in module optional 45 * - 2 booleans, base and module 46 * - 2 booleans, base optional and module 47 * - 2 booleans, base optional and module optional 48 * - 3 booleans, base, base optional, module 93 /* these tests look at booleans and conditionals in the base only
|
/external/llvm/test/CodeGen/Generic/ |
2003-07-08-BadCastToBool.ll | 11 ;; for bitwise operations but not booleans! For booleans,
|
/art/test/003-omnibus-opcodes/src/ |
Array.java | 53 static void checkBooleans(boolean[] booleans) { 54 Main.assertTrue(booleans[0]); 55 Main.assertTrue(booleans[1]); 56 Main.assertTrue(!booleans[2]); 57 Main.assertTrue(booleans[3]); 58 Main.assertTrue(!booleans[4]);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
BaseBooleanEncodedValue.java | 34 import com.google.common.primitives.Booleans; 61 return Booleans.compare(getValue(), ((BooleanEncodedValue)o).getValue());
|
/external/libsepol/man/man3/ |
sepol_genbools.3 | 26 An errno of EINVAL indicates that one or more booleans listed in the
|
/external/llvm/test/CodeGen/X86/ |
2011-20-21-zext-ui2fp.ll | 4 ; Check that the booleans are converted using zext and not via sext.
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidBooleanTest.java | 22 * Tests some basic functionality of Booleans.
|
/external/guava/guava/src/com/google/common/primitives/ |
Booleans.java | 44 public final class Booleans { 45 private Booleans() {} 77 * BitSet} instead, replacing {@code Booleans.contains(array, true)} 78 * with {@code !bitSet.isEmpty()} and {@code Booleans.contains(array, false)} 283 int result = Booleans.compare(left[i], right[i]); 378 && Booleans.indexOf(array, (Boolean) target, start, end) != -1; 384 int i = Booleans.indexOf(array, (Boolean) target, start, end); 395 int i = Booleans.lastIndexOf(array, (Boolean) target, start, end); 442 result = 31 * result + Booleans.hashCode(array[i]);
|
/external/chromium_org/chrome/browser/resources/options/ |
certificate_edit_ca_trust_overlay.js | 51 // TODO(mattm): Send checked values as booleans. For now send them as 76 // TODO(mattm): Send checked values as booleans. For now send them as
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
BooleanXmlPropertyEditor.java | 31 * Handle an XML property which represents booleans. 34 * than Booleans (which means it is a tri-state boolean: true, false, not set)
|
/external/chromium_org/ui/base/webui/ |
web_ui_util.h | 33 // an integer button and booleans alt key, ctrl key, meta key, and shift key
|
/external/libsepol/ |
Android.mk | 8 src/booleans.c \
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableBoolean.java | 28 * Marshal booleans: TYPE_BYTE <-> boolean/Boolean
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
Tkconstants.py | 3 # Booleans
|