Home
last modified time | relevance | path

Searched refs:geom (Results 1 - 25 of 104) sorted by relevance

12345

/third_party/skia/src/core/
H A DSkImageFilterTypes.cpp96 SkRect Mapping::map<SkRect>(const SkRect& geom, const SkMatrix& matrix) { in map() argument
97 return matrix.mapRect(geom); in map()
101 SkIRect Mapping::map<SkIRect>(const SkIRect& geom, const SkMatrix& matrix) { in map() argument
102 SkRect mapped = matrix.mapRect(SkRect::Make(geom)); in map()
108 SkIPoint Mapping::map<SkIPoint>(const SkIPoint& geom, const SkMatrix& matrix) { in map() argument
109 SkPoint p = SkPoint::Make(SkIntToScalar(geom.fX), SkIntToScalar(geom.fY)); in map()
115 SkPoint Mapping::map<SkPoint>(const SkPoint& geom, const SkMatrix& matrix) { in map() argument
117 matrix.mapPoints(&p, &geom, 1); in map()
122 IVector Mapping::map<IVector>(const IVector& geom, cons argument
127 map(const Vector& geom, const SkMatrix& matrix) map() argument
132 map(const SkISize& geom, const SkMatrix& matrix) map() argument
138 map(const SkSize& geom, const SkMatrix& matrix) map() argument
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dnandsim.c190 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
200 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column)
203 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz)
329 } geom; member
555 BITS_TO_LONGS(ns->geom.pgnum))); in ns_alloc_device()
561 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in ns_alloc_device()
579 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum)); in ns_alloc_device()
584 for (i = 0; i < ns->geom.pgnum; i++) { in ns_alloc_device()
588 ns->geom.pgszoob, 0, 0, NULL); in ns_alloc_device()
618 for (i = 0; i < ns->geom in ns_free_device()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dnandsim.c189 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
199 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column)
202 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz)
331 } geom; member
557 BITS_TO_LONGS(ns->geom.pgnum))); in ns_alloc_device()
563 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in ns_alloc_device()
581 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum)); in ns_alloc_device()
586 for (i = 0; i < ns->geom.pgnum; i++) { in ns_alloc_device()
590 ns->geom.pgszoob, 0, 0, NULL); in ns_alloc_device()
620 for (i = 0; i < ns->geom in ns_free_device()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/WSI/
H A DXcbSurfaceKHR.cpp28 if(auto *geom = libXCB->xcb_get_geometry_reply(connection, cookie, nullptr)) in getWindowSizeAndDepth()
30 windowExtent->width = static_cast<uint32_t>(geom->width); in getWindowSizeAndDepth()
31 windowExtent->height = static_cast<uint32_t>(geom->height); in getWindowSizeAndDepth()
32 *depth = static_cast<int>(geom->depth); in getWindowSizeAndDepth()
33 free(geom); in getWindowSizeAndDepth()
/third_party/vk-gl-cts/framework/platform/lnx/X11/
H A DtcuLnxX11Xcb.cpp151 xcb_get_geometry_reply_t *geom; in getDimensions() local
152 geom = xcb_get_geometry_reply(m_display.getConnection(), xcb_get_geometry(m_display.getConnection(), m_window), NULL); in getDimensions()
153 *height = static_cast<int>(geom->height); in getDimensions()
154 *width = static_cast<int>(geom->width); in getDimensions()
155 deFree(geom); in getDimensions()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dfdomain.c464 int geom[]) in fdomain_biosparam()
470 geom[0] = p[5] + 1; /* heads */ in fdomain_biosparam()
471 geom[1] = p[6] & 0x3f; /* sectors */ in fdomain_biosparam()
474 geom[0] = 255; /* heads */ in fdomain_biosparam()
475 geom[1] = 63; /* sectors */ in fdomain_biosparam()
477 geom[0] = 128; /* heads */ in fdomain_biosparam()
478 geom[1] = 63; /* sectors */ in fdomain_biosparam()
480 geom[0] = 64; /* heads */ in fdomain_biosparam()
481 geom[1] = 32; /* sectors */ in fdomain_biosparam()
484 geom[ in fdomain_biosparam()
462 fdomain_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) fdomain_biosparam() argument
[all...]
H A Dscsicam.c54 * @geom: output in form of [hds, cylinders, sectors]
57 * table, storing the results in @geom.
61 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]) in scsi_partsize() argument
123 geom[0] = end_head + 1; in scsi_partsize()
124 geom[1] = end_sector; in scsi_partsize()
125 geom[2] = (unsigned long)capacity / in scsi_partsize()
H A Dwd719x.c546 sector_t capacity, int geom[]) in wd719x_biosparam()
549 geom[0] = 255; /* heads */ in wd719x_biosparam()
550 geom[1] = 63; /* sectors */ in wd719x_biosparam()
552 geom[0] = 64; /* heads */ in wd719x_biosparam()
553 geom[1] = 32; /* sectors */ in wd719x_biosparam()
555 geom[2] = sector_div(capacity, geom[0] * geom[1]); /* cylinders */ in wd719x_biosparam()
545 wd719x_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) wd719x_biosparam() argument
/kernel/linux/linux-6.6/drivers/scsi/
H A Dfdomain.c473 int geom[]) in fdomain_biosparam()
479 geom[0] = p[5] + 1; /* heads */ in fdomain_biosparam()
480 geom[1] = p[6] & 0x3f; /* sectors */ in fdomain_biosparam()
483 geom[0] = 255; /* heads */ in fdomain_biosparam()
484 geom[1] = 63; /* sectors */ in fdomain_biosparam()
486 geom[0] = 128; /* heads */ in fdomain_biosparam()
487 geom[1] = 63; /* sectors */ in fdomain_biosparam()
489 geom[0] = 64; /* heads */ in fdomain_biosparam()
490 geom[1] = 32; /* sectors */ in fdomain_biosparam()
493 geom[ in fdomain_biosparam()
471 fdomain_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) fdomain_biosparam() argument
[all...]
H A Dscsicam.c53 * @geom: output in form of [hds, cylinders, sectors]
56 * table, storing the results in @geom.
60 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]) in scsi_partsize() argument
122 geom[0] = end_head + 1; in scsi_partsize()
123 geom[1] = end_sector; in scsi_partsize()
124 geom[2] = (unsigned long)capacity / in scsi_partsize()
H A Dwd719x.c548 sector_t capacity, int geom[]) in wd719x_biosparam()
551 geom[0] = 255; /* heads */ in wd719x_biosparam()
552 geom[1] = 63; /* sectors */ in wd719x_biosparam()
554 geom[0] = 64; /* heads */ in wd719x_biosparam()
555 geom[1] = 32; /* sectors */ in wd719x_biosparam()
557 geom[2] = sector_div(capacity, geom[0] * geom[1]); /* cylinders */ in wd719x_biosparam()
547 wd719x_biosparam(struct scsi_device *sdev, struct block_device *bdev, sector_t capacity, int geom[]) wd719x_biosparam() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c67 } geom[TILFMT_NFORMATS] = { variable
551 w = DIV_ROUND_UP(w, geom[fmt].slot_w); in tiler_reserve_2d()
552 h = DIV_ROUND_UP(h, geom[fmt].slot_h); in tiler_reserve_2d()
555 slot_bytes = geom[fmt].slot_w * geom[fmt].cpp; in tiler_reserve_2d()
645 x_bits = CONT_WIDTH_BITS - geom[fmt].x_shft; in tiler_get_address()
646 y_bits = CONT_HEIGHT_BITS - geom[fmt].y_shft; in tiler_get_address()
647 alignment = geom[fmt].x_shft + geom[fmt].y_shft; in tiler_get_address()
679 block->area.p0.x * geom[bloc in tiler_ssptr()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c60 } geom[TILFMT_NFORMATS] = { variable
544 w = DIV_ROUND_UP(w, geom[fmt].slot_w); in tiler_reserve_2d()
545 h = DIV_ROUND_UP(h, geom[fmt].slot_h); in tiler_reserve_2d()
548 slot_bytes = geom[fmt].slot_w * geom[fmt].cpp; in tiler_reserve_2d()
638 x_bits = CONT_WIDTH_BITS - geom[fmt].x_shft; in tiler_get_address()
639 y_bits = CONT_HEIGHT_BITS - geom[fmt].y_shft; in tiler_get_address()
640 alignment = geom[fmt].x_shft + geom[fmt].y_shft; in tiler_get_address()
672 block->area.p0.x * geom[bloc in tiler_ssptr()
[all...]
/third_party/gptfdisk/
H A Ddiskio-windows.cc129 DISK_GEOMETRY_EX geom; in GetBlockSize() local
138 &geom, sizeof(geom), &retBytes, NULL)) { in GetBlockSize()
139 blockSize = geom.Geometry.BytesPerSector; in GetBlockSize()
/third_party/lzma/CPP/Windows/
H A DFileIO.cpp393 DISK_GEOMETRY geom; in CalcDeviceSize()
394 SizeDefined = GetGeometry(&geom); in CalcDeviceSize()
396 SizeDefined = GetCdRomGeometry(&geom); in CalcDeviceSize()
398 Size = (UInt64)geom.Cylinders.QuadPart * geom.TracksPerCylinder * geom.SectorsPerTrack * geom.BytesPerSector; in CalcDeviceSize()
/third_party/glslang/Test/
H A Druntests43 rm -f comp.spv frag.spv geom.spv tesc.spv tese.spv vert.spv
64 run -l -q -C --reflect-strict-array-suffix --reflect-basic-array-suffix --reflect-intermediate-io --reflect-separate-buffers --reflect-all-block-variables --reflect-unwrap-io-blocks --reflect-all-io-variables --reflect-shared-std140-ubo --reflect-shared-std140-ssbo reflection.options.geom > $TARGETDIR/reflection.options.geom.out
65 diff -b $BASEDIR/reflection.options.geom.out $TARGETDIR/reflection.options.geom.out || HASERROR=1
81 run -i -C *.vert *.geom *.frag *.tesc *.tese *.comp > $TARGETDIR/singleThread.out
82 run -i -C *.vert *.geom *.frag *.tesc *.tese *.comp -t > $TARGETDIR/multiThread.out
314 run --glsl-version 430 -V -S geom glsl.versionOverride.geom > $TARGETDIR/glsl.versionOverride.geom
[all...]
/third_party/skia/src/gpu/ops/
H A DAtlasTextOp.cpp140 for(Geometry* geom = fHead; geom != nullptr; geom = geom->fNext) { in onDumpInfo()
143 geom->fColor.toBytes_RGBA(), in onDumpInfo()
144 geom->fDrawOrigin.x(), in onDumpInfo()
145 geom->fDrawOrigin.y()); in onDumpInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/
H A DvktShaderObjectCreateTests.cpp75 const auto& geom = binaries.get("geom"); in iterate() local
204 geom.getSize(), // size_t codeSize; in iterate()
205 geom.getBinary(), // const void* pCode; in iterate()
338 std::stringstream geom; in initPrograms() local
382 geom in initPrograms()
443 programCollection.glslSources.add("geom") << glu::GeometrySource(geom.str()); in initPrograms()
664 std::stringstream geom; in initPrograms() local
708 geom in initPrograms()
[all...]
/third_party/mesa3d/src/vulkan/wsi/
H A Dwsi_common_x11.c654 xcb_get_geometry_reply_t *geom; in x11_surface_get_capabilities() local
668 geom = xcb_get_geometry_reply(conn, geom_cookie, &err); in x11_surface_get_capabilities()
669 if (geom) { in x11_surface_get_capabilities()
670 VkExtent2D extent = { geom->width, geom->height }; in x11_surface_get_capabilities()
676 free(geom); in x11_surface_get_capabilities()
677 if (!geom) in x11_surface_get_capabilities()
847 xcb_get_geometry_reply_t *geom = in x11_surface_get_present_rectangles() local
850 if (geom) { in x11_surface_get_present_rectangles()
853 .extent = { geom in x11_surface_get_present_rectangles()
1378 xcb_get_geometry_reply_t *geom = xcb_get_geometry_reply(chain->conn, geom_cookie, &err); x11_acquire_next_image() local
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_acceleration_structure.c237 build_triangles(struct radv_bvh_build_ctx *ctx, const VkAccelerationStructureGeometryKHR *geom, in build_triangles() argument
240 const VkAccelerationStructureGeometryTrianglesDataKHR *tri_data = &geom->geometry.triangles; in build_triangles()
393 node->geometry_id_and_flags = geometry_id | (geom->flags << 28); in build_triangles()
403 const VkAccelerationStructureGeometryKHR *geom, in build_instances()
406 const VkAccelerationStructureGeometryInstancesDataKHR *inst_data = &geom->geometry.instances; in build_instances()
469 build_aabbs(struct radv_bvh_build_ctx *ctx, const VkAccelerationStructureGeometryKHR *geom, in build_aabbs() argument
472 const VkAccelerationStructureGeometryAabbsDataKHR *aabb_data = &geom->geometry.aabbs; in build_aabbs()
677 const VkAccelerationStructureGeometryKHR *geom = in build_bvh() local
680 if ((inst && geom->geometryType != VK_GEOMETRY_TYPE_INSTANCES_KHR) || in build_bvh()
681 (!inst && geom in build_bvh()
402 build_instances(struct radv_device *device, struct radv_bvh_build_ctx *ctx, const VkAccelerationStructureGeometryKHR *geom, const VkAccelerationStructureBuildRangeInfoKHR *range) build_instances() argument
2096 const VkAccelerationStructureGeometryKHR *geom = radv_CmdBuildAccelerationStructuresKHR() local
[all...]
/third_party/f2fs-tools/tools/
H A Dfibmap.c99 struct hd_geometry geom; in stat_bdev() local
116 if (ioctl(fd, HDIO_GETGEO, &geom) < 0) in stat_bdev()
119 *start_lba = geom.start; in stat_bdev()
/third_party/python/Lib/idlelib/
H A Dzoomheight.py111 geom = top.wm_geometry()
112 m = re.match(r"(\d+)x(\d+)\+(-?\d+)\+(-?\d+)", geom)
/kernel/linux/linux-5.10/include/scsi/
H A Dscsicam.h17 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
/kernel/linux/linux-6.6/include/scsi/
H A Dscsicam.h17 bool scsi_partsize(struct block_device *bdev, sector_t capacity, int geom[3]);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineNoPositionTests.cpp290 std::ostringstream geom; in initPrograms() local
291 geom in initPrograms()
324 programCollection.glslSources.add("geom") << glu::GeometrySource(geom.str()); in initPrograms()
416 ShaderWrapper geom; in iterate() local
436 geom = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("geom"), 0u); in iterate()
596 geom) in iterate()

Completed in 23 milliseconds

12345