Searched refs:sub (Results 1 - 4 of 4) sorted by relevance
/commonlibrary/c_utils/base/include/ |
H A D | string_ex.h | 173 * @param sub Indicates the substring. 177 bool IsSubStr(const std::string& str, const std::string& sub); 187 * @param sub Indicates the `std::string` object to store the result string. 192 const std::string& right, std::string& sub); 202 * @param sub Indicates the `std::vector` object to store all the result strings. 205 const std::string& right, std::vector<std::string>& sub);
|
/commonlibrary/c_utils/base/src/ |
H A D | string_ex.cpp | 196 bool IsSubStr(const string& str, const string& sub) in IsSubStr() argument 198 if (sub.empty() || str.empty()) { in IsSubStr() 202 return str.find(sub) != string::npos; in IsSubStr() 206 const string& right, string& sub) in GetFirstSubStrBetween() 218 sub = str.substr((leftPos + left.length()), (rightPos - (leftPos + left.length()))); in GetFirstSubStrBetween() 222 void GetSubStrBetween(const string& str, const string& left, const string& right, vector<string>& sub) in GetSubStrBetween() argument 228 sub.push_back(subString); in GetSubStrBetween() 205 GetFirstSubStrBetween(const string& str, const string& left, const string& right, string& sub) GetFirstSubStrBetween() argument
|
/commonlibrary/c_utils/base/test/fuzztest/string_fuzzer/ |
H A D | string_fuzzer.cpp | 49 string sub = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in StringTestFunc() local 50 IsSubStr(newStr, sub); in StringTestFunc()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/ |
H A D | ready.rs | 153 fn sub(self, other: Ready) -> Self::Output { in sub() functions
|
Completed in 3 milliseconds