Home
last modified time | relevance | path

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

12345678910>>...17

/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...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
H A Dkapi_hash.c232 static hi_void kapi_hmac_cal_ipad_opad(kapi_hash_ctx *ctx) in kapi_hmac_cal_ipad_opad() argument
236 for (i = 0; i < ctx->func->block_size; i++) { in kapi_hmac_cal_ipad_opad()
237 ctx->hmac_ipad[i] ^= HMAC_IPAD_BYTE; in kapi_hmac_cal_ipad_opad()
238 ctx->hmac_opad[i] ^= HMAC_OPAD_BYTE; in kapi_hmac_cal_ipad_opad()
242 static hi_s32 kapi_hmac_start(kapi_hash_ctx *ctx, const hi_u8 *key, hi_u32 keylen) in kapi_hmac_start() argument
253 if ((memset_s(ctx->hmac_ipad, HASH_BLOCK_SIZE_128, 0x00, ctx->func->block_size) != EOK) || in kapi_hmac_start()
254 (memset_s(ctx->hmac_opad, HASH_BLOCK_SIZE_128, 0x00, ctx->func->block_size) != EOK)) { in kapi_hmac_start()
260 if (keylen <= ctx in kapi_hmac_start()
320 kapi_hmac_finish(kapi_hash_ctx *ctx, hi_u8 *hash, hi_u32 hash_buf_len, hi_u32 *hashlen) kapi_hmac_finish() argument
364 kapi_hash_finsh_calc(kapi_hash_ctx *ctx, hi_u8 *hash, hi_u32 hash_buf_len, hi_u32 *hashlen) kapi_hash_finsh_calc() argument
388 kapi_hash_ctx *ctx = HI_NULL; kapi_hash_chk_ctx() local
408 kapi_hash_set_ctx(kapi_hash_ctx *ctx, hash_mode mode, hi_u32 hmac) kapi_hash_set_ctx() argument
433 kapi_hash_create_calc(kapi_hash_ctx *ctx, hash_mode mode, hi_u32 hmac, const hi_u8 *key, hi_u32 keylen) kapi_hash_create_calc() argument
485 kapi_hash_ctx *ctx = HI_NULL; kapi_hash_start() local
548 kapi_hash_ctx *ctx = HI_NULL; kapi_hash_update() local
589 kapi_hash_ctx *ctx = HI_NULL; kapi_hash_finish() local
641 kapi_hash_ctx *ctx = HI_NULL; kapi_hash_release() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/
H A Dtransfer.c231 upload_context *ctx = g_upload_ctx; in upload_send_file_info() local
234 hi_s32 temp_length = (hi_s32)ctx->file_length; in upload_send_file_info()
241 if (ctx->retry > 0) { in upload_send_file_info()
242 serial_put_buf((const char *)ctx->buffer, SOH_MSG_TOTAL_LEN); in upload_send_file_info()
246 hi_u32 check_sum_val = (uintptr_t)(ctx->buffer) ^ (hi_u32)sizeof(ctx->buffer) ^ 0 ^ (hi_u32)sizeof(ctx->buffer); in upload_send_file_info()
247 (hi_void) memset_s(ctx->buffer, sizeof(ctx->buffer), 0, sizeof(ctx in upload_send_file_info()
285 upload_context *ctx = g_upload_ctx; upload_send_null_info() local
304 upload_context *ctx = g_upload_ctx; upload_send_data() local
420 upload_context *ctx = g_upload_ctx; upload_serial_ymodem() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
H A Dcipher.h382 * \param ctx The context to be initialized. This must not be \c NULL.
384 void mbedtls_cipher_init( mbedtls_cipher_context_t *ctx );
388 * context of \p ctx. Freeing \p ctx itself remains the
391 * \param ctx The context to be freed. If this is \c NULL, the
395 void mbedtls_cipher_free( mbedtls_cipher_context_t *ctx );
403 * \param ctx The context to initialize. This must be initialized.
416 int mbedtls_cipher_setup( mbedtls_cipher_context_t *ctx,
422 * \param ctx The context of the cipher. This must be initialized.
425 * \return \c 0 if \p ctx ha
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/
H A Dext_sm3.c171 static hi_void sm3_init(ext_sm3_context *ctx) in sm3_init() argument
175 ctx->state[WORD_IDX_0] = SM3_H0; in sm3_init()
176 ctx->state[WORD_IDX_1] = SM3_H1; in sm3_init()
177 ctx->state[WORD_IDX_2] = SM3_H2; in sm3_init()
178 ctx->state[WORD_IDX_3] = SM3_H3; in sm3_init()
179 ctx->state[WORD_IDX_4] = SM3_H4; in sm3_init()
180 ctx->state[WORD_IDX_5] = SM3_H5; in sm3_init()
181 ctx->state[WORD_IDX_6] = SM3_H6; in sm3_init()
182 ctx->state[WORD_IDX_7] = SM3_H7; in sm3_init()
189 static hi_s32 sm3_update(ext_sm3_context *ctx, cons argument
247 sm3_final(ext_sm3_context *ctx, hi_u8 *digest, hi_u32 digest_len) sm3_final() argument
305 ext_sm3_context *ctx = HI_NULL; ext_sm3_create() local
323 ext_sm3_update(hi_void *ctx, const hi_u8 *chunk, hi_u32 chunk_len, hash_chunk_src src) ext_sm3_update() argument
376 ext_sm3_finish(hi_void *ctx, hi_void *hash, hi_u32 hash_buf_len, hi_u32 *hashlen) ext_sm3_finish() argument
394 ext_sm3_destory(hi_void *ctx) ext_sm3_destory() argument
[all...]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
H A Dvpu_api.cpp37 vpu_api_init(VpuCodecContext *ctx, RK_U8 *extraData, RK_U32 extra_size) in vpu_api_init() argument
40 if (ctx == nullptr) { in vpu_api_init()
44 VpuApiLegacy* api = (VpuApiLegacy*)(ctx->vpuApiObj); in vpu_api_init()
50 return api->init(ctx, extraData, extra_size); in vpu_api_init()
54 vpu_api_decode(VpuCodecContext *ctx, VideoPacket_t *pkt, DecoderOut_t *aDecOut) in vpu_api_decode() argument
56 if (ctx == nullptr) { in vpu_api_decode()
61 VpuApiLegacy* api = (VpuApiLegacy*)(ctx->vpuApiObj); in vpu_api_decode()
67 return api->decode(ctx, pkt, aDecOut); in vpu_api_decode()
69 static RK_S32 vpu_api_sendstream(VpuCodecContext *ctx, VideoPacket_t *pkt) in vpu_api_sendstream() argument
71 if (ctx in vpu_api_sendstream()
85 vpu_api_getframe(VpuCodecContext *ctx, DecoderOut_t *aDecOut) vpu_api_getframe() argument
102 vpu_api_sendframe(VpuCodecContext *ctx, EncInputStream_t *aEncInStrm) vpu_api_sendframe() argument
118 vpu_api_getstream(VpuCodecContext *ctx, EncoderOut_t *aEncOut) vpu_api_getstream() argument
135 vpu_api_encode(VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut) vpu_api_encode() argument
152 vpu_api_flush(VpuCodecContext *ctx) vpu_api_flush() argument
169 vpu_api_control(VpuCodecContext *ctx, VPU_API_CMD cmdType, void *param) vpu_api_control() argument
248 open_orign_vpu(VpuCodecContext **ctx) open_orign_vpu() argument
256 close_orign_vpu(VpuCodecContext **ctx) close_orign_vpu() argument
268 vpu_open_context(VpuCodecContext **ctx) vpu_open_context() argument
419 vpu_close_context(VpuCodecContext **ctx) vpu_close_context() argument
[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...]
/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...]

Completed in 8 milliseconds

12345678910>>...17