Lines Matching refs:value

66     for (const auto& [tag, value] : m) {  in serializeCameraMetadataMap()
67 if (value.count > 0) { in serializeCameraMetadataMap()
70 const size_t expectedDataSize = value.count * elementSize; in serializeCameraMetadataMap()
72 if (value.data.size() == expectedDataSize) { in serializeCameraMetadataMap()
73 if (add_camera_metadata_entry(cm.get(), tag, value.data.data(), value.count)) { in serializeCameraMetadataMap()
77 value.count); in serializeCameraMetadataMap()
86 value.count, expectedDataSize, value.data.size()); in serializeCameraMetadataMap()
149 std::vector<char> value; in prettyPrintCameraMetadata() local
156 value.resize(s + 4); in prettyPrintCameraMetadata()
157 s += snprintf(&value[s], value.size() - s, "%s%u", in prettyPrintCameraMetadata()
165 value.resize(s + 12); in prettyPrintCameraMetadata()
166 s += snprintf(&value[s], value.size() - s, "%s%d", in prettyPrintCameraMetadata()
174 value.resize(s + 12); in prettyPrintCameraMetadata()
175 s += snprintf(&value[s], value.size() - s, "%s%g", in prettyPrintCameraMetadata()
183 value.resize(s + 24); in prettyPrintCameraMetadata()
184 s += snprintf(&value[s], value.size() - s, "%s%" PRId64, in prettyPrintCameraMetadata()
192 value.resize(s + 25); in prettyPrintCameraMetadata()
193 s += snprintf(&value[s], value.size() - s, "%s%g", in prettyPrintCameraMetadata()
201 value.resize(s + 25); in prettyPrintCameraMetadata()
202 s += snprintf(&value[s], value.size() - s, "%s%d/%d", in prettyPrintCameraMetadata()
210 value.resize(12); in prettyPrintCameraMetadata()
211 snprintf(&value[0], value.size(), "%s", "bad type"); in prettyPrintCameraMetadata()
215 value.resize(8); in prettyPrintCameraMetadata()
216 snprintf(&value[0], value.size(), "%s", "empty"); in prettyPrintCameraMetadata()
222 e.tag, camera_metadata_type_names[e.type], e.count, value.data()); in prettyPrintCameraMetadata()