Home
last modified time | relevance | path

Searched refs:len2 (Results 1 – 25 of 28) sorted by relevance

12

/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 …_cat(dest, src1, len1, src2, len2, item_t) { memcpy(dest, src1, (len1) * sizeof(item_t)); memcpy(d… argument
1003 bool mp_seq_cmp_bytes(mp_uint_t op, const byte *data1, size_t len1, const byte *data2, size_t len2);
1004 …q_cmp_objs(mp_uint_t op, const mp_obj_t *items1, size_t len1, const mp_obj_t *items2, size_t len2);
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dadler32.c143 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
146 z_off64_t len2;
153 if (len2 < 0)
157 MOD63(len2); /* assumes len2 >= 0 */
158 rem = (unsigned)len2;
172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
175 z_off_t len2;
177 return adler32_combine_(adler1, adler2, len2);
180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
183 z_off64_t len2;
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/unused/
A Dcrc32.c372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
375 z_off64_t len2;
383 if (len2 <= 0)
405 if (len2 & 1)
407 len2 >>= 1;
410 if (len2 == 0)
415 if (len2 & 1)
417 len2 >>= 1;
420 } while (len2 != 0);
431 z_off_t len2;
[all …]
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dcrc32.c378 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
381 z_off64_t len2;
389 if (len2 <= 0)
411 if (len2 & 1)
413 len2 >>= 1;
416 if (len2 == 0)
421 if (len2 & 1)
423 len2 >>= 1;
426 } while (len2 != 0);
437 z_off_t len2;
[all …]
A Dadler32.c12 local uLong adler32_combine_(uLong adler1, uLong adler2, z_off64_t len2);
131 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
134 z_off64_t len2;
141 rem = (unsigned)(len2 % BASE);
155 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
158 z_off_t len2;
160 return adler32_combine_(adler1, adler2, len2);
163 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
166 z_off64_t len2;
168 return adler32_combine_(adler1, adler2, len2);
/AliOS-Things-master/components/oss/src/utils/
A DCrc64.cc207 static uint64_t crc64_combine(uint64_t crc1, uint64_t crc2, uintmax_t len2) in crc64_combine() argument
215 if (len2 == 0) in crc64_combine()
237 if (len2 & 1) in crc64_combine()
239 len2 >>= 1; in crc64_combine()
242 if (len2 == 0) in crc64_combine()
247 if (len2 & 1) in crc64_combine()
249 len2 >>= 1; in crc64_combine()
252 } while (len2 != 0); in crc64_combine()
288 uint64_t CRC64::CombineCRC(uint64_t crc1, uint64_t crc2, uintmax_t len2) in CombineCRC() argument
290 return crc64_combine(crc1, crc2, len2); in CombineCRC()
A DCrc64.h28 static uint64_t CombineCRC(uint64_t crc1, uint64_t crc2, uintmax_t len2);
/AliOS-Things-master/components/amp/services/amp_utils/
A Damp_utils.c54 int len2 = strlen(str2); 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/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 …nt len_want, unsigned char **buff1, unsigned char **buff2, unsigned int *len1, unsigned int *len2);
/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 …, unsigned int len_want, CQItemType **e1, unsigned int *len1, CQItemType **e2, unsigned int *len2);
/AliOS-Things-master/components/mbedtls/library/
A Dx509_crl.c258 size_t len2; in x509_get_entries() local
261 if( ( ret = mbedtls_asn1_get_tag( p, end, &len2, in x509_get_entries()
269 cur_entry->raw.len = len2; in x509_get_entries()
270 end2 = *p + len2; in x509_get_entries()
A Decjpake.c957 const unsigned char *xm2, size_t len2 ) in ecjpake_test_load() argument
962 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->xm2, xm2, len2 ) ); in ecjpake_test_load()
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_trace.h282 const unsigned char **buf2, unsigned int *len2), \
283 …{ *buf1 = NULL; } if (len1) { *len1 = 0; } if (buf2) { *buf2 = NULL; } if (len2) { *len2 = 0; } });
/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/linkkit/dev_model/alcs/
A Dalcs_api.c318 int len2 = len1 + 16; in alcs_encrypt() local
319 int pad = len2 - len; in alcs_encrypt()
339 COAP_DEBUG("to encrypt src:%s, len:%d", src, len2); in alcs_encrypt()
340 return ret == 0 ? len2 : 0; in alcs_encrypt()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/pascal/
A Dzlibpas.pas155 function adler32_combine(adler1, adler2, len2: LongInt): LongInt; in adler32_combine()
157 function crc32_combine(crc1, crc2, len2: LongInt): LongInt; in crc32_combine()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dgenpng.c560 double len2 = lx*lx + ly*ly; in line_check() local
579 if (cross*cross >= (w+expand)*(w+expand)*len2) in line_check()
597 return dot > -expand && dot < len2+expand; in line_check()
/AliOS-Things-master/components/linkkit/iot_coap/client/
A Diotx_coap_api.c368 int len2 = len1 + 16; in iotx_aes_cbc_encrypt() local
369 int pad = len2 - len; in iotx_aes_cbc_encrypt()
387 COAP_DEBUG("to encrypt src: %s, len: %d", src, len2); in iotx_aes_cbc_encrypt()
388 return ret == 0 ? len2 : 0; in iotx_aes_cbc_encrypt()
/AliOS-Things-master/components/oss/src/
A DOssClient.cc70 uint64_t AlibabaCloud::OSS::CombineCRC64(uint64_t crc1, uint64_t crc2, uintmax_t len2) in CombineCRC64() argument
72 return CRC64::CombineCRC(crc1, crc2, len2); in CombineCRC64()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/os400/
A Dzlib.inc478 D len2 20U 0 value Buffer length
494 D len2 20U 0 value Buffer length
/AliOS-Things-master/components/oss/include/alibabacloud/oss/
A DOssClient.h55 uint64_t ALIBABACLOUD_OSS_EXPORT CombineCRC64(uint64_t crc1, uint64_t crc2, uintmax_t len2);
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dunicode_gen.c2858 const int *buf2, int len2) in check_str() argument
2860 if (len1 != len2 || tabcmp(buf1, buf2, len1) != 0) { in check_str()
2864 dump_str("ref", buf2, len2); in check_str()

Completed in 48 milliseconds

12