Home
last modified time | relevance | path

Searched refs:ctx (Results 1 - 25 of 75) sorted by relevance

123

/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/compomettestjs/jsCanavas/
H A Dindex.js57 const ctx = el.getContext('2d');
58 ctx.fillStyle = '#0000ff';
59 ctx.fillRect(0, 0, 100, 30);
63 const ctx = el.getContext('2d');
64 ctx.lineWidth = 10;
65 ctx.strokeStyle = '#0000ff';
66 ctx.lineCap = 'round';
67 ctx.strokeRect(0, 0, 100, 30);
71 const ctx = el.getContext('2d');
72 ctx
[all...]
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/compomettestjs/CanvasRenderingContext2D/
H A Dindex.js66 const ctx = el.getContext('2d');
67 ctx.fillStyle = '#0000ff';
68 ctx.fillRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx.lineWidth = 10;
74 ctx.strokeStyle = '#0000ff';
75 ctx.lineCap = 'round';
76 ctx.strokeRect(0, 0, 100, 30);
80 const ctx = el.getContext('2d');
81 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_CanvasRenderingContext2D/prop/
H A Dindex.js49 const ctx = el.getContext('2d');
50 ctx.fillStyle = '#0000ff';
51 ctx.fillRect(0, 0, 100, 30);
55 const ctx = el.getContext('2d');
56 ctx.lineWidth = 10;
57 ctx.lineCap = 'round';
58 ctx.strokeRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 8;
64 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_CanvasRenderingContext2D/prop/
H A Dindex.js49 const ctx = el.getContext('2d');
50 ctx.fillStyle = '#0000ff';
51 ctx.fillRect(0, 0, 100, 30);
55 const ctx = el.getContext('2d');
56 ctx.lineWidth = 10;
57 ctx.lineCap = 'round';
58 ctx.strokeRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 8;
64 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_CanvasRenderingContext2D/prop/
H A Dindex.js49 const ctx = el.getContext('2d');
50 ctx.fillStyle = '#0000ff';
51 ctx.fillRect(0, 0, 100, 30);
55 const ctx = el.getContext('2d');
56 ctx.lineWidth = 10;
57 ctx.lineCap = 'round';
58 ctx.strokeRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 8;
64 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_CanvasRenderingContext2D/prop/
H A Dindex.js49 const ctx = el.getContext('2d');
50 ctx.fillStyle = '#0000ff';
51 ctx.fillRect(0, 0, 100, 30);
55 const ctx = el.getContext('2d');
56 ctx.lineWidth = 10;
57 ctx.lineCap = 'round';
58 ctx.strokeRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 8;
64 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_CanvasRenderingContext2D/router/
H A Dindex.js56 const ctx = el.getContext('2d');
57 ctx.fillStyle = '#0000ff';
58 ctx.fillRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 10;
64 ctx.strokeStyle = '#0000ff';
65 ctx.lineCap = 'round';
66 ctx.strokeRect(0, 0, 100, 30);
70 const ctx = el.getContext('2d');
71 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_CanvasRenderingContext2D/router/
H A Dindex.js56 const ctx = el.getContext('2d');
57 ctx.fillStyle = '#0000ff';
58 ctx.fillRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 10;
64 ctx.strokeStyle = '#0000ff';
65 ctx.lineCap = 'round';
66 ctx.strokeRect(0, 0, 100, 30);
70 const ctx = el.getContext('2d');
71 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_CanvasRenderingContext2D/router/
H A Dindex.js56 const ctx = el.getContext('2d');
57 ctx.fillStyle = '#0000ff';
58 ctx.fillRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 10;
64 ctx.strokeStyle = '#0000ff';
65 ctx.lineCap = 'round';
66 ctx.strokeRect(0, 0, 100, 30);
70 const ctx = el.getContext('2d');
71 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_CanvasRenderingContext2D/router/
H A Dindex.js56 const ctx = el.getContext('2d');
57 ctx.fillStyle = '#0000ff';
58 ctx.fillRect(0, 0, 100, 30);
62 const ctx = el.getContext('2d');
63 ctx.lineWidth = 10;
64 ctx.strokeStyle = '#0000ff';
65 ctx.lineCap = 'round';
66 ctx.strokeRect(0, 0, 100, 30);
70 const ctx = el.getContext('2d');
71 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/router/
H A Dindex.js58 const ctx = el.getContext('2d');
59 ctx.fillStyle = '#0000ff';
60 ctx.fillRect(0, 0, 100, 30);
64 const ctx = el.getContext('2d');
65 ctx.lineWidth = 10;
66 ctx.strokeStyle = '#0000ff';
67 ctx.lineCap = 'round';
68 ctx.strokeRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/router/
H A Dindex.js58 const ctx = el.getContext('2d');
59 ctx.fillStyle = '#0000ff';
60 ctx.fillRect(0, 0, 100, 30);
64 const ctx = el.getContext('2d');
65 ctx.lineWidth = 10;
66 ctx.strokeStyle = '#0000ff';
67 ctx.lineCap = 'round';
68 ctx.strokeRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/router/
H A Dindex.js58 const ctx = el.getContext('2d');
59 ctx.fillStyle = '#0000ff';
60 ctx.fillRect(0, 0, 100, 30);
64 const ctx = el.getContext('2d');
65 ctx.lineWidth = 10;
66 ctx.strokeStyle = '#0000ff';
67 ctx.lineCap = 'round';
68 ctx.strokeRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_OffscreenCanvasRenderingContext2D/router/
H A Dindex.js58 const ctx = el.getContext('2d');
59 ctx.fillStyle = '#0000ff';
60 ctx.fillRect(0, 0, 100, 30);
64 const ctx = el.getContext('2d');
65 ctx.lineWidth = 10;
66 ctx.strokeStyle = '#0000ff';
67 ctx.lineCap = 'round';
68 ctx.strokeRect(0, 0, 100, 30);
72 const ctx = el.getContext('2d');
73 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/prop/
H A Dindex.js44 const ctx = el.getContext('2d');
45 ctx.fillStyle = '#0000ff';
46 ctx.fillRect(0, 0, 100, 30);
50 const ctx = el.getContext('2d');
51 ctx.lineWidth = 10;
52 ctx.lineCap = 'round';
53 ctx.strokeRect(0, 0, 100, 30);
57 const ctx = el.getContext('2d');
58 ctx.lineWidth = 8;
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_OffscreenCanvasRenderingContext2D/prop/
H A Dindex.js44 const ctx = el.getContext('2d');
45 ctx.fillStyle = '#0000ff';
46 ctx.fillRect(0, 0, 100, 30);
50 const ctx = el.getContext('2d');
51 ctx.lineWidth = 10;
52 ctx.lineCap = 'round';
53 ctx.strokeRect(0, 0, 100, 30);
57 const ctx = el.getContext('2d');
58 ctx.lineWidth = 8;
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/prop/
H A Dindex.js44 const ctx = el.getContext('2d');
45 ctx.fillStyle = '#0000ff';
46 ctx.fillRect(0, 0, 100, 30);
50 const ctx = el.getContext('2d');
51 ctx.lineWidth = 10;
52 ctx.lineCap = 'round';
53 ctx.strokeRect(0, 0, 100, 30);
57 const ctx = el.getContext('2d');
58 ctx.lineWidth = 8;
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_OffscreenCanvasRenderingContext2D/prop/
H A Dindex.js44 const ctx = el.getContext('2d');
45 ctx.fillStyle = '#0000ff';
46 ctx.fillRect(0, 0, 100, 30);
50 const ctx = el.getContext('2d');
51 ctx.lineWidth = 10;
52 ctx.lineCap = 'round';
53 ctx.strokeRect(0, 0, 100, 30);
57 const ctx = el.getContext('2d');
58 ctx.lineWidth = 8;
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/pages/obj_Path2D/router/
H A Dindex.js37 const ctx = el.getContext('2d');
38 var path1 = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
39 var path2 = ctx.createPath2D();
41 ctx.stroke(path2);
45 const ctx = el.getContext('2d');
46 var path = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
48 ctx.stroke(path);
53 const ctx = el.getContext('2d');
54 var path = ctx.createPath2D();
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/MainAbility/pages/obj_Path2D/router/
H A Dindex.js37 const ctx = el.getContext('2d');
38 var path1 = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
39 var path2 = ctx.createPath2D();
41 ctx.stroke(path2);
45 const ctx = el.getContext('2d');
46 var path = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
48 ctx.stroke(path);
53 const ctx = el.getContext('2d');
54 var path = ctx.createPath2D();
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/MainAbility/pages/obj_Path2D/router/
H A Dindex.js37 const ctx = el.getContext('2d');
38 var path1 = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
39 var path2 = ctx.createPath2D();
41 ctx.stroke(path2);
45 const ctx = el.getContext('2d');
46 var path = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
48 ctx.stroke(path);
53 const ctx = el.getContext('2d');
54 var path = ctx.createPath2D();
59 ctx
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/pages/obj_Path2D/router/
H A Dindex.js37 const ctx = el.getContext('2d');
38 var path1 = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
39 var path2 = ctx.createPath2D();
41 ctx.stroke(path2);
45 const ctx = el.getContext('2d');
46 var path = ctx.createPath2D("M80 20 L40 100 L120 100 Z");
48 ctx.stroke(path);
53 const ctx = el.getContext('2d');
54 var path = ctx.createPath2D();
59 ctx
[all...]
/test/xts/acts/security/crypto_framework_napi_BasicTest/src/
H A Dcrypto_framework_digest_test.cpp58 EXPECT_EQ(OH_CryptoDigest_Update(in->ctx, in->in), CRYPTO_SUCCESS); in OH_CryptoDigestMultUpdate()
93 OH_CryptoDigest *ctx = nullptr; in HWTEST_P() local
103 ret = OH_CryptoDigest_Create((const char *)mdData.algName, &ctx); in HWTEST_P()
105 ret = OH_CryptoDigest_Update(ctx, &in); in HWTEST_P()
107 ret = OH_CryptoDigest_Final(ctx, &out); in HWTEST_P()
109 mdLen = OH_CryptoDigest_GetLength(ctx); in HWTEST_P()
111 OH_DigestCrypto_Destroy(ctx); in HWTEST_P()
125 OH_CryptoDigest *ctx = nullptr; in HWTEST_F() local
127 EXPECT_EQ(OH_CryptoDigest_Create("MD9", &ctx), CRYPTO_INVALID_PARAMS); in HWTEST_F()
129 EXPECT_EQ(OH_CryptoDigest_Create(nullptr, &ctx), CRYPTO_INVALID_PARAM in HWTEST_F()
142 OH_CryptoDigest *ctx = nullptr; HWTEST_F() local
170 OH_CryptoDigest *ctx = nullptr; HWTEST_F() local
199 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
233 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
267 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
309 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
334 OH_CryptoDigest *ctx = nullptr; HWTEST_P() local
[all...]
/applications/standard/calendardata/calendarmanager/napi/src/
H A Dnapi_queue.cpp77 aCtx->ctx = std::move(ctxt); in AsyncWork()
81 if (aCtx->ctx->callbackRef == nullptr) { in AsyncWork()
95 LOG_DEBUG("AsyncWork napi_async_execute_callback ctxt->status=%{public}d", actx->ctx->status); in AsyncWork()
96 if (actx->execute && actx->ctx->status == napi_ok) { in AsyncWork()
104 status, actx->ctx->status); in AsyncWork()
105 if ((status != napi_ok) && (actx->ctx->status == napi_ok)) { in AsyncWork()
106 actx->ctx->status = status; in AsyncWork()
109 if ((actx->complete) && (status == napi_ok) && (actx->ctx->status == napi_ok)) { in AsyncWork()
124 void NapiQueue::GenerateOutput(AsyncContext &ctx, napi_value output) in GenerateOutput() argument
127 if (ctx in GenerateOutput()
[all...]
/drivers/peripheral/user_auth/hdi_service/adaptor/src/
H A Dadaptor_algorithm.c106 EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_ED25519, NULL); in GenerateEd25519KeyPair() local
107 if (ctx == NULL) { in GenerateEd25519KeyPair()
108 LOG_ERROR("new ctx failed"); in GenerateEd25519KeyPair()
111 if (EVP_PKEY_keygen_init(ctx) != OPENSSL_SUCCESS) { in GenerateEd25519KeyPair()
112 LOG_ERROR("init ctx failed"); in GenerateEd25519KeyPair()
115 if (EVP_PKEY_keygen(ctx, &key) != OPENSSL_SUCCESS) { in GenerateEd25519KeyPair()
140 if (ctx != NULL) { in GenerateEd25519KeyPair()
141 EVP_PKEY_CTX_free(ctx); in GenerateEd25519KeyPair()
159 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); in Ed25519Sign() local
160 if (ctx in Ed25519Sign()
203 EVP_MD_CTX *ctx = EVP_MD_CTX_new(); Ed25519Verify() local
309 SetAesEncryptParam(EVP_CIPHER_CTX *ctx, const AesGcmParam *aesGcmParam) SetAesEncryptParam() argument
347 EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); AesGcmEncrypt() local
391 SetAesDecryptParam(EVP_CIPHER_CTX *ctx, const AesGcmParam *aesGcmParam) SetAesDecryptParam() argument
429 EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); AesGcmDecrypt() local
[all...]

Completed in 6 milliseconds

123