Home
last modified time | relevance | path

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

12345678910>>...94

/trueos/contrib/ntp/sntp/
HDsocket.c117 void open_socket (int which, char *hostname, int timespan) { in open_socket() argument
132 if (which < 0 || which >= MAX_SOCKETS || descriptors[which] >= 0) in open_socket()
148 memset(&here[which], 0, sizeof(struct sockaddr_storage)); in open_socket()
149 here[which] = anywhere; in open_socket()
151 ((struct sockaddr_in6 *)&here[which])->sin6_port = 0; in open_socket()
152 memset(&there[which], 0, sizeof(struct sockaddr_storage)); in open_socket()
153 there[which] = address; in open_socket()
156 display_sock_in_hex(&here[which]); in open_socket()
158 display_sock_in_hex(&there[which]); in open_socket()
164 switch(((struct sockaddr_in *)&there[which])->sin_family) { in open_socket()
[all …]
HDheader.h69 extern void open_socket (int which, char *hostnames, int timespan);
71 extern void write_socket (int which, void *packet, int length);
73 extern int read_socket (int which, void *packet, int length, int waiting);
75 extern int flush_socket (int which);
77 extern void close_socket (int which);
/trueos/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 …]
/trueos/usr.sbin/pw/
HDpw.c90 static void cmdhelp(int mode, int which);
98 int which = -1; in main() local
156 else if (which == -1 && (tmp = getindex(Which, argv[1])) != -1) in main()
157 which = tmp; in main()
158 else if ((mode == -1 && which == -1) && in main()
161 which = tmp / M_NUM; in main()
164 cmdhelp(mode, which); in main()
165 else if (which != -1 && mode != -1) in main()
176 if (mode == -1 || which == -1) in main()
177 cmdhelp(mode, which); in main()
[all …]
/trueos/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 …]
/trueos/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 …]
/trueos/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()
/trueos/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 …]
/trueos/usr.bin/cpuset/
HDcpuset.c62 static cpuwhich_t which; variable
172 if (cpuset_getaffinity(level, which, id, sizeof(mask), &mask) != 0) in printaffinity()
174 printf("%s %jd%s mask: ", whichnames[which], (intmax_t)id, in printaffinity()
190 if (cpuset_getid(level, which, id, &setid)) in printsetid()
192 printf("%s %jd%s id: %d\n", whichnames[which], (intmax_t)id, in printsetid()
207 which = CPU_WHICH_PID; in main()
228 which = CPU_WHICH_JAIL; in main()
237 which = CPU_WHICH_PID; in main()
248 which = CPU_WHICH_CPUSET; in main()
253 which = CPU_WHICH_TID; in main()
[all …]
/trueos/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 …]
/trueos/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()
/trueos/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 …]
/trueos/contrib/bsnmp/snmpd/
HDaction.c253 asn_subid_t which = value->var.subs[sub - 1]; in op_system_group() local
264 switch (which) { in op_system_group()
288 switch (which) { in op_system_group()
309 switch (which) { in op_system_group()
333 switch (which) { in op_system_group()
366 asn_subid_t which = value->var.subs[sub - 1]; in op_debug() local
374 switch (which) { in op_debug()
391 switch (which) { in op_debug()
415 switch (which) { in op_debug()
432 switch (which) { in op_debug()
[all …]
/trueos/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()
/trueos/contrib/texinfo/makeinfo/
HDindex.c124 int which = find_index_offset (name); in undefindex() local
128 if (which < 0 || !name_index_alist[which]) in undefindex()
131 i = name_index_alist[which]->read_index; in undefindex()
136 free (name_index_alist[which]->name); in undefindex()
137 free (name_index_alist[which]); in undefindex()
138 name_index_alist[which] = NULL; in undefindex()
145 int which; in index_add_arg() local
151 which = tem ? tem->write_index : -1; in index_add_arg()
167 if (which < 0) in index_add_arg()
182 new->next = the_indices[which]; in index_add_arg()
[all …]
/trueos/sys/kern/
HDkern_resource.c90 int which; member
105 switch (uap->which) {
174 int which; member
189 switch (uap->which) {
539 u_int which; member
556 error = kern_setrlimit(td, uap->which, &lim);
562 u_int which; member
576 if (uap->which >= RLIM_NLIMITS)
580 lim_rlimit(p, uap->which, &rl);
601 u_int which; member
[all …]
/trueos/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 ); \
/trueos/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()
/trueos/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
/trueos/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 …]
/trueos/sys/ia64/ia64/
HDsapic.c113 sapic_read(struct sapic *sa, int which) in sapic_read() argument
117 ia64_st4((void *)(sa->sa_registers + SAPIC_IO_SELECT), which); in sapic_read()
124 sapic_write(struct sapic *sa, int which, uint32_t value) in sapic_write() argument
127 ia64_st4((void *)(sa->sa_registers + SAPIC_IO_SELECT), which); in sapic_write()
134 sapic_read_rte(struct sapic *sa, int which, struct sapic_rte *rte) in sapic_read_rte() argument
138 p[0] = sapic_read(sa, SAPIC_RTE_BASE + 2 * which); in sapic_read_rte()
139 p[1] = sapic_read(sa, SAPIC_RTE_BASE + 2 * which + 1); in sapic_read_rte()
143 sapic_write_rte(struct sapic *sa, int which, struct sapic_rte *rte) in sapic_write_rte() argument
147 sapic_write(sa, SAPIC_RTE_BASE + 2 * which, p[0]); in sapic_write_rte()
148 sapic_write(sa, SAPIC_RTE_BASE + 2 * which + 1, p[1]); in sapic_write_rte()
/trueos/lib/libcom_err/doc/
HDcom_err.texinfo10 @c run ``tex com_err.texinfo'' which will load in texinfo.tex,
90 a library and associated utilities which allows a more uniform way for
146 deal with a number of libraries, each of which can use a different
153 needed to determine which table to look at. Sometimes no text messages are
154 supplied at all, and the programmer must supply them at any point at which
174 error codes accidentally returned before making the table known, which is
185 Error codes themselves are 32 bit (signed) integers, of which the high
186 order 24 bits are an identifier of which error table the error code is
190 on systems which support wider values.
204 Any variable which is to contain an error code should be declared @t{long}.
[all …]
/trueos/contrib/xz/po/
HDMakevars23 # This is the email address or URL to which the translators shall report
25 # - Strings which are not entire sentences, see the maintainer guidelines
27 # - Strings which use unclear terms or require additional context to be
29 # - Strings which make invalid assumptions about notation of date, time or
36 # which the translators can contact you.
39 # This is the list of locale categories, beyond LC_MESSAGES, for which the
/trueos/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 …]
/trueos/sys/dev/acpica/
HDacpi_pci.c76 static int acpi_pci_read_ivar(device_t dev, device_t child, int which,
78 static int acpi_pci_write_ivar(device_t dev, device_t child, int which,
115 acpi_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in acpi_pci_read_ivar() argument
120 switch (which) { in acpi_pci_read_ivar()
128 return (pci_read_ivar(dev, child, which, result)); in acpi_pci_read_ivar()
132 acpi_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) in acpi_pci_write_ivar() argument
137 switch (which) { in acpi_pci_write_ivar()
145 return (pci_write_ivar(dev, child, which, value)); in acpi_pci_write_ivar()

12345678910>>...94