Lines Matching refs:std

35     static void Split(const std::string &str, std::vector<std::string> &out, const std::string &splitter);
43 static void StringReplace(std::string &sourceStr, const std::string &oldStr, const std::string &newStr);
50 static bool FileExist(const std::string &path);
57 static bool RmoveAllDir(const std::string &path);
64 static bool RmoveFile(const std::string &path);
72 static bool OpenJsonFile(const std::string &path, cJSON **root);
80 static bool SaveToJsonFile(const std::string &path, const cJSON *root);
87 static ResType GetResTypeByDir(const std::string &name);
94 static std::string ResTypeToString(ResType type);
102 static std::string GetIdName(const std::string &name, ResType type);
110 static std::string ComposeStrings(const std::vector<std::string> &contents, bool addNull = false);
117 static std::vector<std::string> DecomposeStrings(const std::string &content);
124 static ResType GetResTypeFromString(const std::string &type);
132 static bool CopyFileInner(const std::string &src, const std::string &dst);
139 static bool CreateDirs(const std::string &filePath);
147 static bool IsIgnoreFile(const std::string &filename, bool isFile);
154 static std::string GenerateHash(const std::string &key);
161 static std::string RealPath(const std::string &path);
168 static bool IslegalPath(const std::string &path);
175 static std::string PaserKeyParam(const std::vector<KeyParam> &keyParams);
182 static std::string DecToHexStr(const uint32_t id);
189 static bool CheckHexStr(const std::string &hex);
195 static std::string GetAllRestypeString();
202 static FileEntry::FilePath GetBaseElementPath(const std::string input);
209 static FileEntry::FilePath GetMainPath(const std::string input);
217 static uint32_t GetNormalSize(const std::vector<KeyParam> &keyParams, uint32_t index);
230 static void RemoveSpaces(std::string &str);
242 static bool IsValidName(const std::string &name);
248 static void PrintWarningMsg(std::vector<std::pair<ResType, std::string>> &noBaseResource);
256 static const std::map<std::string, IgnoreType> IGNORE_FILE_REGEX;
257 static std::string GetLocaleLimitkey(const KeyParam &KeyParam);
258 static std::string GetDeviceTypeLimitkey(const KeyParam &KeyParam);
259 static std::string GetResolutionLimitkey(const KeyParam &KeyParam);
260 static std::string GetKeyParamValue(const KeyParam &KeyParam);