Home
last modified time | relevance | path

Searched refs:str (Results 3026 - 3050 of 12364) sorted by relevance

1...<<121122123124125126127128129130>>...495

/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/
H A Dusb_bus_extension.cpp159 vector<uint16_t> UsbBusExtension::ParseCommaStrToVectorUint16(const string &str) in ParseCommaStrToVectorUint16() argument
162 stringstream ss(str); in ParseCommaStrToVectorUint16()
172 EDM_LOGW(MODULE_BUS_USB, "parse error, size 0, str:%{public}s.", str.c_str()); in ParseCommaStrToVectorUint16()
174 EDM_LOGD(MODULE_BUS_USB, "parse sucess, size %{public}zu, str:%{public}s", ret.size(), str.c_str()); in ParseCommaStrToVectorUint16()
/drivers/hdf_core/adapter/uhdf2/host/
H A Ddevhost.c62 bool HdfStringToInt(const char *str, int *value) in HdfStringToInt() argument
64 if (str == NULL || value == NULL) { in HdfStringToInt()
71 long result = strtol(str, &end, base); in HdfStringToInt()
72 if (end == str || end[0] != '\0' || errno == ERANGE || result > INT_MAX || result < INT_MIN) { in HdfStringToInt()
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dtext_gen.h40 static std::string ToUpperCamelString(const std::string &str);
42 static std::string ToLowerCamelString(const std::string &str);
44 static std::string ToCamelString(const std::string &str);
46 static const std::string &ToUpperString(std::string &str);
/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_pnp_test.c42 char str[STR_LEN] = {0}; in TestPnpWriteLog() local
50 int32_t ret = snprintf_s(str, STR_LEN, STR_LEN - 1, "[XTSCHECK] %d.%06d, %s\n", in TestPnpWriteLog()
58 (void)fwrite(str, strlen(str), 1, fp); in TestPnpWriteLog()
/foundation/arkui/ace_engine/component_ext/ext_common/
H A Dext_napi_utils.cpp126 std::unique_ptr<char, decltype(deleter)> str(strTmp, deleter); in GetStringFromValueUtf8()
127 if (memset_s(str.get(), stringLength + 1, 0, stringLength + 1) != EOK) { in GetStringFromValueUtf8()
131 NAPI_CALL_BASE(env, napi_get_value_string_utf8(env, value, str.get(), stringLength + 1, &length), result); in GetStringFromValueUtf8()
133 result.append(str.get(), length); in GetStringFromValueUtf8()
/foundation/arkui/ace_engine/interfaces/napi/kits/atomic_service_bar/
H A Djs_atomic_service_bar.cpp72 std::string str; in JSSetTitleContent() local
77 bool result = GetNapiString(env, argv[0], str, valueType); in JSSetTitleContent()
83 SetBarInUIThread([str, appBar]() { appBar->SetContent(str); }, "ArkUIAppBarSetContent"); in JSSetTitleContent()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_log.h27 constexpr auto CountPercent(const char(&str)[N]) in CountPercent()
32 if (str[i] == '%') { in CountPercent()
50 constexpr auto AddPublic(const char(&str)[N], const std::array<bool, N> &isPercentSign) in AddPublic()
55 newStr[j] = str[i]; in AddPublic()
/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/src/
H A Dframe_collector.cpp193 std::string str = value; in SwitchFunction() local
194 if (str == switchRenderingPaintText) { in SwitchFunction()
200 if (str == switchRenderingSaverText) { in SwitchFunction()
207 if (str == switchRenderingDisableText) { in SwitchFunction()
/foundation/multimedia/media_foundation/interface/inner_api/plugin/
H A Dplugin_definition.h297 #define PLUGIN_STRINGIFY_ARG(str) #str
300 #define PLUGIN_STRINGIFY(str) PLUGIN_STRINGIFY_ARG(str)
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dringtone_utils.cpp42 std::string RingtoneUtils::ReplaceAll(std::string str, const std::string &oldValue, const std::string &newValue) in ReplaceAll() argument
45 if ((pos = str.find(oldValue, pos)) != std::string::npos) { in ReplaceAll()
46 str.replace(pos, oldValue.length(), newValue); in ReplaceAll()
51 return str; in ReplaceAll()
/foundation/multimodalinput/input/service/module_loader/src/
H A Dwatchdog_task.cpp77 bool WatchdogTask::IsNumberic(const std::string &str) in IsNumberic() argument
79 return !str.empty() && std::all_of(str.begin(), str.end(), ::isdigit); in IsNumberic()
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/
H A Dbundle_active_period_stats.cpp136 std::string BundleActivePeriodStats::GetCachedString(std::string str) in GetCachedString() argument
138 std::set<std::string>::iterator it = packetNamesCache_.find(str); in GetCachedString()
140 packetNamesCache_.insert(str); in GetCachedString()
141 return str; in GetCachedString()
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/
H A Dsoftbus_event_converter.h41 static inline bool InitString(char **str, size_t maxLen) in InitString() argument
43 *str = (char *)malloc(maxLen); in InitString()
44 if (*str == NULL) { in InitString()
48 if (memset_s(*str, maxLen, 0, maxLen) != EOK) { in InitString()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dwifi_ip_tools_test.cpp118 std::string str = "a,b,c"; in HWTEST_F() local
120 IpTools::GetExclusionObjectList(str, vec); in HWTEST_F()
122 str = "abc"; in HWTEST_F()
124 IpTools::GetExclusionObjectList(str, vec); in HWTEST_F()
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_cache_proxy.cpp41 std::string str = requestOptions.GetUrl() + HTTP_LINE_SEPARATOR + in CacheProxy() local
44 str += p.first + HTTP_HEADER_SEPARATOR + p.second + HTTP_LINE_SEPARATOR; in CacheProxy()
46 str += std::to_string(requestOptions.GetHttpVersion()); in CacheProxy()
47 key_ = Encode(str); in CacheProxy()
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_proxy/src/
H A Dcache_proxy.cpp49 std::string str = requestOptions.GetUrl() + HttpConstant::HTTP_LINE_SEPARATOR + in CacheProxy() local
55 str += p.first + HttpConstant::HTTP_HEADER_SEPARATOR + p.second + HttpConstant::HTTP_LINE_SEPARATOR; in CacheProxy()
57 str += std::to_string(requestOptions.GetHttpVersion()); in CacheProxy()
58 key_ = Base64::Encode(str); in CacheProxy()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Duri_utils.cpp101 std::pair<bool, uint32_t> URIUtils::Strtoul(const std::string &str) in Strtoul() argument
104 if (str.empty()) { in Strtoul()
109 data = strtoul(str.c_str(), &end, 10); in Strtoul()
110 if (errno == ERANGE || end == nullptr || end == str || *end != '\0') { in Strtoul()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Dprocess_system_api_adapter_impl.cpp85 std::string str(direntPtr->d_name); in SetSecurityOption()
86 if (str == "." || str == "..") { in SetSecurityOption()
90 dirName.append(filePath).append("/").append(str); in SetSecurityOption()
/foundation/distributedhardware/device_manager/radar/src/lite/
H A Ddm_radar_helper.cpp161 std::stringstream str; in ConvertHexToString() local
163 str << std::hex << std::setw(with) << std::setfill('0') << hex; in ConvertHexToString()
164 std::string hexStr = str.str(); in ConvertHexToString()
/foundation/filemanagement/app_file_service/utils/src/b_tarball/
H A Db_tarball_factory.cpp95 string str = removeBackSlash(item); in TarFilter() local
96 if (!str.empty()) { in TarFilter()
97 newExcludes.push_back(str); in TarFilter()
185 throw BError(BError::Codes::UTILS_INVAL_TARBALL_ARG, ss.str()); in Create()
/test/testfwk/arkxtest/uitest/core/
H A Dui_model.cpp36 return os.str(); in ToStr()
54 retVec[UiAttr::BOUNDS] = boundStream.str(); in GetAttrVec()
77 return boundStream.str(); in GetAttr()
119 attributeVec_[i] = boundStream.str(); in WrapperWidgetToJson()
/test/testfwk/xdevice/src/xdevice/_core/
H A Dplugin.py95 if len(args) == 1 and type(args[0]) == str:
96 self.plugin_type = str(args[0])
97 self.plugin_id = str(args[0])
133 if "xdevice" in str(instance.__class__).lower():
/test/testfwk/developer_test/aw/cxx/distributed/
H A Ddistributed_cfg.cpp77 std::string DistributedCfg::GetValueInString(std::string str, size_t devNo) in GetValueInString() argument
82 posend = str.find(",", pos); in GetValueInString()
89 posend = str.find(",", pos); in GetValueInString()
91 ipaddr = str.substr(pos, posend - pos); in GetValueInString()
/third_party/elfutils/libelf/
H A Delf_strptr.c56 static bool validate_str (const char *str, size_t from, size_t to) in validate_str() argument
60 return ((to > 0 && str[to - 1] == '\0') in validate_str()
61 || (to - from > 0 && memrchr (&str[from], '\0', to - from - 1) != NULL)); in validate_str()
68 } while (str[to]); in validate_str()
/third_party/ffmpeg/libavformat/
H A Dsrtpproto.c43 { "srtp_out_suite", "", offsetof(SRTPProtoContext, out_suite), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
44 { "srtp_out_params", "", offsetof(SRTPProtoContext, out_params), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
45 { "srtp_in_suite", "", offsetof(SRTPProtoContext, in_suite), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, D },
46 { "srtp_in_params", "", offsetof(SRTPProtoContext, in_params), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, D },

Completed in 13 milliseconds

1...<<121122123124125126127128129130>>...495