Searched refs:got (Results 1 - 25 of 120) sorted by relevance

12345

/freebsd-13-stable/stand/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)
/freebsd-13-stable/contrib/sendmail/libsm/
H A Dt-match.c18 got = sm_match(str, pat); \
19 if (!SM_TEST(got == want)) \
22 str, pat, got ? "true" : "false");
29 bool got; local
/freebsd-13-stable/contrib/tcp_wrappers/
H A Dmisc.c35 int got; local
39 got = strlen(ptr);
40 if (got >= 1 && ptr[got - 1] == '\n') {
42 if (got >= 2 && ptr[got - 2] == '\\') {
43 got -= 2;
48 ptr += got;
49 len -= got;
/freebsd-13-stable/usr.sbin/ctladm/
H A Dctladm.h44 int got; member in struct:get_hook
H A Dutil.c71 if (h->got >= h->argc)
77 arg = strtol(h->argv[h->got], 0, 0);
78 h->got++;
94 if (h->got >= h->argc)
100 arg = h->argv[h->got];
101 h->got++;
/freebsd-13-stable/usr.sbin/ppp/
H A Dsig.c100 int got; local
105 /* We've *probably* got something in `caused' set */
109 got = 0;
113 got++;
117 } while (got);
H A Ddefs.c72 size_t got, total; local
74 for (total = 0; total < n; total += got)
75 switch ((got = read(fd, (char *)v + total, n - total))) {
80 got = 0;
117 int m, got, len; local
120 got = -1;
125 if (got != -1)
127 got = m;
130 return got == -1 ? 0 : modes[got]
[all...]
H A Dproto.c91 size_t got; local
93 if ((got = mbuf_View(bp, cp, 2)) == 0) {
100 if (got == 1) {
/freebsd-13-stable/tools/regression/netinet6/inet6_rth/
H A Dtest_subr.c57 checkptr(caddr_t expected, caddr_t got, const char *desc) argument
68 if (got == expected) {
74 snprintf(g_errbuf, LINESIZE, " : Expected %#x, but got %#x",
75 (unsigned int)expected, (unsigned int)got);
90 checkstr(const char *expected, const char *got, size_t explen, const char *desc) argument
101 if (strncmp(expected, got, explen) == 0) {
108 " : Expected %s, but got %s", expected, got);
123 checknum(int expected, int got, int cmp, const char *desc) argument
138 pass = (got
[all...]
/freebsd-13-stable/sbin/camcontrol/
H A Dutil.c71 if (h->got >= h->argc)
77 arg = strtol(h->argv[h->got], 0, 0);
78 h->got++;
94 if (h->got >= h->argc)
100 arg = h->argv[h->got];
101 h->got++;
/freebsd-13-stable/contrib/ngatm/sscop/
H A Dcommon.c124 u_int got; local
130 got = 0;
137 for (got = 0; got < flen; got += (size_t)size) {
138 size = read(sscop_fd, m->b_rptr + got, flen - got);
142 got = 0;
152 got = size;
155 if (got
186 u_int got; local
[all...]
/freebsd-13-stable/stand/libofw/
H A Dofw_copy.c140 ssize_t got; local
158 for (resid = len; resid > 0; resid -= got, p += got) {
160 got = VECTX_READ(fd, buf, get);
162 if (got <= 0) {
163 if (got < 0)
168 bcopy(buf, (void *)p, got);
/freebsd-13-stable/sys/powerpc/ofw/
H A Dofwcall32.S77 lwz %r4,openfirmware_entry@got(%r7)
85 lwz %r5,ofmsr@got(%r7)
97 lwz %r1,ofwstk@got(%r7)
144 lwz %r5,rtas_regsave@got(%r7)
148 lwz %r5,rtas_entry@got(%r7)
152 lwz %r6,rtasmsr@got(%r7)
169 lwz %r6,rtas_regsave@got(%r7)
/freebsd-13-stable/contrib/expat/tests/
H A Dstructdata.c113 sprintf(buffer, "wrong number of entries: got %d, expected %d",
119 const StructDataEntry *got = &storage->entries[i]; local
122 assert(got != NULL);
125 if (xcstrcmp(got->str, want->str) != 0) {
127 fail("structure got bad string");
129 if (got->data0 != want->data0 || got->data1 != want->data1
130 || got->data2 != want->data2) {
133 "' expected (%d,%d,%d), got (%d,%d,%d)",
134 got
[all...]
/freebsd-13-stable/contrib/libucl/lua/
H A Dtest.lua25 local got = ucl.to_json(obj, true)
26 if expect == got then
29 print(expect .. " == " .. tostring(got))
/freebsd-13-stable/contrib/netbsd-tests/fs/tmpfs/
H A Dh_funcs.subr100 got=$(wc -l kqueue.log | awk '{ print $1 }')
101 test ${got} -eq ${nev} || \
102 atf_fail "Got ${got} events but expected ${nev}"
/freebsd-13-stable/libexec/rtld-elf/mips/
H A Dreloc.c66 #define GOT1_RESERVED_FOR_RTLD(got) \
67 (((got)[1] == 0x80000000) || (got)[1] & GOT1_MASK)
69 #define GOT1_RESERVED_FOR_RTLD(got) ((got)[1] & GOT1_MASK)
223 Elf_Addr *got = NULL; local
239 got = (Elf_Addr *)(relocbase + dynp->d_un.d_ptr);
253 i = GOT1_RESERVED_FOR_RTLD(got) ? 2 : 1;
255 got += i;
257 *got
314 Elf_Addr *got = obj->pltgot; local
348 Elf_Addr *got = obj->pltgot; local
[all...]
/freebsd-13-stable/tools/regression/p1003_1b/
H A Dyield.c72 struct sched_param set, got; local
106 (void)sched_is(__LINE__, &got, SCHED_FIFO);
107 if (got.sched_priority != set.sched_priority) {
122 (void)sched_is(__LINE__, &got, SCHED_FIFO);
124 if (got.sched_priority != set.sched_priority) {
/freebsd-13-stable/contrib/netbsd-tests/lib/libpthread/
H A Dh_resolv.c53 static int *got = NULL; variable
115 got[i] += error == 0;
176 if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL)
197 if (ask[i] != got[i] && got[i] != 0) {
198 warnx("Error: host %s ask %d got %d\n",
199 hosts->sl_str[i], ask[i], got[i]);
205 free(got);
/freebsd-13-stable/contrib/ntp/lib/isc/win32/
H A Dentropy.c165 unsigned int got; local
170 got = 0;
173 got = get_from_filesource(source, remaining);
175 added += got;
177 remaining -= ISC_MIN(remaining, got);
201 unsigned int got; local
203 got = 0;
206 got = get_from_callback(source, remaining, blocking);
208 added += got;
209 remaining -= ISC_MIN(remaining, got);
[all...]
/freebsd-13-stable/sbin/dump/
H A Dtape.c232 int i, blks, got; local
250 if (atomic(read, wp->fd, (char *)&got, sizeof got)
251 != sizeof got) {
258 if (got < writesize) {
268 (char *)&got, sizeof got)
269 != sizeof got) {
313 int got; local
325 if (atomic(read, workers[f].fd, (char *)&got, sizeo
400 int i, size, got; local
882 int got, need = count; local
[all...]
/freebsd-13-stable/tools/regression/tmpfs/
H A Dh_funcs.subr128 got=$(wc -l kqueue.log | awk '{ print $1 }')
129 test ${got} -eq ${nev}
/freebsd-13-stable/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c175 sc->got = 0;
354 sc->got = 0;
371 sc->got = 0;
381 if (sc->got >= sizeof(sc->ibuf)) {
382 NG_H4_ALERT("%s: %s - input buffer overflow, c=%#x, got=%d\n",
384 sc->got);
390 sc->got = 0;
397 sc->ibuf[sc->got ++] = (c & TTY_CHARMASK);
399 NG_H4_INFO("%s: %s - got char %#x, want=%d, got
[all...]
/freebsd-13-stable/sys/i386/linux/
H A Dlinux_vdso.lds.s32 *(.got.plt) *(.got)
/freebsd-13-stable/sys/amd64/linux32/
H A Dlinux32_vdso.lds.s32 *(.got.plt) *(.got)

Completed in 139 milliseconds

12345