Home
last modified time | relevance | path

Searched refs:weak (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/third_party/openssl/include/openssl/
Dsafestack.h178 # pragma weak OPENSSL_sk_num
179 # pragma weak OPENSSL_sk_value
180 # pragma weak OPENSSL_sk_new
181 # pragma weak OPENSSL_sk_new_null
182 # pragma weak OPENSSL_sk_new_reserve
183 # pragma weak OPENSSL_sk_reserve
184 # pragma weak OPENSSL_sk_free
185 # pragma weak OPENSSL_sk_zero
186 # pragma weak OPENSSL_sk_delete
187 # pragma weak OPENSSL_sk_delete_ptr
[all …]
Dlhash.h221 # pragma weak OPENSSL_LH_new
222 # pragma weak OPENSSL_LH_free
223 # pragma weak OPENSSL_LH_insert
224 # pragma weak OPENSSL_LH_delete
225 # pragma weak OPENSSL_LH_retrieve
226 # pragma weak OPENSSL_LH_error
227 # pragma weak OPENSSL_LH_num_items
228 # pragma weak OPENSSL_LH_node_stats_bio
229 # pragma weak OPENSSL_LH_node_usage_stats_bio
230 # pragma weak OPENSSL_LH_stats_bio
[all …]
/third_party/glib/gobject/tests/
Dreference.c331 gpointer weak; in test_weak_pointer() local
334 weak = weak2 = obj = g_object_new (G_TYPE_OBJECT, NULL); in test_weak_pointer()
337 g_object_add_weak_pointer (obj, &weak); in test_weak_pointer()
340 g_assert (weak == obj); in test_weak_pointer()
345 g_assert (weak == obj); in test_weak_pointer()
349 g_assert (weak == NULL); in test_weak_pointer()
357 gpointer weak = NULL; in test_weak_pointer_clear() local
359 g_clear_weak_pointer (&weak); in test_weak_pointer_clear()
360 g_assert_null (weak); in test_weak_pointer_clear()
362 weak = obj = g_object_new (G_TYPE_OBJECT, NULL); in test_weak_pointer_clear()
[all …]
Dthreadtests.c265 GWeakRef weak; in test_threaded_weak_ref() local
267 gpointer weak; in test_threaded_weak_ref() local
281 g_weak_ref_init (&weak, data.strong); in test_threaded_weak_ref()
283 weak = data.strong; in test_threaded_weak_ref()
284 g_object_add_weak_pointer ((GObject *) weak, &weak); in test_threaded_weak_ref()
304 strengthened = g_weak_ref_get (&weak); in test_threaded_weak_ref()
310 strengthened = weak; in test_threaded_weak_ref()
334 g_weak_ref_clear (&weak); in test_threaded_weak_ref()
336 if (weak != NULL) in test_threaded_weak_ref()
337 g_object_remove_weak_pointer (weak, &weak); in test_threaded_weak_ref()
/third_party/selinux/libselinux/src/
Dselinux_internal.h9 #pragma weak pthread_once
10 #pragma weak pthread_key_create
11 #pragma weak pthread_key_delete
12 #pragma weak pthread_setspecific
43 #pragma weak pthread_mutex_init
44 #pragma weak pthread_mutex_destroy
45 #pragma weak pthread_mutex_lock
46 #pragma weak pthread_mutex_unlock
/third_party/typescript/tests/baselines/reference/
DhomomorphicMappedTypeIntersectionAssignability.types3 >f : <TType>(a: { weak?: string;} & Readonly<TType> & { name: "ok";}, b: Readonly<TType & { …
5 a: { weak?: string } & Readonly<TType> & { name: "ok" },
6 >a : { weak?: string | undefined; } & Readonly<TType> & { name: "ok"; }
7 >weak : string | undefined
19 >c = a : { weak?: string | undefined; } & Readonly<TType> & { name: "ok"; }
21 >a : { weak?: string | undefined; } & Readonly<TType> & { name: "ok"; }
24 >b = a : { weak?: string | undefined; } & Readonly<TType> & { name: "ok"; }
26 >a : { weak?: string | undefined; } & Readonly<TType> & { name: "ok"; }
DintersectionPropertyCheck.symbols17 let weak: { a?: { x?: number } } & { c?: string } = wrong; // Nested weak object type
18 >weak : Symbol(weak, Decl(intersectionPropertyCheck.ts, 3, 3))
/third_party/gettext/gettext-runtime/intl/
Dlock.h86 # pragma weak thrd_exit
242 # pragma weak pthread_mutex_init
243 # pragma weak pthread_mutex_lock
244 # pragma weak pthread_mutex_unlock
245 # pragma weak pthread_mutex_destroy
246 # pragma weak pthread_rwlock_init
247 # pragma weak pthread_rwlock_rdlock
248 # pragma weak pthread_rwlock_wrlock
249 # pragma weak pthread_rwlock_unlock
250 # pragma weak pthread_rwlock_destroy
[all …]
/third_party/boost/libs/smart_ptr/test/
Dweak_from_raw_test.cpp24 boost::weak_ptr<X> weak = boost::weak_from_raw(p); in basic_weak_from_raw_test() local
25 BOOST_TEST(!weak.expired()); in basic_weak_from_raw_test()
27 weak = boost::weak_from_raw(p); in basic_weak_from_raw_test()
28 BOOST_TEST(weak.expired() == false); in basic_weak_from_raw_test()
29 boost::shared_ptr<X> shared2(weak); in basic_weak_from_raw_test()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dengine.cc95 weak = weak_factory_.GetWeakPtr()]() { in Engine()
96 async::PostTask(dispatcher, [weak]() { in Engine()
97 if (weak) { in Engine()
98 weak->Terminate(); in Engine()
138 weak = weak_factory_.GetWeakPtr()]() { in Engine()
139 async::PostTask(dispatcher, [weak]() { in Engine()
140 if (weak) { in Engine()
141 weak->Terminate(); in Engine()
195 std::bind([weak = weak_factory_.GetWeakPtr(), in Engine()
197 runner->PostTask([weak = std::move(weak)] { in Engine()
[all …]
/third_party/python/Lib/test/
Dtest_threading_local.py19 weak = Weak()
20 local.weak = weak
21 weaklist.append(weakref.ref(weak))
44 deadlist = [weak for weak in weaklist if weak() is None]
50 deadlist = [weak for weak in weaklist if weak() is None]
/third_party/python/Doc/library/
Dweakref.rst5 :synopsis: Support for weak references and weak dictionaries.
16 The :mod:`weakref` module allows the Python programmer to create :dfn:`weak
23 by a weak reference.
25 A weak reference to an object is not enough to keep the object alive: when the
26 only remaining references to a referent are weak references,
28 for something else. However, until the object is actually destroyed the weak
31 A primary use for weak references is to implement caches or
40 the :mod:`weakref` module are an alternative, using weak references to construct
44 image object are the weak references held by weak mappings, garbage collection
45 can reclaim the object, and its corresponding entries in weak mappings are
[all …]
/third_party/grpc/examples/objective-c/auth_sample/
DSelectUserViewController.h23 @property(weak, nonatomic) IBOutlet GIDSignInButton *signInButton;
24 @property(weak, nonatomic) IBOutlet UIButton *signOutButton;
25 @property(weak, nonatomic) IBOutlet UILabel *mainLabel;
26 @property(weak, nonatomic) IBOutlet UILabel *subLabel;
/third_party/libxml2/
Dthreads.c57 #pragma weak pthread_once
58 #pragma weak pthread_getspecific
59 #pragma weak pthread_setspecific
60 #pragma weak pthread_key_create
61 #pragma weak pthread_key_delete
62 #pragma weak pthread_mutex_init
63 #pragma weak pthread_mutex_destroy
64 #pragma weak pthread_mutex_lock
65 #pragma weak pthread_mutex_unlock
66 #pragma weak pthread_cond_init
[all …]
/third_party/protobuf/src/google/protobuf/
Dimplicit_weak_message.h132 WeakRepeatedPtrField() : weak() {} in WeakRepeatedPtrField()
133 explicit WeakRepeatedPtrField(Arena* arena) : weak(arena) {} in WeakRepeatedPtrField()
134 ~WeakRepeatedPtrField() { weak.template Destroy<TypeHandler>(); } in ~WeakRepeatedPtrField()
166 T* Add() { return weak.Add(); } in Add()
175 const internal::RepeatedPtrFieldBase& base() const { return weak; } in base()
176 internal::RepeatedPtrFieldBase& base() { return weak; } in base()
181 RepeatedPtrField<T> weak; member
/third_party/gettext/gnulib-local/lib/libxml/
Dthreads.c87 #pragma weak pthread_once
88 #pragma weak pthread_getspecific
89 #pragma weak pthread_setspecific
90 #pragma weak pthread_key_create
91 #pragma weak pthread_key_delete
92 #pragma weak pthread_mutex_init
93 #pragma weak pthread_mutex_destroy
94 #pragma weak pthread_mutex_lock
95 #pragma weak pthread_mutex_unlock
96 #pragma weak pthread_cond_init
[all …]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DFieldOptions.php95 protected $weak = null; variable in Google\\Protobuf\\Internal\\FieldOptions
444 return isset($this->weak) ? $this->weak : false;
449 return isset($this->weak);
454 unset($this->weak);
467 $this->weak = $var;
/third_party/boost/libs/exception/doc/source/
Dboost-exception.reno57 <weak>1378637100</weak>
61 <weak>3349881047</weak>
136 <weak>366628170</weak>
211 <weak>406646287</weak>
215 <weak>1555404133</weak>
219 <weak>2218658069</weak>
294 <weak>422843600</weak>
335 <weak>1181168733</weak>
339 <weak>2078296250</weak>
380 <weak>1041541496</weak>
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dcompare_test.cc264 WeakOrderingLess weak; in TEST() local
267 EXPECT_TRUE(absl::compare_internal::do_less_than_comparison(weak, -1, 0)); in TEST()
270 EXPECT_FALSE(absl::compare_internal::do_less_than_comparison(weak, 10, 10)); in TEST()
273 EXPECT_FALSE(absl::compare_internal::do_less_than_comparison(weak, 10, 5)); in TEST()
319 WeakOrderingLess weak; in TEST() local
328 absl::compare_internal::do_three_way_comparison(weak, -1, 0) < 0)); in TEST()
330 absl::compare_internal::do_three_way_comparison(weak, -1, 0) == 0)); in TEST()
332 absl::compare_internal::do_three_way_comparison(weak, -1, 0) > 0)); in TEST()
341 absl::compare_internal::do_three_way_comparison(weak, 10, 10) < 0)); in TEST()
343 absl::compare_internal::do_three_way_comparison(weak, 10, 10) == 0)); in TEST()
[all …]
/third_party/abseil-cpp/absl/types/
Dcompare_test.cc264 WeakOrderingLess weak; in TEST() local
267 EXPECT_TRUE(absl::compare_internal::do_less_than_comparison(weak, -1, 0)); in TEST()
270 EXPECT_FALSE(absl::compare_internal::do_less_than_comparison(weak, 10, 10)); in TEST()
273 EXPECT_FALSE(absl::compare_internal::do_less_than_comparison(weak, 10, 5)); in TEST()
319 WeakOrderingLess weak; in TEST() local
328 absl::compare_internal::do_three_way_comparison(weak, -1, 0) < 0)); in TEST()
330 absl::compare_internal::do_three_way_comparison(weak, -1, 0) == 0)); in TEST()
332 absl::compare_internal::do_three_way_comparison(weak, -1, 0) > 0)); in TEST()
341 absl::compare_internal::do_three_way_comparison(weak, 10, 10) < 0)); in TEST()
343 absl::compare_internal::do_three_way_comparison(weak, 10, 10) == 0)); in TEST()
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/
DWaddress-weak.c1 extern int var __attribute__((weak));
2 extern int arr[] __attribute__((weak));
3 extern int fun(void) __attribute__((weak));
/third_party/python/Doc/c-api/
Dweakref.rst8 Python supports *weak references* as first-class objects. There are two
9 specific object types which directly implement weak references. The first is a
32 Return a weak reference object for the object *ob*. This will always return
36 should accept a single parameter, which will be the weak reference object
44 Return a weak reference proxy object for the object *ob*. This will always
48 collected; it should accept a single parameter, which will be the weak
56 Return the referenced object from a weak reference, *ref*. If the referent is
/third_party/musl/porting/liteos_m_iccarm/kernel/src/include/
Dfeatures.h6 #define weak __attribute__((weak)) macro
10 extern __typeof(old) new __attribute__((weak, alias(#old)))
/third_party/mesa3d/src/freedreno/decode/
Dredump.h60 void rd_start(const char *name, const char *fmt, ...) __attribute__((weak));
61 void rd_end(void) __attribute__((weak));
63 __attribute__((weak));
/third_party/musl/crt/
Dcrt1.c9 weak void _init();
10 weak void _fini();

12345678910>>...20