| /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/grub/files/ |
| H A D | CVE-2022-3775.patch | 6 The expression (ctx.bounds.height - combining_glyphs[i]->height) / 2 may 7 evaluate to a very big invalid value even if both ctx.bounds.height and 9 ctx.bounds.height is 10 and combining_glyphs[i]->height is 12, this 11 coordinates are allowed to be negative but ctx.bounds.height is an 16 This patch fixes the problem by casting ctx.bounds.height to int. As 19 uses of ctx.bounds.height (and ctx.bounds.width) are also casted to int, 43 ctx.bounds.height = main_glyph->height; 46 - above_righty = ctx.bounds.y + ctx.bounds.height; 47 + above_righty = ctx.bounds.y + (int) ctx.bounds.height; 50 - above_lefty = ctx.bounds.y + ctx.bounds.height; [all …]
|
| H A D | CVE-2022-2601.patch | 33 struct grub_video_signed_rect bounds; 44 - if (max_glyph_size < sizeof (*glyph) + (bounds.width * bounds.height + GRUB_CHAR_BIT - 1) / GRUB… 45 + if (grub_video_bitmap_calc_1bpp_bufsz (bounds.width, bounds.height, &cur_glyph_size) || 52 - max_glyph_size = (sizeof (*glyph) + (bounds.width * bounds.height + GRUB_CHAR_BIT - 1) / GRU… 68 - + (bounds.width * bounds.height 73 - glyph->width = bounds.width; 74 - glyph->height = bounds.height; 75 - glyph->offset_x = bounds.x; 76 - glyph->offset_y = bounds.y; 77 + if (bounds.width == 0 || bounds.height == 0 || [all …]
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_trapezoid.c | 83 BoxRec bounds; in glamor_trapezoids() local 105 miTrapezoidBounds(ntrap, traps, &bounds); in glamor_trapezoids() 107 if (bounds.y1 >= bounds.y2 || bounds.x1 >= bounds.x2) in glamor_trapezoids() 113 width = bounds.x2 - bounds.x1; in glamor_trapezoids() 114 height = bounds.y2 - bounds.y1; in glamor_trapezoids() 132 -bounds.x1, -bounds.y1); in glamor_trapezoids() 143 x_rel = bounds.x1 + x_src - x_dst; in glamor_trapezoids() 144 y_rel = bounds.y1 + y_src - y_dst; in glamor_trapezoids() 149 bounds.x1, bounds.y1, in glamor_trapezoids() 150 bounds.x2 - bounds.x1, bounds.y2 - bounds.y1); in glamor_trapezoids()
|
| H A D | glamor_copy.c | 374 BoxRec bounds = glamor_no_rendering_bounds(); in glamor_copy_fbo_fbo_draw() local 428 bounds = glamor_start_rendering_bounds(); in glamor_copy_fbo_fbo_draw() 430 glamor_bounds_union_box(&bounds, &box[i]); in glamor_copy_fbo_fbo_draw() 461 .x1 = max(-args.dx, bounds.x1), in glamor_copy_fbo_fbo_draw() 462 .y1 = max(-args.dy, bounds.y1), in glamor_copy_fbo_fbo_draw() 463 .x2 = min(-args.dx + src_box->x2 - src_box->x1, bounds.x2), in glamor_copy_fbo_fbo_draw() 464 .y2 = min(-args.dy + src_box->y2 - src_box->y1, bounds.y2), in glamor_copy_fbo_fbo_draw() 518 BoxRec bounds; in glamor_copy_fbo_fbo_temp() local 539 bounds = box[0]; in glamor_copy_fbo_fbo_temp() 541 bounds.x1 = min(bounds.x1, box[n].x1); in glamor_copy_fbo_fbo_temp() [all …]
|
| H A D | glamor_utils.h | 680 BoxRec bounds = { in glamor_no_rendering_bounds() local 687 return bounds; in glamor_no_rendering_bounds() 693 BoxRec bounds = { in glamor_start_rendering_bounds() local 700 return bounds; in glamor_start_rendering_bounds() 704 glamor_bounds_union_rect(BoxPtr bounds, xRectangle *rect) in glamor_bounds_union_rect() argument 706 bounds->x1 = min(bounds->x1, rect->x); in glamor_bounds_union_rect() 707 bounds->y1 = min(bounds->y1, rect->y); in glamor_bounds_union_rect() 708 bounds->x2 = min(SHRT_MAX, max(bounds->x2, rect->x + rect->width)); in glamor_bounds_union_rect() 709 bounds->y2 = min(SHRT_MAX, max(bounds->y2, rect->y + rect->height)); in glamor_bounds_union_rect() 713 glamor_bounds_union_box(BoxPtr bounds, BoxPtr box) in glamor_bounds_union_box() argument [all …]
|
| H A D | glamor_rects.c | 58 BoxRec bounds = glamor_no_rendering_bounds(); in glamor_poly_fill_rect_gl() local 67 bounds = glamor_start_rendering_bounds(); in glamor_poly_fill_rect_gl() 69 glamor_bounds_union_rect(&bounds, &prect[i]); in glamor_poly_fill_rect_gl() 139 .x1 = max(box->x1, bounds.x1 + drawable->x), in glamor_poly_fill_rect_gl() 140 .y1 = max(box->y1, bounds.y1 + drawable->y), in glamor_poly_fill_rect_gl() 141 .x2 = min(box->x2, bounds.x2 + drawable->x), in glamor_poly_fill_rect_gl() 142 .y2 = min(box->y2, bounds.y2 + drawable->y), in glamor_poly_fill_rect_gl()
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | mitri.c | 37 miPointFixedBounds(int npoint, xPointFixed * points, BoxPtr bounds) in miPointFixedBounds() argument 39 bounds->x1 = xFixedToInt(points->x); in miPointFixedBounds() 40 bounds->x2 = xFixedToInt(xFixedCeil(points->x)); in miPointFixedBounds() 41 bounds->y1 = xFixedToInt(points->y); in miPointFixedBounds() 42 bounds->y2 = xFixedToInt(xFixedCeil(points->y)); in miPointFixedBounds() 51 if (x1 < bounds->x1) in miPointFixedBounds() 52 bounds->x1 = x1; in miPointFixedBounds() 53 else if (x2 > bounds->x2) in miPointFixedBounds() 54 bounds->x2 = x2; in miPointFixedBounds() 55 if (y1 < bounds->y1) in miPointFixedBounds() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/ |
| H A D | qgeocodingmanagerengine_nokia.cpp | 101 const QGeoShape &bounds) in geocode() argument 114 if (bounds.type() == QGeoShape::UnknownType) { in geocode() 116 } else if (bounds.type() == QGeoShape::CircleType) { in geocode() 117 QGeoCircle circ(bounds); in geocode() 127 QGeoRectangle rect = bounds.boundingGeoRectangle(); in geocode() 182 return geocode(requestString, bounds, manualBoundsRequired); in geocode() 188 const QGeoShape &bounds) in geocode() argument 219 if (bounds.type() == QGeoShape::RectangleType) { in geocode() 220 QGeoRectangle rect(bounds); in geocode() 231 } else if (bounds.type() == QGeoShape::CircleType) { in geocode() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/storage/ |
| H A D | offline.cpp | 17 bounds(std::move(bounds_)), in OfflineTilePyramidRegionDefinition() 33 for (const auto& tile : util::tileCover(bounds, z)) { in tileCover() 46 result += util::tileCount(bounds, z); in tileCount() 79 LatLngBounds bounds = LatLngBounds::hull( in decodeOfflineRegionDefinition() local 86 return { styleURL, bounds, minZoom, maxZoom, pixelRatio }; in decodeOfflineRegionDefinition() 95 … rapidjson::GenericValue<rapidjson::UTF8<>, rapidjson::CrtAllocator> bounds(rapidjson::kArrayType); in encodeOfflineRegionDefinition() local 96 bounds.PushBack(region.bounds.south(), doc.GetAllocator()); in encodeOfflineRegionDefinition() 97 bounds.PushBack(region.bounds.west(), doc.GetAllocator()); in encodeOfflineRegionDefinition() 98 bounds.PushBack(region.bounds.north(), doc.GetAllocator()); in encodeOfflineRegionDefinition() 99 bounds.PushBack(region.bounds.east(), doc.GetAllocator()); in encodeOfflineRegionDefinition() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/ |
| H A D | tile_cover.cpp | 149 LatLngBounds bounds = LatLngBounds::hull( in tileCover() local 154 Projection::project(bounds.northwest(), z), in tileCover() 155 Projection::project(bounds.northeast(), z), in tileCover() 156 Projection::project(bounds.southeast(), z), in tileCover() 157 Projection::project(bounds.southwest(), z), in tileCover() 158 Projection::project(bounds.center(), z), in tileCover() 189 uint64_t tileCount(const LatLngBounds& bounds, uint8_t zoom){ in tileCount() argument 193 auto sw = Projection::project(bounds.southwest(), zoom); in tileCount() 194 auto ne = Projection::project(bounds.northeast(), zoom); in tileCount() 217 LatLngBounds bounds = LatLngBounds::hull( in TileCover() local [all …]
|
| H A D | tile_range.hpp | 17 … static TileRange fromLatLngBounds(const LatLngBounds& bounds, uint8_t minZoom, uint8_t maxZoom) { in fromLatLngBounds() argument 22 auto swProj = Projection::project(bounds.southwest().wrapped(), maxZoom); in fromLatLngBounds() 23 auto ne = bounds.northeast(); in fromLatLngBounds() 36 static TileRange fromLatLngBounds(const LatLngBounds& bounds, uint8_t z) { in fromLatLngBounds() argument 37 return fromLatLngBounds(bounds, z, z); in fromLatLngBounds()
|
| /OK3568_Linux_fs/kernel/ |
| H A D | Kbuild | 6 # Generate bounds.h 8 bounds-file := include/generated/bounds.h 10 always-y := $(bounds-file) 11 targets := kernel/bounds.s 13 $(bounds-file): kernel/bounds.s FORCE 34 arch/$(SRCARCH)/kernel/asm-offsets.s: $(timeconst-file) $(bounds-file)
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_render.c | 1124 BoxRec bounds; in exaTrapezoids() local 1131 miTrapezoidBounds(ntrap, traps, &bounds); in exaTrapezoids() 1133 if (bounds.y1 >= bounds.y2 || bounds.x1 >= bounds.x2) in exaTrapezoids() 1140 bounds.x2 - bounds.x1, in exaTrapezoids() 1141 bounds.y2 - bounds.y1); in exaTrapezoids() 1148 (*ps->RasterizeTrapezoid) (pPicture, traps, -bounds.x1, -bounds.y1); in exaTrapezoids() 1151 xRel = bounds.x1 + xSrc - xDst; in exaTrapezoids() 1152 yRel = bounds.y1 + ySrc - yDst; in exaTrapezoids() 1154 xRel, yRel, 0, 0, bounds.x1, bounds.y1, in exaTrapezoids() 1155 bounds.x2 - bounds.x1, bounds.y2 - bounds.y1); in exaTrapezoids() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/ |
| H A D | qgeocodingmanagerengine.cpp | 175 const QGeoShape &bounds) in geocode() argument 178 Q_UNUSED(bounds); in geocode() 220 const QGeoShape &bounds) in reverseGeocode() argument 223 Q_UNUSED(bounds); in reverseGeocode() 260 const QGeoShape &bounds) in geocode() argument 265 Q_UNUSED(bounds); in geocode()
|
| H A D | qgeocodingmanager.cpp | 171 QGeoCodeReply *QGeoCodingManager::geocode(const QGeoAddress &address, const QGeoShape &bounds) in geocode() argument 173 return d_ptr->engine->geocode(address, bounds); in geocode() 213 …Reply *QGeoCodingManager::reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) in reverseGeocode() argument 215 return d_ptr->engine->reverseGeocode(coordinate, bounds); in reverseGeocode() 250 const QGeoShape &bounds) in geocode() argument 255 bounds); in geocode()
|
| H A D | qgeoroute.cpp | 191 void QGeoRoute::setBounds(const QGeoRectangle &bounds) in setBounds() argument 193 d_ptr->setBounds(bounds); in setBounds() 199 QGeoRectangle QGeoRoute::bounds() const in bounds() function in QGeoRoute 201 return d_ptr->bounds(); in bounds() 386 && (bounds() == other.bounds()) in equals() 416 void QGeoRoutePrivate::setBounds(const QGeoRectangle &bounds) in setBounds() argument 418 Q_UNUSED(bounds); in setBounds() 421 QGeoRectangle QGeoRoutePrivate::bounds() const in bounds() function in QGeoRoutePrivate 579 void QGeoRoutePrivateDefault::setBounds(const QGeoRectangle &bounds) in setBounds() argument 581 m_bounds = bounds; in setBounds() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/rkisp1/ |
| H A D | rkisp1-common.c | 20 const struct v4l2_rect *bounds) in rkisp1_sd_adjust_crop_rect() argument 23 v4l2_rect_map_inside(crop, bounds); in rkisp1_sd_adjust_crop_rect() 27 const struct v4l2_mbus_framefmt *bounds) in rkisp1_sd_adjust_crop() argument 32 .width = bounds->width, in rkisp1_sd_adjust_crop() 33 .height = bounds->height, in rkisp1_sd_adjust_crop()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/ |
| H A D | qgeocodingmanagerenginemapbox.cpp | 87 …eReply *QGeoCodingManagerEngineMapbox::geocode(const QGeoAddress &address, const QGeoShape &bounds) in geocode() argument 94 return doSearch(address.text().simplified(), queryItems, bounds); in geocode() 135 return doSearch(addressString.join(QStringLiteral(", ")), queryItems, bounds); in geocode() 138 …anagerEngineMapbox::geocode(const QString &address, int limit, int offset, const QGeoShape &bounds) in geocode() argument 146 return doSearch(address, queryItems, bounds); in geocode() 149 …odingManagerEngineMapbox::reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) in reverseGeocode() argument 156 return doSearch(coordinateString, queryItems, bounds); in reverseGeocode() 159 …nagerEngineMapbox::doSearch(const QString &request, QUrlQuery &queryItems, const QGeoShape &bounds) in doSearch() argument 166 QGeoRectangle boundingBox = bounds.boundingGeoRectangle(); in doSearch()
|
| H A D | qgeocodingmanagerenginemapbox.h | 61 QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds) override; 63 const QGeoShape &bounds) override; 65 const QGeoShape &bounds) override; 72 QGeoCodeReply *doSearch(const QString &, QUrlQuery &, const QGeoShape &bounds);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | head917d.c | 53 u32 bounds = 0; in head917d_base() local 58 case 8: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_64); break; in head917d_base() 59 case 4: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_32); break; in head917d_base() 60 case 2: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_16); break; in head917d_base() 61 case 1: bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, PIXEL_DEPTH, BPP_8); break; in head917d_base() 66 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, USABLE, TRUE); in head917d_base() 67 bounds |= NVDEF(NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS, BASE_LUT, USAGE_1025); in head917d_base() 73 PUSH_MTHD(push, NV917D, HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(i), bounds); in head917d_base()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/ |
| H A D | geo.hpp | 96 LatLngBounds bounds(a, a); in hull() local 97 bounds.extend(b); in hull() 98 return bounds; in hull() 103 LatLngBounds bounds = world(); in empty() local 104 std::swap(bounds.sw, bounds.ne); in empty() 105 return bounds; in empty() 147 void extend(const LatLngBounds& bounds) { in extend() argument 148 extend(bounds.sw); in extend() 149 extend(bounds.ne); in extend()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocodingmanagerplugins/ |
| H A D | qgeocodingmanagerengine_test.h | 72 …QGeoCodeReply* geocode(const QString &searchString, int limit, int offset, const QGeoShape &bounds) in geocode() argument 77 geocodereply->callSetViewport(bounds); in geocode() 85 QGeoCodeReply* geocode (const QGeoAddress &address, const QGeoShape &bounds) in geocode() argument 88 geocodereply->callSetViewport(bounds); in geocode() 96 QGeoCodeReply* reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) in reverseGeocode() argument 99 geocodereply->callSetViewport(bounds); in reverseGeocode()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | Kconfig.ubsan | 33 …depends on !$(cc-option,-Werror=unused-command-line-argument -fsanitize=bounds -fsanitize-coverage… 41 def_bool $(cc-option,-fsanitize=bounds) 44 def_bool $(cc-option,-fsanitize=array-bounds) 47 bool "Perform array index bounds checking" 52 This option enables detection of directly indexed out of bounds 62 This is a weird case: Clang's -fsanitize=bounds includes 63 -fsanitize=local-bounds, but it's trapping-only, so for 64 Clang, we must use -fsanitize=array-bounds when we want 65 traditional array bounds checking enabled. For GCC, we 66 want -fsanitize=bounds. [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/ |
| H A D | geocodingmanagerengine_esri.cpp | 101 const QGeoShape &bounds) in geocode() argument 103 return geocode(addressToQuery(address), 1, -1, bounds); in geocode() 107 const QGeoShape &bounds) in geocode() argument 121 if (bounds.type() != QGeoShape::UnknownType) in geocode() 122 …query.addQueryItem(QStringLiteral("searchExtent"), boundingBoxToLtrb(bounds.boundingGeoRectangle()… in geocode() 141 const QGeoShape &bounds) in reverseGeocode() argument 143 Q_UNUSED(bounds); in reverseGeocode()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/ |
| H A D | qgeocodingmanagerengineosm.cpp | 102 …CodeReply *QGeoCodingManagerEngineOsm::geocode(const QGeoAddress &address, const QGeoShape &bounds) in geocode() argument 104 return geocode(addressToQuery(address), -1, -1, bounds); in geocode() 107 …ngManagerEngineOsm::geocode(const QString &address, int limit, int offset, const QGeoShape &bounds) in geocode() argument 120 if (bounds.type() != QGeoShape::UnknownType) { in geocode() 121 … query.addQueryItem(QStringLiteral("viewbox"), boundingBoxToLtrb(bounds.boundingGeoRectangle())); in geocode() 149 const QGeoShape &bounds) in reverseGeocode() argument 151 Q_UNUSED(bounds); in reverseGeocode()
|