Searched refs:subStr (Results 1 – 6 of 6) sorted by relevance
/commonlibrary/c_utils/base/src/ |
D | file_ex.cpp | 94 bool RustStringExistsInFile(const rust::String& fileName, const rust::String& subStr, bool caseSens… in RustStringExistsInFile() argument 97 std::string tmpStr(subStr); in RustStringExistsInFile() 101 int RustCountStrInFile(const rust::String& fileName, const rust::String& subStr, bool caseSensitiv… in RustCountStrInFile() argument 104 std::string tmpStr(subStr); in RustCountStrInFile() 356 bool StringExistsInFile(const string& fileName, const string& subStr, bool caseSensitive /*= true*/) in StringExistsInFile() argument 358 if (subStr.empty()) { in StringExistsInFile() 370 return (str.find(subStr) != string::npos); in StringExistsInFile() 374 string sublower(subStr); in StringExistsInFile() 376 transform(subStr.begin(), subStr.end(), sublower.begin(), ::tolower); in StringExistsInFile() 380 int CountStrInStr(const string& str, const string& subStr) in CountStrInStr() argument [all …]
|
/commonlibrary/c_utils/base/include/ |
D | file_ex.h | 48 bool RustStringExistsInFile(const rust::String& fileName, const rust::String& subStr, bool caseSens… 49 int RustCountStrInFile(const rust::String& fileName, const rust::String& subStr, bool caseSensitiv… 142 bool StringExistsInFile(const std::string& fileName, const std::string& subStr, bool caseSensitive … 155 int CountStrInFile(const std::string& fileName, const std::string& subStr, bool caseSensitive = tr…
|
/commonlibrary/c_utils/base/src/rust/ |
D | file_ex.rs | 47 … pub fn RustStringExistsInFile(fileName: &String, subStr: &String, caseSensitive: bool) -> bool; in RustStringExistsInFile() 50 pub fn RustCountStrInFile(fileName: &String, subStr: &String, caseSensitive: bool) -> i32; in RustCountStrInFile()
|
/commonlibrary/c_utils/docs/zh-cn/ |
D | c-utils-guide-file.md | 19 | int | **CountStrInFile**(const std::string& fileName, const std::string& subStr, bool caseSensiti… 27 | bool | **StringExistsInFile**(const std::string& fileName, const std::string& subStr, bool caseSe…
|
D | c_utils_guide_rust_file.md | 18 | i32 | **RustCountStrInFile**(fileName: &String, subStr: &String, caseSensitive: bool)<br>查看指定文件中出… 26 | bool | **RustStringExistsInFile**(fileName: &String, subStr: &String, caseSensitive: bool)<br>检查指…
|
/commonlibrary/ets_utils/js_api_module/url/ |
D | js_url.cpp | 112 … std::string subStr = temp.substr(pos + 1, 2); // 2:Truncate the last two digits of the % in DecodeSpecialChars() local 114 if (sscanf_s(subStr.c_str(), "%x", &octNum) == -1) { in DecodeSpecialChars()
|