Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 2275) sorted by relevance

12345678910>>...91

/NextBSD/contrib/ipfilter/lib/
HDgetnattype.c26 char *which; local
34 which = "MAP";
37 which = "MAP-BLOCK";
40 which = "RDR";
43 which = "RWR-MAP";
46 which = "RWR-RDR";
49 which = "BIMAP";
52 which = "DIV-RDR";
55 which = "DIV-MAP";
58 which = "ENC-RDR";
[all …]
/NextBSD/contrib/ncurses/ncurses/tinfo/
HDdb_iterator.c96 update_getenv(const char *name, DBDIRS which) in update_getenv() argument
100 if (which < dbdLAST) { in update_getenv()
105 } else if (my_vars[which].name == 0 || strcmp(my_vars[which].name, name)) { in update_getenv()
106 FreeIfNeeded(my_vars[which].value); in update_getenv()
107 my_vars[which].name = name; in update_getenv()
108 my_vars[which].value = value; in update_getenv()
110 } else if ((my_vars[which].value != 0) ^ (value != 0)) { in update_getenv()
111 FreeIfNeeded(my_vars[which].value); in update_getenv()
112 my_vars[which].value = value; in update_getenv()
114 } else if (value != 0 && strcmp(value, my_vars[which].value)) { in update_getenv()
[all …]
/NextBSD/usr.sbin/pw/
HDpw.c108 static void cmdhelp(int mode, int which);
113 int mode = -1, which = -1, tmp; in main() local
169 else if (which == -1 && (tmp = getindex(Which, argv[1])) != -1) in main()
170 which = tmp; in main()
171 else if ((mode == -1 && which == -1) && in main()
174 which = tmp / M_NUM; in main()
177 cmdhelp(mode, which); in main()
178 else if (which != -1 && mode != -1) in main()
189 if (mode == -1 || which == -1) in main()
190 cmdhelp(mode, which); in main()
[all …]
/NextBSD/contrib/libreadline/
HDhistory.c368 replace_history_entry (which, line, data) in replace_history_entry() argument
369 int which; in replace_history_entry()
375 if (which < 0 || which >= history_length)
379 old_value = the_history[which];
384 the_history[which] = temp;
396 replace_history_data (which,old, new) in replace_history_data() argument
397 int which; in replace_history_data()
403 if (which < -2 || which >= history_length || history_length == 0 || the_history == 0)
406 if (which >= 0)
408 entry = the_history[which];
[all …]
/NextBSD/contrib/libarchive/libarchive/
HDarchive_rb.c232 struct archive_rb_node *old_father, const unsigned int which) in __archive_rb_tree_reparent_nodes() argument
234 const unsigned int other = which ^ RB_DIR_OTHER; in __archive_rb_tree_reparent_nodes()
236 struct archive_rb_node * const old_child = old_father->rb_nodes[which]; in __archive_rb_tree_reparent_nodes()
246 new_child->rb_nodes[which] = old_child->rb_nodes[other]; in __archive_rb_tree_reparent_nodes()
265 if (!RB_SENTINEL_P(new_child->rb_nodes[which])) { in __archive_rb_tree_reparent_nodes()
266 RB_SET_FATHER(new_child->rb_nodes[which], new_child); in __archive_rb_tree_reparent_nodes()
267 RB_SET_POSITION(new_child->rb_nodes[which], which); in __archive_rb_tree_reparent_nodes()
279 unsigned int which; in __archive_rb_tree_insert_rebalance() local
288 which = (father == grandpa->rb_right); in __archive_rb_tree_insert_rebalance()
289 other = which ^ RB_DIR_OTHER; in __archive_rb_tree_insert_rebalance()
[all …]
/NextBSD/contrib/dialog/
HDbuildlist.c639 int which = (items[cur_item].state != 0); in dlg_buildlist() local
640 MY_DATA *moi = data + which; in dlg_buildlist()
641 int at_top = index2row(&all, moi->top_index, which); in dlg_buildlist()
642 int at_end = index2row(&all, -1, which); in dlg_buildlist()
643 int at_bot = skip_rows(&all, at_top, all.use_height, which); in dlg_buildlist()
649 which); in dlg_buildlist()
658 int cur_row = index2row(&all, cur_item, which); in dlg_buildlist()
659 cur_y = (data[which].box_y in dlg_buildlist()
664 cur_x = (data[which].box_x in dlg_buildlist()
686 if (j != which) { in dlg_buildlist()
[all …]
/NextBSD/usr.bin/renice/
HDrenice.c70 int errs, incr, prio, which, who; in main() local
74 which = PRIO_PROCESS; in main()
90 which = PRIO_PGRP; in main()
94 which = PRIO_USER; in main()
98 which = PRIO_PROCESS; in main()
101 if (which == PRIO_USER) { in main()
123 errs += donice(which, who, prio, incr); in main()
129 donice(int which, int who, int prio, int incr) in donice() argument
134 oldprio = getpriority(which, who); in donice()
145 if (setpriority(which, who, prio) < 0) { in donice()
/NextBSD/usr.bin/cpuset/
HDcpuset.c63 static cpuwhich_t which; variable
174 if (cpuset_getaffinity(level, which, id, sizeof(mask), &mask) != 0) in printaffinity()
176 printf("%s %jd%s mask: ", whichnames[which], (intmax_t)id, in printaffinity()
192 if (cpuset_getid(level, which, id, &setid)) in printsetid()
194 printf("%s %jd%s id: %d\n", whichnames[which], (intmax_t)id, in printsetid()
209 which = CPU_WHICH_PID; in main()
222 which = CPU_WHICH_DOMAIN; in main()
233 which = CPU_WHICH_JAIL; in main()
242 which = CPU_WHICH_PID; in main()
251 which = CPU_WHICH_CPUSET; in main()
[all …]
/NextBSD/contrib/ncurses/
HDmk-0th.awk62 if ( ( which == "ticlib" ) && ( subsets ~ /ticlib / ) ) {
64 } else if ( ( which == "termlib" || which == "ext_tinfo" ) && ( subsets ~ /[[:space:]]base/ ) ) {
82 which = libname;
90 which = $0;
91 sub(/^@[[:blank:]]+/, "", which);
92 sub(/[[:blank:]]+$/, "", which);
116 if (which ~ /port_/ )
/NextBSD/lib/libosxsupport/
HDfile_module.c785 _fsi_parse_user(si_mod_t *si, const char *name, uid_t uid, int which, char *data, int format, uint6… in _fsi_parse_user() argument
807 if (which == SEL_ALL) match = 1; in _fsi_parse_user()
808 else if ((which == SEL_NAME) && (string_equal(name, tokens[0]))) match = 1; in _fsi_parse_user()
809 else if ((which == SEL_NUMBER) && (uid == xuid)) match = 1; in _fsi_parse_user()
838 _fsi_get_user(si_mod_t *si, const char *name, uid_t uid, int which) in _fsi_get_user() argument
847 if ((which == SEL_NAME) && (name == NULL)) return NULL; in _fsi_get_user()
882 item = _fsi_parse_user(si, name, uid, which, line, fmt, va, vb); in _fsi_get_user()
888 if (which == SEL_ALL) in _fsi_get_user()
906 _fsi_parse_group(si_mod_t *si, const char *name, gid_t gid, int which, char *data, uint64_t va, uin… in _fsi_parse_group() argument
926 if (which == SEL_ALL) match = 1; in _fsi_parse_group()
[all …]
/NextBSD/sys/kern/
HDkern_resource.c88 int which; member
101 switch (uap->which) { in sys_getpriority()
170 int which; member
183 switch (uap->which) { in sys_setpriority()
531 u_int which; member
546 error = kern_setrlimit(td, uap->which, &lim); in osetrlimit()
552 u_int which; member
563 if (uap->which >= RLIM_NLIMITS) in ogetrlimit()
565 lim_rlimit(td, uap->which, &rl); in ogetrlimit()
585 u_int which; member
[all …]
HDbus_if.m74 * This is called from system code which prints out a description of a
76 * the parent. For instance the TurboLaser bus prints which node the
97 * @param _child the child device which failed to probe
114 * forcing an edit and recompile for all drivers which may not be
169 * @param _child the child device which is being deleted
183 * @param _child the child device which changed state
193 * Called when a new driver is added to the devclass which owns this
199 * @param _driver the new driver which was added
209 * For busses which use use drivers supporting DEVICE_IDENTIFY() to
216 * @param _dev the bus device which will be the parent of the
[all …]
/NextBSD/sys/arm/xscale/pxa/
HDpxa_timer.c222 pxa_timer_get_osmr(int which) in pxa_timer_get_osmr() argument
226 timer_softc->pt_bsh, which * 0x4)); in pxa_timer_get_osmr()
230 pxa_timer_set_osmr(int which, uint32_t val) in pxa_timer_set_osmr() argument
234 timer_softc->pt_bsh, which * 0x4, val); in pxa_timer_set_osmr()
286 pxa_timer_interrupt_enable(int which) in pxa_timer_interrupt_enable() argument
290 if (which == -1) { in pxa_timer_interrupt_enable()
298 oier |= 1 << which; in pxa_timer_interrupt_enable()
304 pxa_timer_interrupt_disable(int which) in pxa_timer_interrupt_disable() argument
308 if (which == -1) { in pxa_timer_interrupt_disable()
315 oier &= ~(1 << which); in pxa_timer_interrupt_disable()
/NextBSD/sys/boot/common/
HDgpt.c57 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptupdate() argument
78 BOOTPROG, which); in gptupdate()
87 printf("%s: unable to update %s GPT header\n", BOOTPROG, which); in gptupdate()
185 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptread_hdr() argument
191 printf("%s: unable to read %s GPT header\n", BOOTPROG, which); in gptread_hdr()
199 printf("%s: invalid %s GPT header\n", BOOTPROG, which); in gptread_hdr()
206 which); in gptread_hdr()
233 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptbootconv() argument
265 BOOTPROG, which); in gptbootconv()
276 printf("%s: unable to update %s GPT header\n", BOOTPROG, which); in gptbootconv()
[all …]
/NextBSD/contrib/bsnmp/snmpd/
HDaction.c230 asn_subid_t which = value->var.subs[sub - 1]; in op_system_group() local
241 switch (which) { in op_system_group()
265 switch (which) { in op_system_group()
286 switch (which) { in op_system_group()
310 switch (which) { in op_system_group()
343 asn_subid_t which = value->var.subs[sub - 1]; in op_debug() local
351 switch (which) { in op_debug()
368 switch (which) { in op_debug()
392 switch (which) { in op_debug()
409 switch (which) { in op_debug()
[all …]
/NextBSD/contrib/libstdc++/libsupc++/
Deh_alloc.cc119 unsigned int which = 0; in __cxa_allocate_exception() local
126 if (++which >= EMERGENCY_OBJ_COUNT) in __cxa_allocate_exception()
130 emergency_used |= (bitmask_type)1 << which; in __cxa_allocate_exception()
131 ret = &emergency_buffer[which][0]; in __cxa_allocate_exception()
158 const unsigned int which in __cxa_free_exception() local
162 emergency_used &= ~((bitmask_type)1 << which); in __cxa_free_exception()
/NextBSD/sys/sys/
HDresourcevar.h128 int kern_proc_setrlimit(struct thread *td, struct proc *p, u_int which,
133 rlim_t lim_cur(struct thread *td, int which);
134 rlim_t lim_cur_proc(struct proc *p, int which);
139 rlim_t lim_max(struct thread *td, int which);
140 rlim_t lim_max_proc(struct proc *p, int which);
141 void lim_rlimit(struct thread *td, int which, struct rlimit *rlp);
142 void lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp);
/NextBSD/sys/compat/linux/
HDlinux_time.c217 LIN_SDT_PROBE2(time, linux_clock_gettime, entry, args->which, args->tp); in linux_clock_gettime()
219 error = linux_to_native_clockid(&nwhich, args->which); in linux_clock_gettime()
229 clockwhich = LINUX_CPUCLOCK_WHICH(args->which); in linux_clock_gettime()
230 pid = LINUX_CPUCLOCK_ID(args->which); in linux_clock_gettime()
271 clockwhich = LINUX_CPUCLOCK_WHICH(args->which); in linux_clock_gettime()
273 tid = LINUX_CPUCLOCK_ID(args->which); in linux_clock_gettime()
343 LIN_SDT_PROBE2(time, linux_clock_settime, entry, args->which, args->tp); in linux_clock_settime()
345 error = linux_to_native_clockid(&nwhich, args->which); in linux_clock_settime()
385 LIN_SDT_PROBE2(time, linux_clock_getres, entry, args->which, args->tp); in linux_clock_getres()
387 error = linux_to_native_clockid(&nwhich, args->which); in linux_clock_getres()
[all …]
/NextBSD/sys/dev/drm/
HDmga_warp.c42 #define WARP_UCODE_SIZE( which ) \ argument
43 ((sizeof(which) / MGA_WARP_CODE_ALIGN + 1) * MGA_WARP_CODE_ALIGN)
45 #define WARP_UCODE_INSTALL( which, where ) \ argument
49 memcpy( vcbase, which, sizeof(which) ); \
50 pcbase += WARP_UCODE_SIZE( which ); \
51 vcbase += WARP_UCODE_SIZE( which ); \
/NextBSD/contrib/libpcap/tests/
HDfindalldevstest.c124 static short which; in iptos() local
128 which = (which + 1 == IPTOSBUFFERS ? 0 : which + 1); in iptos()
129 sprintf(output[which], "%d.%d.%d.%d", p[0], p[1], p[2], p[3]); in iptos()
130 return output[which]; in iptos()
/NextBSD/contrib/ipfilter/rules/
HDfirewall8 rules which:
9 a) blocks all packets which might belong to an IP Spoofing attack;
11 c) blocks all packets which have a length which is too short for
17 Draw up a list of which services you want to allow users to use on the
36 * "ext-service" is the service to which you wish to connect or if it doesn't
/NextBSD/usr.bin/numactl/
HDnumactl.c159 cpuwhich_t which; in main() local
168 which = -1; in main()
240 which = CPU_WHICH_TID; in main()
243 which = CPU_WHICH_PID; in main()
263 error = numa_getaffinity(which, id, &vd); in main()
275 error = numa_setaffinity(which, id, &vd); in main()
/NextBSD/usr.sbin/bsnmpd/modules/snmp_wlan/
HDwlan_sys.c809 wlan_config_snmp2ioctl(int which) in wlan_config_snmp2ioctl() argument
813 switch (which) { in wlan_config_snmp2ioctl()
957 wlan_regdomain_to_snmp(int which) in wlan_regdomain_to_snmp() argument
961 switch (which) { in wlan_regdomain_to_snmp()
1017 syslog(LOG_ERR, "unknown regdomain (0x%x) ", which); in wlan_regdomain_to_snmp()
1028 int which; in wlan_snmp_to_regdomain() local
1032 which = SKU_FCC; in wlan_snmp_to_regdomain()
1035 which = SKU_CA; in wlan_snmp_to_regdomain()
1038 which = SKU_ETSI; in wlan_snmp_to_regdomain()
1041 which = SKU_ETSI2; in wlan_snmp_to_regdomain()
[all …]
/NextBSD/contrib/binutils/bfd/doc/
HDbfdint.texi48 This document describes some BFD internal information which may be
71 BFD is a library which provides a single interface to read and write
87 The first interface is the set of generic functions which programs using
89 directly or indirectly into calls to routines which are specific to a
94 The second interface is the set of functions which appear in the target
100 target vector}. The set of functions which appear in a particular
103 The third interface is a set of oddball functions which are typically
107 requires some action which the BFD generic interface does not provide.
113 The fourth interface is the set of BFD support functions which are
122 by the manner in which it is used.
[all …]
/NextBSD/usr.sbin/bsnmpd/modules/snmp_pf/
HDpf_snmp.c152 asn_subid_t which = val->var.subs[sub - 1]; in pf_status() local
163 switch (which) { in pf_status()
193 asn_subid_t which = val->var.subs[sub - 1]; in pf_counter() local
202 switch (which) { in pf_counter()
236 asn_subid_t which = val->var.subs[sub - 1]; in pf_statetable() local
245 switch (which) { in pf_statetable()
276 asn_subid_t which = val->var.subs[sub - 1]; in pf_srcnodes() local
285 switch (which) { in pf_srcnodes()
316 asn_subid_t which = val->var.subs[sub - 1]; in pf_limits() local
325 switch (which) { in pf_limits()
[all …]

12345678910>>...91