Home
last modified time | relevance | path

Searched refs:valuestring (Results 1 – 21 of 21) sorted by relevance

/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c140 if (strcmp(dir->valuestring, GPIO_DIR_INPUT) == 0) { in board_parse_gpio()
439 if (strcmp(temp->valuestring, I2C_MASTER) == 0) { in board_parse_i2c()
535 if (strcmp(temp->valuestring, SPI_MODE_0) == 0) { in board_parse_spi()
1053 if (!strcmp(out_device->valuestring, "speaker")) in board_parse_audio()
1289 if(strcmp(debug->valuestring, "DEBUG") == 0) { in board_parse_json_buff()
1292 else if(strcmp(debug->valuestring, "INFO") == 0) { in board_parse_json_buff()
1295 else if(strcmp(debug->valuestring, "WARN") == 0) { in board_parse_json_buff()
1299 else if(strcmp(debug->valuestring, "ERROR") == 0) { in board_parse_json_buff()
1303 else if(strcmp(debug->valuestring, "FATAL") == 0) { in board_parse_json_buff()
1358 if (strcmp(repl->valuestring, "disable") == 0) { in board_parse_json_buff()
[all …]
/AliOS-Things-master/components/py_engine/modules/driver/
A Dboard_mgr.c125 if (strcmp(dir->valuestring, GPIO_DIR_INPUT) == 0) { in board_parse_gpio()
126 if (strcmp(GPIO_PULL_DOWN, pull->valuestring) == 0) in board_parse_gpio()
389 if (strcmp(temp->valuestring, I2C_MASTER) == 0) { in board_parse_i2c()
725 if (strcmp(debug->valuestring, "DEBUG") == 0) { in board_parse_json_buff()
727 } else if (strcmp(debug->valuestring, "INFO") == 0) { in board_parse_json_buff()
729 } else if (strcmp(debug->valuestring, "WARN") == 0) { in board_parse_json_buff()
731 } else if (strcmp(debug->valuestring, "ERROR") == 0) { in board_parse_json_buff()
733 } else if (strcmp(debug->valuestring, "FATAL") == 0) { in board_parse_json_buff()
759 LOGD(LOG_TAG, "get page:%s", page->valuestring); in board_parse_json_buff()
779 if (strcmp(repl->valuestring, "disable") == 0) { in board_parse_json_buff()
[all …]
/AliOS-Things-master/components/ota/ota_agent/transport/
A Dota_transport_mqtt.c45 if ((strncmp(message->valuestring, "success", strlen("success")))) { in ota_sevice_parse_msg()
59 strncpy(ota_param.url, url->valuestring, OTA_URL_LEN - 1); in ota_sevice_parse_msg()
64 strncpy(ctx->module_name, submodule->valuestring, sizeof(ctx->module_name) - 1); in ota_sevice_parse_msg()
65 OTA_LOG_I("submode = %s\r\n", submodule->valuestring); in ota_sevice_parse_msg()
72 strncpy(ota_param.ver, version->valuestring, sizeof(ota_param.ver)); in ota_sevice_parse_msg()
77 ret = ota_to_capital(signMethod->valuestring, strlen(signMethod->valuestring)); in ota_sevice_parse_msg()
82 if (0 == strncmp(signMethod->valuestring, "MD5", strlen("MD5"))) { in ota_sevice_parse_msg()
89 strncpy(ota_param.hash, md5->valuestring, OTA_HASH_LEN - 1); in ota_sevice_parse_msg()
102 strncpy(ota_param.hash, sha256->valuestring, OTA_HASH_LEN - 1); in ota_sevice_parse_msg()
120 strncpy(ota_param.hash, md5->valuestring, OTA_HASH_LEN - 1); in ota_sevice_parse_msg()
[all …]
/AliOS-Things-master/components/py_engine/modules/network/
A Dqrcode.c96 if (strlen(ssid_elem->valuestring) > NETWORK_SSID_MAX_LEN || in network_qrscan_result_process()
97 strlen(passwd_elem->valuestring) > NETWORK_PASSWD_MAX_LEN) { in network_qrscan_result_process()
101 strncpy(ssid, ssid_elem->valuestring, NETWORK_SSID_MAX_LEN); in network_qrscan_result_process()
102 strncpy(passwd, passwd_elem->valuestring, NETWORK_PASSWD_MAX_LEN); in network_qrscan_result_process()
/AliOS-Things-master/components/amp/main/
A Damp_engine.c106 strstr(item->valuestring, ".js")) { in search_js_app_main_entry()
107 snprintf(js_app_file_name, sizeof(js_app_file_name), "/%s", item->valuestring); in search_js_app_main_entry()
120 strstr(item->valuestring, ".js")) { in search_js_app_main_entry()
121 strncpy(js_app_file_name, item->valuestring, MAX_FILE_NAME_LEN); in search_js_app_main_entry()
/AliOS-Things-master/components/cjson/example/
A Dcjson_example.c67 if (cJSON_IsString(name) && (name->valuestring != NULL)) in cjson_example()
68 printf("Checking monitor \"%s\"\n", name->valuestring); in cjson_example()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/ui/
A Dpage_entry.c108 snprintf(page->path, 64, "%s", temp->valuestring); in search_js_page_entry()
109 snprintf(page->css_file, 128, "%s%s", temp->valuestring, ".css"); in search_js_page_entry()
110 snprintf(page->xml_file, 128, "%s%s", temp->valuestring, ".xml"); in search_js_page_entry()
111 snprintf(page->js_file, 128, "%s%s", temp->valuestring, ".js"); in search_js_page_entry()
/AliOS-Things-master/components/amp/engine/duktape_engine/startup/
A Dpage_entry.c105 snprintf(page->path, 64, "%s", temp->valuestring); in search_js_page_entry()
106 snprintf(page->css_file, 128, "%s%s", temp->valuestring, ".css"); in search_js_page_entry()
107 snprintf(page->xml_file, 128, "%s%s", temp->valuestring, ".xml"); in search_js_page_entry()
108 snprintf(page->js_file, 128, "%s%s", temp->valuestring, ".js"); in search_js_page_entry()
/AliOS-Things-master/components/cjson/src/
A DcJSON.c80 return item->valuestring; in cJSON_GetStringValue()
805 item->valuestring = (char*)output; in parse_string()
1311 if (item->valuestring == NULL) in print_value()
1564 current_item->valuestring = NULL; in parse_object()
2323 if(!item->valuestring) in cJSON_CreateString()
2373 if(!item->valuestring) in cJSON_CreateRaw()
2572 if (item->valuestring) in cJSON_Duplicate()
2574 … newitem->valuestring = (char*)cJSON_strdup((unsigned char*)item->valuestring, &global_hooks); in cJSON_Duplicate()
2575 if (!newitem->valuestring) in cJSON_Duplicate()
2846 if ((a->valuestring == NULL) || (b->valuestring == NULL)) in cJSON_Compare()
[all …]
A DcJPath.c423 if (strncmp(qval->valuestring, &node->query_value[1], slen - 2) == in cJSON_Path()
/AliOS-Things-master/solutions/audio_demo/
A Ddata_model_basic_demo.c192 printf("tts %s /data/tts.mp3\r\n", item_payload->valuestring); in demo_dm_recv_handler()
194 param_array[1] = item_payload->valuestring; in demo_dm_recv_handler()
202 printf("play %s\r\n", item_payload->valuestring); in demo_dm_recv_handler()
204 param_array[1] = item_payload->valuestring; in demo_dm_recv_handler()
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_message.c56 strcpy(pyamp_file_url, url->valuestring); in pyamp_update_file()
96 amp_debug(MOD_STR, "get token flag is: %s", token->valuestring); in pyamptoken_verify()
97 aos_kv_set(AMP_DEVICE_TOKEN_VERIFY_FLAG, token->valuestring, strlen(token->valuestring), 1); in pyamptoken_verify()
98 if (strcmp(token->valuestring, "rejected") == 0) { in pyamptoken_verify()
/AliOS-Things-master/components/ulog/src/
A Dulog_init.c179 if (0 == strlen(ulog_cmd->valuestring)) { in on_ulog_handler()
196 rc = http_start(ulog_cmd->valuestring, ulog_idx->valueint); in on_ulog_handler()
A Dulog_fs_cfg.c353 config_para->valuestring); in parser_cfg_file()
/AliOS-Things-master/components/uvoice/application/comb/
A Dcomb.c700 timestamp = atoi(item->valuestring); in comb_receipt_play()
730 ptr = sub_item->valuestring; in comb_receipt_play()
746 ptr = sub_item->valuestring; in comb_receipt_play()
761 ret = add_file_source(&handler->list, sub_item->valuestring, index, 0, NULL, NULL); in comb_receipt_play()
803 timestamp = atoi(item->valuestring); in comb_content_play()
827 add_http_source(&handler->url_list, item->valuestring, index); in comb_content_play()
/AliOS-Things-master/components/linkkit/infra/
A Dinfra_cjson.c1269 return print_string_ptr((unsigned char *)item->valuestring, p); in print_string()
1482 if (item->valuestring == NULL) { in print_value()
1486 raw_length = strlen(item->valuestring) + sizeof(""); in print_value()
1491 memcpy(output, item->valuestring, raw_length); in print_value()
1584 if (!(item->type & cJSON_IsReference) && (item->valuestring != NULL)) { in lite_cjson_delete()
1585 global_hooks.deallocate(item->valuestring); in lite_cjson_delete()
1773 item->valuestring = in lite_cjson_create_string()
1775 if (!item->valuestring) { in lite_cjson_create_string()
/AliOS-Things-master/components/amp/engine/duktape_engine/
A Dbe.c129 if (item_main->valuestring) { in resolve_path()
131 item_main->valuestring); in resolve_path()
138 item_main->valuestring); in resolve_path()
/AliOS-Things-master/components/uagent/src/
A Duagent_core.c502 id = strtoul(msgid->valuestring, NULL, 10); in uagent_on_recv_handler()
530 UAGENT_INFO("String %s\n", param->valuestring); in uagent_on_recv_handler()
537 strlen(param->valuestring), in uagent_on_recv_handler()
538 param->valuestring); in uagent_on_recv_handler()
/AliOS-Things-master/components/linkkit/include/linkkit/infra/
A Dinfra_cjson.h74 char *valuestring; /* The item's string, if type==cJSON_String */ member
/AliOS-Things-master/components/cjson/include/
A DcJSON.h115 char *valuestring; member
/AliOS-Things-master/components/py_engine/adapter/
A Dmain.c271 strcpy(logLevelStr, debug->valuestring); in get_logLevel()

Completed in 31 milliseconds