Home
last modified time | relevance | path

Searched refs:ds (Results 1 – 25 of 33) sorted by relevance

12

/AliOS-Things-master/components/freetype/src/autofit/
A Dafstyles.h42 #define STYLE_LATIN( s, S, f, F, ds, df, C ) \ argument
44 ds " " df " style", \
51 #define META_STYLE_LATIN( s, S, ds ) \ argument
52 STYLE_LATIN( s, S, c2cp, C2CP, ds, \
55 STYLE_LATIN( s, S, c2sc, C2SC, ds, \
58 STYLE_LATIN( s, S, ordn, ORDN, ds, \
61 STYLE_LATIN( s, S, pcap, PCAP, ds, \
64 STYLE_LATIN( s, S, sinf, SINF, ds, \
67 STYLE_LATIN( s, S, smcp, SMCP, ds, \
70 STYLE_LATIN( s, S, subs, SUBS, ds, \
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djmemdosa.asm52 push ds
87 push ds
119 push ds
153 push ds
191 push ds
229 push ds
272 push ds
277 mov ds,word ptr es:[bx+8]
309 push ds
313 pop ds
[all …]
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Ddeflate.c956 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
957 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
962 if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL ||
968 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
969 zmemcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos));
970 zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos));
974 ds->d_buf = overlay + ds->lit_bufsize/sizeof(ush);
975 ds->l_buf = ds->pending_buf + (1+sizeof(ush))*ds->lit_bufsize;
977 ds->l_desc.dyn_tree = ds->dyn_ltree;
978 ds->d_desc.dyn_tree = ds->dyn_dtree;
[all …]
/AliOS-Things-master/components/ble_netconfig/
A Dblecfg_linksdk.c42 static int32_t BleCfg_devinfo_kv_save(char *pk, char *dn, char *ds) in BleCfg_devinfo_kv_save() argument
52 || ds == NULL || strlen(ds) >= LIMIT_DEVICE_SECRTE ) { in BleCfg_devinfo_kv_save()
77 && strcmp(device_secret, ds) == 0) { in BleCfg_devinfo_kv_save()
94 ret = aos_kv_set("device_secret", ds, strlen(ds) + 1, 1); in BleCfg_devinfo_kv_save()
103 static int32_t BleCfg_devinfo_kv_load(char *pk, char *dn, char *ds) in BleCfg_devinfo_kv_load() argument
125 ret = aos_kv_get("device_secret", ds, &len); in BleCfg_devinfo_kv_load()
130 BLECFG_LOG_INFO("[%s]: device_secret '%s'\r\n", __func__, ds); in BleCfg_devinfo_kv_load()
135 BLECFG_STATE BleCfg_dev_set(char *pk, char *dn, char *ds) in BleCfg_dev_set() argument
141 || strlen(ds) + 1 >= sizeof(dev_info->device_secret)) { in BleCfg_dev_set()
147 strncpy(dev_info->device_secret, ds, sizeof(dev_info->device_secret)); in BleCfg_dev_set()
A Dblecfg_main.c98 char *ap_buf, *ssid, *passwd, *pk, *dn, *ds; in BleCfg_cmd_parse() local
218 ds = dn + dn_len + 1; in BleCfg_cmd_parse()
226 memcpy(ds, cmd_merge + 5 + pk_len + dn_len, ds_len); in BleCfg_cmd_parse()
227 ds[ds_len] = 0; in BleCfg_cmd_parse()
229 ret = BleCfg_dev_set(pk, dn, ds); in BleCfg_cmd_parse()
237 BLECFG_LOG_INFO("%s: pk = %d, dn = %d, ds = %d\r\n", __func__, pk, dn, ds); in BleCfg_cmd_parse()
A DREADME.md180 BLE_NETCFG_STATE BLE_NetCfg_devinfo_get(char **pk, char **dn, char **ds)
189 | ds | 用于存放返回设备三元组信息device secret |
202 BLE_NETCFG_STATE BLE_NetCfg_devinfo_set(char *pk, char *dn, char *ds)
211 | ds | 传入设备三元组信息device secret |
A Dblecfg_pub.h60 BLECFG_STATE BleCfg_dev_set(char *pk, char *dn, char *ds);
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Ddeflate.c1126 ds->strm = dest;
1128 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1129 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1130 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1134 if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL ||
1140 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
1146 ds->d_buf = overlay + ds->lit_bufsize/sizeof(ush);
1147 ds->l_buf = ds->pending_buf + (1+sizeof(ush))*ds->lit_bufsize;
1149 ds->l_desc.dyn_tree = ds->dyn_ltree;
1150 ds->d_desc.dyn_tree = ds->dyn_dtree;
[all …]
/AliOS-Things-master/components/linkkit/wrappers/os/
A DHAL_PRODUCT_rhino.c164 int HAL_SaveDeviceIdentity(char *pk, char *ps, char *dn, char *ds) in HAL_SaveDeviceIdentity() argument
203 if (HAL_SetDeviceSecret(ds) > 0) { in HAL_SaveDeviceIdentity()
216 len = strlen(ds); in HAL_SaveDeviceIdentity()
217 res = infra_aes128_cfb_encrypt(aes_e_h, ds, len, dec_secret); in HAL_SaveDeviceIdentity()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/
A Dmodule_aiot_gateway.c440 !JS_IsString(ds) || !JS_IsNumber(kl)) { in native_aiot_create_gateway()
447 deviceSecret = JS_ToCString(ctx, ds); in native_aiot_create_gateway()
452 JS_FreeValue(ctx, ds); in native_aiot_create_gateway()
456 memset(ota_svc->ds, 0, sizeof(ota_svc->ds)); in native_aiot_create_gateway()
459 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in native_aiot_create_gateway()
512 subdev[i].device_secret = JS_ToCString(ctx, ds); in native_aiot_addTopo()
513 JS_FreeValue(ctx, ds); in native_aiot_addTopo()
584 subdev[i].device_secret = JS_ToCString(ctx, ds); in native_aiot_removeTopo()
585 JS_FreeValue(ctx, ds); in native_aiot_removeTopo()
694 JS_FreeValue(ctx, ds); in native_aiot_login()
[all …]
A Dmodule_aiot_device.c525 memset(ota_svc->ds, 0, sizeof(ota_svc->ds)); in native_aiot_create_device()
528 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in native_aiot_create_device()
/AliOS-Things-master/components/linkkit/dev_model/
A Ddm_ota.c73 char ds[IOTX_DEVICE_SECRET_LEN + 1] = { 0 }; in dm_ota_switch_device() local
74 int ret = dm_mgr_search_device_by_devid(devid, pk, dn, ds); in dm_ota_switch_device()
/AliOS-Things-master/components/linksdk/components/dynreg-mqtt/
A Daiot_dynregmq_api.c48 char *ds = NULL; in _dynregmq_recv_handler() local
52 &ds, &ds_len); in _dynregmq_recv_handler()
54 if (ds == NULL || ds_len == 0) { in _dynregmq_recv_handler()
64 *(ds + ds_len) = 0; in _dynregmq_recv_handler()
66 recv_data.data.deviceinfo_wl.device_secret = ds; in _dynregmq_recv_handler()
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/
A Daws_lib.h54 void aws_start(char *pk, char *dn, char *ds, char *ps);
/AliOS-Things-master/components/linkkit/include/linkkit/wrappers/
A Dwrappers_os.h72 int HAL_SaveDeviceIdentity(char *pk, char *ps, char *dn, char *ds);
/AliOS-Things-master/components/amp_adapter/platform/aos/haas700/
A Dota_agent.h217 char ds[64+1]; /* Device secret */ member
/AliOS-Things-master/components/ota/include/
A Dota_agent.h217 char ds[64+1]; /* Device secret */ member
/AliOS-Things-master/components/ota/ota_agent/
A Dota_service.c417 memset(ctx->ds, 0, sizeof(ctx->ds)); in ota_service_param_reset()
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_upgrade.c158 aos_kv_get(AMP_INTERNAL_DEVICESECRET, internal_ctx.ds, &devicesecret_len); in py_app_upgrade_service()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/advanced/aiot/
A Dmodule_aiot_device.c560 memset(ota_svc->ds, 0, sizeof(ota_svc->ds)); in native_aiot_create_device()
563 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in native_aiot_create_device()
/AliOS-Things-master/components/linkkit/dynamic_register/
A Ddynreg.c406 char *ds = (char *)pcontext; in _mqtt_dynreg_topic_handle() local
423 memcpy(ds, device_secret + 1, device_secret_len - 2); in _mqtt_dynreg_topic_handle()
/AliOS-Things-master/components/py_engine/engine/extmod/btstack/
A Dmodbluetooth_btstack.c550 STATIC void btstack_init_deinit_timeout_handler(btstack_timer_source_t *ds) { in btstack_init_deinit_timeout_handler() argument
551 (void)ds; in btstack_init_deinit_timeout_handler()
1233 STATIC void scan_duration_timeout_handler(btstack_timer_source_t *ds) { in scan_duration_timeout_handler() argument
1234 (void)ds; in scan_duration_timeout_handler()
/AliOS-Things-master/solutions/ota_demo/
A DREADME.md78 …taappdemo.c中的,mqtt_main函数中的char *product_key, char *device_name, char *device_secret;填入自己的pk,dn,ds;
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_gateway.c480 memset(ota_svc->ds, 0, sizeof(ota_svc->ds)); in aiot_create_gateway()
483 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in aiot_create_gateway()
A Dmodule_aiot_device.c721 memset(ota_svc->ds, 0, sizeof(ota_svc->ds)); in aiot_create_device()
724 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in aiot_create_device()

Completed in 46 milliseconds

12