Home
last modified time | relevance | path

Searched refs:geo (Results 1 - 25 of 74) sorted by relevance

123

/third_party/skia/include/core/
H A DSkSurfaceProps.h26 // Returns true iff geo is a known geometry and is RGB.
27 static inline bool SkPixelGeometryIsRGB(SkPixelGeometry geo) { in SkPixelGeometryIsRGB() argument
28 return kRGB_H_SkPixelGeometry == geo || kRGB_V_SkPixelGeometry == geo; in SkPixelGeometryIsRGB()
31 // Returns true iff geo is a known geometry and is BGR.
32 static inline bool SkPixelGeometryIsBGR(SkPixelGeometry geo) { in SkPixelGeometryIsBGR() argument
33 return kBGR_H_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsBGR()
36 // Returns true iff geo is a known geometry and is horizontal.
37 static inline bool SkPixelGeometryIsH(SkPixelGeometry geo) { in SkPixelGeometryIsH() argument
42 SkPixelGeometryIsV(SkPixelGeometry geo) SkPixelGeometryIsV() argument
[all...]
/third_party/NuttX/drivers/bch/
H A Dbchlib_setup.c50 struct geometry geo; in bchlib_setup() local
79 ret = bops->geometry(bch->vnode, &geo); in bchlib_setup()
86 if (!geo.geo_available) in bchlib_setup()
93 if (!readonly && (!bops->write || !geo.geo_writeenabled)) in bchlib_setup()
103 bch->nsectors = geo.geo_nsectors; in bchlib_setup()
104 bch->sectsize = geo.geo_sectorsize; in bchlib_setup()
/third_party/skia/tests/
H A DGrStyledShapeTest.cpp525 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() argument
527 : fBase(new GrStyledShape(geo.makeShape(paint))) { in TestCase()
777 static void test_basic(skiatest::Reporter* reporter, const Geo& geo) { in test_basic() argument
783 TestCase fillCase(geo, fill, reporter); in test_basic()
789 make_TestCase(geo, fill, reporter) in test_basic()
797 TestCase stroke2RoundBevelCase(geo, stroke2RoundBevel, reporter); in test_basic()
800 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic()
802 make_TestCase(geo, stroke2RoundBevel, reporter) in test_basic()
807 TestCase stroke2RoundBevelDashCase(geo, stroke2RoundBevelDash, reporter); in test_basic()
812 make_TestCase(geo, stroke2RoundBevelDas in test_basic()
874 test_scale(skiatest::Reporter* reporter, const Geo& geo) test_scale() argument
945 test_stroke_param_impl(skiatest::Reporter* reporter, const Geo& geo, std::function<void(SkPaint*, T)> setter, T a, T b, bool paramAffectsStroke, bool paramAffectsDashAndStroke) test_stroke_param_impl() argument
1021 test_stroke_param(skiatest::Reporter* reporter, const Geo& geo, std::function<void(SkPaint*, T)> setter, T a, T b) test_stroke_param() argument
1026 test_stroke_cap(skiatest::Reporter* reporter, const Geo& geo) test_stroke_cap() argument
1048 test_stroke_join(skiatest::Reporter* reporter, const Geo& geo) test_stroke_join() argument
1066 test_miter_limit(skiatest::Reporter* reporter, const Geo& geo) test_miter_limit() argument
1104 test_dash_fill(skiatest::Reporter* reporter, const Geo& geo) test_dash_fill() argument
1117 test_null_dash(skiatest::Reporter* reporter, const Geo& geo) test_null_dash() argument
1153 test_path_effect_makes_rrect(skiatest::Reporter* reporter, const Geo& geo) test_path_effect_makes_rrect() argument
1244 test_unknown_path_effect(skiatest::Reporter* reporter, const Geo& geo) test_unknown_path_effect() argument
1290 test_make_hairline_path_effect(skiatest::Reporter* reporter, const Geo& geo) test_make_hairline_path_effect() argument
1350 test_volatile_path(skiatest::Reporter* reporter, const Geo& geo) test_volatile_path() argument
1375 test_path_effect_makes_empty_shape(skiatest::Reporter* reporter, const Geo& geo) test_path_effect_makes_empty_shape() argument
1466 test_path_effect_fails(skiatest::Reporter* reporter, const Geo& geo) test_path_effect_fails() argument
[all...]
/third_party/ffmpeg/libavdevice/
H A Dxcbgrab.c113 xcb_get_geometry_reply_t *geo) in xcbgrab_reposition()
120 if (!p || !geo) in xcbgrab_reposition()
146 c->x = FFMIN(FFMAX(0, x), geo->width - w); in xcbgrab_reposition()
147 c->y = FFMIN(FFMAX(0, y), geo->height - h); in xcbgrab_reposition()
334 xcb_get_geometry_reply_t *geo, in xcbgrab_draw_mouse()
421 xcb_get_geometry_reply_t *geo = NULL; in xcbgrab_read_packet() local
438 geo = xcb_get_geometry_reply(c->conn, gc, NULL); in xcbgrab_read_packet()
439 if (!geo) { in xcbgrab_read_packet()
450 free(geo); in xcbgrab_read_packet()
460 xcbgrab_reposition(s, p, geo); in xcbgrab_read_packet()
111 xcbgrab_reposition(AVFormatContext *s, xcb_query_pointer_reply_t *p, xcb_get_geometry_reply_t *geo) xcbgrab_reposition() argument
332 xcbgrab_draw_mouse(AVFormatContext *s, AVPacket *pkt, xcb_query_pointer_reply_t *p, xcb_get_geometry_reply_t *geo, int win_x, int win_y) xcbgrab_draw_mouse() argument
577 xcb_get_geometry_reply_t *geo; create_stream() local
[all...]
H A Dbktr.c101 struct meteor_geomet geo; in bktr_init() local
154 geo.rows = height; in bktr_init()
155 geo.columns = width; in bktr_init()
156 geo.frames = 1; in bktr_init()
157 geo.oformat = METEOR_GEO_YUV_422 | METEOR_GEO_YUV_12; in bktr_init()
170 geo.oformat |= METEOR_GEO_EVEN_ONLY; in bktr_init()
172 if (ioctl(*video_fd, METEORSETGEO, &geo) < 0) { in bktr_init()
/third_party/skia/src/gpu/ops/
H A DAtlasTextOp.cpp62 Geometry* geo, in AtlasTextOp()
71 , fHasPerspective(needsTransform && geo->fDrawMatrix.hasPerspective())
73 , fHead{geo}
87 Geometry* geo, in AtlasTextOp()
96 , fHasPerspective(needsTransform && geo->fDrawMatrix.hasPerspective())
99 , fHead{geo}
115 void* geo = alloc->makeBytesAlignedTo(sizeof(Geometry), alignof(Geometry)); variable
116 return new(geo) Geometry{subRun,
281 for (const Geometry* geo = fHead; geo ! in onPrepareDraws()
58 AtlasTextOp(MaskType maskType, bool needsTransform, int glyphCount, SkRect deviceRect, Geometry* geo, GrPaint&& paint) AtlasTextOp() argument
80 AtlasTextOp(MaskType maskType, bool needsTransform, int glyphCount, SkRect deviceRect, SkColor luminanceColor, bool useGammaCorrectDistanceTable, uint32_t DFGPFlags, Geometry* geo, GrPaint&& paint) AtlasTextOp() argument
[all...]
H A DDashOp.cpp262 DashDraw(const LineData& geo) { in DashDraw()
263 memcpy(fPtsRot, geo.fPtsRot, sizeof(geo.fPtsRot)); in DashDraw()
264 memcpy(fIntervals, geo.fIntervals, sizeof(geo.fIntervals)); in DashDraw()
265 fPhase = geo.fPhase; in DashDraw()
663 for (const auto& geo : fLines) {
666 geo.fPtsRot[0].fX, geo.fPtsRot[0].fY,
667 geo
[all...]
H A DGrOvalOpFactory.cpp2096 for (const auto& geo : fEllipses) {
2100 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop,
2101 geo.fDevBounds.fRight, geo.fDevBounds.fBottom, geo.fXRadius, geo.fYRadius,
2102 geo.fInnerXRadius, geo
[all...]
H A DAtlasTextOp.h137 Geometry* geo,
147 Geometry* geo,
H A DDrawAtlasOp.cpp192 for (const auto& geo : fGeoData) { in onDumpInfo()
193 string.appendf("Color: 0x%08x, Quads: %d\n", geo.fColor.toBytes_RGBA(), in onDumpInfo()
194 geo.fVerts.count() / 4); in onDumpInfo()
/third_party/skia/experimental/skrive/src/
H A DShape.cpp44 } else if (const Geometry* geo = *child) { in onRevalidate()
45 fGeometries.push_back(geo); in onRevalidate()
58 for (const auto& geo : fGeometries) { in onRender()
59 geo->draw(canvas, p, paint->getFillRule()); in onRender()
/third_party/skia/modules/sksg/include/
H A DSkSGDraw.h26 static sk_sp<Draw> Make(sk_sp<GeometryNode> geo, sk_sp<PaintNode> paint) { in Make() argument
27 return (geo && paint) ? sk_sp<Draw>(new Draw(std::move(geo), std::move(paint))) : nullptr; in Make()
/third_party/ntfs-3g/libntfs-3g/
H A Ddevice.c637 { struct hd_geometry geo; in ntfs_device_partition_start_sector_get() local
639 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) { in ntfs_device_partition_start_sector_get()
641 geo.start, geo.start); in ntfs_device_partition_start_sector_get()
642 return geo.start; in ntfs_device_partition_start_sector_get()
760 { struct hd_geometry geo; in ntfs_device_get_geo() local
762 if (!dev->d_ops->ioctl(dev, HDIO_GETGEO, &geo)) { in ntfs_device_get_geo()
763 dev->d_heads = geo.heads; in ntfs_device_get_geo()
764 dev->d_sectors_per_track = geo.sectors; in ntfs_device_get_geo()
H A Dwin32_io.c749 DISK_GEOMETRY geo; in ntfs_device_win32_getntgeo() local
765 (void*)&geo, sizeof(geo)); in ntfs_device_win32_getntgeo()
768 fd->geo_cylinders = geo.Cylinders.QuadPart + 1; in ntfs_device_win32_getntgeo()
770 *geo.TracksPerCylinder*geo.SectorsPerTrack; in ntfs_device_win32_getntgeo()
771 fd->geo_size = fd->geo_sectors*geo.BytesPerSector; in ntfs_device_win32_getntgeo()
772 fd->geo_sector_size = geo.BytesPerSector; in ntfs_device_win32_getntgeo()
782 fd->geo_sectors = bytes/geo.BytesPerSector; in ntfs_device_win32_getntgeo()
/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DPuckerBloat.cpp31 explicit PuckerBloatEffect(sk_sp<sksg::GeometryNode> geo) : INHERITED({std::move(geo)}) {} in PuckerBloatEffect() argument
42 SkPath onRevalidateEffect(const sk_sp<GeometryNode>& geo) override {
47 const auto input = geo->asPath();
H A DShapeLayer.cpp241 if (auto geo = gGeometryAttachers[rec->fInfo.fAttacherIndex](rec->fJson, this)) { in attachShape()
242 geos.push_back(std::move(geo)); in attachShape()
291 auto geo = drawGeos.size() > 1 in attachShape() local
295 SkASSERT(geo); in attachShape()
296 add_draw(sksg::Draw::Make(std::move(geo), std::move(paint)), *rec); in attachShape()
351 for (auto& geo : geos) { in attachShape()
353 ? sksg::GeometryTransform::Make(std::move(geo), shape_transform) in attachShape()
354 : std::move(geo)); in attachShape()
H A DMergePaths.cpp22 for (auto& geo : geos) { in MergeGeometry()
24 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in MergeGeometry()
H A DFillStroke.cpp95 sk_sp<sksg::GeometryNode> geo) in DashAdapter()
96 : INHERITED(sksg::DashEffect::Make(std::move(geo))) { in DashAdapter()
93 DashAdapter(const skjson::ArrayValue& jdash, const AnimationBuilder& abuilder, sk_sp<sksg::GeometryNode> geo) DashAdapter() argument
/third_party/skia/src/c/
H A Dsk_surface.cpp373 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster() local
374 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster()
378 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster()
386 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster_direct() local
387 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster_direct()
391 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster_direct()
/third_party/skia/samplecode/
H A DSampleSG.cpp88 auto geo = info->fGeo; variable
89 sksg::Rect* r = (sksg::Rect*)geo;
/third_party/node/deps/openssl/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl1672 /geo or
1675 /geo or
1678 /geo or
1681 /geo or
1684 /geo or
1687 /geo or
1690 /geo or
1693 /geo or
1696 /geo;
/third_party/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl1672 /geo or
1675 /geo or
1678 /geo or
1681 /geo or
1684 /geo or
1687 /geo or
1690 /geo or
1693 /geo or
1696 /geo;
/third_party/node/deps/openssl/openssl/crypto/sha/asm/
H A Dsha1-armv8.pl348 s/\`([^\`]*)\`/eval($1)/geo;
350 s/\b(sha1\w+)\s+([qv].*)/unsha1($1,$2)/geo;
/third_party/skia/src/core/
H A DSkDevice.h374 SkPixelGeometry geo, in CreateInfo()
380 , fPixelGeometry(geo) in CreateInfo()
/third_party/openssl/crypto/sha/asm/
H A Dsha1-armv8.pl352 s/\`([^\`]*)\`/eval($1)/geo;
354 s/\b(sha1\w+)\s+([qv].*)/unsha1($1,$2)/geo;

Completed in 23 milliseconds

123