Searched refs:resType (Results 1 – 10 of 10) sorted by relevance
| /developtools/global_resource_tool/src/ |
| D | reference_parser.cpp | 80 ResType resType = resourceItem.GetResType(); in ParseRefInResourceItem() local 83 if (IsStringOfResourceItem(resType)) { in ParseRefInResourceItem() 92 } else if (IsArrayOfResourceItem(resType)) { in ParseRefInResourceItem() 194 bool ReferenceParser::IsStringOfResourceItem(ResType resType) const in IsStringOfResourceItem() 196 if (resType == ResType::STRING || in IsStringOfResourceItem() 197 resType == ResType::INTEGER || in IsStringOfResourceItem() 198 resType == ResType::BOOLEAN || in IsStringOfResourceItem() 199 resType == ResType::COLOR || in IsStringOfResourceItem() 200 resType == ResType::FLOAT) { in IsStringOfResourceItem() 206 bool ReferenceParser::IsArrayOfResourceItem(ResType resType) const in IsArrayOfResourceItem() [all …]
|
| D | id_worker.cpp | 41 int32_t IdWorker::GenerateId(ResType resType, const string &name) in GenerateId() argument 44 return GenerateAppId(resType, name); in GenerateId() 46 return GenerateSysId(resType, name); in GenerateId() 67 int32_t IdWorker::GetId(ResType resType, const string &name) const in GetId() argument 69 auto result = ids_.find(make_pair(resType, name)); in GetId() 76 int32_t IdWorker::GetSystemId(ResType resType, const string &name) const in GetSystemId() argument 78 auto result = sysDefinedIds_.find(make_pair(resType, name)); in GetSystemId() 97 bool IdWorker::PushCache(ResType resType, const string &name, int32_t id) in PushCache() argument 99 auto result = cacheIds_.emplace(make_pair(resType, name), id); in PushCache() 124 int32_t IdWorker::GenerateAppId(ResType resType, const string &name) in GenerateAppId() argument [all …]
|
| D | resource_append.cpp | 218 ResType resType = ResourceUtil::GetResTypeByDir(fileCuster); in ScanLimitKey() local 219 if (resType == ResType::INVALID_RES_TYPE) { in ScanLimitKey() 224 …ryInfo directoryInfo = { limitKey, fileCuster, child->GetFilePath().GetPath(), keyParams, resType}; in ScanLimitKey() 299 ResType resType = ResourceUtil::GetResTypeByDir(fileCuster); in ScanSingleFile() local 300 if (resType == ResType::INVALID_RES_TYPE) { in ScanSingleFile() 312 …rectoryInfo directoryInfo = {limitKey, fileCuster, path.GetParent().GetPath(), keyParams, resType}; in ScanSingleFile() 491 ResType resType = resourceItem->GetResType(); in AddRef() local 492 if (resType == ResType::MEDIA) { in AddRef() 499 if (resType == ResType::PROF) { in AddRef() 525 ResType resType = static_cast<ResType>(type); in LoadResourceItemFromMem() local [all …]
|
| D | resource_table.cpp | 154 ResType resType = item.GetResType(); in CreateIdDefined() local 155 string type = ResourceUtil::ResTypeToString(resType); in CreateIdDefined() 164 jsonItem["name"] = ResourceUtil::GetIdName(name, resType); in CreateIdDefined() 284 recordItem.resType = static_cast<int32_t>(tableData.resourceItem.GetResType()); in SaveRecordItem() 297 out.write(reinterpret_cast<const char *>(&recordItem.resType), sizeof(uint32_t)); in SaveRecordItem() 432 in.read(reinterpret_cast<char *>(&record.resType), INT_TO_BYTES); in ReadDataRecordPrepare() 479 ResourceItem resourceitem(filename, keyparams, g_resTypeMap.find(record.resType)->second); in ReadDataRecordStart()
|
| D | resource_util.cpp | 201 ResType resType = GetResTypeByDir(type); in GetResTypeFromString() local 202 if (resType != ResType::INVALID_RES_TYPE) { in GetResTypeFromString() 203 return resType; in GetResTypeFromString()
|
| /developtools/global_resource_tool/include/ |
| D | id_worker.h | 44 int32_t GenerateId(ResType resType, const std::string &name); 46 int32_t GetId(ResType resType, const std::string &name) const; 47 int32_t GetSystemId(ResType resType, const std::string &name) const; 49 bool PushCache(ResType resType, const std::string &name, int32_t id); 53 int32_t GenerateAppId(ResType resType, const std::string &name); 54 int32_t GenerateSysId(ResType resType, const std::string &name);
|
| D | reference_parser.h | 36 bool IsStringOfResourceItem(ResType resType) const; 37 bool IsArrayOfResourceItem(ResType resType) const;
|
| D | resource_table.h | 61 int32_t resType; member
|
| /developtools/packing_tool/adapter/ohos/ |
| D | UncompressEntrance.java | 111 … for (UncompressEntrance.ParseAppMode resType : UncompressEntrance.ParseAppMode.values()) { in getType() 112 if (resType.getIndex() == index) { in getType() 113 return resType.type; in getType()
|
| D | ResourcesParser.java | 85 for (ResType resType : ResType.values()) { in getType() 86 if (resType.getIndex() == index) { in getType() 87 return resType.type; in getType()
|