Home
last modified time | relevance | path

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

12345678910>>...201

/netbsd-src/sbin/wsconsctl/
H A Dkeyboard.c124 bell.which = 0; in keyboard_get_values()
126 bell.which |= WSKBD_BELL_DOPITCH; in keyboard_get_values()
128 bell.which |= WSKBD_BELL_DOPERIOD; in keyboard_get_values()
130 bell.which |= WSKBD_BELL_DOVOLUME; in keyboard_get_values()
131 if (bell.which != 0 && ioctl(fd, WSKBDIO_GETBELL, &bell) < 0) in keyboard_get_values()
134 dfbell.which = 0; in keyboard_get_values()
136 dfbell.which |= WSKBD_BELL_DOPITCH; in keyboard_get_values()
138 dfbell.which |= WSKBD_BELL_DOPERIOD; in keyboard_get_values()
140 dfbell.which |= WSKBD_BELL_DOVOLUME; in keyboard_get_values()
141 if (dfbell.which != 0 && in keyboard_get_values()
[all …]
/netbsd-src/external/mpl/bind/dist/tests/dns/
H A Drdatasetstats_test.c37 dns_rdatastatstype_t which; in set_typestats()
41 which = DNS_RDATASTATSTYPE_VALUE(type, attributes); in set_typestats()
42 dns_rdatasetstats_increment(stats, which); in set_typestats()
45 which = DNS_RDATASTATSTYPE_VALUE(type, attributes); in set_typestats()
46 dns_rdatasetstats_increment(stats, which); in set_typestats()
51 dns_rdatastatstype_t which; in set_nxdomainstats()
55 which = DNS_RDATASTATSTYPE_VALUE(0, attributes); in set_nxdomainstats()
56 dns_rdatasetstats_increment(stats, which); in set_nxdomainstats()
61 dns_rdatastatstype_t which; in mark_stale()
65 which in mark_stale()
38 dns_rdatastatstype_t which; set_typestats() local
52 dns_rdatastatstype_t which; set_nxdomainstats() local
62 dns_rdatastatstype_t which; mark_stale() local
84 dns_rdatastatstype_t which; mark_nxdomain_stale() local
98 verify_active_counters(dns_rdatastatstype_t which,uint64_t value,void * arg) verify_active_counters() argument
129 verify_stale_counters(dns_rdatastatstype_t which,uint64_t value,void * arg) verify_stale_counters() argument
158 verify_ancient_counters(dns_rdatastatstype_t which,uint64_t value,void * arg) verify_ancient_counters() argument
[all...]
/netbsd-src/sys/compat/linux32/common/
H A Dlinux32_resource.c84 int which; in linux32_sys_getrlimit() local
86 which = linux_to_bsd_limit(SCARG(uap, which)); in linux32_sys_getrlimit()
87 if (which < 0) in linux32_sys_getrlimit()
88 return -which; in linux32_sys_getrlimit()
91 bsd_to_linux_rlimit(&orl, &l->l_proc->p_rlimit[which]); in linux32_sys_getrlimit()
106 int which; in linux32_sys_setrlimit() local
111 which = linux_to_bsd_limit(SCARG(uap, which)); in linux32_sys_setrlimit()
112 if (which < 0) in linux32_sys_setrlimit()
113 return -which; in linux32_sys_setrlimit()
117 return dosetrlimit(l, l->l_proc, which, &rl); in linux32_sys_setrlimit()
[all …]
/netbsd-src/external/bsd/ipf/dist/lib/
H A Dgetnattype.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 …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dfree_tree.d74 private void[] remove(ref Node* which) in FreeTree()
76 assert(which); in FreeTree()
77 assert(!which.sibling); in FreeTree()
78 auto result = (cast(ubyte*) which)[0 .. which.size]; in FreeTree()
79 if (!which.right) which = which.left; in FreeTree()
80 else if (!which.left) which = which.right; in FreeTree()
87 auto newRoot = which.kid[toggler], orphan = which.kid[!toggler]; in FreeTree()
88 which = newRoot; in FreeTree()
184 private void insertAsRoot(Node* which) in FreeTree()
186 assert(which); in FreeTree()
[all …]
/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dopenbsd.c51 int which[] = {CTL_VM, VM_LOADAVG}; in uv_loadavg() local
53 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg()
116 int which[] = {CTL_VM, VM_UVMEXP}; in uv_get_free_memory() local
118 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory()
127 int which[] = {CTL_HW, HW_PHYSMEM64}; in uv_get_total_memory() local
130 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory()
167 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime() local
169 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime()
185 int which[] = {CTL_HW,HW_MODEL}; in uv_cpu_info() local
192 if (sysctl(which, ARRAY_SIZE(which), &model, &size, NULL, 0)) in uv_cpu_info()
[all …]
H A Dnetbsd.c56 int which[] = {CTL_VM, VM_LOADAVG}; in uv_loadavg() local
58 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) == -1) return; in uv_loadavg()
103 int which[] = {CTL_VM, VM_UVMEXP}; in uv_get_free_memory() local
105 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_free_memory()
115 int which[] = {CTL_HW, HW_PHYSMEM64}; in uv_get_total_memory() local
118 int which[] = {CTL_HW, HW_PHYSMEM}; in uv_get_total_memory()
122 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_get_total_memory()
168 static int which[] = {CTL_KERN, KERN_BOOTTIME}; in uv_uptime() local
170 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0)) in uv_uptime()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dfree_tree.d77 private void[] remove(ref Node* which) in FreeTree()
79 assert(which); in FreeTree()
80 assert(!which.sibling); in FreeTree()
81 auto result = (cast(ubyte*) which)[0 .. which.size]; in FreeTree()
82 if (!which.right) which = which.left; in FreeTree()
83 else if (!which.left) which = which.right; in FreeTree()
90 auto newRoot = which.kid[toggler], orphan = which.kid[!toggler]; in FreeTree()
91 which = newRoot; in FreeTree()
187 private void insertAsRoot(Node* which) in FreeTree()
189 assert(which); in FreeTree()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dcshift0.c31 ptrdiff_t shift, int which, index_type size) in cshift0() argument
54 if (which < 1 || which > GFC_DESCRIPTOR_RANK (array)) in cshift0()
98 cshift0_i1 ((gfc_array_i1 *)ret, (gfc_array_i1 *) array, shift, which); in cshift0()
103 cshift0_i2 ((gfc_array_i2 *)ret, (gfc_array_i2 *) array, shift, which); in cshift0()
108 cshift0_i4 ((gfc_array_i4 *)ret, (gfc_array_i4 *) array, shift, which); in cshift0()
113 cshift0_i8 ((gfc_array_i8 *)ret, (gfc_array_i8 *) array, shift, which); in cshift0()
120 which); in cshift0()
125 cshift0_r4 ((gfc_array_r4 *)ret, (gfc_array_r4 *) array, shift, which); in cshift0()
129 cshift0_r8 ((gfc_array_r8 *)ret, (gfc_array_r8 *) array, shift, which); in cshift0()
142 which); in cshift0()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dcshift0.c31 ptrdiff_t shift, int which, index_type size) in cshift0() argument
54 if (which < 1 || which > GFC_DESCRIPTOR_RANK (array)) in cshift0()
98 cshift0_i1 ((gfc_array_i1 *)ret, (gfc_array_i1 *) array, shift, which); in cshift0()
103 cshift0_i2 ((gfc_array_i2 *)ret, (gfc_array_i2 *) array, shift, which); in cshift0()
108 cshift0_i4 ((gfc_array_i4 *)ret, (gfc_array_i4 *) array, shift, which); in cshift0()
113 cshift0_i8 ((gfc_array_i8 *)ret, (gfc_array_i8 *) array, shift, which); in cshift0()
120 which); in cshift0()
125 cshift0_r4 ((gfc_array_r4 *)ret, (gfc_array_r4 *) array, shift, which); in cshift0()
129 cshift0_r8 ((gfc_array_r8 *)ret, (gfc_array_r8 *) array, shift, which); in cshift0()
142 which); in cshift0()
[all …]
/netbsd-src/lib/libc/gen/
H A Dfmtmsg.c143 writeit(FILE *stream, unsigned int which, const char *label, in writeit() argument
150 ((which & MM_VERBLABEL) && label != MM_NULLLBL) ? in writeit()
152 ((which & MM_VERBLABEL) && label != MM_NULLLBL) ? in writeit()
154 (which & MM_VERBSEVERITY) ? in writeit()
156 (which & MM_VERBSEVERITY) ? in writeit()
158 ((which & MM_VERBTEXT) && text != MM_NULLTXT) ? in writeit()
160 ((which & MM_VERBLABEL) && label != MM_NULLLBL) || in writeit()
161 ((which & MM_VERBSEVERITY)) || in writeit()
162 ((which & MM_VERBTEXT) && text != MM_NULLTXT) ? in writeit()
164 ((which & MM_VERBACTION) && action != MM_NULLACT) ? in writeit()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/rl78/
H A Ddivmodqi.S28 .macro MAKE_GENERIC which,need_result
46 START_FUNC __generic_qidivmod\which
48 num_lt_den\which:
57 num_eq_den\which:
65 den_is_zero\which:
87 bz $num_eq_den\which
88 bnh $num_lt_den\which
99 bz $den_is_zero\which
101 den_not_zero\which:
112 shift_den_bit\which:
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/rl78/
H A Ddivmodqi.S28 .macro MAKE_GENERIC which,need_result
46 START_FUNC __generic_qidivmod\which
48 num_lt_den\which:
57 num_eq_den\which:
65 den_is_zero\which:
87 bz $num_eq_den\which
88 bnh $num_lt_den\which
99 bz $den_is_zero\which
101 den_not_zero\which:
112 shift_den_bit\which:
[all …]
/netbsd-src/external/gpl3/gcc/dist/maintainer-scripts/
H A Dgenerate_libstdcxx_web_docs32 which $i
55 for which in api manual
57 if [ -f libstdc++-$which-single.xml ] # Only needed for GCC 4.7.x
59 mv libstdc++-$which-single.xml libstdc++-$which.xml
61 gzip --best libstdc++-$which.xml
62 gzip --best libstdc++-$which.pdf
63 mv libstdc++-$which{.html,-html}
64 tar czf libstdc++-$which-html.tar.gz libstdc++-$which-html
65 mv libstdc++-$which-html libstdc++/$which
/netbsd-src/external/gpl3/gcc.old/dist/maintainer-scripts/
H A Dgenerate_libstdcxx_web_docs32 which $i
55 for which in api manual
57 if [ -f libstdc++-$which-single.xml ] # Only needed for GCC 4.7.x
59 mv libstdc++-$which-single.xml libstdc++-$which.xml
61 gzip --best libstdc++-$which.xml
62 gzip --best libstdc++-$which.pdf
63 mv libstdc++-$which{.html,-html}
64 tar czf libstdc++-$which-html.tar.gz libstdc++-$which-html
65 mv libstdc++-$which-html libstdc++/$which
/netbsd-src/external/bsd/atf/dist/tools/
H A Dmisc_helpers.cpp401 std::string which = tools::env::get("TESTCASE"); in ATF_INIT_TEST_CASES() local
404 if (which == "pass") in ATF_INIT_TEST_CASES()
406 if (which == "config") in ATF_INIT_TEST_CASES()
408 if (which == "fds") in ATF_INIT_TEST_CASES()
410 if (which == "mux_streams") in ATF_INIT_TEST_CASES()
412 if (which == "testvar") in ATF_INIT_TEST_CASES()
414 if (which == "env_list") in ATF_INIT_TEST_CASES()
416 if (which == "env_home") in ATF_INIT_TEST_CASES()
418 if (which == "read_stdin") in ATF_INIT_TEST_CASES()
420 if (which == "umask") in ATF_INIT_TEST_CASES()
[all …]
/netbsd-src/external/bsd/libarchive/dist/libarchive/
H A Darchive_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 …]
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_rlimit.c49 fixlimit(int which, struct rlimit *alim) in fixlimit() argument
51 switch (which) { in fixlimit()
77 int which = SCARG(uap, which); in netbsd32_getrlimit() local
80 if ((u_int)which >= RLIM_NLIMITS) in netbsd32_getrlimit()
83 alim = l->l_proc->p_rlimit[which]; in netbsd32_getrlimit()
85 fixlimit(which, &alim); in netbsd32_getrlimit()
98 int which = SCARG(uap, which); in netbsd32_setrlimit() local
102 if ((u_int)which >= RLIM_NLIMITS) in netbsd32_setrlimit()
109 fixlimit(which, &alim); in netbsd32_setrlimit()
111 return dosetrlimit(l, l->l_proc, which, &alim); in netbsd32_setrlimit()
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/
H A Dhistory.c381 replace_history_entry (int which, const char *line, histdata_t data) in replace_history_entry() argument
385 if (which < 0 || which >= history_length) in replace_history_entry()
389 old_value = the_history[which]; in replace_history_entry()
394 the_history[which] = temp; in replace_history_entry()
403 _hs_append_history_line (int which, const char *line) in _hs_append_history_line() argument
409 hent = the_history[which]; in _hs_append_history_line()
439 _hs_replace_history_data (int which, histdata_t *old, histdata_t *new) in _hs_replace_history_data() argument
444 if (which < -2 || which >= history_length || history_length == 0 || the_history == 0) in _hs_replace_history_data()
447 if (which >= 0) in _hs_replace_history_data()
449 entry = the_history[which]; in _hs_replace_history_data()
[all …]
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dhistory.c381 replace_history_entry (int which, const char *line, histdata_t data) in replace_history_entry() argument
385 if (which < 0 || which >= history_length) in replace_history_entry()
389 old_value = the_history[which]; in replace_history_entry()
394 the_history[which] = temp; in replace_history_entry()
403 _hs_append_history_line (int which, const char *line) in _hs_append_history_line() argument
409 hent = the_history[which]; in _hs_append_history_line()
439 _hs_replace_history_data (int which, histdata_t *old, histdata_t *new) in _hs_replace_history_data() argument
444 if (which < -2 || which >= history_length || history_length == 0 || the_history == 0) in _hs_replace_history_data()
447 if (which >= 0) in _hs_replace_history_data()
449 entry = the_history[which]; in _hs_replace_history_data()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Drandom.cc327 Which which; in _M_init()
331 which = any; in _M_init()
336 which = rdseed; in _M_init()
340 which = rdrand; in _M_init()
344 which = darn; in _M_init()
348 which = rdrand | rdseed | darn; in _M_init()
352 which = rand_s; in _M_init()
356 which = getentropy; in _M_init()
360 which = arc4random; in _M_init()
366 which = device_file; in _M_init()
[all …]
/netbsd-src/usr.bin/renice/
H A Drenice.c66 int which = PRIO_PROCESS; in main() local
84 which = PRIO_PGRP; in main()
88 which = PRIO_USER; in main()
92 which = PRIO_PROCESS; in main()
95 if (which == PRIO_USER) { in main()
117 errs += donice(which, who, prio, incr); in main()
145 donice(int which, id_t who, int prio, int incr) in donice() argument
150 if ((oldprio = getpriority(which, who)) == -1 && errno != 0) { in donice()
163 if (setpriority(which, who, prio) == -1) { in donice()
/netbsd-src/sys/compat/common/
H A Dkern_resource_43.c75 int which = SCARG(uap, which); in compat_43_sys_getrlimit() local
78 if ((u_int)which >= RLIM_NLIMITS) in compat_43_sys_getrlimit()
81 olim.rlim_cur = p->p_rlimit[which].rlim_cur; in compat_43_sys_getrlimit()
84 olim.rlim_max = p->p_rlimit[which].rlim_max; in compat_43_sys_getrlimit()
98 int which = SCARG(uap, which); in compat_43_sys_setrlimit() local
108 return (dosetrlimit(l, l->l_proc, which, &lim)); in compat_43_sys_setrlimit()
/netbsd-src/common/lib/libc/gen/
H A Drb.c329 struct rb_node *old_father, const unsigned int which) in rb_tree_reparent_nodes() argument
331 const unsigned int other = which ^ RB_DIR_OTHER; in rb_tree_reparent_nodes()
333 struct rb_node * const old_child = old_father->rb_nodes[which]; in rb_tree_reparent_nodes()
337 KASSERT(which == RB_DIR_LEFT || which == RB_DIR_RIGHT); in rb_tree_reparent_nodes()
351 new_child->rb_nodes[which] = old_child->rb_nodes[other]; in rb_tree_reparent_nodes()
380 if (!RB_SENTINEL_P(new_child->rb_nodes[which])) { in rb_tree_reparent_nodes()
381 RB_SET_FATHER(new_child->rb_nodes[which], new_child); in rb_tree_reparent_nodes()
382 RB_SET_POSITION(new_child->rb_nodes[which], which); in rb_tree_reparent_nodes()
397 unsigned int which; in rb_tree_insert_rebalance() local
417 which = (father == grandpa->rb_right); in rb_tree_insert_rebalance()
[all …]
/netbsd-src/external/bsd/unbound/dist/contrib/
H A Dunbound_cache.sh26 BASENAME=`which basename`
27 CAT=`which cat`
28 CUT=`which cut`
29 ECHO=`which echo`
30 EXPR=`which expr`
31 GETOPT=`which getopt`
32 ID=`which id`
33 LS=`which ls`

12345678910>>...201