Lines Matching +defs:source +defs:o
8 * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
380 gfx_mem_wr1(uint8_t *base, size_t size, uint32_t o, uint8_t v)
383 if (o >= size)
385 *(uint8_t *)(base + o) = v;
389 gfx_mem_wr2(uint8_t *base, size_t size, uint32_t o, uint16_t v)
392 if (o >= size)
394 *(uint16_t *)(base + o) = v;
398 gfx_mem_wr4(uint8_t *base, size_t size, uint32_t o, uint32_t v)
401 if (o >= size)
403 *(uint32_t *)(base + o) = v;
500 uint8_t *source, *destination, *sb;
541 source = gfx_get_fb_address() + off;
546 bcopy(source, destination, copybytes);
552 sb = source + x * bpp;
600 uint8_t *source, *destination;
644 source = (uint8_t *)BltBuffer + sy * Delta +
646 bcopy(source, destination, copybytes);
702 uint8_t *source, *destination;
728 source = gfx_get_fb_address() + off;
732 if ((uintptr_t)destination > (uintptr_t)source) {
733 source += Height * pitch;
739 bcopy(source, destination, copybytes);
740 source += pitch;
888 uint32_t fgc, bgc, bpl, cc, o;
895 bpl = (width + 7) / 8; /* Bytes per source line. */
927 o = y * width * bpp + x * bpp;
931 state->tg_glyph_size, o, cc);
1160 uint32_t *source = &state->tg_shadow_fb[sy * pitch + sx];
1163 bcopy(source, destination, bytes);
1863 /* Helper to calculate the pixel index from the source png */
1868 * in the source image that correspond to a single pixel in the target.
1916 * Given a 2x2 array of pixels in the source