Lines Matching defs:id
65 resourceId.id = it.second;
84 return result->second.id;
96 ids_.emplace(make_pair(resType, name), defined->second.id);
97 return defined->second.id;
107 cerr << "Error: id count exceed " << appId_ << ">" << maxId_ << endl;
110 int64_t id = -1;
112 id = delIds_.front();
115 id = GetCurId();
116 if (id < 0) {
120 ids_.emplace(make_pair(resType, name), id);
121 return id;
130 uint64_t id = appId_;
131 auto ret = find_if(appDefinedIds_.begin(), appDefinedIds_.end(), [id](const auto &iter) {
132 return id == iter.second.id;
139 cerr << "Error: id count exceed in id_defined." << appId_ << ">" << maxId_ << endl;
152 ids_.emplace(make_pair(resType, name), defined->second.id);
153 return defined->second.id;