Searched refs:leng (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-fstest.c72 static grub_disk_addr_t skip, leng; variable
93 if (! leng)
94 leng = (dev->disk->total_sectors << GRUB_DISK_SECTOR_BITS) - skip;
96 while (leng)
100 len = (leng > BUF_SIZE) ? BUF_SIZE : leng;
110 leng -= len;
137 if ((leng) && (leng < len))
138 len = leng;
[all...]
H A Dgrub-mkfont.c704 grub_uint32_t leng, leng_be32; local
706 leng = strlen (str) + 1;
707 leng_be32 = grub_cpu_to_be32 (leng);
711 grub_util_write_image (str, leng, file);
713 *offset += 8 + leng;
719 grub_uint32_t leng; local
721 leng = grub_cpu_to_be32 (2);
724 grub_util_write_image ((char *) &leng, 4, file);
863 grub_uint32_t leng; local
874 leng
[all...]
/osnet-11/usr/src/lib/libproc/common/
H A DPcontrol.c1990 ssize_t leng = 0; local
2003 for (nbyte = STRSZ; nbyte == STRSZ && leng < size; addr += STRSZ) {
2005 buf[leng] = '\0';
2006 return (leng ? leng : -1);
2009 if (leng + nbyte > size)
2010 nbyte = size - leng;
2011 (void) strncpy(buf + leng, string, nbyte);
2012 leng += nbyte;
2015 buf[leng]
[all...]

Completed in 23 milliseconds