Lines Matching refs:id
130 handles_.emplace("id", bind(&IdDefinedParser::ParseId, this, _1, _2));
145 resourceId.id = startSysId;
147 if ((handle.first == "id" && isSystem) || (handle.first == "order" && !isSystem)) {
164 auto ret = idDefineds_.emplace(resourceId.id, resourceId);
196 cerr << "Error: id_defined.json seq =" << resourceId.seq << " id empty." << endl;
200 cerr << "Error: id_defined.json seq =" << resourceId.seq << " id not string." << endl;
206 cerr << " id must be a hex string, eg:^0[xX][0-9a-fA-F]{8}" << endl;
209 int64_t id = strtoll(idStr.c_str(), nullptr, 16);
210 if (id < 0x01000000 || (id > 0x06FFFFFF && id < 0x08000000) || id > 0xFFFFFFFF) {
212 cerr << " id must in [0x01000000,0x06FFFFFF],[0x08000000,0xFFFFFFFF]." << endl;
215 resourceId.id = id;
250 (static_cast<uint64_t>(resourceId.id) & static_cast<uint64_t>(START_SYS_ID)) == START_SYS_ID &&
276 resourceId.id = resourceId.id + orderId;
293 int64_t id = strtoll(startIdNode->valuestring, nullptr, 16);
294 return id;