Searched refs:res (Results 101 - 125 of 2350) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dmoddi3.c19 #define ASSIGN_UMOD(res, a, b) __udivmoddi4((a), (b), &(res))
/freebsd-current/contrib/wpa/wpa_supplicant/examples/
H A Dwpas-dbus-new-getall.py37 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'BSSs',
39 if len(res) > 0:
40 bss_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
44 print("GetAll(fi.w1.wpa_supplicant1.BSS, %s):" % (res[0]))
47 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'Networks',
49 if len(res) > 0:
50 net_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
54 print("GetAll(fi.w1.wpa_supplicant1.Network, %s):" % (res[0]))
/freebsd-current/tools/test/stress2/misc/
H A Dsyzkaller67.sh55 intptr_t res = 0;
63 res = syscall(SYS_fork);
64 if (res != -1)
65 r[0] = res;
67 res = syscall(SYS_fork);
68 if (res != -1)
69 r[1] = res;
71 res = syscall(SYS_fork);
72 if (res != -1)
73 r[2] = res;
[all...]
H A Dnanosleep.sh60 struct timespec finish, start, res;
72 timespecsub(&finish, &start, &res);
73 if (res.tv_nsec < N)
74 errx(1, "Short sleep: %ld", res.tv_nsec);
76 // (double)res.tv_nsec / 1e9);
77 if (m > res.tv_nsec)
78 m = res.tv_nsec;
/freebsd-current/sbin/hastd/
H A Dhast_compression.h39 int compression_send(const struct hast_resource *res, struct nv *nv,
41 int compression_recv(const struct hast_resource *res, struct nv *nv,
H A Dhast_checksum.h39 int checksum_send(const struct hast_resource *res, struct nv *nv,
41 int checksum_recv(const struct hast_resource *res, struct nv *nv,
H A Dsubr.c79 provinfo(struct hast_resource *res, bool dowrite) argument
83 PJDLOG_ASSERT(res->hr_localpath != NULL &&
84 res->hr_localpath[0] != '\0');
86 if (res->hr_localfd == -1) {
87 res->hr_localfd = open(res->hr_localpath,
89 if (res->hr_localfd == -1) {
91 res->hr_localpath);
95 if (fstat(res->hr_localfd, &sb) == -1) {
96 pjdlog_errno(LOG_ERR, "Unable to stat %s", res
152 drop_privs(const struct hast_resource *res) argument
[all...]
H A Dprimary.c178 #define ISCONNECTED(res, no) \
179 ((res)->hr_remotein != NULL && (res)->hr_remoteout != NULL)
280 cleanup(struct hast_resource *res) argument
288 if (res->hr_ggateunit >= 0) {
293 ggiod.gctl_unit = res->hr_ggateunit;
295 if (ioctl(res->hr_ggatefd, G_GATE_CMD_DESTROY, &ggiod) == -1) {
298 res->hr_provname);
300 res->hr_ggateunit = -1;
333 hast_activemap_flush(struct hast_resource *res) __unlock
369 real_remote(const struct hast_resource *res) argument
504 init_resuid(struct hast_resource *res) argument
522 init_local(struct hast_resource *res) argument
569 primary_connect(struct hast_resource *res, struct proto_conn **connp) argument
612 enable_direct_reads(struct hast_resource *res) argument
630 init_remote(struct hast_resource *res, struct proto_conn **inp, struct proto_conn **outp) argument
906 init_ggate(struct hast_resource *res) argument
963 hastd_primary(struct hast_resource *res) argument
1135 remote_close(struct hast_resource *res, int ncomp) argument
1178 write_complete(struct hast_resource *res, struct hio *hio) argument
1224 struct hast_resource *res = arg; local
1384 struct hast_resource *res = arg; local
1502 keepalive_send(struct hast_resource *res, unsigned int ncomp) argument
1545 struct hast_resource *res = arg; local
1702 struct hast_resource *res = arg; local
1864 struct hast_resource *res = arg; local
1956 struct hast_resource *res = arg; local
2213 primary_config_reload(struct hast_resource *res, struct nv *nv) argument
2341 guard_one(struct hast_resource *res, unsigned int ncomp) argument
2402 struct hast_resource *res = arg; local
[all...]
/freebsd-current/sys/kgssapi/
H A Dgss_canonicalize_name.c48 struct canonicalize_name_res res; local
62 bzero(&res, sizeof(res));
63 stat = gssd_canonicalize_name_1(&args, &res, cl);
70 if (res.major_status != GSS_S_COMPLETE) {
71 *minor_status = res.minor_status;
72 return (res.major_status);
76 name->handle = res.output_name;
H A Dgss_import_name.c48 struct import_name_res res; local
64 bzero(&res, sizeof(res));
65 stat = gssd_import_name_1(&args, &res, cl);
72 if (res.major_status != GSS_S_COMPLETE) {
73 *minor_status = res.minor_status;
74 return (res.major_status);
78 name->handle = res.output_name;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/cpu_model/aarch64/fmv/
H A Dfreebsd.inc16 int res = 0;
17 res = elf_aux_info(AT_HWCAP, &hwcap, sizeof hwcap);
18 res |= elf_aux_info(AT_HWCAP2, &hwcap2, sizeof hwcap2);
19 if (res)
/freebsd-current/share/examples/sunrpc/sort/
H A Drsort.c14 struct sortstrings args, res; local
24 res.ss.ss_val = (char **)NULL;
27 xdr_sortstrings, &args, xdr_sortstrings, &res)))
35 for (i = 0; i < res.ss.ss_len; i++) {
36 printf("%s\n", res.ss.ss_val[i]);
39 /* should free res here */
/freebsd-current/contrib/sendmail/libsm/
H A Dt-fget.c66 char res[256]; local
75 l = snprintf(res, sizeof(res), "%c%s\n", '\0', "test ing");
76 check(res, l);
78 l = snprintf(res, sizeof(res), "%c%s%c\n", '\0', "test ing", '\0');
79 check(res, l);
81 l = snprintf(res, sizeof(res), "%c%s%c%s\n",
83 check(res,
[all...]
/freebsd-current/crypto/heimdal/lib/ipc/
H A Dts-http.c77 struct addrinfo hints, *res, *res0; local
89 for (res = res0; res ; res = res->ai_next) {
90 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
98 if (bind(s, res->ai_addr, res
[all...]
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stub.cpp148 void *res; local
154 res = _aligned_malloc(size, 1);
156 res = malloc(size);
158 return res;
162 void *res; local
164 res = _aligned_malloc(sz, a);
167 if ((err = posix_memalign(&res, a, sz))) {
169 res = NULL;
172 return res;
176 void *res; local
186 void *res; local
380 void *res; local
394 void *res; local
409 void *res; local
421 void *res; local
438 void *res; local
[all...]
/freebsd-current/sys/libkern/
H A Dmurmur3_32.c47 size_t res; local
51 res = len;
55 while (res >= 4) {
59 res -= 4;
71 if (res > 0) {
73 switch (res) {
107 size_t res; local
110 for (res = count, hash = seed; res > 0; res
[all...]
/freebsd-current/contrib/ntp/sntp/libopts/
H A Dparse-duration.c170 time_t res = 0; local
172 res = parse_scaled_value (0, &pz, ps, SEC_PER_YEAR);
181 res = parse_scaled_value (res, &pz, ps, SEC_PER_MONTH);
185 return parse_scaled_value (res, &pz, ps, SEC_PER_DAY);
192 time_t res = 0; local
205 res = parse_scaled_value (0, &pz, buf + 4, SEC_PER_YEAR);
210 res = parse_scaled_value (res, &pz, buf + 2, SEC_PER_MONTH);
215 return parse_scaled_value (res,
222 time_t res = 0; local
267 time_t res = 0; local
290 time_t res = 0; local
320 time_t res = 0; local
358 time_t res = 0; local
415 time_t res = 0; local
468 time_t res = 0; local
[all...]
/freebsd-current/usr.sbin/rpc.lockd/
H A Dlock_proc.c428 static nlm_testres res; local
444 res.cookie = arg->cookie;
446 res.stat.stat = nlm_granted;
448 res.stat.stat = nlm_denied;
449 memcpy(&res.stat.nlm_testrply_u.holder, holder,
451 res.stat.nlm_testrply_u.holder.l_offset = holder->l_offset;
452 res.stat.nlm_testrply_u.holder.l_len = holder->l_len;
454 return (&res);
460 nlm_testres res; local
476 res
515 static nlm_res res; local
537 static nlm_res res; local
566 static nlm_res res; local
588 static nlm_res res; local
617 static nlm_res res; local
634 static nlm_res res; local
670 static nlm_res res; local
688 static nlm_res res; local
793 static nlm_shareres res; local
813 static nlm_shareres res; local
837 static nlm_res res; local
878 static nlm4_testres res; local
924 nlm4_testres res; local
974 static nlm4_res res; local
1008 static nlm4_res res; local
1029 static nlm4_res res; local
1048 static nlm4_res res; local
1074 static nlm4_res res; local
1088 static nlm4_res res; local
1121 static nlm4_res res; local
1139 static nlm4_res res; local
1242 static nlm4_shareres res; local
1262 static nlm4_shareres res; local
1286 static nlm4_res res; local
[all...]
/freebsd-current/sys/dev/acpica/
H A Dacpi_resource.c71 acpi_lookup_irq_handler(ACPI_RESOURCE *res, void *context) argument
77 switch (res->Type) {
79 irqnum = res->Data.Irq.InterruptCount;
80 irq = res->Data.Irq.Interrupts[0];
82 trig = res->Data.Irq.Triggering;
83 pol = res->Data.Irq.Polarity;
86 irqnum = res->Data.ExtendedIrq.InterruptCount;
87 irq = res->Data.ExtendedIrq.Interrupts[0];
89 trig = res->Data.ExtendedIrq.Triggering;
90 pol = res
117 acpi_lookup_irq_resource(device_t dev, int rid, struct resource *res, ACPI_RESOURCE *acpi_res) argument
137 acpi_config_intr(device_t dev, ACPI_RESOURCE *res) argument
232 acpi_parse_resource(ACPI_RESOURCE *res, void *context) argument
[all...]
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dkstrtox.h74 kstrtoul(const char *cp, unsigned int base, unsigned long *res) argument
78 *res = strtoul(cp, &end, base);
89 kstrtol(const char *cp, unsigned int base, long *res) argument
93 *res = strtol(cp, &end, base);
104 kstrtoint(const char *cp, unsigned int base, int *res) argument
109 *res = temp = strtol(cp, &end, base);
122 kstrtouint(const char *cp, unsigned int base, unsigned int *res) argument
127 *res = temp = strtoul(cp, &end, base);
140 kstrtou8(const char *cp, unsigned int base, uint8_t *res) argument
145 *res
158 kstrtou16(const char *cp, unsigned int base, uint16_t *res) argument
176 kstrtou32(const char *cp, unsigned int base, uint32_t *res) argument
183 kstrtos64(const char *cp, unsigned int base, int64_t *res) argument
198 kstrtoll(const char *cp, unsigned int base, long long *res) argument
204 kstrtou64(const char *cp, unsigned int base, u64 *res) argument
219 kstrtoull(const char *cp, unsigned int base, unsigned long long *res) argument
225 kstrtobool(const char *s, bool *res) argument
251 kstrtobool_from_user(const char __user *s, size_t count, bool *res) argument
[all...]
/freebsd-current/sbin/hastctl/
H A Dhastctl.c90 create_one(struct hast_resource *res, intmax_t mediasize, intmax_t extentsize, argument
98 pjdlog_prefix_set("[%s] ", res->hr_name);
100 if (provinfo(res, true) == -1) {
105 mediasize = res->hr_local_mediasize;
106 else if (mediasize > res->hr_local_mediasize) {
108 res->hr_localpath);
112 if (!powerof2(res->hr_local_sectorsize)) {
114 res->hr_localpath, res->hr_local_sectorsize);
120 if (extentsize < res
173 struct hast_resource *res; local
199 dump_one(struct hast_resource *res) argument
225 struct hast_resource *res; local
262 const char *res, *oldrole; local
[all...]
/freebsd-current/contrib/libucl/tests/
H A Dtest_msgpack.c206 ucl_object_t *res; local
211 res = ucl_object_typed_new (UCL_ARRAY);
216 ucl_array_append (res, ucl_object_fromint (cur % 128));
217 ucl_array_append (res, ucl_object_fromint (-(cur % 128)));
219 ucl_array_append (res, ucl_object_fromint (cur % UINT16_MAX));
220 ucl_array_append (res, ucl_object_fromint (-(cur % INT16_MAX)));
222 ucl_array_append (res, ucl_object_fromint (cur % UINT32_MAX));
223 ucl_array_append (res, ucl_object_fromint (-(cur % INT32_MAX)));
225 ucl_array_append (res, ucl_object_fromint (cur));
226 ucl_array_append (res, ucl_object_fromin
252 ucl_object_t *res, *elt; local
305 ucl_object_t *res; local
321 ucl_object_t *res, *cur; local
367 ucl_object_t *res, *cur; local
393 ucl_object_t *res, *cur; local
428 ucl_object_t *res, *cur; local
450 ucl_object_t *res; local
[all...]
/freebsd-current/crypto/openssl/crypto/ffc/
H A Dffc_params_validate.c54 int *res, BN_GENCB *cb)
66 L, N, res, cb);
72 int *res, BN_GENCB *cb)
77 *res = FFC_CHECK_INVALID_PQ;
86 L, N, res, cb);
96 int paramstype, int *res)
105 if (res == NULL)
106 res = &tmpres;
117 res, NULL);
121 res, NUL
52 ossl_ffc_params_FIPS186_4_validate(OSSL_LIB_CTX *libctx, const FFC_PARAMS *params, int type, int *res, BN_GENCB *cb) argument
70 ossl_ffc_params_FIPS186_2_validate(OSSL_LIB_CTX *libctx, const FFC_PARAMS *params, int type, int *res, BN_GENCB *cb) argument
95 ossl_ffc_params_simple_validate(OSSL_LIB_CTX *libctx, const FFC_PARAMS *params, int paramstype, int *res) argument
139 ossl_ffc_params_full_validate(OSSL_LIB_CTX *libctx, const FFC_PARAMS *params, int paramstype, int *res) argument
[all...]
/freebsd-current/sys/dev/wdatwd/
H A Dwdatwd.c59 * res Resource when allocated.
67 struct resource *res; member in struct:wdat_res
114 TAILQ_HEAD(res_head, wdat_res) res;
418 * in the newly malloc()'ed res.
423 struct wdat_res *res; local
428 res = malloc(sizeof(*res),
430 if (res != NULL) {
431 res->start = rr->Address;
432 res
571 struct wdat_res *res; local
613 struct resource *res; local
645 struct wdat_res *res; local
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dh_spawnattr.c47 int parent_pipe, res = EXIT_SUCCESS; local
56 res = EXIT_FAILURE;
60 res = EXIT_FAILURE;
64 res = EXIT_FAILURE;
69 res = EXIT_FAILURE;
84 res = EXIT_FAILURE;
89 return res;

Completed in 371 milliseconds

1234567891011>>