/external/clang/test/SemaCXX/ |
H A D | 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 ("v [all...] |
/external/llvm/test/MC/ELF/ |
H A D | weakref-plt.s | 3 .weakref bar,foo
|
H A D | 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 foo [all...] |
H A D | weakref-reloc.s | 5 .weakref bar,foo
|
/external/swiftshader/third_party/LLVM/test/MC/ELF/ |
H A D | weakref-plt.s | 3 .weakref bar,foo
|
H A D | 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 foo [all...] |
H A D | weakref-reloc.s | 6 .weakref bar,foo
|
/external/clang/test/CodeGen/ |
H A D | 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")));
|
H A D | 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")));
|
H A D | alias.c | 67 static __typeof(inner_weak) inner_weak_a __attribute__((weakref, alias("inner_weak")));
|
/external/python/cpython2/Lib/test/crashers/ |
H A D | mutation_inside_cyclegc.py | 4 # Moreover, it can invoke arbitrary Python code via a weakref callback. 13 import weakref namespace 28 keepalive.append(weakref.ref(a, callback))
|
H A D | decref_before_assignment.py | 9 weakref callback, it will run while the 'obj' appears to have in 17 import _json, weakref namespace 40 wref = weakref.ref(f, delete_me)
|
/external/python/cpython3/Lib/test/crashers/ |
H A D | mutation_inside_cyclegc.py | 4 # Moreover, it can invoke arbitrary Python code via a weakref callback. 13 import weakref namespace 28 keepalive.append(weakref.ref(a, callback))
|
/external/python/cpython2/Lib/test/ |
H A D | test_weakref.py | 5 import weakref namespace 79 wr = weakref.ref(o) 93 ref1 = weakref.ref(o, self.callback) 94 ref2 = weakref.ref(o, self.callback) 115 self.ref = weakref.ref(c, callback) 116 ref1 = weakref.ref(c, callback) 121 self.assertRaises(TypeError, weakref.ref, c, callback=None) 126 ref1 = weakref.proxy(o, self.callback) 127 ref2 = weakref.proxy(o, self.callback) 133 self.assertRaises(weakref [all...] |
/external/python/cpython3/Lib/test/ |
H A D | test_weakref.py | 5 import weakref namespace 109 wr = weakref.ref(o) 125 wr = weakref.ref(f) 134 ref1 = weakref.ref(o, self.callback) 135 ref2 = weakref.ref(o, self.callback) 156 self.ref = weakref.ref(c, callback) 157 ref1 = weakref.ref(c, callback) 162 self.assertRaises(TypeError, weakref.ref, c, callback=None) 167 ref1 = weakref.proxy(o, self.callback) 168 ref2 = weakref [all...] |
H A D | test_finalization.py | 8 import weakref namespace 155 wr = weakref.ref(s) 169 wr = weakref.ref(s) 244 wr = weakref.ref(s) 259 wr = weakref.ref(s) 280 wr = weakref.ref(s) 351 wrs = [weakref.ref(s) for s in nodes] 367 wrs = [weakref.ref(s) for s in nodes] 469 wr = weakref.ref(s) 484 wr = weakref [all...] |
H A D | test_frame.py | 5 import weakref namespace 37 wr = weakref.ref(c) 105 wr = weakref.ref(c)
|
/external/python/cpython2/Lib/unittest/ |
H A D | signals.py | 2 import weakref namespace 41 _results = weakref.WeakKeyDictionary()
|
/external/python/cpython3/Lib/unittest/ |
H A D | signals.py | 2 import weakref namespace 41 _results = weakref.WeakKeyDictionary()
|
/external/python/cpython2/Lib/multiprocessing/dummy/ |
H A D | __init__.py | 47 import weakref namespace 66 self._children = weakref.WeakKeyDictionary() 97 current_process()._children = weakref.WeakKeyDictionary()
|
/external/python/cpython3/Lib/multiprocessing/dummy/ |
H A D | __init__.py | 22 import weakref namespace 39 self._children = weakref.WeakKeyDictionary() 63 current_process()._children = weakref.WeakKeyDictionary()
|
/external/clang/test/Parser/ |
H A D | cxx11-stmt-attributes.cpp | 55 [[weakref]] return; // expected-warning {{unknown attribute 'weakref' ignored}}
|
/external/python/cpython2/Modules/_sqlite/ |
H A D | connection.c | 241 PyObject* weakref; local 246 weakref = PyList_GetItem(self->statements, i); 247 statement = PyWeakref_GetObject(weakref); 259 weakref = PyList_GetItem(self->cursors, i); 260 cursor = (pysqlite_Cursor*)PyWeakref_GetObject(weakref); 306 PyObject* weakref; local 308 weakref = PyWeakref_NewRef((PyObject*)cursor, NULL); 309 if (!weakref) { 313 if (PyList_Append(connection->cursors, weakref) != 0) { 314 Py_CLEAR(weakref); 802 PyObject* weakref; local 833 PyObject* weakref; local 1194 PyObject* weakref; local [all...] |
/external/python/cpython3/Modules/_sqlite/ |
H A D | connection.c | 208 PyObject* weakref; local 213 weakref = PyList_GetItem(self->statements, i); 214 statement = PyWeakref_GetObject(weakref); 228 weakref = PyList_GetItem(self->cursors, i); 229 cursor = (pysqlite_Cursor*)PyWeakref_GetObject(weakref); 266 PyObject* weakref; local 268 weakref = PyWeakref_NewRef((PyObject*)cursor, NULL); 269 if (!weakref) { 273 if (PyList_Append(connection->cursors, weakref) != 0) { 274 Py_CLEAR(weakref); 761 PyObject* weakref; local 792 PyObject* weakref; local 1215 PyObject* weakref; local [all...] |
/external/python/cpython3/Lib/concurrent/futures/ |
H A D | thread.py | 12 import weakref namespace 29 _threads_queues = weakref.WeakKeyDictionary() 120 # When the executor gets lost, the weakref callback will wake up 131 args=(weakref.ref(self, weakref_cb),
|