Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 145) sorted by relevance

123456

/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/src/
DMQTTConnectClient.c27 int MQTTSerialize_connectLength(MQTTPacket_connectData* options) in MQTTSerialize_connectLength() argument
33 if (options->MQTTVersion == 3) in MQTTSerialize_connectLength()
35 else if (options->MQTTVersion == 4) in MQTTSerialize_connectLength()
38 len += MQTTstrlen(options->clientID)+2; in MQTTSerialize_connectLength()
39 if (options->willFlag) in MQTTSerialize_connectLength()
40 len += MQTTstrlen(options->will.topicName)+2 + MQTTstrlen(options->will.message)+2; in MQTTSerialize_connectLength()
41 if (options->username.cstring || options->username.lenstring.data) in MQTTSerialize_connectLength()
42 len += MQTTstrlen(options->username)+2; in MQTTSerialize_connectLength()
43 if (options->password.cstring || options->password.lenstring.data) in MQTTSerialize_connectLength()
44 len += MQTTstrlen(options->password)+2; in MQTTSerialize_connectLength()
[all …]
/device/board/isoftstone/yangfan/common/mqtt/mqttclient_c/test/
Dtest1.c56 } options = variable
77 options.test_no = atoi(argv[count]); in getopts()
85 options.host = argv[count]; in getopts()
86 printf("\nSetting host to %s\n", options.host); in getopts()
95 options.port = atoi(argv[count]); in getopts()
96 printf("\nSetting port to %d\n", options.port); in getopts()
105 options.proxy_host = argv[count]; in getopts()
106 printf("\nSetting proxy_host to %s\n", options.proxy_host); in getopts()
115 options.proxy_port = atoi(argv[count]); in getopts()
116 printf("\nSetting proxy_port to %d\n", options.proxy_port); in getopts()
[all …]
/device/board/isoftstone/yangfan/common/mqtt/mqttclient/test/
Dtest1.cpp54 } options = variable
75 options.test_no = atoi(argv[count]); in getopts()
83 options.host = argv[count]; in getopts()
84 printf("\nSetting host to %s\n", options.host); in getopts()
93 options.port = atoi(argv[count]); in getopts()
94 printf("\nSetting port to %d\n", options.port); in getopts()
102 options.proxy_host = argv[count]; in getopts()
110 options.proxy_port = atoi(argv[count]); in getopts()
111 printf("\nSetting proxy port to %d\n", options.proxy_port); in getopts()
120 options.MQTTVersion = atoi(argv[count]); in getopts()
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
Dscons_utils.py177 options = usr_cfg_main()
178 value = options.get(option)
184 options = usr_cfg_main()
185 return int(options.get(option))
188 options = usr_cfg_main()
189 if option in options.keys():
190 return options[option].lower()
197 options = sys_cfg_main()
198 if option in options.keys():
199 return options[option].strip('"')
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/scripts/
Dscons_utils.py177 options = usr_cfg_main()
178 value = options.get(option)
184 options = usr_cfg_main()
185 return int(options.get(option))
188 options = usr_cfg_main()
189 if option in options.keys():
190 return options[option].lower()
197 options = sys_cfg_main()
198 if option in options.keys():
199 return options[option].strip('"')
[all …]
/device/board/isoftstone/yangfan/common/mqtt/mqttpacket/test/
Dtest1.c48 } options = { variable
67 options.test_no = atoi(argv[count]); in getopts()
73 options.connection = argv[count]; in getopts()
74 printf("\nSetting connection to %s\n", options.connection); in getopts()
81 options.hacount = 0; in getopts()
82 options.haconnections = malloc(sizeof(char*) * 5); in getopts()
84 options.haconnections[options.hacount] = malloc(strlen(tok) + 1); in getopts()
85 strcpy(options.haconnections[options.hacount], tok); in getopts()
86 options.hacount++; in getopts()
93 options.verbose = 1; in getopts()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/lwip-2.1/dhcps/
Ddhcps.c214 memset(resp->options, 0, sizeof(resp->options)); in newResp()
237 option_ptr = (uint8_t *) &resp->options; in handleDiscover()
279 option_ptr = (uint8_t *) &req->options; in handleRequest()
300 option_ptr = (uint8_t *) &resp->options; in handleRequest()
331 option_ptr = (uint8_t *) &resp->options; in handleRequest()
379 switch (req->options[2]) { in dhcpRecv()
394 dbg("DHCP unknown option %d\n", req->options[2]); in dhcpRecv()
/device/board/talkweb/niobe407/applications/004_system_event/
DREADME_zh.md56 /// \param[in] options specifies flags options (osFlagsXxxx).
59 uint32_t osEventFlagsWait(osEventFlagsId_t ef_id,uint32_t flags,uint32_t options,uint32_t timeout)
73 | options | 指定标记选项. |
123 /// \param[in] options specifies flags options (osFlagsXxxx).
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
Dmac_data.c165 …tmp = mac_dhcp_get_type(dhcp_message->options, dhcp_message->options + sizeof(dhcp_message->option… in mac_get_ipv4_data_type()
/device/board/isoftstone/yangfan/common/mqtt/mqttclient_c/src/
DMQTTClient.c468 int MQTTConnectWithResults(MQTTClient* c, MQTTPacket_connectData* options, MQTTConnackData* data) in MQTTConnectWithResults() argument
484 if (options == 0) in MQTTConnectWithResults()
485 options = &default_options; /* set default options if none were supplied */ in MQTTConnectWithResults()
487 c->keepAliveInterval = options->keepAliveInterval; in MQTTConnectWithResults()
488 c->cleansession = options->cleansession; in MQTTConnectWithResults()
490 if ((len = MQTTSerialize_connect(c->buf, c->buf_size, options)) <= 0) in MQTTConnectWithResults()
523 int MQTTConnect(MQTTClient* c, MQTTPacket_connectData* options) in MQTTConnect() argument
526 return MQTTConnectWithResults(c, options, &data); in MQTTConnect()
DMQTTClient.h148 DLLExport int MQTTConnectWithResults(MQTTClient* client, MQTTPacket_connectData* options,
156 DLLExport int MQTTConnect(MQTTClient* client, MQTTPacket_connectData* options);
/device/board/bearpi/bearpi_hm_nano/third_party/paho_mqtt/MQTTClient-C/src/
DMQTTClient.h135 DLLExport int MQTTConnectWithResults(MQTTClient* client, MQTTPacket_connectData* options,
143 DLLExport int MQTTConnect(MQTTClient* client, MQTTPacket_connectData* options);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_cfgnan.c859 sub_cmd->len = sizeof(sub_cmd->u.options) + evmask_cmd_len; in wl_cfgnan_config_eventmask()
860 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_config_eventmask()
1016 sub_cmd->len = sizeof(sub_cmd->u.options) + subcmd_len; in wl_cfgnan_set_nan_avail()
1018 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_set_nan_avail()
1150 sub_cmd->len = sizeof(sub_cmd->u.options) + avail->length; in wl_cfgnan_set_nan_avail()
1151 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_set_nan_avail()
1232 sub_cmd->len = sizeof(sub_cmd->u.options) + sizeof(cfg_ctrl); in wl_cfgnan_config_control_flag()
1233 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_config_control_flag()
1393 sub_cmd->len = sizeof(sub_cmd->u.options) + sizeof(*if_addr); in wl_cfgnan_if_addr_handler()
1394 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_if_addr_handler()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwl_cfgnan.c868 sub_cmd->len = sizeof(sub_cmd->u.options) + evmask_cmd_len; in wl_cfgnan_config_eventmask()
869 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_config_eventmask()
1026 sub_cmd->len = sizeof(sub_cmd->u.options) + subcmd_len; in wl_cfgnan_set_nan_avail()
1028 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_set_nan_avail()
1160 sub_cmd->len = sizeof(sub_cmd->u.options) + avail->length; in wl_cfgnan_set_nan_avail()
1161 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_set_nan_avail()
1243 sub_cmd->len = sizeof(sub_cmd->u.options) + sizeof(cfg_ctrl); in wl_cfgnan_config_control_flag()
1244 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_config_control_flag()
1401 sub_cmd->len = sizeof(sub_cmd->u.options) + sizeof(*if_addr); in wl_cfgnan_if_addr_handler()
1402 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_if_addr_handler()
[all …]
/device/board/isoftstone/yangfan/common/mqtt/mqttclient/src/
DMQTTClient.h155 int connect(MQTTPacket_connectData& options);
163 int connect(MQTTPacket_connectData& options, connackData& data);
732 int MQTT::Client<Network, Timer, MAX_MQTT_PACKET_SIZE, b>::connect(MQTTPacket_connectData& options,… in connect() argument
741 this->keepAliveInterval = options.keepAliveInterval; in connect()
742 this->cleansession = options.cleansession; in connect()
743 if ((len = MQTTSerialize_connect(sendbuf, MAX_MQTT_PACKET_SIZE, &options)) <= 0) in connect()
794 int MQTT::Client<Network, Timer, MAX_MQTT_PACKET_SIZE, b>::connect(MQTTPacket_connectData& options) in connect() argument
797 return connect(options, data); in connect()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_cfgnan.c1058 sub_cmd->len = sizeof(sub_cmd->u.options) + evmask_cmd_len; in wl_cfgnan_config_eventmask()
1059 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_config_eventmask()
1216 sub_cmd->len = sizeof(sub_cmd->u.options) + subcmd_len; in wl_cfgnan_set_nan_avail()
1218 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_set_nan_avail()
1350 sub_cmd->len = sizeof(sub_cmd->u.options) + avail->length; in wl_cfgnan_set_nan_avail()
1351 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_set_nan_avail()
1441 sub_cmd->len = sizeof(sub_cmd->u.options) + cfg_ctrl_size; in wl_cfgnan_config_control_flag()
1442 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_config_control_flag()
1620 sub_cmd->len = sizeof(sub_cmd->u.options) + sizeof(*if_addr); in wl_cfgnan_if_addr_handler()
1621 sub_cmd->u.options = htol32(BCM_XTLV_OPTION_ALIGN32); in wl_cfgnan_if_addr_handler()
[all …]
/device/board/bearpi/bearpi_hm_nano/app/A3_kernel_event/
DREADME.md46 uint32_t osEventFlagsWait(osEventFlagsId_t ef_id,uint32_t flags,uint32_t options,uint32_t timeout)
60 | options | 指定标志选项。 |
/device/soc/bestechnic/bes2600/liteos_m/components/drivers/flash/
Dflash_conf.c150 uint32_t options[] = HCS_ARRAYS(HCS_NODE(DISPLAY_MISC_STORAGE_FLASH_CONFIG, options)); in FlashGetResource() local
161 g_halPartitions[partition].partition_options = options[i]; in FlashGetResource()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
DMQTTClient.h590 int persistence_type, void* persistence_context, MQTTClient_createOptions* options);
966 DLLExport int MQTTClient_connect(MQTTClient handle, MQTTClient_connectOptions* options);
982 DLLExport MQTTResponse MQTTClient_connect5(MQTTClient handle, MQTTClient_connectOptions* options,
DMQTTAsync.h845 int persistence_type, void* persistence_context, MQTTAsync_createOptions* options);
1210 DLLExport int MQTTAsync_connect(MQTTAsync handle, const MQTTAsync_connectOptions* options);
1287 DLLExport int MQTTAsync_disconnect(MQTTAsync handle, const MQTTAsync_disconnectOptions* options);
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/
Dhi_spi.c193 hi_u32 options) in spi_host_writeread() argument
198 (!(options & SPI_OPT_SEND_FIX_DATA) && (write_data == HI_NULL)) || in spi_host_writeread()
199 (!(options & SPI_OPT_RCV_FIX_DATA) && (read_data == HI_NULL))) { in spi_host_writeread()
215 spi_trans_attr trans_attr = { SPI_HOST_TIMEOUT_MS, options }; in spi_host_writeread()
232 ret = spi_transfer_8bits_block(g_spi_ctrl[id], options); in spi_host_writeread()
234 ret = spi_transfer_16bits_block(g_spi_ctrl[id], options); in spi_host_writeread()
/device/soc/esp/esp32/components/esp_lwip/apps/
Ddhcpserver.c447 memset((char *) m->options, 0, sizeof(m->options)); in create_msg()
451 memcpy((char *) m->options, &magic_cookie_temp, sizeof(magic_cookie_temp)); in create_msg()
486 end = add_msg_type(&m->options[4], DHCPOFFER); in send_offer()
565 end = add_msg_type(&m->options[4], DHCPNAK); in send_nak()
641 end = add_msg_type(&m->options[4], DHCPACK); in send_ack()
819 if (memcmp((char *)m->options, &magic_cookie, sizeof(magic_cookie)) == 0) { in parse_msg()
917 s16_t ret = parse_options(&m->options[4], len);; in parse_msg()
/device/soc/rockchip/common/vendor/drivers/dma-buf/
DKconfig1 menu "VENDOR DMABUF options"
/device/board/osware/imx8mm/common/rootfs/
Dfstab.required2 … <mnt_point> <type> <mnt_flags and options> …
Dfstab.imx8mm2 … <mnt_point> <type> <mnt_flags and options> …

123456