Searched refs:code (Results 76 - 100 of 1558) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_isc.c10 * 1. Redistributions of source code must retain the above copyright
55 u_int code; local
58 code = (tf->tf_eax & 0xffffff00) >> 8;
59 callp = &isc_sysent[code];
61 if (code < IBCS2_ISC_MAXSYSCALL)
/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dt4_chip_type.h16 * - Redistributions of source code must retain the above
41 /* We code the Chelsio T4 Family "Chip Code" as a tuple:
51 #define CHELSIO_CHIP_VERSION(code) (((code) >> 4) & 0xf)
52 #define CHELSIO_CHIP_RELEASE(code) ((code) & 0xf)
/freebsd-11-stable/sys/riscv/include/
H A Dproc.h8 * 1. Redistributions of source code must retain the above copyright
50 u_int code; member in struct:syscall_args
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgai_strerror.c10 * 1. Redistributions of source code must retain the above copyright
39 int code; member in struct:gai_error
71 if (g->code == ecode)
73 return "unknown error code in gai_strerror";
/freebsd-11-stable/contrib/ncurses/menu/
H A Dmf_common.h69 /* Maximum regular 8-bit character code */
72 #define SET_ERROR(code) (errno=(code))
76 #define RETURN(code) returnCode( SET_ERROR(code) )
78 #define RETURN(code) return( SET_ERROR(code) )
/freebsd-11-stable/usr.bin/locate/locate/
H A Dconcatdb.sh11 # 1. Redistributions of source code must retain the above copyright
49 : ${code:=locate.code}
72 done | $code $bigrams
/freebsd-11-stable/contrib/netbsd-tests/net/bpfjit/
H A Dt_extmem.c11 * 1. Redistributions of source code must retain the above copyright
86 bpfjit_func_t code; local
106 code = rumpns_bpfjit_generate_code(&ctx, insns, insn_count);
108 ATF_REQUIRE(code != NULL);
110 ATF_CHECK(code(&ctx, &args) == 3);
113 rumpns_bpfjit_free_code(code);
131 bpfjit_func_t code; local
137 code = rumpns_bpfjit_generate_code(&ctx, insns, insn_count);
139 ATF_CHECK(code == NULL);
160 bpfjit_func_t code; local
218 bpfjit_func_t code; local
270 bpfjit_func_t code; local
299 bpfjit_func_t code; local
350 bpfjit_func_t code; local
402 bpfjit_func_t code; local
454 bpfjit_func_t code; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libbpfjit/
H A Dt_extmem.c11 * 1. Redistributions of source code must retain the above copyright
78 bpfjit_func_t code; local
95 code = bpfjit_generate_code(&ctx, insns, insn_count);
96 ATF_REQUIRE(code != NULL);
98 ATF_CHECK(code(&ctx, &args) == 0);
100 bpfjit_free_code(code);
117 bpfjit_func_t code; local
134 code = bpfjit_generate_code(&ctx, insns, insn_count);
135 ATF_REQUIRE(code != NULL);
137 ATF_CHECK(code(
179 bpfjit_func_t code; local
231 bpfjit_func_t code; local
300 bpfjit_func_t code; local
345 bpfjit_func_t code; local
391 bpfjit_func_t code; local
437 bpfjit_func_t code; local
[all...]
/freebsd-11-stable/sys/dev/evdev/
H A Devdev.h8 * 1. Redistributions of source code must retain the above copyright
162 evdev_push_key(struct evdev_dev *evdev, uint16_t code, int32_t value) argument
165 return (evdev_push_event(evdev, EV_KEY, code, value != 0));
169 evdev_push_rel(struct evdev_dev *evdev, uint16_t code, int32_t value) argument
172 return (evdev_push_event(evdev, EV_REL, code, value));
176 evdev_push_abs(struct evdev_dev *evdev, uint16_t code, int32_t value) argument
179 return (evdev_push_event(evdev, EV_ABS, code, value));
183 evdev_push_msc(struct evdev_dev *evdev, uint16_t code, int32_t value) argument
186 return (evdev_push_event(evdev, EV_MSC, code, value));
190 evdev_push_led(struct evdev_dev *evdev, uint16_t code, int32_ argument
197 evdev_push_snd(struct evdev_dev *evdev, uint16_t code, int32_t value) argument
204 evdev_push_sw(struct evdev_dev *evdev, uint16_t code, int32_t value) argument
[all...]
H A Devdev.c9 * 1. Redistributions of source code must retain the above copyright
448 evdev_support_key(struct evdev_dev *evdev, uint16_t code) argument
451 KASSERT(code < KEY_CNT, ("invalid evdev key property"));
452 bit_set(evdev->ev_key_flags, code);
456 evdev_support_rel(struct evdev_dev *evdev, uint16_t code) argument
459 KASSERT(code < REL_CNT, ("invalid evdev rel property"));
460 bit_set(evdev->ev_rel_flags, code);
464 evdev_support_abs(struct evdev_dev *evdev, uint16_t code, int32_t value, argument
470 KASSERT(code < ABS_CNT, ("invalid evdev abs property"));
480 evdev_set_abs_bit(evdev, code);
485 evdev_set_abs_bit(struct evdev_dev *evdev, uint16_t code) argument
495 evdev_support_msc(struct evdev_dev *evdev, uint16_t code) argument
504 evdev_support_led(struct evdev_dev *evdev, uint16_t code) argument
512 evdev_support_snd(struct evdev_dev *evdev, uint16_t code) argument
520 evdev_support_sw(struct evdev_dev *evdev, uint16_t code) argument
573 evdev_check_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, int32_t value) argument
658 evdev_modify_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, int32_t *value) argument
693 evdev_sparse_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, int32_t value) argument
802 evdev_propagate_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, int32_t value) argument
828 evdev_send_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, int32_t value) argument
851 evdev_push_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, int32_t value) argument
875 evdev_inject_event(struct evdev_dev *evdev, uint16_t type, uint16_t code, int32_t value) argument
[all...]
/freebsd-11-stable/contrib/nvi/regex/
H A Dregerror.c8 * This code is derived from software contributed to Berkeley by
14 * 1. Redistributions of source code must retain the above copyright
85 int code; member in struct:rerr
105 { 0, "", "*** unknown regexp error code ***" },
125 for (r = rerrs; r->code != 0; r++)
126 if (r->code == target)
130 if (r->code != 0) {
160 for (r = rerrs; r->code != 0; r++)
163 if (r->code == 0)
166 sprintf(localbuf, "%d", r->code);
[all...]
/freebsd-11-stable/lib/libc/regex/
H A Dregerror.c6 * This code is derived from software contributed to Berkeley by
12 * 1. Redistributions of source code must retain the above copyright
85 int code; member in struct:rerr
106 {0, "", "*** unknown regexp error code ***"}
129 for (r = rerrs; r->code != 0; r++)
130 if (r->code == target)
134 if (r->code != 0)
166 for (r = rerrs; r->code != 0; r++)
169 if (r->code == 0)
172 sprintf(localbuf, "%d", r->code);
[all...]
/freebsd-11-stable/usr.sbin/dumpcis/
H A Dreadcis.c9 * 1. Redistributions of source code must retain the above copyright
255 unsigned char code, length; local
267 if (read(fd, &code, 1) != 1) {
268 warn("CIS code read");
272 if (code == CIS_NULL)
275 tp->code = code;
276 if (code == CIS_END)
287 printf("Tuple code = 0x%x, len = %d\n", code, lengt
346 find_tuple_in_list(struct tuple_list *tl, unsigned char code) argument
360 get_tuple_info(unsigned char code) argument
371 tuple_name(unsigned char code) argument
[all...]
/freebsd-11-stable/sys/libkern/
H A Diconv_xlat16.c8 * 1. Redistributions of source code must retain the above copyright
120 uint32_t code; local
134 code = 0;
174 code = dp->d_table[c1][c2];
179 else if (code & XLAT16_HAS_FROM_LOWER_CASE)
180 ctmp = (u_char)(code >> 16);
184 else if (code & XLAT16_HAS_FROM_UPPER_CASE)
185 ctmp = (u_char)(code >> 16);
193 code = dp->d_table[c1][c2];
194 if (!code) {
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dunwind.inc37 exception handler and intermediary cleanup code. We'll only locate
38 the first such frame here. Cleanup code will call back into
45 _Unwind_Reason_Code code;
52 code = uw_frame_state_for (context, &fs);
58 if (code != _URC_NO_REASON)
66 code = (*fs.personality) (1, _UA_CLEANUP_PHASE | match_handler,
68 if (code == _URC_INSTALL_CONTEXT)
70 if (code != _URC_CONTINUE_UNWIND)
80 return code;
89 _Unwind_Reason_Code code;
[all...]
/freebsd-11-stable/contrib/less/
H A Dmkutable85 my ($out, $code, $type) = @_;
92 } elsif (not $$out{in_run} or $type ne $$out{run_type} or $code != $prev_code+1) {
94 start_run($out, $code, $type);
96 $$out{prev_code} = $code;
100 my ($out, $code, $type) = @_;
101 $$out{start_code} = $code;
102 $$out{prev_code} = $code;
108 my ($out, $code) = @_;
110 printf "\t{ 0x%04x, 0x%04x }, /* %s */\n", $$out{start_code}, $code, $$out{run_type};
/freebsd-11-stable/contrib/ncurses/form/
H A Dform.priv.h139 /* This is a dummy request code (normally invalid) to be used internally
217 #define returnField(code) TRACE_RETURN(code,field)
218 #define returnFieldPtr(code) TRACE_RETURN(code,field_ptr)
219 #define returnForm(code) TRACE_RETURN(code,form)
220 #define returnFieldType(code) TRACE_RETURN(code,field_type)
221 #define returnFormHook(code) TRACE_RETUR
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dadd_tries.c48 _nc_add_to_try(TRIES ** tree, const char *str, unsigned code) argument
54 (void *) *tree, _nc_visbuf(str), code));
55 if (txt == 0 || *txt == '\0' || code == 0)
70 ptr->value = (unsigned short) code;
119 ptr->value = (unsigned short) code;
H A Dname_match.c97 int code, found; local
107 for (code = TRUE; *s != '\0'; code = FALSE, s++) {
117 if (code && *d == '\0')
118 return code;
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format.c8 * 1. Redistributions of source code must retain the above copyright
43 struct { int code; int (*setter)(struct archive *); } codes[] = member in struct:__anon12
70 archive_write_set_format(struct archive *a, int code) argument
74 for (i = 0; codes[i].code != 0; i++) {
75 if (code == codes[i].code)
/freebsd-11-stable/contrib/ipfilter/
H A Dbpf-ipf.h7 * This code is derived from the Stanford/CMU enet packet filter,
8 * (net/enet.c) distributed as part of 4.3BSD, and code contributed
15 * 1. Redistributions of source code must retain the above copyright
97 * It has nothing to do with the source code version.
350 #define BPF_CLASS(code) ((code) & 0x07)
361 #define BPF_SIZE(code) ((code) & 0x18)
365 #define BPF_MODE(code) ((code)
406 u_short code; member in struct:bpf_insn
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dkey_defined.c70 int code = ERR; local
74 code = find_definition(SP_PARM->_keytry, str);
77 returnCode(code);
H A Dlib_clrbot.c48 int code = ERR; local
73 code = OK;
75 returnCode(code);
H A Dlib_clreol.c48 int code = ERR; local
88 code = OK;
90 returnCode(code);
H A Dlib_delch.c48 int code = ERR; local
66 code = OK;
68 returnCode(code);

Completed in 339 milliseconds

1234567891011>>