/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | ccm_mode.c | 139 unsigned int alen, const uint8_t *payload, in tc_ccm_generation_encryption() argument 147 ((alen > 0) && (associated_data == (uint8_t *) 0)) || in tc_ccm_generation_encryption() 161 b[0] = ((alen > 0) ? 0x40:0) | (((c->mlen - 2) / 2 << 3)) | (1); in tc_ccm_generation_encryption() 170 if (alen > 0) { in tc_ccm_generation_encryption() 171 ccm_cbc_mac(tag, associated_data, alen, 1, c->sched); in tc_ccm_generation_encryption() 200 unsigned int alen, const uint8_t *payload, in tc_ccm_decryption_verification() argument 205 if ((plen <= alen) || in tc_ccm_decryption_verification() 209 ((alen > 0) && (associated_data == (uint8_t *) 0)) || in tc_ccm_decryption_verification() 243 b[0] = ((alen > 0) ? 0x40:0)|(((c->mlen - 2) / 2 << 3)) | (1); in tc_ccm_decryption_verification() 252 if (alen > 0) { in tc_ccm_decryption_verification() [all …]
|
/AliOS-Things-master/components/linkkit/mqtt/impl/ |
A D | MQTTPacket.c | 252 int alen = 0, blen = 0; in MQTTPacket_equals() local 257 alen = strlen(a->cstring); in MQTTPacket_equals() 260 alen = a->lenstring.len; in MQTTPacket_equals() 265 alen = a->lenstring.len; in MQTTPacket_equals() 266 blen = alen; in MQTTPacket_equals() 268 return (alen == blen) && (memcmp(aptr, bptr, alen) == 0); in MQTTPacket_equals()
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/ |
A D | ccm_mode.h | 158 unsigned int alen, const uint8_t *payload, 204 unsigned int alen, const uint8_t *payload, unsigned int plen,
|
/AliOS-Things-master/components/mqtt/MQTTPacket/ |
A D | MQTTPacket.c | 262 int alen = 0, in MQTTPacket_equals() local 269 alen = strlen(a->cstring); in MQTTPacket_equals() 274 alen = a->lenstring.len; in MQTTPacket_equals() 278 return (alen == blen) && (strncmp(aptr, bptr, alen) == 0); in MQTTPacket_equals()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/ |
A D | rpng-win.c | 172 int rc, alen, flen; in WinMain() local 393 alen = strlen(appname); in WinMain() 395 if (alen + flen + 3 > 1023) in WinMain() 396 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023)); in WinMain()
|
A D | rpng-x.c | 171 int rc, alen, flen; in main() local 346 alen = strlen(appname); in main() 348 if (alen + flen + 3 > 1023) in main() 349 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023)); in main()
|
A D | rpng2-win.c | 281 int rc, alen, flen; in WinMain() local 541 alen = strlen(appname); in WinMain() 543 if (alen + flen + 3 > 1023) in WinMain() 544 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023)); in WinMain()
|
A D | rpng2-x.c | 316 int rc, alen, flen; in main() local 565 alen = strlen(appname); in main() 567 if (alen + flen + 3 > 1023) in main() 568 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023)); in main()
|
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/ |
A D | lfs1.h | 203 uint8_t alen; member 258 uint8_t alen; member
|
A D | lfs1.c | 405 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen; in lfs1_entry_size() 804 entry->d.alen = 0; in lfs1_dir_find() 878 entry->off + 4+entry->d.elen+entry->d.alen, in lfs1_dir_find() 942 entry.d.alen = 0; in lfs1_mkdir() 1053 entry.off + 4+entry.d.elen+entry.d.alen, in lfs1_dir_read() 1321 entry.d.alen = 0; in lfs1_file_opencfg() 1853 entry.off + 4+entry.d.elen+entry.d.alen, in lfs1_stat()
|
A D | lfs2.c | 4255 uint8_t alen; member 4288 uint8_t alen; member 4364 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen; 4705 entry1.off + 4+entry1.d.elen+entry1.d.alen,
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_frame.c | 844 static int bytes_compar(const uint8_t *a, size_t alen, const uint8_t *b, in bytes_compar() argument 849 if (alen == blen) { in bytes_compar() 850 return memcmp(a, b, alen); in bytes_compar() 853 if (alen < blen) { in bytes_compar() 854 rv = memcmp(a, b, alen); in bytes_compar()
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftstroke.c | 1482 FT_Fixed blen, sinA, sinB, alen; in FT_Stroker_ConicTo() local 1497 alen = FT_MulDiv( blen, sinA, sinB ); in FT_Stroker_ConicTo() 1499 FT_Vector_From_Polar( &delta, alen, beta ); in FT_Stroker_ConicTo() 1689 FT_Fixed blen, sinA, sinB, alen; in FT_Stroker_CubicTo() local 1704 alen = FT_MulDiv( blen, sinA, sinB ); in FT_Stroker_CubicTo() 1706 FT_Vector_From_Polar( &delta, alen, beta ); in FT_Stroker_CubicTo()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | ecp_curves.c | 586 const mbedtls_mpi_uint *a, size_t alen, in ecp_group_load() argument 594 ecp_mpi_load( &grp->A, a, alen ); in ecp_group_load()
|
/AliOS-Things-master/components/freetype/src/bdf/ |
A D | bdflib.c | 520 unsigned long *alen ) in _bdf_list_join() argument 526 *alen = 0; in _bdf_list_join() 546 *alen = j; in _bdf_list_join()
|
/AliOS-Things-master/components/littlefs/src/littlefs-v220/ |
A D | lfs.c | 4651 uint8_t alen; member 4684 uint8_t alen; member 4760 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen; in lfs1_entry_size() 5119 entry1.off + 4+entry1.d.elen+entry1.d.alen, in lfs_migrate()
|