/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
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
term.h | 152 #define auto_left_margin CUR Booleans[0] 153 #define auto_right_margin CUR Booleans[1] 154 #define no_esc_ctlc CUR Booleans[2] 155 #define ceol_standout_glitch CUR Booleans[3] 156 #define eat_newline_glitch CUR Booleans[4] 157 #define erase_overstrike CUR Booleans[5] 158 #define generic_type CUR Booleans[6] 159 #define hard_copy CUR Booleans[7] 160 #define has_meta_key CUR Booleans[8] 161 #define has_status_line CUR Booleans[9 [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
term.h | 152 #define auto_left_margin CUR Booleans[0] 153 #define auto_right_margin CUR Booleans[1] 154 #define no_esc_ctlc CUR Booleans[2] 155 #define ceol_standout_glitch CUR Booleans[3] 156 #define eat_newline_glitch CUR Booleans[4] 157 #define erase_overstrike CUR Booleans[5] 158 #define generic_type CUR Booleans[6] 159 #define hard_copy CUR Booleans[7] 160 #define has_meta_key CUR Booleans[8] 161 #define has_status_line CUR Booleans[9 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
term.h | 152 #define auto_left_margin CUR Booleans[0] 153 #define auto_right_margin CUR Booleans[1] 154 #define no_esc_ctlc CUR Booleans[2] 155 #define ceol_standout_glitch CUR Booleans[3] 156 #define eat_newline_glitch CUR Booleans[4] 157 #define erase_overstrike CUR Booleans[5] 158 #define generic_type CUR Booleans[6] 159 #define hard_copy CUR Booleans[7] 160 #define has_meta_key CUR Booleans[8] 161 #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/sepolicy/ |
genfs_contexts | 6 # selinuxfs booleans can be individually labeled.
|
/external/llvm/test/CodeGen/Generic/ |
2003-07-08-BadCastToBool.ll | 11 ;; for bitwise operations but not booleans! For booleans,
|
/dalvik/tests/003-omnibus-opcodes/src/ |
Array.java | 40 static void checkBooleans(boolean[] booleans) { 41 assert(booleans[0]); 42 assert(booleans[1]); 43 assert(!booleans[2]); 44 assert(booleans[3]); 45 assert(!booleans[4]);
|
/external/chromium/chrome/browser/sync/protocol/ |
nigori_specifics.proto | 38 // Booleans corresponding to whether a datatype should be encrypted.
|
/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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ParcelTest.java | 315 final boolean[] booleans = {false, true, true}; 316 parcel.writeBooleanArray(booleans); 317 final boolean[] booleans2 = new boolean[booleans.length]; 319 assertTrue(Arrays.equals(booleans, booleans2)); 333 final boolean[] booleans = {false, true, true}; 334 parcel.writeBooleanArray(booleans); 336 assertTrue(Arrays.equals(booleans, booleans2));
|
/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/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/libselinux/ |
Android.mk | 4 src/booleans.c \
|
/external/libsepol/ |
Android.mk | 8 src/booleans.c \
|