Lines Matching refs:item
166 for (const auto& item : stringItems_) {
167 WriteKV(item.first, item.second);
169 for (const auto& item : sizetItems_) {
170 WriteKV(item.first, item.second);
172 for (const auto& item : int32Items_) {
173 WriteKV(item.first, item.second);
175 for (const auto& item : int64Items_) {
176 WriteKV(item.first, item.second);
178 for (const auto& item : doubleItems_) {
179 WriteKV(item.first, item.second);
181 for (const auto& item : boolItems_) {
182 WriteKV(item.first, item.second);
184 for (const auto& item : children_) {
185 WriteObj(item.first, item.second);
208 for (const auto& item : stringItems_) {
209 hashValue_ += HashItem(item.first, item.second);
211 for (const auto& item : sizetItems_) {
212 hashValue_ += HashItem(item.first, item.second);
214 for (const auto& item : int32Items_) {
215 hashValue_ += HashItem(item.first, item.second);
217 for (const auto& item : int64Items_) {
218 hashValue_ += HashItem(item.first, item.second);
220 for (const auto& item : doubleItems_) {
221 hashValue_ += HashItem(item.first, item.second);
223 for (const auto& item : boolItems_) {
224 hashValue_ += HashItem(item.first, item.second);
226 for (const auto& item : children_) {
227 hashValue_ += item.second->Hash();
237 for (auto& item : stringItems_) {
238 buffsize += sizeof(uint8_t) + sizeof(int32_t) + item.first.length() + sizeof(int32_t) + item.second.length();
240 for (auto& item : sizetItems_) {
241 buffsize += sizeof(uint8_t) + sizeof(int32_t) + item.first.length() + sizeof(size_t);
243 for (auto& item : int32Items_) {
244 buffsize += sizeof(uint8_t) + sizeof(int32_t) + item.first.length() + sizeof(int32_t);
246 for (auto& item : int64Items_) {
247 buffsize += sizeof(uint8_t) + sizeof(int32_t) + item.first.length() + sizeof(int64_t);
249 for (auto& item : doubleItems_) {
250 buffsize += sizeof(uint8_t) + sizeof(int32_t) + item.first.length() + sizeof(double);
252 for (auto& item : boolItems_) {
253 buffsize += sizeof(uint8_t) + sizeof(int32_t) + item.first.length() + sizeof(bool);