Home
last modified time | relevance | path

Searched refs:len1 (Results 1 – 18 of 18) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dsequence.c92 bool mp_seq_cmp_bytes(mp_uint_t op, const byte *data1, size_t len1, const byte *data2, size_t len2)… in mp_seq_cmp_bytes() argument
93 if (op == MP_BINARY_OP_EQUAL && len1 != len2) { in mp_seq_cmp_bytes()
100 SWAP(size_t, len1, len2); in mp_seq_cmp_bytes()
107 size_t min_len = len1 < len2 ? len1 : len2; in mp_seq_cmp_bytes()
122 if (len1 != len2) { in mp_seq_cmp_bytes()
123 if (len1 < len2) { in mp_seq_cmp_bytes()
137 if (op == MP_BINARY_OP_EQUAL && len1 != len2) { in mp_seq_cmp_objs()
144 SWAP(size_t, len1, len2); in mp_seq_cmp_objs()
152 size_t len = len1 < len2 ? len1 : len2; in mp_seq_cmp_objs()
171 if (len1 != len2) { in mp_seq_cmp_objs()
[all …]
A Dobj.h1002 …define mp_seq_cat(dest, src1, len1, src2, len2, item_t) { memcpy(dest, src1, (len1) * sizeof(item_… argument
1003 bool mp_seq_cmp_bytes(mp_uint_t op, const byte *data1, size_t len1, const byte *data2, size_t len2);
1004 bool mp_seq_cmp_objs(mp_uint_t op, const mp_obj_t *items1, size_t len1, const mp_obj_t *items2, siz…
/AliOS-Things-master/components/amp/services/amp_utils/
A Damp_utils.c53 int len1 = strlen(str1); in end_with() local
56 if (len1 >= len2) { in end_with()
57 if (strcmp(str1 + len1 - len2, str2) == 0) { in end_with()
/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_api.c317 int len1 = len & 0xfffffff0; in alcs_encrypt() local
318 int len2 = len1 + 16; in alcs_encrypt()
322 if (len1) { in alcs_encrypt()
325 ret = infra_aes128_cbc_encrypt(aes_e_h, src, len1 >> 4, out); in alcs_encrypt()
331 memcpy(buf, src + len1, len - len1); in alcs_encrypt()
332 memset(buf + len - len1, pad, pad); in alcs_encrypt()
335 ret = infra_aes128_cbc_encrypt(aes_e_h, buf, 1, (uint8_t *)out + len1); in alcs_encrypt()
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/secure_boot/mincrypt/
A Dsha256.h44 const uint8_t* SHA256_hash2(const void* data1, uint32_t len1, const void* data2, uint32_t len2, uin…
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/kfifo/
A Dkfifo.h20 …int len_want, unsigned char **buff1, unsigned char **buff2, unsigned int *len1, unsigned int *len2…
/AliOS-Things-master/components/linkkit/iot_coap/client/
A Diotx_coap_api.c367 int len1 = len & 0xfffffff0; in iotx_aes_cbc_encrypt() local
368 int len2 = len1 + 16; in iotx_aes_cbc_encrypt()
374 if (len1) { in iotx_aes_cbc_encrypt()
375 ret = infra_aes128_cbc_encrypt(aes_e_h, src, len1 >> 4, out); in iotx_aes_cbc_encrypt()
379 memcpy(buf, src + len1, len - len1); in iotx_aes_cbc_encrypt()
380 memset(buf + len - len1, pad, pad); in iotx_aes_cbc_encrypt()
382 (unsigned char *)out + len1); in iotx_aes_cbc_encrypt()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/osif/
A Dosif.h28 bool osif_memcmp(const uint8_t *buffer1, uint16_t len1, const uint8_t *buffer2, uint16_t len2);
/AliOS-Things-master/hardware/chip/haas1000/drivers/utils/cqueue/
A Dcqueue.h48 int PeekCQueue(CQueue *Q, unsigned int len_want, CQItemType **e1, unsigned int *len1, CQItemType **…
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_uart.h201 uint8_t *buf1, uint32_t len1,
220 const uint8_t *buf1, uint32_t len1,
A Dhal_trace.h281 TRACE_FUNC_DECLARE(void hal_trace_get_history_buffer(const unsigned char **buf1, unsigned int *len1
283 …{ if (buf1) { *buf1 = NULL; } if (len1) { *len1 = 0; } if (buf2) { *buf2 = NULL; } if (len2) { *le…
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/multimedia/speech/inc/
A Dae_math.h75 void speech_conv(float *x, float *y, short len1,int len2, float *out);
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Djscompress.c695 int i, dist, len, len1, dist1; in lz_compress() local
731 len1 = find_longest_match(&dist1, src, src_len, hash_next, i + 1); in lz_compress()
732 if (len1 > len) in lz_compress()
A Dunicode_gen.c2857 const int *buf1, int len1, in check_str() argument
2860 if (len1 != len2 || tabcmp(buf1, buf2, len1) != 0) { in check_str()
2863 dump_str("res", buf1, len1); in check_str()
A Dquickjs.h689 JSValue JS_NewStringLen(JSContext *ctx, const char *str1, size_t len1);
A Dquickjs.c3341 size_t len, len1; in js_atom_concat_str() local
3349 len1 = strlen(str1); in js_atom_concat_str()
3878 size_t len1; in JS_NewStringLen() local
3885 len1 = p - p_start; in JS_NewStringLen()
3937 int len1, len3; in JS_ConcatString3() local
3946 len1 = strlen(str1); in JS_ConcatString3()
37021 uint32_t len1; in js_function_bind() local
37059 len1 = 0; in js_function_bind()
37061 len1 -= arg_count; in js_function_bind()
52279 uint32_t len1; in js_typed_array_constructor_obj() local
[all …]
/AliOS-Things-master/components/mbedtls/library/
A Decjpake.c956 const unsigned char *xm1, size_t len1, in ecjpake_test_load() argument
961 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->xm1, xm1, len1 ) ); in ecjpake_test_load()
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c11139 …s_data_compare(const duk_uint8_t *buf1, const duk_uint8_t *buf2, duk_size_t len1, duk_size_t len2);
30774 duk_size_t len1; in duk_concat_2() local
30783 len1 = (duk_size_t) DUK_HSTRING_GET_BYTELEN(h1); in duk_concat_2()
30785 len = len1 + len2; in duk_concat_2()
30786 if (DUK_UNLIKELY(len < len1 || /* wrapped */ in duk_concat_2()
30793 duk_memcpy((void *) buf, (const void *) DUK_HSTRING_GET_DATA(h1), (size_t) len1); in duk_concat_2()
30794 duk_memcpy((void *) (buf + len1), (const void *) DUK_HSTRING_GET_DATA(h2), (size_t) len2); in duk_concat_2()
87552 …_data_compare(const duk_uint8_t *buf1, const duk_uint8_t *buf2, duk_size_t len1, duk_size_t len2) { argument
87556 prefix_len = (len1 <= len2 ? len1 : len2);
87572 if (len1 < len2) {
[all …]

Completed in 373 milliseconds