Lines Matching defs:std

27 std::string GetAnonyString(const std::string &value)
33 std::string tmpStr("******");
39 std::string res;
53 std::string GetAnonyInt32(const int32_t value)
55 std::string tempString = std::to_string(value);
67 bool IsNumberString(const std::string &inputString)
87 bool IsString(const nlohmann::json &jsonObj, const std::string &key)
96 bool IsInt32(const nlohmann::json &jsonObj, const std::string &key)
106 bool IsUint32(const nlohmann::json &jsonObj, const std::string &key)
116 bool IsInt64(const nlohmann::json &jsonObj, const std::string &key)
126 bool IsArray(const nlohmann::json &jsonObj, const std::string &key)
135 bool IsBool(const nlohmann::json &jsonObj, const std::string &key)
144 std::string ConvertMapToJsonString(const std::map<std::string, std::string> &paramMap)
146 std::string jsonStr = "";
161 void ParseMapFromJsonString(const std::string &jsonStr, std::map<std::string, std::string> &paramMap)
176 paramMap.insert(std::pair<std::string, std::string>(element.key(), element.value()));
186 std::string ConvertCharArray2String(const char *srcData, uint32_t srcLen)
198 std::string temp(dstData);
203 int32_t StringToInt(const std::string &str, int32_t base)
218 int64_t StringToInt64(const std::string &str, int32_t base)
233 void VersionSplitToInt(const std::string &str, const char split, std::vector<int> &numVec)
235 std::istringstream iss(str);
236 std::string item = "";
242 bool CompareVecNum(const std::vector<int32_t> &srcVecNum, const std::vector<int32_t> &sinkVecNum)
244 for (uint32_t index = 0; index < std::min(srcVecNum.size(), sinkVecNum.size()); index++) {
259 bool CompareVersion(const std::string &remoteVersion, const std::string &oldVersion)
262 std::vector<int32_t> remoteVersionVec;
263 std::vector<int32_t> oldVersionVec;