HomeSort by relevance Sort by last modified time
    Searched refs:weakref (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /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/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/clang/test/CodeGen/
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")));
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")));
alias.c 35 static __typeof(inner_weak) inner_weak_a __attribute__((weakref, alias("inner_weak")));
  /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_threading_local.py 4 import weakref namespace
19 weaklist.append(weakref.ref(weak))
201 wr = weakref.ref(x)
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...]
  /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_threading_local.py 4 import weakref namespace
19 weaklist.append(weakref.ref(weak))
201 wr = weakref.ref(x)
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/clang/test/Parser/
cxx11-stmt-attributes.cpp 55 [[weakref]] return; // expected-warning {{unknown attribute 'weakref' ignored}}
  /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()
  /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()
  /prebuilts/python/linux-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()
  /external/chromium_org/tools/telemetry/telemetry/core/chrome/
extension_dict_backend.py 6 import weakref namespace
18 self._extension_dict = weakref.WeakValueDictionary()
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
util.py 36 import weakref namespace
148 _afterfork_registry = weakref.WeakValueDictionary()
179 self._weakref = weakref.ref(obj, self)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/
test_break.py 5 import weakref namespace
27 unittest.signals._results = weakref.WeakKeyDictionary()
168 ref = weakref.ref(result)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
util.py 36 import weakref namespace
148 _afterfork_registry = weakref.WeakValueDictionary()
179 self._weakref = weakref.ref(obj, self)

Completed in 471 milliseconds

1 2 3 4