Home
last modified time | relevance | path

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

/freebsd/sys/dev/fb/
H A Dsplash_bmp.c243 int sofs, bofs; in bmp_SetPix() local
256 sofs = ((info->height - (y+1) + (info->sheight - info->height) / 2) in bmp_SetPix()
264 sofs += (x >> 3); in bmp_SetPix()
265 newbank = sofs/info->adp->va_window_size; in bmp_SetPix()
270 sofs %= info->adp->va_window_size; in bmp_SetPix()
274 *(info->vidmem + sofs) ^= 0xff; /* read-modify-write */ in bmp_SetPix()
278 sofs += x; in bmp_SetPix()
279 newbank = sofs/info->adp->va_window_size; in bmp_SetPix()
284 sofs %= info->adp->va_window_size; in bmp_SetPix()
285 *(info->vidmem+sofs) = val; in bmp_SetPix()
/freebsd/tests/sys/geom/class/nop/
H A Dnop_test.sh211 for sofs in `seq 0 512 ${ss}`; do
212 [ "$sofs" -eq "$ss" ] && continue
213 atf_check gnop create -p ${ss} -P ${sofs} /dev/${us}
217 atf_check_equal "${sofs}" "${gnop_sofs}"
/freebsd/lib/libc/gen/
H A Dwordexp.c129 size_t sofs; /* Offset into we->we_strings */ in we_askshell() local
229 sofs = we->we_nbytes; in we_askshell()
251 if (we_read_fully(pdes[0], we->we_strings + sofs, nbytes) != nbytes) { in we_askshell()
278 p = we->we_strings + sofs; in we_askshell()