Searched refs:res (Results 201 - 225 of 2025) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/proto/
H A Dproto_core.c95 struct resource *res)
107 r->r_d.res = res;
183 u_int res; local
188 for (res = 0; res < sc->sc_rescnt; res++) {
189 r = sc->sc_res + res;
198 r->r_size = rman_get_size(r->r_d.res);
199 r->r_u.cdev = make_dev(&proto_devsw, res,
94 proto_add_resource(struct proto_softc *sc, int type, int rid, struct resource *res) argument
230 u_int res; local
[all...]
/freebsd-11-stable/sys/dev/digi/
H A Ddigi_pci.c115 sc->res.unit = device_get_unit(dev);
121 sc->res.mrid = 0x10;
127 sc->res.mrid = 0x10;
133 sc->res.mrid = 0x10;
139 sc->res.mrid = 0x10;
145 sc->res.mrid = 0x18;
151 sc->res.mrid = 0x18;
157 sc->res.mrid = 0x10;
163 sc->res.mrid = 0x10;
169 sc->res
[all...]
/freebsd-11-stable/contrib/wpa/src/fst/
H A Dfst_session.c275 int res; local
313 res = fst_iface_send_action(iface,
316 if (res < 0)
325 return res;
332 int res; local
347 res = fst_session_send_action(s, TRUE, &td, sizeof(td), NULL);
348 if (!res)
354 return res;
505 const struct fst_setup_res *res; local
529 if (plen < sizeof(*res)) {
646 struct fst_ack_res res; local
708 const struct fst_ack_res *res; local
816 int res; local
926 struct fst_setup_res res; local
1031 int res; local
1103 int res; local
1258 int res = fst_read_peer_addr(mac, peer_addr); local
1407 struct fst_setup_res res; local
1510 struct fst_ack_res res; local
[all...]
/freebsd-11-stable/contrib/ncurses/form/
H A Dfld_type.c52 int res = E_SYSTEM_ERROR; local
73 res = E_OK;
79 RETURN(res);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dwince-stub.c220 /* Output the result of an operation to the host. If res != 0, sends a block of
221 memory starting at mem of len bytes. If res == 0, sends -GetLastError () and
224 putresult (LPCWSTR huh, gdb_wince_result res, int s, gdb_wince_id what, const void *mem, gdb_wince_len len) argument
226 if (!res)
241 gdb_wince_result res; local
243 res = CreateProcessW (exec_file,
253 putresult (L"CreateProcess", res, s, GDB_CREATEPROCESS, &pi, sizeof (pi));
264 gdb_wince_result res; local
267 res = TerminateProcess (h, 0) || 1; /* Doesn't seem to work on SH so default to TRUE */
268 putresult (L"Terminate process result", res,
320 gdb_wince_result res; local
356 gdb_wince_result res; local
370 gdb_wince_result res; local
389 gdb_wince_result res; local
406 gdb_wince_result res; local
419 gdb_wince_result res; local
430 DWORD res; local
440 DWORD res; local
450 gdb_wince_result res; local
462 gdb_wince_result res; local
[all...]
/freebsd-11-stable/sys/dev/altera/pio/
H A Dpio.c60 #define READ4(_sc, _reg) bus_read_4((_sc)->res[0], _reg)
61 #define READ2(_sc, _reg) bus_read_2((_sc)->res[0], _reg)
62 #define READ1(_sc, _reg) bus_read_1((_sc)->res[0], _reg)
63 #define WRITE4(_sc, _reg, _val) bus_write_4((_sc)->res[0], _reg, _val)
64 #define WRITE2(_sc, _reg, _val) bus_write_2((_sc)->res[0], _reg, _val)
65 #define WRITE1(_sc, _reg, _val) bus_write_1((_sc)->res[0], _reg, _val)
68 struct resource *res[2]; member in struct:pio_softc
89 if (bus_setup_intr(sc->dev, sc->res[1], INTR_TYPE_BIO | INTR_MPSAFE,
105 bus_teardown_intr(sc->dev, sc->res[1], sc->ih);
172 if (bus_alloc_resources(dev, pio_spec, sc->res)) {
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetdtablesize.c72 struct rlimit res; local
73 if (getrlimit(RLIMIT_NOFILE, &res) == 0)
74 files = res.rlim_cur;
/freebsd-11-stable/sys/x86/isa/
H A Dorm.c66 struct resource *res[MAX_ROMS]; member in struct:orm_softc
88 struct resource *res; local
107 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid,
109 if (res == NULL) {
114 bt = rman_get_bustag(res);
115 bh = rman_get_bushandle(res);
129 bus_release_resource(child, SYS_RES_MEMORY, rid, res);
139 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, 0);
140 if (res == NULL) {
146 sc->res[s
[all...]
/freebsd-11-stable/tests/sys/opencrypto/
H A Ddpkt.py96 res = list(_st_unpack(self.__hdr_fmt__, buf[:self.__hdr_len__]))
102 setattr(self, k, list(res[:cnt]))
103 del res[:cnt]
106 i = res[0].find('\x00')
108 res[0] = res[0][:i]
109 setattr(self, k, res[0])
110 del res[0]
111 assert len(res) == 0
120 res
[all...]
/freebsd-11-stable/crypto/openssl/crypto/
H A Do_str.c74 int res = toupper(*str1) - toupper(*str2); local
75 if (res)
76 return res < 0 ? -1 : 1;
/freebsd-11-stable/contrib/mdocml/
H A Dmansearch.c88 struct manpage **res, size_t *sz)
107 if (res != NULL)
108 *res = NULL;
179 if (res == NULL) {
185 *res = mandoc_reallocarray(*res,
186 maxres, sizeof(**res));
188 mpage = *res + cur;
214 if (res != NULL)
215 qsort(*res, cu
85 mansearch(const struct mansearch *search, const struct manpaths *paths, int argc, char *argv[], struct manpage **res, size_t *sz) argument
245 struct dbm_res res, *rp; local
315 struct dbm_res *res; local
383 mansearch_free(struct manpage *res, size_t sz) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_mtime_otrunc.c65 int res; local
69 res = rump_sys_chdir(path);
70 if (res == -1)
/freebsd-11-stable/usr.sbin/devinfo/
H A Ddevinfo.c64 print_resource(struct devinfo_res *res) argument
69 rman = devinfo_handle_to_rman(res->dr_rman);
71 printf(hexmode ? "0x%jx" : "%ju", res->dr_start);
72 if (res->dr_size > 1)
74 res->dr_start + res->dr_size - 1);
85 print_device_matching_resource(struct devinfo_res *res, void *arg) argument
91 if (devinfo_handle_to_device(res->dr_device) == dev) {
97 print_resource(res);
172 print_rman_resource(struct devinfo_res *res, voi argument
[all...]
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_package.c48 acpi_PkgInt(ACPI_OBJECT *res, int idx, UINT64 *dst) argument
52 obj = &res->Package.Elements[idx];
61 acpi_PkgInt32(ACPI_OBJECT *res, int idx, uint32_t *dst) argument
66 error = acpi_PkgInt(res, idx, &tmp);
74 acpi_PkgInt16(ACPI_OBJECT *res, int idx, uint16_t *dst) argument
79 error = acpi_PkgInt(res, idx, &tmp);
87 acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size) argument
93 obj = &res->Package.Elements[idx];
119 acpi_PkgGas(device_t dev, ACPI_OBJECT *res, int idx, int *type, int *rid, argument
125 obj = &res
136 acpi_PkgFFH_IntelCpu(ACPI_OBJECT *res, int idx, int *vendor, int *class, uint64_t *address, int *accsize) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bvgraph.h51 uptr res = 0; local
56 if (res < max_added_edges)
57 added_edges[res++] = node;
59 return res;
77 bool res = 0; local
80 res = true;
82 return res;
87 bool res = false; local
93 res = true;
96 return res;
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_new_delete.cpp34 void *res = hwasan_malloc(size, &stack);\
35 if (!nothrow && UNLIKELY(!res)) ReportOutOfMemory(size, &stack);\
36 return res
/freebsd-11-stable/sys/x86/xen/
H A Dxenpv.c121 struct resource *res; local
125 res = bus_alloc_resource(child, SYS_RES_MEMORY, res_id, LOW_MEM_LIMIT,
127 if (res == NULL)
130 phys_addr = rman_get_start(res);
134 bus_release_resource(child, SYS_RES_MEMORY, *res_id, res);
138 return (res);
142 xenpv_free_physmem(device_t dev, device_t child, int res_id, struct resource *res) argument
147 phys_addr = rman_get_start(res);
148 size = rman_get_size(res);
151 return (bus_release_resource(child, SYS_RES_MEMORY, res_id, res));
196 xenmem_free(device_t dev, int res_id, struct resource *res) argument
[all...]
/freebsd-11-stable/contrib/groff/src/roff/troff/
H A Dnumber.cpp43 int get_vunits(vunits *res, unsigned char si) argument
49 *res = vunits(x);
56 int get_hunits(hunits *res, unsigned char si) argument
62 *res = hunits(x);
71 int get_number_rigidly(units *res, unsigned char si) argument
77 *res = x;
84 int get_number(units *res, unsigned char si) argument
90 *res = x;
97 int get_integer(int *res) argument
103 *res
114 get_vunits(vunits *res, unsigned char si, vunits prev_value) argument
135 get_hunits(hunits *res, unsigned char si, hunits prev_value) argument
156 get_number(units *res, unsigned char si, units prev_value) argument
177 get_integer(int *res, int prev_value) argument
199 get_incr_number(units *res, unsigned char si) argument
666 double res = n*double(x)/double(y); local
[all...]
/freebsd-11-stable/sys/powerpc/pseries/
H A Dplatform_chrp.c172 int i, idx, len, lasz, lmsz, res; local
184 res = OF_getencprop(phandle, "ibm,lmb-size", lmb_size,
186 if (res == -1)
196 #el Addr DRC-idx res list-idx flags
210 res = OF_getencprop(phandle, "ibm,dynamic-memory", arr,
212 if (res == -1)
297 int res, cpuid; local
303 res = OF_getprop(dev, "name", buf, sizeof(buf));
304 if (res > 0 && strcmp(buf, "cpus") == 0)
321 res
346 int i, res, cpuid; local
390 int res, cpuid; local
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dsh.misc.c533 ssize_t res; local
537 while ((size_t)(res = readlink(path, buf, size)) == size) {
541 if (res == -1) {
549 buf[res] = '\0';
550 return xrealloc(buf, res + 1);
575 int res; local
577 while ((res = creat(path, mode)) == -1 && errno == EINTR)
580 return res;
587 int res; local
589 while ((res
599 struct group *res; local
613 struct passwd *res; local
627 struct passwd *res; local
641 int res; local
667 ssize_t res = -1; local
682 int res; local
695 ssize_t res = -1; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/bin/dd/
H A Dt_dd.sh32 res=$2
33 if [ x"$res" != x"$result" ]; then
34 atf_fail "Expected $result bytes of output, got $res: $cmd"
62 res="`echo -n "$2" | eval $1`"
63 if [ x"$res" != x"$3" ]; then
64 atf_fail "Expected \"$3\", got \"$res\": $1"
/freebsd-11-stable/crypto/heimdal/base/
H A Dtest_base.c144 int res = 0; local
146 res |= test_memory();
147 res |= test_dict();
148 res |= test_auto_release();
149 res |= test_string();
151 return res;
/freebsd-11-stable/contrib/apr-util/dbd/
H A Dapr_dbd_mysql.c77 MYSQL_RES *res; member in struct:apr_dbd_results_t
84 apr_dbd_results_t *res; member in struct:apr_dbd_row_t
116 static int dbd_mysql_num_cols(apr_dbd_results_t *res);
143 apr_dbd_results_t *res = row->res; local
149 MYSQL_BIND *bind = &res->bind[col];
155 rv = mysql_stmt_fetch_column(res->statement, bind, col,
166 bind->buffer = apr_palloc(res->pool, bind->buffer_length);
172 apr_bucket_pool_make(e, *str, *len, res->pool);
250 (*results)->res
268 dbd_mysql_get_name(const apr_dbd_results_t *res, int n) argument
277 dbd_mysql_get_row(apr_pool_t *pool, apr_dbd_results_t *res, apr_dbd_row_t **row, int rownum) argument
710 dbd_mysql_pselect_internal(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, MYSQL_BIND *bind) argument
775 dbd_mysql_pselect(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, const char **args) argument
799 dbd_mysql_pvselect(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, va_list args) argument
996 dbd_mysql_pbselect(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, const void **args) argument
1020 dbd_mysql_pvbselect(apr_pool_t *pool, apr_dbd_t *sql, apr_dbd_results_t **res, apr_dbd_prepared_t *statement, int random, va_list args) argument
1232 dbd_mysql_num_cols(apr_dbd_results_t *res) argument
1242 dbd_mysql_num_tuples(apr_dbd_results_t *res) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_abs.c49 int res; member in struct:__anon4713
60 ATF_CHECK(abs(table[i].val) == table[i].res);
73 intmax_t res; member in struct:__anon4714
87 ATF_CHECK(imaxabs(table[i].val) == table[i].res);
100 long res; member in struct:__anon4715
113 ATF_CHECK(labs(table[i].val) == table[i].res);
126 long long res; member in struct:__anon4716
142 ATF_CHECK(llabs(table[i].val) == table[i].res);
/freebsd-11-stable/contrib/libucl/tests/
H A Dgenerate.test6 diff -s ${TEST_OUT_DIR}/generate.out ${TEST_DIR}/generate.res -u 2>/dev/null
9 echo "Test: generate.res output missmatch"

Completed in 316 milliseconds

1234567891011>>