Home
last modified time | relevance | path

Searched refs:proxy (Results 1 – 25 of 1438) sorted by relevance

12345678910>>...58

/external/skia/tests/
DProxyRefTest.cpp48 GrTextureProxy* proxy, in check_refs() argument
53 REPORTER_ASSERT(reporter, proxy->priv().getProxyRefCnt() == expectedProxyRefs); in check_refs()
54 REPORTER_ASSERT(reporter, proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs); in check_refs()
55 REPORTER_ASSERT(reporter, proxy->getPendingReadCnt_TestOnly() == expectedNumReads); in check_refs()
56 REPORTER_ASSERT(reporter, proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites); in check_refs()
58 SkASSERT(proxy->priv().getProxyRefCnt() == expectedProxyRefs); in check_refs()
59 SkASSERT(proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs); in check_refs()
60 SkASSERT(proxy->getPendingReadCnt_TestOnly() == expectedNumReads); in check_refs()
61 SkASSERT(proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites); in check_refs()
96 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
[all …]
DTextureProxyTest.cpp47 sk_sp<GrTextureProxy> proxy = in deferred_tex() local
51 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_tex()
52 return proxy; in deferred_tex()
61 sk_sp<GrTextureProxy> proxy = in deferred_texRT() local
64 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_texRT()
65 return proxy; in deferred_texRT()
72 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped() local
75 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in wrapped()
76 return proxy; in wrapped()
93 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped_with_key() local
[all …]
/external/skqp/tests/
DProxyRefTest.cpp48 GrTextureProxy* proxy, in check_refs() argument
53 REPORTER_ASSERT(reporter, proxy->priv().getProxyRefCnt() == expectedProxyRefs); in check_refs()
54 REPORTER_ASSERT(reporter, proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs); in check_refs()
55 REPORTER_ASSERT(reporter, proxy->getPendingReadCnt_TestOnly() == expectedNumReads); in check_refs()
56 REPORTER_ASSERT(reporter, proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites); in check_refs()
58 SkASSERT(proxy->priv().getProxyRefCnt() == expectedProxyRefs); in check_refs()
59 SkASSERT(proxy->getBackingRefCnt_TestOnly() == expectedBackingRefs); in check_refs()
60 SkASSERT(proxy->getPendingReadCnt_TestOnly() == expectedNumReads); in check_refs()
61 SkASSERT(proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites); in check_refs()
96 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
[all …]
DTextureProxyTest.cpp47 sk_sp<GrTextureProxy> proxy = in deferred_tex() local
51 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_tex()
52 return proxy; in deferred_tex()
61 sk_sp<GrTextureProxy> proxy = in deferred_texRT() local
64 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in deferred_texRT()
65 return proxy; in deferred_texRT()
72 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped() local
75 REPORTER_ASSERT(reporter, !proxy->getUniqueKey().isValid()); in wrapped()
76 return proxy; in wrapped()
93 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped_with_key() local
[all …]
/external/wayland/src/
Dwayland-client.c82 struct wl_proxy proxy; member
231 struct wl_proxy *proxy; in decrease_closure_args_refcount() local
240 proxy = (struct wl_proxy *) closure->args[i].o; in decrease_closure_args_refcount()
241 if (proxy) { in decrease_closure_args_refcount()
242 if (proxy->flags & WL_PROXY_FLAG_DESTROYED) in decrease_closure_args_refcount()
245 proxy->refcount--; in decrease_closure_args_refcount()
246 if (!proxy->refcount) in decrease_closure_args_refcount()
247 free(proxy); in decrease_closure_args_refcount()
260 struct wl_proxy *proxy; in wl_event_queue_release() local
270 proxy = closure->proxy; in wl_event_queue_release()
[all …]
Dwayland-client-core.h137 wl_proxy_create_wrapper(void *proxy);
143 wl_proxy_marshal_constructor(struct wl_proxy *proxy,
149 wl_proxy_marshal_constructor_versioned(struct wl_proxy *proxy,
156 wl_proxy_marshal_array_constructor(struct wl_proxy *proxy,
161 wl_proxy_marshal_array_constructor_versioned(struct wl_proxy *proxy,
168 wl_proxy_destroy(struct wl_proxy *proxy);
171 wl_proxy_add_listener(struct wl_proxy *proxy,
175 wl_proxy_get_listener(struct wl_proxy *proxy);
178 wl_proxy_add_dispatcher(struct wl_proxy *proxy,
183 wl_proxy_set_user_data(struct wl_proxy *proxy, void *user_data);
[all …]
/external/grpc-grpc/test/core/end2end/fixtures/
Dproxy.cc66 grpc_end2end_proxy* proxy; member
85 static void request_call(grpc_end2end_proxy* proxy);
93 grpc_end2end_proxy* proxy = grpc_core::New<grpc_end2end_proxy>(); in grpc_end2end_proxy_create() local
95 gpr_join_host_port(&proxy->proxy_port, "localhost", proxy_port); in grpc_end2end_proxy_create()
96 gpr_join_host_port(&proxy->server_port, "localhost", server_port); in grpc_end2end_proxy_create()
98 gpr_log(GPR_DEBUG, "PROXY ADDR:%s BACKEND:%s", proxy->proxy_port, in grpc_end2end_proxy_create()
99 proxy->server_port); in grpc_end2end_proxy_create()
101 proxy->cq = grpc_completion_queue_create_for_next(nullptr); in grpc_end2end_proxy_create()
102 proxy->server = def->create_server(proxy->proxy_port, server_args); in grpc_end2end_proxy_create()
103 proxy->client = def->create_client(proxy->server_port, client_args); in grpc_end2end_proxy_create()
[all …]
Dhttp_proxy_fixture.cc84 grpc_end2end_http_proxy* proxy; member
145 gpr_unref(&conn->proxy->users); in proxy_connection_unref()
425 conn->proxy->channel_args, GRPC_ARG_HTTP_PROXY_AUTH_CREDS); in on_read_request_done()
470 grpc_end2end_http_proxy* proxy = static_cast<grpc_end2end_http_proxy*>(arg); in on_accept() local
474 gpr_ref(&proxy->users); in on_accept()
476 conn->proxy = proxy; in on_accept()
479 grpc_pollset_set_add_pollset(conn->pollset_set, proxy->pollset); in on_accept()
482 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept()
484 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept()
486 grpc_combiner_scheduler(conn->proxy->combiner)); in on_accept()
[all …]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java96 ExampleClass proxy = proxyFor(ExampleClass.class).build(); in testExampleOperation() local
97 assertEquals("expected", proxy.exampleMethod()); in testExampleOperation()
104 ExampleOperationClass proxy = proxyFor(ExampleOperationClass.class).build(); in testExampleOperation_DexMakerCaching() local
106 assertEquals("expected", proxy.exampleMethod()); in testExampleOperation_DexMakerCaching()
111 proxy = proxyFor(ExampleOperationClass.class).build(); in testExampleOperation_DexMakerCaching()
113 assertEquals("expected", proxy.exampleMethod()); in testExampleOperation_DexMakerCaching()
130 ConstructorTakesArguments proxy = proxyFor(ConstructorTakesArguments.class) in testConstruction_SucceedsIfCorrectArgumentsProvided() local
134 assertEquals("hello", proxy.argument); in testConstruction_SucceedsIfCorrectArgumentsProvided()
135 proxy.method(); in testConstruction_SucceedsIfCorrectArgumentsProvided()
179 HasFinalMethod proxy = proxyFor(HasFinalMethod.class).build(); in testCanProxyClassesWithFinalMethods_WillNotCallTheFinalMethod() local
[all …]
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeListenerProxyTest.java31 PropertyChangeListenerProxy proxy; field in PropertyChangeListenerProxyTest
42 proxy = new PropertyChangeListenerProxy(name, listener); in setUp()
46 proxy = new PropertyChangeListenerProxy(null, listener); in testPropertyChangeListenerProxy()
47 assertSame(listener, proxy.getListener()); in testPropertyChangeListenerProxy()
48 assertNull(proxy.getPropertyName()); in testPropertyChangeListenerProxy()
51 proxy.propertyChange(newevent); in testPropertyChangeListenerProxy()
53 proxy = new PropertyChangeListenerProxy(name, null); in testPropertyChangeListenerProxy()
54 assertSame(name, proxy.getPropertyName()); in testPropertyChangeListenerProxy()
55 assertNull(proxy.getListener()); in testPropertyChangeListenerProxy()
57 proxy.propertyChange(new PropertyChangeEvent(new Object(), "name", in testPropertyChangeListenerProxy()
[all …]
/external/webrtc/webrtc/base/
Dproxydetect.cc286 bool ParseProxy(const std::string& saddress, ProxyInfo* proxy) { in ParseProxy() argument
350 if (Better(ptype, proxy->type)) { in ParseProxy()
351 proxy->type = ptype; in ParseProxy()
352 proxy->address.SetIP(host); in ParseProxy()
353 proxy->address.SetPort(port); in ParseProxy()
357 return proxy->type != PROXY_NONE; in ParseProxy()
544 bool GetFirefoxProxySettings(const char* url, ProxyInfo* proxy) { in GetFirefoxProxySettings() argument
553 proxy->bypass_list = in GetFirefoxProxySettings()
558 if (ProxyListMatch(purl, proxy->bypass_list.c_str(), ',')) { in GetFirefoxProxySettings()
561 proxy->type = PROXY_UNKNOWN; in GetFirefoxProxySettings()
[all …]
/external/skqp/src/gpu/
DGrBitmapTextureMaker.cpp40 sk_sp<GrTextureProxy> proxy; in refOriginalTextureProxy() local
43 proxy = proxyProvider->findOrCreateProxyByUniqueKey(fOriginalKey, kTopLeft_GrSurfaceOrigin); in refOriginalTextureProxy()
44 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy()
45 return proxy; in refOriginalTextureProxy()
49 if (!proxy) { in refOriginalTextureProxy()
51 proxy = proxyProvider->createMipMapProxyFromBitmap(fBitmap); in refOriginalTextureProxy()
53 if (!proxy) { in refOriginalTextureProxy()
54 proxy = GrUploadBitmapToTextureProxy(proxyProvider, fBitmap); in refOriginalTextureProxy()
56 if (proxy) { in refOriginalTextureProxy()
58 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy()
[all …]
DGrResourceAllocator.cpp58 void GrResourceAllocator::addInterval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end
66 if (proxy->readOnly()) {
69 SkASSERT(proxy->isInstantiated() ||
70 GrSurfaceProxy::LazyState::kNot != proxy->lazyInstantiationState());
72 if (Interval* intvl = fIntvlHash.find(proxy->uniqueID().asUInt())) {
96 newIntvl->resetTo(proxy, start, end);
98 newIntvl = fIntervalAllocator.make<Interval>(proxy, start, end);
107 if (proxy->readOnly() || !fResourceProvider->explicitlyAllocateGPUResources()) {
109 if (GrSurfaceProxy::LazyState::kNot != proxy->lazyInstantiationState()) {
110 if (proxy->priv().doLazyInstantiation(fResourceProvider)) {
[all …]
/external/skia/src/gpu/
DGrBitmapTextureMaker.cpp41 sk_sp<GrTextureProxy> proxy; in refOriginalTextureProxy() local
44 proxy = proxyProvider->findOrCreateProxyByUniqueKey(fOriginalKey, kTopLeft_GrSurfaceOrigin); in refOriginalTextureProxy()
45 if (proxy && (!willBeMipped || GrMipMapped::kYes == proxy->mipMapped())) { in refOriginalTextureProxy()
46 return proxy; in refOriginalTextureProxy()
50 if (!proxy) { in refOriginalTextureProxy()
52 proxy = proxyProvider->createMipMapProxyFromBitmap(fBitmap); in refOriginalTextureProxy()
54 if (!proxy) { in refOriginalTextureProxy()
55 proxy = GrUploadBitmapToTextureProxy(proxyProvider, fBitmap); in refOriginalTextureProxy()
57 if (proxy) { in refOriginalTextureProxy()
59 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy()
[all …]
DGrResourceAllocator.cpp58 void GrResourceAllocator::addInterval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end
66 if (proxy->readOnly()) {
69 SkASSERT(proxy->isInstantiated() ||
70 GrSurfaceProxy::LazyState::kNot != proxy->lazyInstantiationState());
72 if (Interval* intvl = fIntvlHash.find(proxy->uniqueID().asUInt())) {
96 newIntvl->resetTo(proxy, start, end);
98 newIntvl = fIntervalAllocator.make<Interval>(proxy, start, end);
107 if (proxy->readOnly() || !fResourceProvider->explicitlyAllocateGPUResources()) {
109 if (GrSurfaceProxy::LazyState::kNot != proxy->lazyInstantiationState()) {
110 if (proxy->priv().doLazyInstantiation(fResourceProvider)) {
[all …]
DGrCoordTransform.h36 GrCoordTransform(GrTextureProxy* proxy) { in GrCoordTransform() argument
37 SkASSERT(proxy); in GrCoordTransform()
39 this->reset(SkMatrix::I(), proxy); in GrCoordTransform()
46 GrCoordTransform(const SkMatrix& m, GrTextureProxy* proxy) { in GrCoordTransform() argument
47 SkASSERT(proxy); in GrCoordTransform()
49 this->reset(m, proxy); in GrCoordTransform()
95 const GrTextureProxy* proxy() const { return fProxy; } in proxy() function
104 void reset(const SkMatrix& m, GrTextureProxy* proxy = nullptr) {
108 fProxy = proxy;
109 fNormalize = proxy && proxy->textureType() != GrTextureType::kRectangle;
[all …]
/external/python/cpython2/Objects/
Dweakrefobject.c286 PyWeakReference *ref, *proxy; in weakref___new__() local
298 get_basic_refs(*list, &ref, &proxy); in weakref___new__()
321 get_basic_refs(*list, &ref, &proxy); in weakref___new__()
322 prev = (proxy == NULL) ? ref : proxy; in weakref___new__()
394 proxy_checkref(PyWeakReference *proxy) in proxy_checkref() argument
396 if (PyWeakref_GET_OBJECT(proxy) == Py_None) { in proxy_checkref()
425 method(PyObject *proxy) { \
426 UNWRAP(proxy); \
427 return generic(proxy); \
443 method(PyObject *proxy, PyObject *v, PyObject *w) { \
[all …]
/external/skqp/src/gpu/effects/
DGrTextureDomain.cpp24 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode modeX, in GrTextureDomain() argument
30 if (!proxy) { in GrTextureDomain()
35 const SkRect kFullRect = SkRect::MakeIWH(proxy->width(), proxy->height()); in GrTextureDomain()
182 GrTextureProxy* proxy, in setData() argument
184 GrTexture* tex = proxy->peekTexture(); in setData()
197 if (proxy->textureType() == GrTextureType::kRectangle) { in setData()
222 if (proxy->textureType() == GrTextureType::kRectangle) { in setData()
223 SkASSERT(values[0] >= 0.0f && values[0] <= proxy->height()); in setData()
224 SkASSERT(values[1] >= 0.0f && values[1] <= proxy->height()); in setData()
225 SkASSERT(values[2] >= 0.0f && values[2] <= proxy->height()); in setData()
[all …]
/external/skia/src/gpu/effects/
DGrTextureDomain.cpp24 GrTextureDomain::GrTextureDomain(GrTextureProxy* proxy, const SkRect& domain, Mode modeX, in GrTextureDomain() argument
30 if (!proxy) { in GrTextureDomain()
35 const SkRect kFullRect = SkRect::MakeIWH(proxy->width(), proxy->height()); in GrTextureDomain()
182 GrTextureProxy* proxy, in setData() argument
184 GrTexture* tex = proxy->peekTexture(); in setData()
197 if (proxy->textureType() == GrTextureType::kRectangle) { in setData()
222 if (proxy->textureType() == GrTextureType::kRectangle) { in setData()
223 SkASSERT(values[0] >= 0.0f && values[0] <= proxy->height()); in setData()
224 SkASSERT(values[1] >= 0.0f && values[1] <= proxy->height()); in setData()
225 SkASSERT(values[2] >= 0.0f && values[2] <= proxy->height()); in setData()
[all …]
/external/python/cpython3/Objects/
Dweakrefobject.c283 PyWeakReference *ref, *proxy; in weakref___new__() local
295 get_basic_refs(*list, &ref, &proxy); in weakref___new__()
318 get_basic_refs(*list, &ref, &proxy); in weakref___new__()
319 prev = (proxy == NULL) ? ref : proxy; in weakref___new__()
396 proxy_checkref(PyWeakReference *proxy) in proxy_checkref() argument
398 if (PyWeakref_GET_OBJECT(proxy) == Py_None) { in proxy_checkref()
427 method(PyObject *proxy) { \
428 UNWRAP(proxy); \
429 return generic(proxy); \
445 method(PyObject *proxy, PyObject *v, PyObject *w) { \
[all …]
/external/openssh/regress/
Dlimit-keytype.sh57 ${SSH} $certopts proxy true || fatal "cert failed"
58 ${SSH} $opts -i $OBJ/user_key1 proxy true || fatal "key1 failed"
59 ${SSH} $opts -i $OBJ/user_key2 proxy true || fatal "key2 failed"
64 ${SSH} $certopts proxy true && fatal "cert succeeded"
65 ${SSH} $opts -i $OBJ/user_key1 proxy true || fatal "key1 failed"
66 ${SSH} $opts -i $OBJ/user_key2 proxy true || fatal "key2 failed"
71 ${SSH} $certopts proxy true && fatal "cert succeeded"
72 ${SSH} $opts -i $OBJ/user_key1 proxy true || fatal "key1 failed"
73 ${SSH} $opts -i $OBJ/user_key2 proxy true && fatal "key2 succeeded"
78 ${SSH} $certopts proxy true || fatal "cert failed"
[all …]
/external/python/cpython2/Demo/pdist/
Dsumtree.py7 proxy = FSProxy.FSProxyLocal()
8 sumtree(proxy)
9 proxy._close()
14 def sumtree(proxy): argument
15 print "PWD =", proxy.pwd()
16 files = proxy.listfiles()
17 proxy.infolist(files)
18 subdirs = proxy.listsubdirs()
20 proxy.cd(name)
21 sumtree(proxy)
[all …]
/external/libbrillo/brillo/glib/
Ddbus.h182 MonitorConnection(const Proxy& proxy, in MonitorConnection() argument
186 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection()
191 const Proxy& proxy() const { return proxy_; } in proxy() function
204 MonitorConnection(const Proxy& proxy, in MonitorConnection() argument
208 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection()
213 const Proxy& proxy() const { return proxy_; } in proxy() function
226 MonitorConnection(const Proxy& proxy, in MonitorConnection() argument
230 : proxy_(proxy), name_(name), monitor_(monitor), object_(object) {} in MonitorConnection()
235 const Proxy& proxy() const { return proxy_; } in proxy() function
248 MonitorConnection(const Proxy& proxy, in MonitorConnection() argument
[all …]
/external/curl/docs/cmdline-opts/
DMakefile.inc114 proxy-anyauth.d \
115 proxy-basic.d \
116 proxy-cacert.d \
117 proxy-capath.d \
118 proxy-cert-type.d \
119 proxy-cert.d \
120 proxy-ciphers.d \
121 proxy-crlfile.d \
122 proxy-digest.d \
123 proxy-header.d \
[all …]
/external/libchrome/ui/gfx/geometry/mojo/
Dgeometry_struct_traits_unittest.cc24 mojom::GeometryTraitsTestServicePtr proxy; in GetTraitsTestProxy() local
25 traits_test_bindings_.AddBinding(this, mojo::MakeRequest(&proxy)); in GetTraitsTestProxy()
26 return proxy; in GetTraitsTestProxy()
84 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); in TEST_F() local
86 proxy->EchoPoint(input, &output); in TEST_F()
95 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); in TEST_F() local
97 proxy->EchoPointF(input, &output); in TEST_F()
106 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); in TEST_F() local
108 proxy->EchoSize(input, &output); in TEST_F()
117 mojom::GeometryTraitsTestServicePtr proxy = GetTraitsTestProxy(); in TEST_F() local
[all …]

12345678910>>...58