Home
last modified time | relevance | path

Searched refs:stopValue (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/
H A Dfunction.cpp240 const auto& stopValue = arrayMember(*stopsValue, i); in convertStops() local
242 if (!isArray(stopValue)) { in convertStops()
247 if (arrayLength(stopValue) != 2) { in convertStops()
252 optional<float> t = convert<float>(arrayMember(stopValue, 0), error); in convertStops()
257 …optional<std::unique_ptr<Expression>> e = convertLiteral(type, arrayMember(stopValue, 1), error, c… in convertStops()
290 const auto& stopValue = arrayMember(*stopsValue, i); in convertBranches() local
292 if (!isArray(stopValue)) { in convertBranches()
297 if (arrayLength(stopValue) != 2) { in convertBranches()
302 optional<T> t = convert<T>(arrayMember(stopValue, 0), error); in convertBranches()
307 … optional<std::unique_ptr<Expression>> e = convertLiteral(type, arrayMember(stopValue, 1), error); in convertBranches()
[all …]