Home
last modified time | relevance | path

Searched refs:proxy (Results 226 - 250 of 889) sorted by relevance

12345678910>>...36

/kernel/linux/linux-6.6/security/apparmor/include/
H A Dlabel.h116 * @proxy: is set to the label that replaced this label
127 struct aa_proxy *proxy; member
281 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp);
427 AA_BUG(!l->proxy); in aa_get_newest_label()
428 AA_BUG(!l->proxy->label); in aa_get_newest_label()
433 tmp = aa_get_label_rcu(&l->proxy->label); in aa_get_newest_label()
452 static inline struct aa_proxy *aa_get_proxy(struct aa_proxy *proxy) in aa_get_proxy() argument
454 if (proxy) in aa_get_proxy()
455 kref_get(&(proxy->count)); in aa_get_proxy()
457 return proxy; in aa_get_proxy()
460 aa_put_proxy(struct aa_proxy *proxy) aa_put_proxy() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/proxy/
H A Drender_proxy.cpp16 #include "core/components/proxy/render_proxy.h"
18 #include "core/components/proxy/proxy_component.h"
25 auto proxy = AceType::DynamicCast<ProxyComponent>(component); in Update() local
26 if (!proxy) { in Update()
29 passMinSize_ = proxy->GetPassMinSize(); in Update()
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/
H A Dmodal_ui_extension_proxy_impl_test_ng.cpp59 auto proxy = std::make_shared<ModalUIExtensionProxyImpl>(sessionWrapper); in HWTEST_F() local
60 ASSERT_EQ(proxy->sessionWrapper_, nullptr); in HWTEST_F()
66 proxy->SendData(wantParams); in HWTEST_F()
/foundation/communication/ipc/ipc/native/src/c_api/source/
H A Dipc_internal_utils.cpp32 bool IsIPCRemoteProxyValid(const OHIPCRemoteProxy *proxy, const char *promot) in IsIPCRemoteProxyValid() argument
34 if (proxy == nullptr || proxy->remote == nullptr) { in IsIPCRemoteProxyValid()
35 ZLOGE(LOG_LABEL, "%{public}s: proxy object is invalid!", promot); in IsIPCRemoteProxyValid()
/third_party/jerryscript/tests/jerry/es2015/
H A Djson-stringify.js15 // Test with proxy
41 var proxy = revocable.proxy; variable
44 JSON.stringify(proxy);
/kernel/linux/linux-5.10/security/apparmor/
H A Dlabel.c42 static void free_proxy(struct aa_proxy *proxy) in free_proxy() argument
44 if (proxy) { in free_proxy()
46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy()
47 memset(proxy, 0, sizeof(*proxy)); in free_proxy()
48 RCU_INIT_POINTER(proxy->label, (struct aa_label *)PROXY_POISON); in free_proxy()
49 kfree(proxy); in free_proxy()
55 struct aa_proxy *proxy = container_of(kref, struct aa_proxy, count); in aa_proxy_kref() local
57 free_proxy(proxy); in aa_proxy_kref()
81 tmp = rcu_dereference_protected(orig->proxy in __aa_proxy_redirect()
90 struct aa_proxy *proxy = new->proxy; __proxy_share() local
421 aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp) aa_label_alloc() argument
[all...]
/kernel/linux/linux-6.6/security/apparmor/
H A Dlabel.c42 static void free_proxy(struct aa_proxy *proxy) in free_proxy() argument
44 if (proxy) { in free_proxy()
46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy()
47 memset(proxy, 0, sizeof(*proxy)); in free_proxy()
48 RCU_INIT_POINTER(proxy->label, (struct aa_label *)PROXY_POISON); in free_proxy()
49 kfree(proxy); in free_proxy()
55 struct aa_proxy *proxy = container_of(kref, struct aa_proxy, count); in aa_proxy_kref() local
57 free_proxy(proxy); in aa_proxy_kref()
81 tmp = rcu_dereference_protected(orig->proxy in __aa_proxy_redirect()
90 struct aa_proxy *proxy = new->proxy; __proxy_share() local
424 aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp) aa_label_alloc() argument
[all...]
/third_party/skia/src/gpu/
H A DGrWaitRenderTask.h25 bool onIsUsed(GrSurfaceProxy* proxy) const override {
26 return proxy == fWaitedOn.proxy();
H A DSurfaceContext.h63 GrImageInfo imageInfo() const { return {fColorInfo, fReadView.proxy()->dimensions()}; } in imageInfo()
68 // make a copy (which refs the proxy) if needed.
72 int width() const { return fReadView.proxy()->width(); } in width()
73 int height() const { return fReadView.proxy()->height(); } in height()
134 GrSurfaceProxy* asSurfaceProxy() { return fReadView.proxy(); } in asSurfaceProxy()
135 const GrSurfaceProxy* asSurfaceProxy() const { return fReadView.proxy(); } in asSurfaceProxy()
226 * Copy 'src' into the proxy backing this context. This call will not do any draw fallback.
237 * regions will not be shifted. The 'src' must have the same origin as the backing proxy
H A DGrDstProxyView.h47 GrSurfaceProxy* proxy() const { return fProxyView.proxy(); } in proxy() function in GrDstProxyView
52 if (!fProxyView.proxy()) { in setProxyView()
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dstandby_client_unit_test.cpp191 sptr<StandbyServiceProxy> proxy = new (std::nothrow) StandbyServiceProxy(impl); in HWTEST_F() local
193 EXPECT_NE(proxy->SubscribeStandbyCallback(nullSubscriber), ERR_OK); in HWTEST_F()
194 EXPECT_NE(proxy->SubscribeStandbyCallback(nullSubscriber), ERR_OK); in HWTEST_F()
195 proxy->UnsubscribeStandbyCallback(nullSubscriber); in HWTEST_F()
219 sptr<StandbyServiceSubscriberProxy> proxy = new (std::nothrow) StandbyServiceSubscriberProxy(impl); in HWTEST_F() local
221 proxy->OnDeviceIdleMode(false, false); in HWTEST_F()
222 proxy->OnAllowListChanged(-1, "", 0, false); in HWTEST_F()
223 EXPECT_NE(proxy, nullptr); in HWTEST_F()
/third_party/node/deps/openssl/openssl/crypto/http/
H A Dhttp_lib.c278 const char *OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy, in OSSL_HTTP_adapt_proxy() argument
285 if (proxy == NULL) in OSSL_HTTP_adapt_proxy()
286 proxy = ossl_safe_getenv(use_ssl ? "https_proxy" : "http_proxy"); in OSSL_HTTP_adapt_proxy()
287 if (proxy == NULL) in OSSL_HTTP_adapt_proxy()
288 proxy = ossl_safe_getenv(use_ssl ? OPENSSL_HTTP_PROXY : OPENSSL_HTTPS_PROXY); in OSSL_HTTP_adapt_proxy()
290 if (proxy == NULL || *proxy == '\0' || !use_proxy(no_proxy, server)) in OSSL_HTTP_adapt_proxy()
292 return proxy; in OSSL_HTTP_adapt_proxy()
H A Dhttp_client.c53 char *proxy; /* Optional proxy name or URI */ member
130 OPENSSL_free(rctx->proxy); in OSSL_HTTP_REQ_CTX_free()
168 * a plain HTTP proxy is used and |path| does not begin with 'http://'.
186 if (server != NULL) { /* HTTP (but not HTTPS) proxy is used */ in OSSL_HTTP_REQ_CTX_set_request_line()
189 * allowed when using a proxy in OSSL_HTTP_REQ_CTX_set_request_line()
200 } else if (HAS_PREFIX(path, "http://")) { /* absoluteURI for proxy use */ in OSSL_HTTP_REQ_CTX_set_request_line()
374 const char *proxy, in http_req_ctx_new()
386 if (proxy != NULL in http_req_ctx_new()
387 && (rctx->proxy in http_req_ctx_new()
371 http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int use_ssl, const char *proxy, const char *server, const char *port, int buf_size, int overall_timeout) http_req_ctx_new() argument
927 OSSL_HTTP_open(const char *server, const char *port, const char *proxy, const char *no_proxy, int use_ssl, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, int overall_timeout) OSSL_HTTP_open() argument
1123 OSSL_HTTP_get(const char *url, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout) OSSL_HTTP_get() argument
1212 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
/foundation/arkui/ace_engine/frameworks/base/network/
H A Ddownload_manager_impl.cpp90 ProxyInfo proxy; variable
91 if (GetProxy(proxy)) {
92 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_PROXY, proxy.host.c_str());
93 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_PROXYPORT, proxy.port);
94 if (!proxy.exclusions.empty()) {
95 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_NOPROXY, proxy.exclusions.c_str());
387 static bool GetProxy(ProxyInfo& proxy) in GetProxy() argument
391 proxy.host = httpProxy.GetHost(); in GetProxy()
392 proxy.port = httpProxy.GetPort(); in GetProxy()
396 proxy in GetProxy()
[all...]
/foundation/communication/netmanager_base/test/netmanagernative/unit_test/
H A Dresolver_config.cpp44 auto proxy = iface_cast<NetsysNative::INetsysService>(remote); in GetProxyK() local
45 if (proxy != nullptr) { in GetProxyK()
46 NETNATIVE_LOGE("Get proxy %{public}p", proxy.GetRefPtr()); in GetProxyK()
47 std::cout << "Get proxy " << proxy.GetRefPtr() << std::endl; in GetProxyK()
49 std::cout << "Get proxy nullptr" << std::endl; in GetProxyK()
52 return proxy; in GetProxyK()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_listener.h151 if (auto proxy = object->entity.lock()) {
154 if (t==proxy) {
159 tmp.push_back(proxy);
184 if (auto proxy = object->entity.lock()) {
187 if (t==proxy) {
192 tmp.push_back(proxy);
/foundation/resourceschedule/device_standby/services/notification/src/
H A Dstandby_state_subscriber.cpp198 sptr<IRemoteObject> proxy = remote.promote(); in HandleSubscriberDeath() local
199 if (!proxy) { in HandleSubscriberDeath()
200 STANDBYSERVICE_LOGE("get remote proxy failed"); in HandleSubscriberDeath()
204 auto subscriberIter = FindSubcriberObject(proxy); in HandleSubscriberDeath()
229 sptr<IRemoteObject>& proxy) in FindSubcriberObject()
231 auto findSuscriber = [&proxy](const auto& subscriber) { in FindSubcriberObject()
232 return subscriber->AsObject() == proxy; in FindSubcriberObject()
228 FindSubcriberObject( sptr<IRemoteObject>& proxy) FindSubcriberObject() argument
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/unittest/audiosinktest/src/
H A Ddaudio_sink_handler_test.cpp95 sptr<IDAudioSink> proxy(new DAudioSinkProxy(remoteObject)); in HWTEST_F()
103 DAudioSinkHandler::GetInstance().dAudioSinkProxy_ = proxy; in HWTEST_F()
139 sptr<IDAudioSink> proxy(new DAudioSinkProxy(remoteObject)); in HWTEST_F()
140 DAudioSinkHandler::GetInstance().dAudioSinkProxy_ = proxy; in HWTEST_F()
161 sptr<IDAudioSink> proxy(new DAudioSinkProxy(remoteObject)); in HWTEST_F()
162 DAudioSinkHandler::GetInstance().dAudioSinkProxy_ = proxy; in HWTEST_F()
/third_party/jerryscript/tests/unit-core/
H A Dtest-proxy.cpp197 jerry_value_t proxy = jerry_create_proxy (target, handler); in HWTEST_F() local
200 set_property (global, "pdemo", proxy); in HWTEST_F()
220 jerry_value_t res = get_property (proxy, "value"); in HWTEST_F()
257 set_property (proxy, "value", new_value); in HWTEST_F()
262 jerry_value_t res = get_property (proxy, "value"); in HWTEST_F()
270 jerry_release_value (proxy); in HWTEST_F()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_socket.cpp132 sptr<IBluetoothSocket> proxy = GetRemoteProxy<IBluetoothSocket>(PROFILE_SOCKET); in Close() local
133 CHECK_AND_RETURN_LOG(proxy != nullptr, "proxy is nullptr"); in Close()
139 proxy->DeregisterClientObserver(BluetoothRawAddress(remoteDevice_.GetDeviceAddr()), tempUuid, in Close()
437 HILOGE("clientSocket proxy is nullptr"); in Connect()
445 sptr<IBluetoothSocket> proxy = GetRemoteProxy<IBluetoothSocket>(PROFILE_SOCKET); in Connect() local
446 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_SERVICE_DISCONNECTED, "proxy is nullptr"); in Connect()
449 int ret = proxy->RegisterClientObserver(BluetoothRawAddress(pimpl->address_), tempUuid, in Connect()
460 ret = proxy in Connect()
579 sptr<IBluetoothSocket> proxy = GetRemoteProxy<IBluetoothSocket>(PROFILE_SOCKET); Listen() local
755 sptr<IBluetoothSocket> proxy = GetRemoteProxy<IBluetoothSocket>(PROFILE_SOCKET); Close() local
797 sptr<IBluetoothSocket> proxy; global() local
942 sptr<IBluetoothSocket> proxy = GetRemoteProxy<IBluetoothSocket>(PROFILE_SOCKET); UpdateCocConnectionParams() local
[all...]
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_core_unittest.cpp377 * @tc.desc: act as proxy role, should return true
397 IPCObjectProxy *proxy = reinterpret_cast<IPCObjectProxy *>(remote.GetRefPtr()); in HWTEST_F() local
398 ASSERT_TRUE(proxy != nullptr); in HWTEST_F()
400 int remoteId = proxy->GetHandle(); in HWTEST_F()
472 TestServiceProxy *proxy = static_cast<TestServiceProxy *>(testService.GetRefPtr()); in HWTEST_F() local
473 int ret = proxy->TestSyncTransaction(2019, reply); in HWTEST_F()
503 TestServiceProxy *proxy = static_cast<TestServiceProxy *>(testService.GetRefPtr()); in HWTEST_F() local
505 int ret = proxy->TestAsyncTransaction(2019, reply); in HWTEST_F()
575 sptr<IRemoteObject> proxy = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() local
576 ASSERT_TRUE(proxy ! in HWTEST_F()
708 TestServiceProxy *proxy = static_cast<TestServiceProxy *>(testService.GetRefPtr()); HWTEST_F() local
778 TestServiceProxy *proxy = static_cast<TestServiceProxy *>(testService.GetRefPtr()); HWTEST_F() local
[all...]
/third_party/skia/src/image/
H A DSkSurface_Gpu.cpp151 SkASSERT(srcView.proxy()->priv().isExact()); in onNewImageSnapshot()
200 // are we sharing our backing proxy with the image? Note this call should never create a new in onCopyOnWrite()
205 if (static_cast<SkImage_Gpu*>(image.get())->surfaceMustCopyOnWrite(readSurfaceView.proxy())) { in onCopyOnWrite()
261 GrBackendFormat format = readSurfaceView.proxy()->backendFormat(); in onCharacterize()
300 // of drawing a texture proxy. in onDraw()
367 GrProtected isProtected = targetView.proxy()->isProtected(); in onIsCompatible()
511 sk_sp<GrTextureProxy> proxy(rContext->priv().proxyProvider()->wrapRenderableBackendTexture( in MakeFromBackendTexture()
514 if (!proxy) { in MakeFromBackendTexture()
518 auto device = rContext->priv().createDevice(grColorType, std::move(proxy), in MakeFromBackendTexture()
575 sk_sp<GrTextureProxy> proxy(rContex in onReplaceBackendTexture()
629 auto proxy = proxyProvider->wrapBackendRenderTarget(rt, std::move(releaseHelper)); MakeFromBackendRenderTarget() local
[all...]
/third_party/openssl/crypto/http/
H A Dhttp_client.c53 char *proxy; /* Optional proxy name or URI */ member
130 OPENSSL_free(rctx->proxy); in OSSL_HTTP_REQ_CTX_free()
167 * Server name (and port) must be given if and only if plain HTTP proxy is used.
185 if (server != NULL) { /* HTTP (but not HTTPS) proxy is used */ in OSSL_HTTP_REQ_CTX_set_request_line()
188 * allowed when using a proxy in OSSL_HTTP_REQ_CTX_set_request_line()
367 const char *proxy, in http_req_ctx_new()
379 if (proxy != NULL in http_req_ctx_new()
380 && (rctx->proxy = OPENSSL_strdup(proxy)) in http_req_ctx_new()
364 http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int use_ssl, const char *proxy, const char *server, const char *port, int buf_size, int overall_timeout) http_req_ctx_new() argument
916 OSSL_HTTP_open(const char *server, const char *port, const char *proxy, const char *no_proxy, int use_ssl, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, int overall_timeout) OSSL_HTTP_open() argument
1112 OSSL_HTTP_get(const char *url, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout) OSSL_HTTP_get() argument
1201 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
/third_party/skia/src/core/
H A DSkSpecialImage.cpp350 return fView.proxy()->gpuMemorySize();
413 GrSurfaceProxy* proxy = fView.proxy(); variable
415 if (proxy->isFunctionallyExact() && *subset == SkIRect::MakeSize(proxy->dimensions())) {
416 proxy->priv().exactify(false);
428 SkASSERT(subsetView.proxy()->priv().isExact());
431 // return a kExact-backed proxy
436 proxy->priv().exactify(true);
473 SkASSERT_RELEASE(rect_fits(subset, view.proxy() in MakeDeferredFromGpu()
[all...]
/foundation/ability/ability_runtime/test/unittest/js_uiservice_uiext_connection_test/
H A Djs_uiservice_uiext_connection_test.cpp92 napi_value proxy = nullptr; in HWTEST_F() local
93 connection->ResolveDuplicatedPendingTask(env, proxy); in HWTEST_F()
124 napi_value proxy = nullptr; in HWTEST_F() local
125 connection->SetProxyObject(proxy); in HWTEST_F()

Completed in 17 milliseconds

12345678910>>...36