Home
last modified time | relevance | path

Searched refs:startId (Results 1 - 4 of 4) sorted by relevance

/developtools/global_resource_tool/src/
H A Did_worker.cpp25 uint32_t IdWorker::Init(ResourceIdCluster &type, int64_t startId) in Init() argument
37 appId_ = static_cast<uint64_t>(startId); in Init()
38 maxId_ = GetMaxId(startId); in Init()
158 uint64_t IdWorker::GetMaxId(uint64_t startId) const in GetMaxId()
161 while ((flag & startId) == 0) { in GetMaxId()
164 if (startId + flag < 1) { in GetMaxId()
167 return startId + flag - 1; in GetMaxId()
H A Dresource_pack.cpp89 int64_t startId = static_cast<int64_t>(packageParser_.GetStartId()); in InitModule() local
90 if (startId > 0) { in InitModule()
91 return idWorker.Init(hapType, startId); in InitModule()
110 startId = ((it - moduleNames.begin()) + 1) * 0x01000000; in InitModule()
111 if (startId >= 0x07000000) { in InitModule()
112 startId = startId + 0x01000000; in InitModule()
114 return idWorker.Init(hapType, startId); in InitModule()
H A Did_defined_parser.cpp41 int64_t startId = static_cast<int64_t>(packageParser_.GetStartId()); in Init() local
51 if (ResourceUtil::FileExist(idDefinedPath) && startId > 0) { in Init()
282 cJSON *startIdNode = cJSON_GetObjectItem(root_, "startId"); in GetStartId()
284 cerr << "Error: id_defined.json 'startId' empty." << endl; in GetStartId()
289 cerr << "Error: id_defined.json 'startId' not string." << endl; in GetStartId()
/developtools/global_resource_tool/include/
H A Did_worker.h39 uint64_t GetMaxId(uint64_t startId) const;

Completed in 3 milliseconds