/external/clang/test/SemaCXX/ |
attr-weakref.cpp | 3 // GCC will accept anything as the argument of weakref. Should we 5 static int a1() __attribute__((weakref ("foo"))); 6 static int a2() __attribute__((weakref, alias ("foo"))); 8 static int a3 __attribute__((weakref ("foo"))); 9 static int a4 __attribute__((weakref, alias ("foo"))); 12 static int a5 __attribute__((alias ("foo"), weakref)); 15 static int a6 __attribute__((weakref)); //expected-error {{weakref declaration of 'a6' must also have an alias attribute}} 19 static int a __attribute__((weakref ("v2"))); // expected-error {{declaration of 'a' must be in a global context}} 24 static int a __attribute__((weakref ("v2"))); // expected-error {{declaration of 'a' must be in a global context} [all...] |
/external/clang/test/CodeGen/ |
attr-weakref.c | 6 static void test1_g(void) __attribute__((weakref("test1_f"))); 13 static void test2_g(void) __attribute__((weakref("test2_f"))); 20 static void test3_g(void) __attribute__((weakref("test3_f"))); 30 static void test4_g(void) __attribute__((weakref("test4_f"))); 38 static void test5_g(void) __attribute__((weakref("test5_f"))); 48 static void test6_g(void) __attribute__((weakref("test6_f"))); 57 static void test8_g(void) __attribute__((weakref("test8_f"))); 64 static void test7_g(void) __attribute__((weakref("test7_f")));
|
attr-weakref2.c | 6 static int test1_g __attribute__((weakref("test1_f"))); 13 static int test2_g __attribute__((weakref("test2_f"))); 20 static int test3_g __attribute__((weakref("test3_f"))); 30 static int test4_g __attribute__((weakref("test4_f"))); 38 static int test5_g __attribute__((weakref("test5_f"))); 48 static int test6_g __attribute__((weakref("test6_f")));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_weakref.py | 5 import weakref namespace 77 wr = weakref.ref(o) 91 ref1 = weakref.ref(o, self.callback) 92 ref2 = weakref.ref(o, self.callback) 115 self.ref = weakref.ref(c, callback) 116 ref1 = weakref.ref(c, callback) 122 ref1 = weakref.proxy(o, self.callback) 123 ref2 = weakref.proxy(o, self.callback) 129 self.assertRaises(weakref.ReferenceError, check, ref1) 130 self.assertRaises(weakref.ReferenceError, check, ref2 [all...] |
test_code.py | 84 import weakref namespace 129 # object. While we hold it, check that we can create a weakref and 132 coderef = weakref.ref(f.__code__, callback)
|
test_gc.py | 6 import weakref namespace 38 self.wr = weakref.ref(C1055820(666), it_happened) 526 WRs = [weakref.ref(c, callback) for c in Cs] 562 c2wr = weakref.ref(c2) # no callback! 569 c0wr = weakref.ref(c0, callback) 576 # global weakref to c2 (c2wr), but that weakref has no callback. 577 # There's also a global weakref to c0 (c0wr), and that does have a 593 # that c2 has a callback-free weakref, and c1 doesn't even have a 594 # weakref. Collecting generation 0 doesn't see c0 at all, and c0 i [all...] |
test_threading_local.py | 4 import weakref namespace 19 weaklist.append(weakref.ref(weak)) 201 wr = weakref.ref(x)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_weakref.py | 5 import weakref namespace 77 wr = weakref.ref(o) 91 ref1 = weakref.ref(o, self.callback) 92 ref2 = weakref.ref(o, self.callback) 115 self.ref = weakref.ref(c, callback) 116 ref1 = weakref.ref(c, callback) 122 ref1 = weakref.proxy(o, self.callback) 123 ref2 = weakref.proxy(o, self.callback) 129 self.assertRaises(weakref.ReferenceError, check, ref1) 130 self.assertRaises(weakref.ReferenceError, check, ref2 [all...] |
test_code.py | 84 import weakref namespace 129 # object. While we hold it, check that we can create a weakref and 132 coderef = weakref.ref(f.__code__, callback)
|
test_gc.py | 6 import weakref namespace 38 self.wr = weakref.ref(C1055820(666), it_happened) 526 WRs = [weakref.ref(c, callback) for c in Cs] 562 c2wr = weakref.ref(c2) # no callback! 569 c0wr = weakref.ref(c0, callback) 576 # global weakref to c2 (c2wr), but that weakref has no callback. 577 # There's also a global weakref to c0 (c0wr), and that does have a 593 # that c2 has a callback-free weakref, and c1 doesn't even have a 594 # weakref. Collecting generation 0 doesn't see c0 at all, and c0 i [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
chrome_trace_result.py | 5 import weakref namespace 12 self._tab_to_marker_mapping = weakref.WeakKeyDictionary()
|
extension_dict_backend.py | 6 import weakref namespace 18 self._extension_dict = weakref.WeakValueDictionary()
|
/external/llvm/test/MC/ELF/ |
weakref-plt.s | 3 .weakref bar,foo
|
weakref.s | 3 // This is a long test that checks that the aliases created by weakref are 8 .weakref foo1, bar1 10 .weakref foo2, bar2 13 .weakref foo3, bar3 16 .weakref foo4, bar4 20 .weakref foo5, bar5 25 .weakref foo6, bar6 28 .weakref foo7, bar7 32 .weakref foo8, bar8 36 .weakref foo9, bar [all...] |
weakref-reloc.s | 6 .weakref bar,foo
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
signals.py | 2 import weakref namespace 27 _results = weakref.WeakKeyDictionary()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
signals.py | 2 import weakref namespace 41 _results = weakref.WeakKeyDictionary()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
signals.py | 2 import weakref namespace 41 _results = weakref.WeakKeyDictionary()
|
/external/chromium_org/ppapi/native_client/src/trusted/weak_ref/ |
call_on_main_thread.h | 48 // callback_fn takes a WeakRef<R>* as argument. The intention is that 56 void callback_fn(nacl::WeakRef<R>* weak_data, int32_t err), 58 nacl::WeakRef<R>* wp = anchor->MakeWeakRef<R>(raw_data); 71 void callback_fn(nacl::WeakRef<R>* weak_data, int32_t err), 101 nacl::WeakRef<WeakRefAutoAbandonWrapper<R> >* wr, 129 nacl::WeakRef<WeakRefAutoAbandonWrapper<R> >* wp = 133 nacl::WeakRef<WeakRefAutoAbandonWrapper<R> >* wr,
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
weakrefobject.h | 69 /* Explanation for the Py_REFCNT() check: when a weakref's target is part 72 has dropped to zero. In the meantime, code accessing the weakref will
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
weakrefobject.h | 69 /* Explanation for the Py_REFCNT() check: when a weakref's target is part 72 has dropped to zero. In the meantime, code accessing the weakref will
|
/frameworks/base/media/jni/soundpool/ |
android_media_SoundPool_SoundPoolImpl.cpp | 179 android_media_SoundPool_SoundPoolImpl_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, jint maxChannels, jint streamType, jint srcQuality) 191 jobject globalWeakRef = env->NewGlobalRef(weakRef); 204 jobject weakRef = (jobject) ap->getUserData(); 205 if (weakRef != NULL) { 206 env->DeleteGlobalRef(weakRef);
|
/external/clang/test/CodeGenObjC/ |
arc-loadweakretained-release.m | 22 __weak SomeClass *weakRef = objPtr1; 24 [weakRef foo];
|
/external/clang/test/Parser/ |
cxx11-stmt-attributes.cpp | 55 [[weakref]] return; // expected-warning {{unknown attribute 'weakref' ignored}}
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 47 import weakref namespace 66 self._children = weakref.WeakKeyDictionary() 97 current_process()._children = weakref.WeakKeyDictionary()
|