/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/src/ |
H A D | frame_collector.cpp | 193 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 D | plugin_definition.h | 297 #define PLUGIN_STRINGIFY_ARG(str) #str 300 #define PLUGIN_STRINGIFY(str) PLUGIN_STRINGIFY_ARG(str)
|
/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | ringtone_utils.cpp | 42 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 D | watchdog_task.cpp | 77 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 D | bundle_active_period_stats.cpp | 136 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 D | softbus_event_converter.h | 41 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 D | wifi_ip_tools_test.cpp | 118 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 D | net_http_cache_proxy.cpp | 41 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 D | cache_proxy.cpp | 49 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 D | uri_utils.cpp | 101 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 D | process_system_api_adapter_impl.cpp | 85 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 D | dm_radar_helper.cpp | 161 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 D | b_tarball_factory.cpp | 95 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 D | ui_model.cpp | 36 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 D | plugin.py | 95 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 D | distributed_cfg.cpp | 77 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 D | elf_strptr.c | 56 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 D | srtpproto.c | 43 { "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 },
|
/third_party/curl/lib/ |
H A D | http_ntlm.c | 160 service = data->set.str[STRING_PROXY_SERVICE_NAME] ? in Curl_output_ntlm() 161 data->set.str[STRING_PROXY_SERVICE_NAME] : "HTTP"; in Curl_output_ntlm() 174 service = data->set.str[STRING_SERVICE_NAME] ? in Curl_output_ntlm() 175 data->set.str[STRING_SERVICE_NAME] : "HTTP"; in Curl_output_ntlm()
|
H A D | http_negotiate.c | 59 service = data->set.str[STRING_PROXY_SERVICE_NAME] ? in Curl_input_negotiate() 60 data->set.str[STRING_PROXY_SERVICE_NAME] : "HTTP"; in Curl_input_negotiate() 71 service = data->set.str[STRING_SERVICE_NAME] ? in Curl_input_negotiate() 72 data->set.str[STRING_SERVICE_NAME] : "HTTP"; in Curl_input_negotiate()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | AffixUtilsTest.java | 166 for (String str : invalidExamples) { in testInvalid() 168 AffixUtils.hasCurrencySymbols(str); in testInvalid() 174 AffixUtils.estimateLength(str); in testInvalid() 180 unescapeWithDefaults(str); in testInvalid()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | AffixUtilsTest.java | 166 for (String str : invalidExamples) { in testInvalid() 168 AffixUtils.hasCurrencySymbols(str); in testInvalid() 174 AffixUtils.estimateLength(str); in testInvalid() 180 unescapeWithDefaults(str); in testInvalid()
|
/third_party/mesa3d/.gitlab-ci/bare-metal/ |
H A D | serial_buffer.py | 91 print(self.prefix + str(err)) 169 parser.add_argument('--dev', type=str, help='Serial device') 170 parser.add_argument('--file', type=str, 172 parser.add_argument('--prefix', type=str,
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | array-pattern.js | 15 function checkSyntax (str) { 17 eval (str); 32 function mustThrow (str) { 34 eval (str);
|
/third_party/ltp/lib/ |
H A D | tst_buffers.c | 141 *((void**)bufs[i].ptr) = tst_strdup(bufs[i].str); in tst_buffers_alloc() 145 char *tst_strdup(const char *str) in tst_strdup() argument 147 char *ret = tst_alloc(strlen(str) + 1); in tst_strdup() 149 return strcpy(ret, str); in tst_strdup()
|