/external/v8/test/mjsunit/ |
delete.js | 28 // We use the has() function to avoid relying on a functioning 30 function has(o, k) { return typeof o[k] !== 'undefined'; } function 54 assertTrue(has(o, 'x')); 55 assertTrue(has(o, 'y')); 57 assertFalse(has(o, 'x')); 58 assertTrue(has(o, 'y')); 60 assertFalse(has(o, 'x')); 61 assertFalse(has(o, 'y')); 73 assertFalse(has(o, String.fromCharCode(i)), "deleted (" + i + ")"); 74 assertTrue(has(o, String.fromCharCode(i+1)), "still here (" + i + ")") [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
IntSet.java | 44 boolean has(int value); method in interface:IntSet
|
ListIntSet.java | 56 public boolean has(int value) { method in class:ListIntSet
|
BitIntSet.java | 45 * Ensures that the bit set has the capacity to represent the given value. 66 public boolean has(int value) { method in class:BitIntSet
|
/dalvik/dx/src/com/android/dx/util/ |
IntSet.java | 44 boolean has(int value); method in interface:IntSet
|
ListIntSet.java | 56 public boolean has(int value) { method in class:ListIntSet
|
BitIntSet.java | 45 * Ensures that the bit set has the capacity to represent the given value. 66 public boolean has(int value) { method in class:BitIntSet
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
IntSet.java | 44 boolean has(int value); method in interface:IntSet
|
ListIntSet.java | 56 public boolean has(int value) { method in class:ListIntSet
|
BitIntSet.java | 45 * Ensures that the bit set has the capacity to represent the given value. 66 public boolean has(int value) { method in class:BitIntSet
|
/dalvik/dx/junit-tests/com/android/dx/util/ |
BitIntSetTest.java | 32 assertTrue(set.has(0)); 33 assertTrue(set.has(1)); 34 assertTrue(set.has(31)); 38 assertFalse(set.has(2)); 39 assertFalse(set.has(7)); 40 assertFalse(set.has(30)); 79 assertTrue(set.has(0)); 80 assertTrue(set.has(1)); 81 assertTrue(set.has(31)); 83 assertFalse(set.has(2)) [all...] |
ListIntSetTest.java | 32 assertTrue(set.has(0)); 33 assertTrue(set.has(1)); 34 assertTrue(set.has(31)); 38 assertFalse(set.has(2)); 39 assertFalse(set.has(7)); 40 assertFalse(set.has(30)); 87 assertTrue(set.has(0)); 88 assertTrue(set.has(1)); 89 assertTrue(set.has(31)); 91 assertFalse(set.has(2)) [all...] |
/external/clang/test/SemaCXX/ |
cxx0x-nontrivial-union.cpp | 26 int &i; // expected-error {{union member 'i' has reference type 'int &'}} 70 bool has; member in struct:optional::optional 73 optional() : has(false) {} 75 optional(U &&...u) : has(true), value(forward<U>(u)...) {} 77 optional(const optional &o) : has(o.has) { 78 if (has) new (&value) T(o.value); 80 optional(optional &&o) : has(o.has) { 81 if (has) new (&value) T(move(o.value)) [all...] |
/external/protobuf/src/google/protobuf/ |
extension_set_heavy.cc | 73 bool has = false; local 75 has = iter->second.GetSize() > 0; 77 has = !iter->second.is_cleared; 80 if (has) { 275 // but MessageLite has no SpaceUsed(), so we must directly call
|
/dalvik/dx/src/com/android/dx/ssa/ |
ConstCollector.java | 225 Integer has = countUses.get(cst); local 226 if (has == null) { 229 countUses.put(cst, has + 1);
|
/external/clang/test/CXX/temp/temp.decls/temp.friend/ |
p1.cpp | 64 template <typename T> friend bool has(const A&); 66 template <typename T> bool has(const A &x) { function in namespace:test1
|
/external/clang/test/CodeGenCXX/ |
references.cpp | 213 HasX has; member in struct:N2::HasXContainer 229 const X &xr = getZ().has.x;
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
ConstCollector.java | 225 Integer has = countUses.get(cst); local 226 if (has == null) { 229 countUses.put(cst, has + 1);
|
/external/harfbuzz_ng/src/ |
hb-set-private.hh | 15 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 21 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 187 inline bool has (hb_codepoint_t g) const function in struct:hb_set_t 199 if (has (i)) 257 if (has (i)) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerMetadataParserTest.java | 171 assertTrue(mMetadata.has(Metadata.TITLE)); 172 assertTrue(mMetadata.has(Metadata.GENRE)); 173 assertTrue(mMetadata.has(Metadata.firstCustomId())); 174 assertFalse(mMetadata.has(Metadata.DRM_CRIPPLED)); 209 assertTrue(mMetadata.has(Metadata.MIME_TYPE)); 211 assertFalse(mMetadata.has(Metadata.TITLE)); 212 assertFalse(mMetadata.has(Metadata.GENRE)); 213 assertFalse(mMetadata.has(Metadata.firstCustomId()));
|
/libcore/json/src/main/java/org/json/ |
JSONObject.java | 59 * fails with a {@code JSONException} if the requested name has no value 62 * returns a system- or user-supplied default if the requested name has no 88 * <li>return {@code true} for {@link #has(String)} 279 * this object has no mapping for {@code name}, this inserts a new mapping. 330 * Returns true if this object has no mapping for {@code name} or if it has 339 * Returns true if this object has a mapping for {@code name}. The mapping 342 public boolean has(String name) { method in class:JSONObject
|
/external/clang/lib/Edit/ |
RewriteObjCFoundationAPI.cpp | 114 // If the receiver has type 'id'... 700 static bool has(StringRef suff, StringRef &text) { function in struct:Suff 710 if (Suff::has("u", text)) { 712 } else if (Suff::has("U", text)) { 714 } else if (Suff::has("ll", text)) { 716 } else if (Suff::has("LL", text)) { 718 } else if (Suff::has("l", text)) { 720 } else if (Suff::has("L", text)) { 722 } else if (isFloat && Suff::has("f", text)) { 724 } else if (isFloat && Suff::has("F", text)) [all...] |
/frameworks/base/core/java/android/content/ |
ContentProviderNative.java | 555 int has = reply.readInt(); local 556 ParcelFileDescriptor fd = has != 0 ? reply.readFileDescriptor() : null; 578 int has = reply.readInt(); local 579 AssetFileDescriptor fd = has != 0 647 int has = reply.readInt(); local 648 AssetFileDescriptor fd = has != 0
|
/frameworks/base/media/java/android/media/ |
Metadata.java | 420 public boolean has(final int metadataId) { method in class:Metadata 428 // Caller must make sure the key is present using the {@code has}
|
/libcore/json/src/test/java/org/json/ |
JSONObjectTest.java | 87 assertFalse(object.has("foo")); 161 assertFalse(object.has("foo")); 222 assertTrue(object.has("foo")); 223 assertTrue(object.has("quux")); 224 assertFalse(object.has("missing")); 819 assertTrue(object.has("foo")); 820 assertFalse(object.has("bar")); 828 assertTrue(object.has("foo")); 829 assertFalse(object.has("bar")); 830 assertFalse(object.has(null)) [all...] |