/AliOS-Things-master/components/ugraphics/example/ |
A D | ugraphics_example.c | 27 if (!strncmp(argv[1], "init", 4)) { in ugraphics_comp_example() 35 } else if (!strncmp(argv[1], "draw", 4)) { in ugraphics_comp_example() 48 if (!strncmp(argv[2], "rect", 4)) { in ugraphics_comp_example() 63 } else if (!strncmp(argv[2], "line", 4)) { in ugraphics_comp_example() 79 } else if (!strncmp(argv[2], "jpg", 3)) { in ugraphics_comp_example() 87 } else if (!strncmp(argv[2], "png", 3)) { in ugraphics_comp_example() 95 } else if (!strncmp(argv[2], "string", 6)) { in ugraphics_comp_example() 120 } else if (!strncmp(argv[1], "fill", 4)) { in ugraphics_comp_example() 133 if (!strncmp(argv[2], "rect", 4)) { in ugraphics_comp_example() 154 } else if (!strncmp(argv[1], "clear", 5)) { in ugraphics_comp_example() [all …]
|
/AliOS-Things-master/components/oss/src/model/ |
A D | GetBucketCorsResult.cc | 50 if (root && !std::strncmp("CORSConfiguration", root->Name(), 17)) { in operator =() 57 if (!strncmp(node->Name(), "AllowedOrigin", 13)) in operator =() 60 if (!strncmp(node->Name(), "AllowedMethod", 13)) in operator =() 63 if (!strncmp(node->Name(), "AllowedHeader", 13)) in operator =() 66 if (!strncmp(node->Name(), "ExposeHeader", 12)) in operator =() 69 if (!strncmp(node->Name(), "MaxAgeSeconds", 13)) in operator =()
|
A D | GetBucketRefererResult.cc | 50 if (root && !std::strncmp("RefererConfiguration", root->Name(), 20)) { in operator =() 53 …if (node && node->GetText()) allowEmptyReferer_ = (std::strncmp(node->GetText(), "true", 4)? false… in operator =()
|
A D | ListObjectVersionsResult.cc | 64 if (root && !std::strncmp("ListVersionsResult", root->Name(), 18)) { in operator =() 91 if (node && node->GetText()) isTruncated_ = !std::strncmp("true", node->GetText(), 4); in operator =() 118 … if (node && node->GetText()) content.isLatest_ = !std::strncmp("true", node->GetText(), 4); in operator =() 161 … if (node && node->GetText()) content.isLatest_ = !std::strncmp("true", node->GetText(), 4); in operator =()
|
A D | ListBucketInventoryConfigurationsResult.cc | 49 if (root && !std::strncmp("ListInventoryConfigurationsResult", root->Name(), 33)) { in operator =() 63 …_node && conf_node->GetText()) inventoryConfiguration.setIsEnabled((std::strncmp(conf_node->GetTex… in operator =() 136 …if (node && node->GetText()) isTruncated_ = (std::strncmp(node->GetText(), "true", 4) ? false : tr… in operator =()
|
A D | DeleteObjectVersionsResult.cc | 58 if (root && !std::strncmp("DeleteResult", root->Name(), 12)) { in operator =() 84 object.setDeleteMarker(!std::strncmp("true", sub_node->GetText(), 4)); in operator =()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/ |
A D | raw2tiff.c | 136 if (strncmp(optarg, "byte", 4) == 0) in main() 138 else if (strncmp(optarg, "short", 5) == 0) in main() 140 else if (strncmp(optarg, "long", 4) == 0) in main() 167 else if (strncmp(optarg, "rgb", 3) == 0) in main() 169 else if (strncmp(optarg, "cmyk", 4) == 0) in main() 171 else if (strncmp(optarg, "ycbcr", 5) == 0) in main() 186 if (strncmp(optarg, "pixel", 4) == 0) in main() 188 else if (strncmp(optarg, "band", 6) == 0) in main() 580 else if (strncmp(opt, "jpeg", 4) == 0) { in processCompressOptions() 595 } else if (strncmp(opt, "lzw", 3) == 0) { in processCompressOptions() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/tftp/ |
A D | tftp_common.c | 119 if (strncmp(argv[1], "server", 6) == 0) { in tftp_cmd() 120 if (strncmp(argv[2], "start", 5) == 0) { in tftp_cmd() 124 } else if (strncmp(argv[2], "stop", 4) == 0) { in tftp_cmd() 130 } else if (strncmp(argv[1], "get", 3) == 0) { in tftp_cmd() 140 strncmp(argv[6], "binary", 6) == 0) { in tftp_cmd()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/utils/log/ |
A D | module_log.c | 25 if (strncmp(pclevel, LOG_LEVEL_DEBUG, strlen(LOG_LEVEL_DEBUG)) == 0) { in native_get_log_level() 27 } else if (strncmp(pclevel, LOG_LEVEL_INFO, strlen(LOG_LEVEL_INFO)) == 0) { in native_get_log_level() 29 } else if (strncmp(pclevel, LOG_LEVEL_WARN, strlen(LOG_LEVEL_WARN)) == 0) { in native_get_log_level() 31 } else if (strncmp(pclevel, LOG_LEVEL_ERROR, strlen(LOG_LEVEL_ERROR)) == 0) { in native_get_log_level() 33 } else if (strncmp(pclevel, LOG_LEVEL_FATAL, strlen(LOG_LEVEL_FATAL)) == 0) { in native_get_log_level() 35 } else if (strncmp(pclevel, LOG_LEVEL_NONE, strlen(LOG_LEVEL_NONE)) == 0) { in native_get_log_level()
|
/AliOS-Things-master/components/udisplay/example/ |
A D | udisplay_example.c | 94 if (strncmp(argv[1], "pattern", 7) == 0) { in udisplay_comp_example() 101 } else if (strncmp(argv[1], "info", 7) == 0) { in udisplay_comp_example() 109 } else if (strncmp(argv[1], "stress_ud", 9) == 0) { in udisplay_comp_example() 130 } else if (strncmp(argv[1], "stress_cw", 9) == 0) { in udisplay_comp_example()
|
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_cli.c | 149 if (!strncmp(argv[1], "set", 3)) in xtalcap_handle() 164 else if (!strncmp(argv[1], "get", 3)) in xtalcap_handle() 177 if (!strncmp(argv[1], "set", 3)) in sn_number_handle() 204 else if (!strncmp(argv[1], "get", 3)) in sn_number_handle() 310 if (argc == 2 && !strncmp(argv[1], "stop", 4)) in _send_msg() 469 if (!strncmp(argv[1], "on", 2)) in genie_log_onoff() 474 else if (!strncmp(argv[1], "off", 3)) in genie_log_onoff()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/log/ |
A D | module_log.c | 28 if (strncmp(pclevel, LOG_LEVEL_DEBUG, strlen(LOG_LEVEL_DEBUG)) == 0) { in native_get_log_level() 30 } else if (strncmp(pclevel, LOG_LEVEL_INFO, strlen(LOG_LEVEL_INFO)) == 0) { in native_get_log_level() 32 } else if (strncmp(pclevel, LOG_LEVEL_WARN, strlen(LOG_LEVEL_WARN)) == 0) { in native_get_log_level() 34 } else if (strncmp(pclevel, LOG_LEVEL_ERROR, strlen(LOG_LEVEL_ERROR)) == 0) { in native_get_log_level() 36 } else if (strncmp(pclevel, LOG_LEVEL_FATAL, strlen(LOG_LEVEL_FATAL)) == 0) { in native_get_log_level() 38 } else if (strncmp(pclevel, LOG_LEVEL_NONE, strlen(LOG_LEVEL_NONE)) == 0) { in native_get_log_level()
|
/AliOS-Things-master/components/ucamera/example/ |
A D | ucamera_example.c | 27 if (!strncmp(argv[1], "init", 4)) { in ucamera_comp_example() 32 } else if (!strncmp(argv[1], "-t", 2)) { in ucamera_comp_example()
|
/AliOS-Things-master/components/uvoice/stream/ |
A D | uvoice_hls.c | 159 if (!strncmp(ptr, "#EXTINF:", strlen("#EXTINF:"))) { in uvoice_hls_index_update() 200 } else if (!strncmp(item_desc, "#EXT-X-ENDLIST", in uvoice_hls_index_update() 324 if (!strncmp(ptr, "#EXTINF:", strlen("#EXTINF:"))) { in uvoice_hls_file_next() 348 if (!strncmp(hls->seg_desc, ptr, strlen(ptr) + 1)) { in uvoice_hls_file_next() 366 } else if (!strncmp(item_desc, "#EXT-X-ENDLIST", in uvoice_hls_file_next() 694 if (!strncmp(ptr, "#EXTINF:", strlen("#EXTINF:"))) { in uvoice_hls_build() 758 } else if (!strncmp(ptr, "#EXT-X-MEDIA-SEQUENCE:", in uvoice_hls_build() 767 } else if (!strncmp(ptr, "#EXT-X-TARGETDURATION:", in uvoice_hls_build() 776 } else if (!strncmp(ptr, "#EXT-X-ENDLIST", in uvoice_hls_build() 804 if (!strncmp(hls->seg_desc, "http://", strlen("http://")) || in uvoice_hls_build() [all …]
|
/AliOS-Things-master/components/ulog/src/ |
A D | ulog_async.c | 83 } else if (0 == strncmp(str, ULOG_CMD_PREFIX, strlen(ULOG_CMD_PREFIX))) { in ulog_handler() 139 if (0 == strncmp(ulog_man_handler_service[i].func_mark, raw_str, func_len)) { in ulog_man_handler() 147 … if (strncmp(&p[1], ulog_man_handler_service[i].sub_func_mark[j], subfunc_len) == 0) { in ulog_man_handler()
|
/AliOS-Things-master/components/cli/src/ |
A D | cli_uagent.c | 27 if (0 == strncmp("cli cloud start", cmd, len)) { in on_cli_handler() 32 } else if (0 == strncmp("cli cloud stop", cmd, len)) { in on_cli_handler()
|
/AliOS-Things-master/components/cli/src/iobox/ |
A D | cd.c | 72 while (strncmp(target, "./", strlen("./")) == 0) { in cd_main() 79 while (target && strncmp(target, "..", strlen("..")) == 0) { in cd_main()
|
/AliOS-Things-master/components/py_engine/engine/mpy-cross/ |
A D | main.c | 153 } else if (strncmp(argv[a + 1], "heapsize=", sizeof("heapsize=") - 1) == 0) { in pre_process_options() 239 } else if (strncmp(argv[a], "-O", 2) == 0) { in main_() 259 … } else if (strncmp(argv[a], "-msmall-int-bits=", sizeof("-msmall-int-bits=") - 1) == 0) { in main_() 275 } else if (strncmp(argv[a], "-march=", sizeof("-march=") - 1) == 0) { in main_()
|
/AliOS-Things-master/components/ucloud_ai/example/ |
A D | ucloud_ai_example.c | 25 if (!strncmp(argv[1], "init", 4)) { in ucloud_ai_comp_example() 31 } else if (!strncmp(argv[1], "-m", 2)) { in ucloud_ai_comp_example()
|
/AliOS-Things-master/components/amp/services/app_mgr/ |
A D | app_upgrade.c | 32 if (strncmp(module_name, AMP_OTA_MODULE_NAME, strlen(module_name)) == 0) { in ota_get_module_ver() 59 } else if (strncmp(module_name, "default", strlen(module_name)) == 0) { in ota_get_module_ver() 301 if (strncmp(module_name, "default", strlen(module_name)) == 0) { in internal_upgrade_cb() 304 if (strncmp(ver, current_ver, strlen(ver)) <= 0) { in internal_upgrade_cb() 322 if (strncmp(ver, current_ver, strlen(ver)) <= 0) { in internal_upgrade_cb()
|
/AliOS-Things-master/solutions/ota_demo/ |
A D | otaappdemo.c | 104 if (strncmp(module_name, "default", strlen(module_name)) == 0) { in ota_upgrade_cb() 106 if (strncmp(ver, MY_APP_VER, strlen(ver)) <= 0) { in ota_upgrade_cb() 115 } else if (strncmp(module_name, USER_MODE_NAME, strlen(module_name)) == 0) { in ota_upgrade_cb() 122 if (strncmp(ver, current_ver, strlen(ver)) <= 0) { in ota_upgrade_cb()
|
/AliOS-Things-master/components/linkkit/wifi_provision/frameworks/aplist/ |
A D | awss_aplist.c | 96 if (!strncmp((char *)zconfig_aplist[i].ssid, (char *)ssid_prefix, in zconfig_get_apinfo_by_ssid_prefix() 117 return strncmp(str + lenstr - lensuffix, suffix, lensuffix) == 0; in str_end_with() 193 if (!strncmp(zconfig_aplist[i].ssid, (char *)ssid, ZC_MAX_SSID_LEN) && in awss_save_apinfo() 308 strncmp(ap->ssid, zc_default_ssid, strlen(zc_default_ssid)) == 0) { in aws_try_adjust_chan()
|
/AliOS-Things-master/components/py_engine/engine/shared/memzip/ |
A D | memzip.c | 25 if (!strncmp(file_hdr_filename, filename, file_hdr->filename_len)) { in memzip_find_file_header() 53 strncmp(file_hdr_filename, filename, filename_len) == 0 && in memzip_is_dir()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | at.c | 70 if (strncmp(str, prefix, strlen(prefix)) != 0) { in str_has_prefix() 81 if ((!strncmp(str, "OK", 2)) && (at_check_byte(buf, '\n') == 0)) { in at_parse_result() 86 if ((!strncmp(str, "ERROR", 5)) && (at_check_byte(buf, '\n')) == 0) { in at_parse_result() 207 if (strncmp(at->buf, "CME ERROR", 9) == 0) { in is_cmer() 237 if (strncmp(at->buf, "RING", 4) == 0) { in is_ring()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/addtiffo/ |
A D | tif_overview.c | 325 if( strncmp(pszResampling,"nearest",4) == 0 in TIFF_DownSample() 326 || strncmp(pszResampling,"NEAR",4) == 0 ) in TIFF_DownSample() 352 else if( strncmp(pszResampling,"averag",6) == 0 in TIFF_DownSample() 353 || strncmp(pszResampling,"AVERAG",6) == 0 ) in TIFF_DownSample() 422 if( strncmp(pszResampling,"nearest",4) == 0 in TIFF_DownSample_Subsampled() 423 || strncmp(pszResampling,"NEAR",4) == 0 ) in TIFF_DownSample_Subsampled() 479 else if( strncmp(pszResampling,"averag",6) == 0 in TIFF_DownSample_Subsampled() 480 || strncmp(pszResampling,"AVERAG",6) == 0 ) in TIFF_DownSample_Subsampled()
|