• Home
  • Raw
  • Download

Lines Matching refs:it

132     for (const auto& it : mKeyValueStore) {  in writeToParcel()  local
134 RETURN_STATUS_IF_ERROR(parcel->writeCString(it.first.c_str())); in writeToParcel()
137 const ECODataValueType& value = it.second; in writeToParcel()
141 RETURN_STATUS_IF_ERROR(parcel->writeInt32(std::get<int32_t>(it.second))); in writeToParcel()
145 RETURN_STATUS_IF_ERROR(parcel->writeInt64(std::get<int64_t>(it.second))); in writeToParcel()
149 RETURN_STATUS_IF_ERROR(parcel->writeUint32(std::get<size_t>(it.second))); in writeToParcel()
153 RETURN_STATUS_IF_ERROR(parcel->writeFloat(std::get<float>(it.second))); in writeToParcel()
157 RETURN_STATUS_IF_ERROR(parcel->writeDouble(std::get<double>(it.second))); in writeToParcel()
161 RETURN_STATUS_IF_ERROR(parcel->writeCString(std::get<std::string>(it.second).c_str())); in writeToParcel()
165 RETURN_STATUS_IF_ERROR(parcel->writeByte(std::get<int8_t>(it.second))); in writeToParcel()
375 for (const auto& it : mKeyValueStore) { in debugString() local
378 const ECODataValueType& value = it.second; in debugString()
381 snprintf(keyValue, SIZE, "int32_t %s = %d, ", it.first.c_str(), in debugString()
382 std::get<int32_t>(it.second)); in debugString()
385 snprintf(keyValue, SIZE, "int64_t %s = %" PRId64 ", ", it.first.c_str(), in debugString()
386 std::get<int64_t>(it.second)); in debugString()
389 snprintf(keyValue, SIZE, "size_t %s = %zu, ", it.first.c_str(), in debugString()
390 std::get<size_t>(it.second)); in debugString()
393 snprintf(keyValue, SIZE, "float %s = %f, ", it.first.c_str(), in debugString()
394 std::get<float>(it.second)); in debugString()
397 snprintf(keyValue, SIZE, "double %s = %f, ", it.first.c_str(), in debugString()
398 std::get<double>(it.second)); in debugString()
401 snprintf(keyValue, SIZE, "string %s = %s, ", it.first.c_str(), in debugString()
402 std::get<std::string>(it.second).c_str()); in debugString()
405 snprintf(keyValue, SIZE, "int8_t %s = %d, ", it.first.c_str(), in debugString()
406 std::get<int8_t>(it.second)); in debugString()