| 24 | #define IS_LOW_CHAR(c) ((c) >= 'a' && (c) <= 'z') |
| 25 | #define TO_UPPER_CHAR(c) (c + 'A' - 'a') |
| 26 | void StringToUpper(std::string& str) { |
| 27 | for (auto& ch : str) { |
| 28 | if (IS_LOW_CHAR(ch)) ch = TO_UPPER_CHAR(ch); |
| 29 | } |
| 30 | } |
| 31 | bool AssetEnumerateFileType(AAssetManager* assetManager, const char* type, |
| 32 | std::vector<std::string>& files) { |
| 33 | if (!assetManager || !type || !*type) return false; |
no outgoing calls
no test coverage detected