/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_draw.h | 54 unsigned sr, sg, sb, sa = 0xFF; \ 57 sg = DRAW_MUL(inva, sg) + g; \ 65 unsigned sr, sg, sb, sa; (void) sa; \ 68 sg += g; if (sg > 0xff) sg = 0xff; \ 75 unsigned sr, sg, sb, sa; (void) sa; \ 78 sg = DRAW_MUL(sg, g); \ 85 unsigned sr, sg, sb, sa; sa = 0xFF; \ 88 sg = DRAW_MUL(sg, g) + DRAW_MUL(inva, sg); if (sg > 0xff) sg = 0xff; \ 106 DRAW_SETPIXEL(RGB555_FROM_RGB(*pixel, sr, sg, sb)) 144 DRAW_SETPIXEL(RGB565_FROM_RGB(*pixel, sr, sg, sb)) [all …]
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | crypto.c | 61 struct bt_mesh_sg sg[3]; in bt_mesh_k2() local 83 sg[0].data = NULL; in bt_mesh_k2() 84 sg[0].len = 0; in bt_mesh_k2() 85 sg[1].data = p; in bt_mesh_k2() 86 sg[1].len = p_len; in bt_mesh_k2() 87 sg[2].data = &pad; in bt_mesh_k2() 90 err = bt_mesh_aes_cmac(t, sg, ARRAY_SIZE(sg), out); in bt_mesh_k2() 97 sg[0].data = out; in bt_mesh_k2() 101 err = bt_mesh_aes_cmac(t, sg, ARRAY_SIZE(sg), out); in bt_mesh_k2() 110 err = bt_mesh_aes_cmac(t, sg, ARRAY_SIZE(sg), out); in bt_mesh_k2() [all …]
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/ |
A D | crypto.h | 14 int bt_mesh_aes_cmac(const u8_t key[16], struct bt_mesh_sg *sg, 20 struct bt_mesh_sg sg = { m, len }; in bt_mesh_aes_cmac_one() local 22 return bt_mesh_aes_cmac(key, &sg, 1, mac); in bt_mesh_aes_cmac_one() 112 struct bt_mesh_sg sg[] = { in bt_mesh_prov_salt() local 118 return bt_mesh_aes_cmac(prov_salt_key, sg, ARRAY_SIZE(sg), prov_salt); in bt_mesh_prov_salt()
|
/AliOS-Things-master/components/ble_host/bt_crypto/ |
A D | bt_crypto.c | 413 __BT_CRYPTO_WEAK__ int bt_crypto_aes_cmac(const u8_t key[16], struct bt_crypto_sg *sg, in bt_crypto_aes_cmac() argument 423 for (; sg_len; sg_len--, sg++) { in bt_crypto_aes_cmac() 424 if (tc_cmac_update(&state, sg->data, in bt_crypto_aes_cmac() 425 sg->len) == TC_CRYPTO_FAIL) { in bt_crypto_aes_cmac()
|
/AliOS-Things-master/components/ble_host/bt_crypto/include/ |
A D | bt_crypto.h | 37 int bt_crypto_aes_cmac(const uint8_t key[16], struct bt_crypto_sg *sg,
|
/AliOS-Things-master/components/SDL2/test/ |
A D | Makefile.os2 | 47 CFLAGS = $(INCPATH) -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | smp.c | 517 struct bt_crypto_sg sg; in bt_smp_aes_cmac() 519 sg.data = in; in bt_smp_aes_cmac() 520 sg.len = len; in bt_smp_aes_cmac() 522 return bt_crypto_aes_cmac(key, &sg, 1, out); in bt_smp_aes_cmac()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/ |
A D | pngvalid.c | 9305 const double sg = dp->screen_gamma; in gamma_info_imp() local 9307 png_fixed_point g = fix(sg); in gamma_info_imp() 9311 png_set_alpha_mode(pp, mode, sg); in gamma_info_imp() 9320 if (mode == PNG_ALPHA_STANDARD && sg != 1) in gamma_info_imp() 9323 png_set_gamma(pp, sg, dp->file_gamma); in gamma_info_imp()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/ |
A D | CHANGELOG | 855 - Support sg for ml region. 1643 - Support sg for region.
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/images/ |
A D | rgb-3c-8b.ppm | 4 …?U�:V�7V�7W�7W�7V�5V�4U�/V�2W�4U�3S�.R�OW��v�������x~�&N�E�G�F�H�_a�tj�sg��x������������������… 240 …vb:n]1sm9x}>x�Ey�Dx�E{�F{�Dtw?mh7qm:ow=v�At�@{�K�Q�O��O��K|�D{i8xW/v[,ub-sg.pj+nr/p�4q�5o�2js0o|…
|
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | testimg.ppm | 5 …^M;^M;^M;^M;^M;^M;^M;^M;^M;^M;^M;_K2_M5aO9_P;\O>ZN@XPEXQKYQO^X\g`hnfsshysg{sg}tfnnzor�rw�v|�y��~�…
|