Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/style/expression/
H A Dtype.hpp95 explicit Array(Type itemType_) : itemType(std::move(itemType_)) {} in Array()
96 Array(Type itemType_, std::size_t N_) : itemType(std::move(itemType_)), N(N_) {} in Array()
97 …Array(Type itemType_, optional<std::size_t> N_) : itemType(std::move(itemType_)), N(std::move(N_))… in Array()
100 return "array<" + toString(itemType) + ", " + util::toString(*N) + ">"; in getName()
101 } else if (itemType == Value) { in getName()
104 return "array<" + toString(itemType) + ">"; in getName()
108 bool operator==(const Array& rhs) const { return itemType == rhs.itemType && N == rhs.N; } in operator ==()
110 Type itemType; member
H A Dat.hpp14 Expression(Kind::At, input_->getType().get<type::Array>().itemType), in At()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/expression/
H A Darray_assertion.cpp44 optional<type::Type> itemType; in parse() local
56 itemType = it->second; in parse()
58 itemType = {type::Value}; in parse()
79 type::Array(*itemType, N), in parse()
90 if (array.itemType.is<type::StringType>() in serialize()
91 || array.itemType.is<type::NumberType>() in serialize()
92 || array.itemType.is<type::BooleanType>()) { in serialize()
93 serialized.emplace_back(type::toString(array.itemType)); in serialize()
H A Dvalue.cpp19 optional<type::Type> itemType; in typeOf() local
22 if (!itemType) { in typeOf()
23 itemType = {t}; in typeOf()
24 } else if (*itemType == t) { in typeOf()
27 itemType = {type::Value}; in typeOf()
32 return type::Array(itemType.value_or(type::Value), arr.size()); in typeOf()
H A Dcheck_subtype.cpp20 const auto err = checkSubtype(expectedArray.itemType, actualArray.itemType); in checkSubtype()
H A Dinterpolate.cpp248 if (arrayType.itemType != type::Number || !arrayType.N) { in createInterpolate()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapboxgl/
H A Dqmapboxglstylechange.cpp168 switch (item->itemType()) { in featureFromMapItem()
178 qWarning() << "Unsupported QGeoMap item type: " << item->itemType(); in featureFromMapItem()
237 switch (item->itemType()) { in addMapItem()
244 qWarning() << "Unsupported QGeoMap item type: " << item->itemType(); in addMapItem()
337 switch (item->itemType()) { in fromMapItem()
412 switch (item->itemType()) { in fromMapItem()
422 qWarning() << "Unsupported QGeoMap item type: " << item->itemType(); in fromMapItem()
H A Dqgeomapmapboxgl.cpp212 switch (item->itemType()) { in addMapItem()
267 switch (item->itemType()) { in removeMapItem()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativegeomapitembase.cpp286 if (!map_ || !quickMap_ || map_->supportedMapItemTypes() & itemType()) { in updatePaintNode()
321 QGeoMap::ItemType QDeclarativeGeoMapItemBase::itemType() const in itemType() function in QDeclarativeGeoMapItemBase
H A Dqdeclarativegeomapitembase_p.h112 QGeoMap::ItemType itemType() const;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/
H A Dfunction.cpp115 return array.N && array.itemType == type::Number; in interpolatable()
162 return array.itemType.match( in convertLiteral()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeomap.cpp266 if (item && !d->m_mapItems.contains(item) && d->supportedMapItemTypes() & item->itemType()) { in addMapItem()