Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 614) sorted by relevance

12345678910>>...25

/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_ui/
H A Dtst_map_mouse.qml256 compare(mouseUpperEnabledChangedSpy.count, 1)
257 compare(mouseUpperClickedSpy.count, 0)
259 compare(mouseUpperClickedSpy.count, 0)
263 compare(mouseUpperEnabledChangedSpy.count, 2)
265 compare(mouseOverlapperClickedSpy.count, 0)
268 compare(mouseOverlapperClickedSpy.count, 1)
270 compare(mouseOverlapperEnabledChangedSpy.count, 1)
271 compare(mouseOverlapper.enabled, false)
274 compare(mouseUpperClickedSpy.count, 2)
277 compare(mouseOverlapperEnabledChangedSpy.count, 2)
[all …]
H A Dtst_map_maptype.qml57 compare(map.supportedMapTypes.length, 0)
58 compare(map.activeMapType.style, MapType.NoMap)
61 compare(map.supportedMapTypes.length, 4)
62 compare(map.supportedMapTypes[0].style, MapType.StreetMap)
63 compare(map.supportedMapTypes[0].name, "StreetMap")
64 compare(map.supportedMapTypes[0].description, "StreetMap")
65 compare(map.supportedMapTypes[1].style, MapType.SatelliteMapDay)
66 compare(map.supportedMapTypes[1].name, "SatelliteMapDay")
67 compare(map.supportedMapTypes[1].description, "SatelliteMapDay")
68 compare(map.supportedMapTypes[2].style, MapType.CycleMap)
[all …]
H A Dtst_map.qml165 compare(mapWithLazyPlugin.supportedMapTypes.length, 5)
166 compare(mapWithLazyPlugin.supportedMapTypes[4].name, "SomeString")
171 compare(map.center.latitude, 10)
172 compare(map.center.longitude, 11)
176 compare(mapCenterSpy.count, 0)
178 compare(mapCenterSpy.count, 1)
180 compare(mapCenterSpy.count, 1)
184 compare(mapCenterSpy.count, 0)
186 compare(mapCenterSpy.count, 1)
187 compare(map.center, coordinate5)
[all …]
H A Dtst_map_pinch.qml.QTBUG-47970148 compare(map.gesture.enabled, true)
150 compare(gestureEnabledSpy.count, 1)
151 compare(map.gesture.enabled, false)
153 compare(gestureEnabledSpy.count, 1)
154 compare(map.gesture.enabled, false)
156 compare(gestureEnabledSpy.count, 2)
157 compare(map.gesture.enabled, true)
158 compare(map.gesture.isPinchActive, false)
161 compare(map.gesture.activeGestures, MapGestureArea.NoGesture)
162 compare(pinchActiveGesturesSpy.count, 1)
[all …]
H A Dtst_map_itemview.qml310 compare(theItemView.delegate, theItemViewsComponent);
311 compare(theItemView.model, testModel);
316 compare(map.mapItems.length, 1)
317 compare(map.mapItems[0], prepopulatedCircle)
318 compare(mapItemSpy.count, 0)
321 compare(mapItemSpy.count, 0)
322 compare(map.mapItems.length, 1)
323 compare(map.mapItems[0], prepopulatedCircle)
326 compare(mapItemSpy.count, 1)
327 compare(map.mapItems.length, 0)
[all …]
H A Dtst_map_item.qml225 // a little slack with fuzzy compare
289 compare(preMapCircleClicked.count, 0)
297 compare(preMapRectClicked.count, 1)
303 compare(preMapCircleClicked.count, 1)
306 compare(preMapQuickItemClicked.count, 0)
314 compare (preMapPolygonClicked.count, 0)
326 compare (map.mapItems.length, 0)
330 compare(preMapRectClicked.count, 0)
335 compare(preMapRectClicked.count, 0)
336 compare(preMapCircleClicked.count, 0)
[all …]
H A Dtst_map_flick.qml124 compare(map.gesture.pinchActive, false)
125 compare(map.gesture.panActive, false)
131 compare(map.gesture.enabled, true)
133 compare(gestureEnabledSpy.count, 1)
134 compare(map.gesture.enabled, false)
136 compare(gestureEnabledSpy.count, 1)
137 compare(map.gesture.enabled, false)
139 compare(gestureEnabledSpy.count, 2)
140 compare(map.gesture.enabled, true)
141 compare(map.gesture.pinchActive, false)
[all …]
H A Dtst_map_error.qml113 compare(map_no_plugin.supportedMapTypes.length , 0)
114 compare(map_error_plugin.supportedMapTypes.length , 0)
120 compare(map_no_plugin.zoomLevel,9)
122 compare(map_error_plugin.zoomLevel,9)
135 compare(map_no_plugin.mapItems.length , 0)
136 compare(map_error_plugin.mapItems.length , 0)
141 compare(map_no_plugin.error , 0)
142 compare(map_no_plugin.errorString , "")
143 compare(map_error_plugin.error , 1)
144 compare(map_error_plugin.errorString ,"This error was expected. No worries !")
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/
H A Dtst_routing.qml97 compare(mapRouteRouteSpy.count, 0)
98 compare(mapRouteColorSpy.count, 0)
99 compare(mapRouteDetailLevelSpy.count, 0)
100 compare (emptyMapRoute.detailLevel, 6)
103 compare(mapRouteRouteSpy.count, 0)
104 compare(mapRouteColorSpy.count, 1)
105 compare(mapRouteDetailLevelSpy.count, 1)
108 compare(mapRouteColorSpy.count, 1)
109 compare(mapRouteDetailLevelSpy.count, 1)
111 compare(mapRouteRouteSpy.count, 1)
[all …]
H A Dtst_geocoding.qml71 compare (querySpy.count, 0)
73 compare (querySpy.count, 1)
74 compare (emptyModel.query.street, address1.street)
76 compare (querySpy.count, 1)
77 compare (emptyModel.query.street, address1.street)
80 compare (querySpy.count, 2)
81 compare (emptyModel.query.latitude, coordinate1.latitude)
83 compare (querySpy.count, 2)
84 compare (emptyModel.query.latitude, coordinate1.latitude)
87 compare (querySpy.count, 3)
[all …]
H A Dtst_positionsource.qml50 compare(activeDefaultSource.active, true);
62 compare(defaultSource.active, false);
67 compare(defaultSourceSpy.count, 0);
69 compare(defaultSourceSpy.count, 0);
88 compare(testingSourcePluginSpy.count, 0);
89 compare(testSetSource.name, defaultSourceName);
94 compare(testingSourcePluginSpy.count, 0);
95 compare(testSetSource.name, "test.source");
100 compare(testingSourcePluginSpy.count, 1);
131 compare(testingSource.updateInterval, 1000);
[all …]
H A Dtst_coordinate.qml103 compare (testLocation.coordinate.longitude, inside.longitude)
104 compare (testLocation.coordinate.latitude, inside.latitude)
106 compare (testLocation.boundingBox.contains(inside), true)
107 compare (testLocation.boundingBox.contains(outside), false)
108 compare (testLocation.boundingBox.bottomRight.longitude, br.longitude)
109 compare (testLocation.boundingBox.bottomRight.latitude, br.latitude)
110 compare (testLocation.boundingBox.topLeft.longitude, tl.longitude)
111 compare (testLocation.boundingBox.topLeft.latitude, tl.latitude)
113 compare (testLocation.address.country, "Australia")
114 compare (testLocation.address.countryCode, "AUS")
[all …]
H A Dtst_place.qml263 compare(emptyPlace.plugin, null);
264 compare(emptyPlace.categories.length, 0);
265 compare(emptyPlace.name, "");
266 compare(emptyPlace.placeId, "");
267 compare(emptyPlace.detailsFetched, false);
268 compare(emptyPlace.status, Place.Ready);
269 compare(emptyPlace.primaryPhone, "");
270 compare(emptyPlace.primaryFax, "");
271 compare(emptyPlace.primaryEmail, "");
272 compare(emptyPlace.primaryWebsite, "");
[all …]
H A Dtst_category.qml42 compare(emptyCategory.categoryId, "");
43 compare(emptyCategory.name, "");
44 compare(emptyCategory.visibility, Category.UnspecifiedVisibility);
45 compare(emptyCategory.status, Category.Ready);
46 compare(emptyCategory.plugin, null);
67 compare(qmlCategory.categoryId, "test-category-id");
68 compare(qmlCategory.name, "Test Category");
69 compare(qmlCategory.visibility, Category.DeviceVisibility);
70 compare(qmlCategory.status, Category.Ready);
71 compare(qmlCategory.plugin, testPlugin);
[all …]
H A Dutils.js37 testCase.compare(signalSpy.count, 1 + data.expectedValue.length);
40 testCase.compare(signalSpy.count, 1 + data.value.length);
44 testCase.compare(testObject[data.property], data.value);
45 testCase.compare(signalSpy.count, 1);
55 testCase.compare(signalSpy.count, 1 + data.expectedValue.length);
58 testCase.compare(signalSpy.count, 1 + data.value.length);
62 testCase.compare(testObject[data.property], data.value);
63 testCase.compare(signalSpy.count, 0);
71 testCase.compare(testObject[data.property], null);
77 testCase.compare(testObject[data.property], data.reset);
[all …]
H A Dtst_address.qml50 compare(address.isTextGenerated, true);
51 compare(address.text, "742 Evergreen Tce<br/>Springfield, Oregon 8900<br/>United States");
61 compare(address.text, "742 Evergreen Tce<br/>8900 Springfield<br/>United States");
62 compare(textChangedSpy.count, 1);
64 compare(isTextGeneratedSpy.count, 0);
67 compare(address.isTextGenerated, false);
68 compare(address.text, "address label");
69 compare(textChangedSpy.count, 1);
71 compare(isTextGeneratedSpy.count, 1);
75 compare(address.text, "address label");
[all …]
H A Dtst_placesearchsuggestionmodel.qml82 compare(statusChangedSpy.count, 0);
85 compare(testModel.status, PlaceSearchSuggestionModel.Null);
90 compare(testModel.status, PlaceSearchSuggestionModel.Loading);
91 compare(statusChangedSpy.count, 1);
94 compare(statusChangedSpy.count, 2);
98 compare(suggestionsChangedSpy.count, 1);
99 compare(testModel.suggestions, expectedSuggestions);
103 compare(statusChangedSpy.count, 3);
104 compare(testModel.status, PlaceSearchSuggestionModel.Null);
105 compare(suggestionsChangedSpy.count, 2);
[all …]
H A Dtst_position.qml55 compare(defaultPosition.latitudeValid, false);
56 compare(defaultPosition.longitudeValid, false);
57 compare(defaultPosition.altitudeValid, false);
58 compare(defaultPosition.speedValid, false);
59 compare(defaultPosition.horizontalAccuracyValid, false);
60 compare(defaultPosition.verticalAccuracyValid, false);
83 compare(horizontalAccuracySpy.count, 1);
84 compare(horizontalAccuracyValidSpy.count, 1);
85 compare(defaultPosition.horizontalAccuracy, 10);
86 compare(defaultPosition.horizontalAccuracyValid, true);
[all …]
H A Dtst_categorymodel.qml84 compare(categoryModel.model.status, CategoryModel.Null);
85 compare(categoryModel.count, 0);
92 compare(modelSpy.count, 1);
95 compare(modelSpy.count, 2);
96 compare(categoryModel.model.errorString(), "");
100 compare(categoryModel.count, expectedNames.length);
105 compare(category.name, expectedNames[i]);
114 compare(categoryModel.count, expectedNames.length);
119 compare(category.name, expectedNames[i]);
123 compare(parentCategory.name, "Accommodation");
[all …]
H A Dtst_placeicon.qml42 compare(emptyIcon.plugin, null);
43 compare(emptyIcon.parameters.keys().length, 0)
55 compare(u, "http://example.com/icon.png");
58 compare(u, "http://example.com/icon.png");
62 compare(u, "file:///home/user/icon.png");
77 compare(qmlIconParams.plugin, testPlugin);
82 compare(qmlIconParams.url(Qt.size(10, 10)), "http://example.com/icon_small.png");
83 compare(qmlIconParams.url(Qt.size(20, 20)), "http://example.com/icon_small.png");
84 compare(qmlIconParams.url(Qt.size(24, 24)), "http://example.com/icon_small.png");
85 compare(qmlIconParams.url(Qt.size(25, 25)), "http://example.com/icon_medium.png");
[all …]
H A Dtst_placesearchmodel.qml181 compare(testModel.status, PlaceSearchModel.Null);
186 compare(testModel.status, PlaceSearchModel.Loading);
187 compare(statusChangedSpy.count, 1);
190 compare(statusChangedSpy.count, 2);
193 compare(countChangedSpy.count, 1);
195 compare(countChangedSpy.count, 0);
198 compare(testModel.data(i, "type"), PlaceSearchModel.PlaceResult);
209 compare(p.extendedAttributes["x_provider"].text, "QPlacePrivateDefaultAlt")
215 compare(statusChangedSpy.count, 3);
216 compare(testModel.status, PlaceSearchModel.Null);
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_geoshape/
H A Dtst_locationsingleton.qml50 compare (emptyCircle.radius, -1)
51 compare (circle1.radius, 200000)
54 compare(circleChangedSpy.count, 1);
56 compare(circleChangedSpy.count, 1);
59 compare(circleChangedSpy.count, 2);
61 compare(circleChangedSpy.count, 2);
63 compare(circleChangedSpy.count, 3);
68 compare(emptyCircle.contains(coordinate1), true);
69 compare(emptyCircle.contains(coordinate2), true);
70 compare(emptyCircle.contains(coordinate3), false);
[all …]
/OK3568_Linux_fs/app/qsetting/
H A Dqtkeyboard.cpp78 } else if(! button->objectName().compare("btnApostrophe")){ in changeInputType()
80 } else if(! button->objectName().compare("btnBackslash")){ in changeInputType()
82 } else if(! button->objectName().compare("btnComma")){ in changeInputType()
84 } else if(! button->objectName().compare("btnDash")){ in changeInputType()
86 } else if(! button->objectName().compare("btnDot")){ in changeInputType()
88 } else if(! button->objectName().compare("btnEquals")){ in changeInputType()
90 } else if(! button->objectName().compare("btnSemicolon")){ in changeInputType()
92 } else if(! button->objectName().compare("btnSlash")){ in changeInputType()
94 } else if(! button->objectName().compare("btnOther1")){ in changeInputType()
96 } else if(! button->objectName().compare("btnOther2")){ in changeInputType()
[all …]
/OK3568_Linux_fs/kernel/drivers/base/
H A Dcomponent.c48 int (*compare)(struct device *, void *); member
58 struct component_match_array *compare; member
104 struct component *component = match->compare[i].component; in component_devices_show()
170 if (mc->compare && mc->compare(c->dev, mc->data)) in find_component()
192 struct component_match_array *mc = &match->compare[i]; in find_components()
197 if (match->compare[i].component) in find_components()
209 match->compare[i].duplicate = !!c->master; in find_components()
210 match->compare[i].component = c; in find_components()
223 if (master->match->compare[i].component == c) in remove_component()
224 master->match->compare[i].component = NULL; in remove_component()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/policies/
H A Dcompare.hpp24 namespace detail { namespace compare namespace
38 typedef typename strategy::compare::detail::select_strategy
60 compare_type compare; in apply() local
61 return compare(cleft, cright); in apply()
89 return detail::compare::compare_loop in operator ()()
101 Strategy compare; member in boost::geometry::detail::compare::compare_in_one_dimension
110 return compare(cleft, cright); in operator ()()
130 : detail::compare::compare_in_one_dimension
133 typename strategy::compare::detail::select_strategy
145 : detail::compare::compare_in_all_dimensions<Direction, Point, Strategy>
[all …]

12345678910>>...25