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

123456

/freebsd-11-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-11-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-11-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-11-stable/contrib/binutils/ld/emulparams/
H A Darmelf_fbsd.sh3 TARGET2_TYPE=got-rel
H A Darmelf_nbsd.sh4 TARGET2_TYPE=got-rel
H A Darmelf_linux.sh21 TARGET2_TYPE=got-rel
/freebsd-11-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);
/freebsd-11-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-11-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-11-stable/gnu/usr.bin/binutils/ld/
H A Darmelf_fbsd.sh4 TARGET2_TYPE=got-rel
H A Darmelfb_fbsd.sh8 TARGET2_TYPE=got-rel
/freebsd-11-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-11-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-11-stable/sys/powerpc/ofw/
H A Dofwcall32.S74 lwz %r4,openfirmware_entry@got(%r7)
82 lwz %r5,ofmsr@got(%r7)
94 lwz %r1,ofwstk@got(%r7)
137 lwz %r5,rtas_regsave@got(%r7)
141 lwz %r5,rtas_entry@got(%r7)
145 lwz %r6,rtasmsr@got(%r7)
159 lwz %r6,rtas_regsave@got(%r7)
/freebsd-11-stable/stand/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);
/freebsd-11-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-11-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-11-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-11-stable/tools/regression/p1003_1b/
H A Dyield.c70 struct sched_param set, got; local
104 (void)sched_is(__LINE__, &got, SCHED_FIFO);
105 if (got.sched_priority != set.sched_priority) {
120 (void)sched_is(__LINE__, &got, SCHED_FIFO);
122 if (got.sched_priority != set.sched_priority) {
/freebsd-11-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-11-stable/libexec/rtld-elf/mips/
H A Dreloc.c148 Elf_Addr *got = NULL; local
164 got = (Elf_Addr *)(relocbase + dynp->d_un.d_ptr);
178 i = (got[1] & GOT1_MASK) ? 2 : 1;
180 got += i;
182 *got++ += relocbase;
188 *got = sym->st_value + relocbase;
190 ++got;
240 Elf_Addr *got = obj->pltgot; local
251 where = &got[obj->local_gotno + reloff - obj->gotsym];
274 Elf_Addr *got local
[all...]
/freebsd-11-stable/libexec/rtld-elf/amd64/
H A Delf_rtld.x31 .rel.got : { *(.rel.got) }
32 .rela.got : { *(.rela.got) }
78 .got : { *(.got.plt) *(.got) }
/freebsd-11-stable/libexec/rtld-elf/i386/
H A Delf_rtld.x31 .rel.got : { *(.rel.got) }
32 .rela.got : { *(.rela.got) }
78 .got : { *(.got.plt) *(.got) }
/freebsd-11-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...]

Completed in 309 milliseconds

123456