Searched defs:got (Results 1 - 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-match.c20 got = sm_match(str, pat); \
21 if (!SM_TEST(got == want)) \
24 str, pat, got ? "true" : "false");
31 bool got; local
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dpread.c63 int count, got; local
67 got = read(fd, buf, count);
68 if (got < 0)
72 vpbcopy(buf, dest, got);
74 dest += got;
75 rsize -= got;
76 if (got < count)
H A Dmultiboot.c185 int got; local
195 got = archsw.arch_readin(fd, laddr, 4096);
196 if (got == 0)
198 if (got < 0) {
203 laddr += got;
/illumos-gate/usr/src/lib/libwrap/
H A Dmisc.c41 int got; local
45 got = strlen(ptr);
46 if (got >= 1 && ptr[got - 1] == '\n') {
48 if (got >= 2 && ptr[got - 2] == '\\') {
49 got -= 2;
54 ptr += got;
55 len -= got;
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzwrite.c77 int ret, got; local
87 got = write(state->fd, strm->next_in, strm->avail_in);
88 if (got < 0 || (unsigned)got != strm->avail_in) {
104 if (have && ((got = write(state->fd, state->x.next, have)) < 0 ||
105 (unsigned)got != have)) {
H A Dgzread.c57 unsigned got; local
72 state->size - strm->avail_in, &got) == -1)
74 strm->avail_in += got;
296 unsigned got, n; local
330 got = 0;
376 got += n;
381 return (int)got;
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_copy.c140 ssize_t got; local
158 for (resid = len; resid > 0; resid -= got, p += got) {
160 got = read(fd, buf, get);
162 if (got <= 0) {
163 if (got < 0)
168 bcopy(buf, (void *)p, got);
/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c191 ssize_t got; local
200 got = read(fd, &rndval, sizeof (rndval));
201 if (got < sizeof (rndval)) {
/illumos-gate/usr/src/lib/libmail/common/
H A Ds_string.c353 size_t got; local
368 got = fread(to->ptr, (size_t)1, have, fp);
369 if (got == (size_t)0)
372 to->ptr += got;
/illumos-gate/usr/src/cmd/refer/
H A Dhunt6.c42 int i, g, j, need, got, na, len; local
/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c365 ssize_t got; local
395 got = read(fd, &rndval, sizeof (rndval));
396 if (got < sizeof (rndval)) {
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/
H A Dsunmd5.c174 ssize_t got; local
203 got = read(fd, &rndval, sizeof (rndval));
204 if (got < sizeof (rndval)) {
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c159 usage(char *expect, char *got) argument
161 if (got == NULL)
162 got = "(NULL)";
163 prom_printf("\nbad OBP boot args: expect %s, got %s\n"
165 expect, got, prog, rsvp);
434 "expect %ld, got %ld\n", str, len, nread);
/illumos-gate/usr/src/uts/common/kmdb/
H A Dkdrv.c89 size_t got; local
111 if ((rc = copyinstr((caddr_t)arg, cfg, KDRV_CFG_MAXLEN, &got)) != 0) {
/illumos-gate/usr/src/common/ficl/
H A Dfileaccess.c207 long got = fread(buffer, 1, size, ff->f); local
208 if (got == size) {
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dminigzip.c266 unsigned got; local
278 got = fread(in, 1, 1, gz->file);
279 if (got == 0)
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h181 #define got got64 macro
205 #define got got32 macro
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_send.c362 unsigned int avail, posted, got = 0, advertise; local
390 got = avail;
393 got = wanted;
395 newval -= IB_SET_SEND_CREDITS(got);
402 if (posted && (got || need_posted)) {
414 ic, got, *adv_credits, need_posted);
416 return (got);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dtftp.c201 int got; local
217 got = len - (t->th_data - (char *) t);
218 return got;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dconfig.c383 int got = 0; local
390 if (got != 0)
396 got = strlen(line);
398 if (got >= 2 && line[got-2] == '\\') {
400 line += got - 2;
401 length -= got - 2;
405 if (got > 0)
406 line[got-1] = '\0';
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/
H A Dncheck.c584 int got; local
597 got = read((int)fi, buf, cnt);
599 if (got != cnt) {
601 "ncheck: read error at block %lld (wanted %d got %d)\n",
602 bno, cnt, got);
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c242 * over the .got entries or jumped to plt0 out of the blue.
435 * An uninitialized .plt is the case where the associated got entry
507 * object in lazy mode the .got addresses associated to each .plt must
554 * to the corresponding got entry.
916 * Initialize the first few got entries so that function calls go to
923 elf_plt_init(void *got, caddr_t l) argument
929 _got = (uint64_t *)got + M_GOT_XLINKMAP;
931 _got = (uint64_t *)got + M_GOT_XRTLD;
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c223 * over the .got entries or jumped to plt0 out of the blue.
413 * An uninitialized .plt is the case where the associated got entry
485 * object in lazy mode the .got addresses associated to each .plt must
532 * to the corresponding got entry.
890 * Initialize the first few got entries so that function calls go to
897 elf_plt_init(void *got, caddr_t l) argument
903 _got = (uint_t *)got + M_GOT_XLINKMAP;
905 _got = (uint_t *)got + M_GOT_XRTLD;
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c1236 "received packet's vlan unknown, expected=0x%x, got=0x%x",
1248 uint8_t *got; local
1251 got = evh.eh_dmac;
1255 "expected=%x:%x:%x:%x:%x:%x, got=%x:%x:%x:%x:%x:%x",
1257 got[0], got[1], got[2], got[3], got[4], got[
[all...]
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dmodule.c411 int fd, got; local
442 got = archsw.arch_readin(fd, laddr, 4096);
443 if (got == 0) /* end of file */
445 if (got < 0) { /* error */
452 laddr += got;

Completed in 111 milliseconds

12