Home
last modified time | relevance | path

Searched refs:keyparams (Results 1 – 5 of 5) sorted by relevance

/developtools/global_resource_tool/src/
Dkey_parser.cpp25 bool KeyParser::Parse(const string &folderName, vector<KeyParam> &keyparams) in Parse() argument
32 keyparams = caches_[folderName]; in Parse()
48 if (!ParseMatch(keyParts, keyparams, founctions)) { in Parse()
51 caches_.emplace(folderName, keyparams); in Parse()
56 vector<KeyParam> &keyparams, const vector<parse_key_founction> &founctions) in ParseMatch() argument
62 if (founctions[i](key, keyparams)) { in ParseMatch()
77 vector<KeyParam> &keyparams, const vector<parse_key_founction> &founctions) in ParseMatchBySeq() argument
80 if (!founctions[i](keys[i], keyparams)) { in ParseMatchBySeq()
87 bool KeyParser::ParseMccMnc(const string &folderName, vector<KeyParam> &keyparams) in ParseMccMnc() argument
99 return ParseMatchBySeq(keyParts, keyparams, founctions); in ParseMccMnc()
[all …]
Dresource_item.cpp33 ResourceItem::ResourceItem(const string &name, const vector<KeyParam> &keyparams, ResType type) in ResourceItem() argument
34 : data_(nullptr), dataLen_(0), name_(name), keyparams_(keyparams), type_(type) in ResourceItem()
Dresource_table.cpp424 const vector<KeyParam> &keyparams = limitKeys.find(datas.find(offset)->second.second)->second; in ReadDataRecordStart() local
425 ResourceItem resourceitem(filename, keyparams, g_resTypeMap.find(record.resType)->second); in ReadDataRecordStart()
426 resourceitem.SetLimitKey(ResourceUtil::PaserKeyParam(keyparams)); in ReadDataRecordStart()
/developtools/global_resource_tool/include/
Dkey_parser.h27 static bool Parse(const std::string &folderName, std::vector<KeyParam> &keyparams);
30 …pedef bool (*parse_key_founction)(const std::string &folderName, std::vector<KeyParam> &keyparams);
32 std::vector<KeyParam> &keyparams, const std::vector<parse_key_founction> &founctions);
34 std::vector<KeyParam> &keyparams, const std::vector<parse_key_founction> &founctions);
36 static bool ParseMccMnc(const std::string &folderName, std::vector<KeyParam> &keyparams);
37 static bool ParseMcc(const std::string &folderName, std::vector<KeyParam> &keyparams);
38 static bool ParseMnc(const std::string &folderName, std::vector<KeyParam> &keyparams);
39 static bool ParseLSR(const std::string &folderName, std::vector<KeyParam> &keyparams);
40 static bool ParseLanguage(const std::string &folderName, std::vector<KeyParam> &keyparams);
41 static bool ParseScript(const std::string &folderName, std::vector<KeyParam> &keyparams);
[all …]
Dresource_item.h29 ResourceItem(const std::string &name, const std::vector<KeyParam> &keyparams, ResType type);