Home
last modified time | relevance | path

Searched refs:WEAK (Results 1 – 25 of 39) sorted by relevance

12

/external/clang/test/CodeGenCXX/
Dweak-extern-typeinfo.cpp4 #define WEAK __attribute__ ((weak)) macro
6 class WEAK A {
/external/clang/test/CodeGenObjC/
Darc-loadweakretained-release.m47 // CHECK-NEXT: [[WEAK:%.*]] = alloca i8*
52 // CHECK-NEXT: store i8* null, i8** [[WEAK]]
76 // CHECK: call void @objc_destroyWeak(i8** [[WEAK]])
Darc-ternary-op.m46 // CHECK-NEXT: [[WEAK:%.*]] = alloca i8*
53 // CHECK-NEXT: call i8* @objc_initWeak(i8** [[WEAK]], i8* null)
95 // CHECK: call void @objc_destroyWeak(i8** [[WEAK]])
/external/v8/src/
Dglobal-handles.cc51 WEAK, // Flagged as weak but not yet finalized. enumerator
135 bool IsWeak() const { return state_ == WEAK; } in IsWeak()
142 return state_ == WEAK || state_ == PENDING || state_ == NEAR_DEATH; in IsWeakRetainer()
146 ASSERT(state_ == WEAK); in MarkPending()
194 state_ = WEAK; in MakeWeak()
621 if (it.node()->state() == Node::WEAK) { in RecordStats()
644 if (it.node()->state() == Node::WEAK) weak++; in PrintStats()
/external/clang/test/SemaObjC/
Dattr-objc-gc.m15 #define WEAK __weak macro
16 static WEAK int h; // expected-warning {{'objc_gc' only applies to pointer types; type here is 'int…
/external/smack/src/org/jivesoftware/smack/
DChatManager.java76 ReferenceMap.WEAK));
82 ReferenceMap.WEAK));
88 ReferenceMap.WEAK));
/external/chromium_org/content/shell/browser/
Dshell_login_dialog_mac.mm28 NSTextField* usernameField_; // WEAK; owned by alert_
29 NSSecureTextField* passwordField_; // WEAK; owned by alert_
Dshell_javascript_dialog_mac.mm18 NSTextField* textField_; // WEAK; owned by alert_
/external/chromium_org/v8/src/
Dglobal-handles.cc57 WEAK, // Flagged as weak but not yet finalized. enumerator
73 STATIC_ASSERT(WEAK == Internals::kNodeStateIsWeakValue); in Node()
184 bool IsWeak() const { return state() == WEAK; } in IsWeak()
191 return state() == WEAK || state() == PENDING || state() == NEAR_DEATH; in IsWeakRetainer()
195 ASSERT(state() == WEAK); in MarkPending()
242 set_state(WEAK); in MakeWeak()
810 if (it.node()->state() == Node::WEAK) { in RecordStats()
833 if (it.node()->state() == Node::WEAK) weak++; in PrintStats()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheReferencesTest.java49 .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK)) in factoryWithAllKeyStrengths()
50 .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT)); in factoryWithAllKeyStrengths()
DLocalCacheTest.java315 checkStrength(map, Strength.WEAK, Strength.STRONG); in testSetWeakKeys()
316 assertSame(EntryFactory.WEAK, map.entryFactory); in testSetWeakKeys()
321 checkStrength(map, Strength.STRONG, Strength.WEAK); in testSetWeakValues()
390 assertSame(EntryFactory.WEAK, in testEntryFactory()
391 EntryFactory.getFactory(Strength.WEAK, false, false)); in testEntryFactory()
393 EntryFactory.getFactory(Strength.WEAK, true, false)); in testEntryFactory()
395 EntryFactory.getFactory(Strength.WEAK, false, true)); in testEntryFactory()
397 EntryFactory.getFactory(Strength.WEAK, true, true)); in testEntryFactory()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.cc21 extern "C" void WEAK __tsan_malloc_hook(void *ptr, uptr size) { in __tsan_malloc_hook()
26 extern "C" void WEAK __tsan_free_hook(void *ptr) { in __tsan_free_hook()
Dtsan_defs.h37 #define CPP_WEAK WEAK
Dtsan_flags.cc31 void WEAK OverrideFlags(Flags *f) { in OverrideFlags()
Dtsan_suppressions.cc26 extern "C" const char *WEAK __tsan_default_suppressions() { in __tsan_default_suppressions()
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java21 import static com.google.common.collect.MapMakerInternalMap.Strength.WEAK;
352 testIdentityKeyEquality(WEAK); in testIdentityKeyEquality_weakKeys()
395 testLogicalKeyEquality(WEAK); in testLogicalKeyEquality_weakKeys()
/external/clang/test/Index/
Dannotate-tokens.m581 …ribute__((ibaction)' -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-WITH-WEAK %s
582 // CHECK-WITH-WEAK: Identifier: "__weak" [141:3 - 141:9] macro expansion
583 // CHECK-WITH-WEAK: Identifier: "Foo" [141:10 - 141:13] ObjCClassRef=Foo:1:12
584 // CHECK-WITH-WEAK: Punctuation: "*" [141:14 - 141:15] ObjCIvarDecl=foo:141:15 (Definition)
585 // CHECK-WITH-WEAK: Identifier: "foo" [141:15 - 141:18] ObjCIvarDecl=foo:141:15 (Definition)
586 // CHECK-WITH-WEAK: Punctuation: ";" [141:18 - 141:19] ObjCInterfaceDecl=rdar9535717:140:12
587 // CHECK-WITH-WEAK: Punctuation: "}" [142:1 - 142:2] ObjCInterfaceDecl=rdar9535717:140:12
Dget-cursor.m120 …ursor-at=%s:11:11 %s -target x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-WITH-WEAK %s
121 // CHECK-WITH-WEAK: ObjCClassRef=Foo:8:8
/external/smack/src/org/jivesoftware/smack/util/collections/
DAbstractReferenceMap.java94 public static final int WEAK = 2; field in AbstractReferenceMap
167 if ((type < HARD) || (type > WEAK)) { in verify()
687 case WEAK: in toReference()
/external/clang/test/CodeGenObjCXX/
Darc.mm61 // CHECK-NEXT: [[WEAK:%.*]] = alloca i8*
68 // CHECK-NEXT: call i8* @objc_initWeak(i8** [[WEAK]], i8* null)
110 // CHECK: call void @objc_destroyWeak(i8** [[WEAK]])
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java462 return setKeyStrength(Strength.WEAK); in weakKeys()
502 return setValueStrength(Strength.WEAK); in weakValues()
/external/smack/src/org/jivesoftware/smackx/
DChatStateManager.java90 new ReferenceMap<Chat, ChatState>(ReferenceMap.WEAK, ReferenceMap.HARD);
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java306 return setKeyStrength(Strength.WEAK); in weakKeys()
380 return setValueStrength(Strength.WEAK); in weakValues()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_internal_defs.h114 #define WEAK SANITIZER_WEAK_ATTRIBUTE macro
/external/chromium/chrome/browser/ui/cocoa/
Djs_modal_dialog_cocoa.mm24 NSTextField* textField_; // WEAK; owned by alert_

12