Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 3 of 3) sorted by relevance

/system/core/toolbox/
Dnewfs_msdos.c271 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; in newfs_msdos_main() local
570 x1 = bpb.res + rds; in newfs_msdos_main()
572 if (x1 + (u_int64_t)x * bpb.nft > bpb.bsec) in newfs_msdos_main()
574 x1 += x * bpb.nft; in newfs_msdos_main()
575 x = (u_int64_t)(bpb.bsec - x1) * bpb.bps * NPB / in newfs_msdos_main()
581 x1 += (bpb.bspf - 1) * bpb.nft; in newfs_msdos_main()
583 cls = (bpb.bsec - x1) / bpb.spc; in newfs_msdos_main()
595 bpb.bsec = x1 + (cls + 1) * bpb.spc - 1; in newfs_msdos_main()
641 x1 = sizeof(struct bs); in newfs_msdos_main()
642 bsbpb = (struct bsbpb *)(img + x1); in newfs_msdos_main()
[all …]
/system/core/libpixelflinger/
Dtrap.cpp516 int32_t x1 = v1[0]; in trianglex_small() local
521 int32_t dx01 = x0 - x1; in trianglex_small()
529 swap(x0, x1); in trianglex_small()
531 dx01 = x0 - x1; in trianglex_small()
536 int32_t dx12 = x1 - x2; in trianglex_small()
540 const int32_t bminx = TRI_FLOOR(min(x0, x1, x2)) >> TRI_FRACTION_BITS; in trianglex_small()
542 const int32_t bmaxx = TRI_CEIL( max(x0, x1, x2)) >> TRI_FRACTION_BITS; in trianglex_small()
555 int32_t ey1 = dy12 * (x1 - mx) - dx12 * (y1 - my); in trianglex_small()
694 const int x1 = top[0]; in edge_setup() local
695 const int dx = bot[0] - x1; in edge_setup()
[all …]
Dscanline.cpp609 const int x1 = c->iterators.xr; in scanline() local
610 int xc = x1 - xs; in scanline()
1873 const uint32_t x1 = c->iterators.xr; in scanline_perspective() local
1874 const uint32_t xc = x1 - xs; in scanline_perspective()
1964 const uint32_t x1 = c->iterators.xr; in scanline_perspective_single() local
1965 const uint32_t xc = x1 - xs; in scanline_perspective_single()