Home
last modified time | relevance | path

Searched refs:wrapper (Results 1 – 25 of 1674) sorted by relevance

12345678910>>...67

/third_party/boost/libs/atomic/test/
Dapi_test_helpers.hpp118 Wrapper<T> wrapper(value1); in test_base_operators() local
119 typename Wrapper<T>::atomic_reference_type a = wrapper.a; in test_base_operators()
124 Wrapper<T> wrapper(value1); in test_base_operators() local
125 typename Wrapper<T>::atomic_reference_type a = wrapper.a; in test_base_operators()
132 Wrapper<T> wrapper(value1); in test_base_operators() local
133 typename Wrapper<T>::atomic_reference_type a = wrapper.a; in test_base_operators()
138 Wrapper<T> wrapper(value1); in test_base_operators() local
139 typename Wrapper<T>::atomic_reference_type a = wrapper.a; in test_base_operators()
146 Wrapper<T> wrapper(value1); in test_base_operators() local
147 typename Wrapper<T>::atomic_reference_type a = wrapper.a; in test_base_operators()
[all …]
/third_party/grpc/src/ruby/ext/grpc/
Drb_compression_options.c56 grpc_rb_compression_options* wrapper = NULL; in grpc_rb_compression_options_free_internal() local
60 wrapper = (grpc_rb_compression_options*)p; in grpc_rb_compression_options_free_internal()
61 if (wrapper->wrapped != NULL) { in grpc_rb_compression_options_free_internal()
62 gpr_free(wrapper->wrapped); in grpc_rb_compression_options_free_internal()
63 wrapper->wrapped = NULL; in grpc_rb_compression_options_free_internal()
94 grpc_rb_compression_options* wrapper = NULL; in grpc_rb_compression_options_alloc() local
96 wrapper = gpr_malloc(sizeof(grpc_rb_compression_options)); in grpc_rb_compression_options_alloc()
97 wrapper->wrapped = NULL; in grpc_rb_compression_options_alloc()
98 wrapper->wrapped = gpr_malloc(sizeof(grpc_compression_options)); in grpc_rb_compression_options_alloc()
99 grpc_compression_options_init(wrapper->wrapped); in grpc_rb_compression_options_alloc()
[all …]
Drb_channel_credentials.c52 grpc_rb_channel_credentials* wrapper = NULL; in grpc_rb_channel_credentials_free_internal() local
56 wrapper = (grpc_rb_channel_credentials*)p; in grpc_rb_channel_credentials_free_internal()
57 grpc_channel_credentials_release(wrapper->wrapped); in grpc_rb_channel_credentials_free_internal()
58 wrapper->wrapped = NULL; in grpc_rb_channel_credentials_free_internal()
71 grpc_rb_channel_credentials* wrapper = NULL; in grpc_rb_channel_credentials_mark() local
75 wrapper = (grpc_rb_channel_credentials*)p; in grpc_rb_channel_credentials_mark()
77 if (wrapper->mark != Qnil) { in grpc_rb_channel_credentials_mark()
78 rb_gc_mark(wrapper->mark); in grpc_rb_channel_credentials_mark()
99 grpc_rb_channel_credentials* wrapper = ALLOC(grpc_rb_channel_credentials); in grpc_rb_channel_credentials_alloc() local
100 wrapper->wrapped = NULL; in grpc_rb_channel_credentials_alloc()
[all …]
Drb_server_credentials.c46 grpc_rb_server_credentials* wrapper = NULL; in grpc_rb_server_credentials_free() local
50 wrapper = (grpc_rb_server_credentials*)p; in grpc_rb_server_credentials_free()
54 if (wrapper->wrapped != NULL && wrapper->mark == Qnil) { in grpc_rb_server_credentials_free()
55 grpc_server_credentials_release(wrapper->wrapped); in grpc_rb_server_credentials_free()
56 wrapper->wrapped = NULL; in grpc_rb_server_credentials_free()
64 grpc_rb_server_credentials* wrapper = NULL; in grpc_rb_server_credentials_mark() local
68 wrapper = (grpc_rb_server_credentials*)p; in grpc_rb_server_credentials_mark()
71 if (wrapper->mark != Qnil) { in grpc_rb_server_credentials_mark()
72 rb_gc_mark(wrapper->mark); in grpc_rb_server_credentials_mark()
93 grpc_rb_server_credentials* wrapper = ALLOC(grpc_rb_server_credentials); in grpc_rb_server_credentials_alloc() local
[all …]
Drb_call_credentials.c183 grpc_rb_call_credentials* wrapper; in grpc_rb_call_credentials_free_internal() local
187 wrapper = (grpc_rb_call_credentials*)p; in grpc_rb_call_credentials_free_internal()
188 grpc_call_credentials_release(wrapper->wrapped); in grpc_rb_call_credentials_free_internal()
189 wrapper->wrapped = NULL; in grpc_rb_call_credentials_free_internal()
201 grpc_rb_call_credentials* wrapper = NULL; in grpc_rb_call_credentials_mark() local
205 wrapper = (grpc_rb_call_credentials*)p; in grpc_rb_call_credentials_mark()
206 if (wrapper->mark != Qnil) { in grpc_rb_call_credentials_mark()
207 rb_gc_mark(wrapper->mark); in grpc_rb_call_credentials_mark()
228 grpc_rb_call_credentials* wrapper = ALLOC(grpc_rb_call_credentials); in grpc_rb_call_credentials_alloc() local
229 wrapper->wrapped = NULL; in grpc_rb_call_credentials_alloc()
[all …]
Drb_channel.c101 grpc_rb_channel* wrapper; member
196 grpc_rb_channel* wrapper = ALLOC(grpc_rb_channel); in grpc_rb_channel_alloc() local
197 wrapper->bg_wrapped = NULL; in grpc_rb_channel_alloc()
198 wrapper->credentials = Qnil; in grpc_rb_channel_alloc()
199 return TypedData_Wrap_Struct(cls, &grpc_channel_data_type, wrapper); in grpc_rb_channel_alloc()
214 grpc_rb_channel* wrapper = NULL; in grpc_rb_channel_init() local
233 TypedData_Get_Struct(self, grpc_rb_channel, &grpc_channel_data_type, wrapper); in grpc_rb_channel_init()
244 wrapper->credentials = credentials; in grpc_rb_channel_init()
251 stack.wrapper = wrapper; in grpc_rb_channel_init()
302 grpc_rb_channel* wrapper = NULL; in grpc_rb_channel_get_connectivity_state() local
[all …]
/third_party/grpc/src/php/ext/grpc/
Dchannel.c63 void php_grpc_channel_ref(grpc_channel_wrapper* wrapper) { in php_grpc_channel_ref() argument
64 gpr_mu_lock(&wrapper->mu); in php_grpc_channel_ref()
65 wrapper->ref_count += 1; in php_grpc_channel_ref()
66 gpr_mu_unlock(&wrapper->mu); in php_grpc_channel_ref()
69 void php_grpc_channel_unref(grpc_channel_wrapper* wrapper) { in php_grpc_channel_unref() argument
70 gpr_mu_lock(&wrapper->mu); in php_grpc_channel_unref()
71 wrapper->ref_count -= 1; in php_grpc_channel_unref()
72 if (wrapper->ref_count == 0) { in php_grpc_channel_unref()
73 free_grpc_channel_wrapper(wrapper, true); in php_grpc_channel_unref()
74 gpr_mu_unlock(&wrapper->mu); in php_grpc_channel_unref()
[all …]
/third_party/boost/libs/fusion/test/sequence/
Ddefine_assoc_tpl_struct_move.cpp16 struct wrapper struct
20 wrapper() : value(42) {} in wrapper() function
21 wrapper(wrapper&& other) : value(other.value) { other.value = 0; } in wrapper() argument
22 wrapper(wrapper const& other) : value(other.value) {} in wrapper() function
24 wrapper& operator=(wrapper&& other) { value = other.value; other.value = 0; return *this; } in operator =() argument
25 wrapper& operator=(wrapper const& other) { value = other.value; return *this; } in operator =() argument
34 ns::value<wrapper> x; in main()
35 ns::value<wrapper> y(x); // copy in main()
52 ns::value<wrapper> x; in main()
53 ns::value<wrapper> y(std::move(x)); // move in main()
Ddefine_tpl_struct_move.cpp11 struct wrapper struct
15 wrapper() : value(42) {} in wrapper() argument
16 wrapper(wrapper&& other) : value(other.value) { other.value = 0; } in wrapper() function
17 wrapper(wrapper const& other) : value(other.value) {} in wrapper() argument
19 wrapper& operator=(wrapper&& other) { value = other.value; other.value = 0; return *this; } in operator =() argument
20 wrapper& operator=(wrapper const& other) { value = other.value; return *this; } in operator =() argument
29 ns::value<wrapper> x; in main()
30 ns::value<wrapper> y(x); // copy in main()
47 ns::value<wrapper> x; in main()
48 ns::value<wrapper> y(std::move(x)); // move in main()
Ddefine_tpl_struct_inline_move.cpp11 struct wrapper struct
15 wrapper() : value(42) {} in wrapper() argument
16 wrapper(wrapper&& other) : value(other.value) { other.value = 0; } in wrapper() function
17 wrapper(wrapper const& other) : value(other.value) {} in wrapper() function
19 wrapper& operator=(wrapper&& other) { value = other.value; other.value = 0; return *this; } in operator =() argument
20 wrapper& operator=(wrapper const& other) { value = other.value; return *this; } in operator =() argument
33 ns::value<wrapper> x; in main()
34 ns::value<wrapper> y(x); // copy in main()
53 ns::value<wrapper> x; in main()
54 ns::value<wrapper> y(std::move(x)); // move in main()
Ddefine_struct_move.cpp11 struct wrapper struct
15 wrapper() : value(42) {} in wrapper() argument
16 wrapper(wrapper&& other) : value(other.value) { other.value = 0; } in wrapper() function
17 wrapper(wrapper const& other) : value(other.value) {} in wrapper() argument
19 wrapper& operator=(wrapper&& other) { value = other.value; other.value = 0; return *this; } in operator =() argument
20 wrapper& operator=(wrapper const& other) { value = other.value; return *this; } in operator =() argument
22 BOOST_FUSION_DEFINE_STRUCT((ns), value, (wrapper, w))
Ddefine_assoc_struct_move.cpp12 struct wrapper struct
16 wrapper() : value(42) {} in wrapper() function
17 wrapper(wrapper&& other) : value(other.value) { other.value = 0; } in wrapper() function
18 wrapper(wrapper const& other) : value(other.value) {} in wrapper() argument
20 wrapper& operator=(wrapper&& other) { value = other.value; other.value = 0; return *this; } in operator =() argument
21 wrapper& operator=(wrapper const& other) { value = other.value; return *this; } in operator =() argument
23 BOOST_FUSION_DEFINE_ASSOC_STRUCT((ns), value, (wrapper, w, key_type))
Ddefine_struct_inline_move.cpp11 struct wrapper struct
15 wrapper() : value(42) {} in wrapper() function
16 wrapper(wrapper&& other) : value(other.value) { other.value = 0; } in wrapper() function
17 wrapper(wrapper const& other) : value(other.value) {} in wrapper() function
19 wrapper& operator=(wrapper&& other) { value = other.value; other.value = 0; return *this; } in operator =() argument
20 wrapper& operator=(wrapper const& other) { value = other.value; return *this; } in operator =() argument
25 BOOST_FUSION_DEFINE_STRUCT_INLINE(value, (wrapper, w))
/third_party/libwebsockets/lib/tls/mbedtls/
DCMakeLists.txt32 include_directories(wrapper/include wrapper/include/internal)
36 include_directories(wrapper/include)
37 include_directories(wrapper/include/platform)
38 include_directories(wrapper/include/internal)
39 include_directories(wrapper/include/openssl)
43 tls/mbedtls/wrapper/include/internal/ssl3.h
44 tls/mbedtls/wrapper/include/internal/ssl_cert.h
45 tls/mbedtls/wrapper/include/internal/ssl_code.h
46 tls/mbedtls/wrapper/include/internal/ssl_dbg.h
47 tls/mbedtls/wrapper/include/internal/ssl_lib.h
[all …]
/third_party/boost/boost/coroutine2/detail/
Dwrap.hpp27 class wrapper { class
33 wrapper( Fn1 && fn1, Fn2 && fn2) : in wrapper() function in boost::coroutines2::detail::wrapper
38 wrapper( wrapper const&) = delete;
39 wrapper & operator=( wrapper const&) = delete;
41 wrapper( wrapper && other) = default;
42 wrapper & operator=( wrapper && other) = default;
54 wrapper< Fn1, Fn2 >
56 return wrapper< Fn1, Fn2 >( in wrap()
/third_party/typescript/src/harness/
DloggedIO.ts208 function initWrapper(wrapper: PlaybackSystem, underlying: ts.System): void;
209 function initWrapper(wrapper: PlaybackIO, underlying: Harness.IO): void;
210 …function initWrapper(wrapper: PlaybackSystem | PlaybackIO, underlying: ts.System | Harness.IO): vo…
212 (<any>wrapper)[prop] = (<any>underlying)[prop];
215 wrapper.startReplayFromString = logString => {
216 wrapper.startReplayFromData(JSON.parse(logString));
218 wrapper.startReplayFromData = log => {
228 wrapper.endReplay = () => {
233 wrapper.startRecord = (fileNameBase) => {
242 wrapper.startReplayFromFile = logFn => {
[all …]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DMidiPortSelector.java108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded() local
109 mAdapter.add(wrapper); in onDeviceAdded()
110 Log.i(MidiConstants.TAG, wrapper + " was added to " + this); in onDeviceAdded()
119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved() local
121 mAdapter.remove(wrapper); in onDeviceRemoved()
123 if (wrapper.equals(currentWrapper)) { in onDeviceRemoved()
127 Log.i(MidiConstants.TAG, wrapper + " was removed"); in onDeviceRemoved()
144 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceStatusChanged() local
145 if (!wrapper.equals(mCurrentWrapper)) { in onDeviceStatusChanged()
147 if (!mBusyPorts.contains(wrapper)) { in onDeviceStatusChanged()
[all …]
/third_party/boost/libs/optional/test/
Doptional_test_constructible_from_other.cpp40 class wrapper class
43 wrapper() {} in wrapper() function in wrapper
44 wrapper(wrapper const&) {} in wrapper() function in wrapper
46wrapper(U const&, typename boost::enable_if_c< is_constructible< T, U >::value, int >::type = 0) {} in wrapper() function in wrapper
49 inline boost::optional< wrapper< int > > foo() in foo()
51 return boost::optional< wrapper< int > >(); in foo()
57 boost::optional< wrapper< int > > res = foo(); in main()
/third_party/mesa3d/src/compiler/glsl/
Dstring_to_uint_map.h88 struct string_map_iterate_wrapper_closure *wrapper; in iterate() local
90 wrapper = (struct string_map_iterate_wrapper_closure *) in iterate()
92 if (wrapper == NULL) in iterate()
95 wrapper->callback = func; in iterate()
96 wrapper->closure = closure; in iterate()
98 hash_table_call_foreach(this->ht, subtract_one_wrapper, wrapper); in iterate()
99 free(wrapper); in iterate()
164 struct string_map_iterate_wrapper_closure *wrapper = in subtract_one_wrapper() local
170 wrapper->callback((const char *) key, value, wrapper->closure); in subtract_one_wrapper()
/third_party/vk-gl-cts/modules/egl/
DteglNegativePartialUpdateTests.cpp243 CallLogWrapper wrapper (egl, log); in iterate() local
247 wrapper.enableLogging(true); in iterate()
253 …expectFalse(wrapper.eglSetDamageRegionKHR(m_eglDisplay, m_eglSurface, damageRegion, DE_LENGTH_OF_A… in iterate()
284 CallLogWrapper wrapper (egl, log); in iterate() local
288 wrapper.enableLogging(true); in iterate()
294 expectFalse(wrapper.eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge)); in iterate()
305 expectFalse(wrapper.eglSetDamageRegionKHR(m_eglDisplay, m_eglSurface, damageRegion, 1)); in iterate()
313 expectFalse(wrapper.eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge)); in iterate()
324 expectFalse(wrapper.eglSetDamageRegionKHR(m_eglDisplay, m_eglSurface, damageRegion, 1)); in iterate()
334 expectFalse(wrapper.eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_BUFFER_AGE_KHR, &bufferAge)); in iterate()
[all …]
/third_party/flutter/skia/src/core/
DSkScan.cpp79 SkAAClipBlitterWrapper wrapper(clip, blitter); in FillIRect() local
80 FillIRect(r, &wrapper.getRgn(), wrapper.getBlitter()); in FillIRect()
94 SkAAClipBlitterWrapper wrapper(clip, blitter); in FillXRect() local
95 FillXRect(xr, &wrapper.getRgn(), wrapper.getBlitter()); in FillXRect()
109 SkAAClipBlitterWrapper wrapper(clip, blitter); in FillRect() local
110 FillRect(r, &wrapper.getRgn(), wrapper.getBlitter()); in FillRect()
/third_party/skia/src/core/
DSkScan.cpp79 SkAAClipBlitterWrapper wrapper(clip, blitter); in FillIRect() local
80 FillIRect(r, &wrapper.getRgn(), wrapper.getBlitter()); in FillIRect()
94 SkAAClipBlitterWrapper wrapper(clip, blitter); in FillXRect() local
95 FillXRect(xr, &wrapper.getRgn(), wrapper.getBlitter()); in FillXRect()
109 SkAAClipBlitterWrapper wrapper(clip, blitter); in FillRect() local
110 FillRect(r, &wrapper.getRgn(), wrapper.getBlitter()); in FillRect()
/third_party/mbedtls/tests/suites/
Dtest_suite_random.data16 Generate random twice with PSA classic wrapper
25 #PSA classic wrapper: PSA not active
28 PSA classic wrapper: 0 bytes
31 PSA classic wrapper: 1 byte
34 PSA classic wrapper: 256 bytes
41 PSA classic wrapper: external RNG large
45 PSA classic wrapper: CTR_DRBG max
49 PSA classic wrapper: HMAC_DRBG max
53 PSA classic wrapper: ECDSA signature (SECP256R1)
/third_party/libsoup/libsoup/
Dsoup-proxy-resolver-wrapper.c29 SoupProxyResolverWrapper *wrapper = in soup_proxy_resolver_wrapper_finalize() local
32 g_clear_object (&wrapper->soup_resolver); in soup_proxy_resolver_wrapper_finalize()
89 SoupProxyResolverWrapper *wrapper = in soup_proxy_resolver_wrapper_lookup_async() local
99 soup_proxy_uri_resolver_get_proxy_uri_async (wrapper->soup_resolver, in soup_proxy_resolver_wrapper_lookup_async()
122 SoupProxyResolverWrapper *wrapper = in soup_proxy_resolver_wrapper_lookup() local
130 status = soup_proxy_uri_resolver_get_proxy_uri_sync (wrapper->soup_resolver, in soup_proxy_resolver_wrapper_lookup()
162 SoupProxyResolverWrapper *wrapper; in soup_proxy_resolver_wrapper_new() local
164 wrapper = g_object_new (SOUP_TYPE_PROXY_RESOLVER_WRAPPER, NULL); in soup_proxy_resolver_wrapper_new()
165 wrapper->soup_resolver = g_object_ref (soup_resolver); in soup_proxy_resolver_wrapper_new()
166 return (GProxyResolver *)wrapper; in soup_proxy_resolver_wrapper_new()
/third_party/node/test/js-native-api/test_object/
Dtest.js129 const wrapper = {}; constant
130 test_object.Wrap(wrapper);
132 assert(test_object.Unwrap(wrapper));
137 const wrapper = {}; constant
139 Object.setPrototypeOf(wrapper, protoA);
140 test_object.Wrap(wrapper);
142 assert(test_object.Unwrap(wrapper));
143 assert(wrapper.protoA);
148 const wrapper = {}; constant
150 Object.setPrototypeOf(wrapper, protoA);
[all …]

12345678910>>...67