Searched refs:ch (Results 151 - 175 of 1408) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/bmake/
H A Dstr.c143 int argc, ch; local
171 switch(ch = *p) {
175 if (inquote == ch)
181 inquote = (char) ch;
186 *t++ = ch;
197 *t++ = ch;
224 if (ch == '\n' || ch == '\0') {
241 ch = *++p;
245 switch (ch
[all...]
H A Dfor.c154 unsigned char ch;
235 while ((ch = *ptr++)) {
236 switch(ch) {
333 char ch, var_start, var_end;
351 for (len = 1; (ch = var[len++]) != 0;) {
352 if (ch == var_start)
354 else if (ch == var_end && --depth == 0)
367 char ch;
378 while ((ch = *item++) != 0) {
379 if (ch
153 unsigned char ch; local
331 char ch, var_start, var_end; local
365 char ch; local
400 char ch; local
[all...]
/freebsd-10-stable/sys/dev/sound/pci/
H A Dmaestro3.c377 struct sc_pchinfo *ch; local
427 ch = &sc->pch[idx];
428 ch->dac_idx = idx;
429 ch->dac_data = dac_data;
430 if (ch->dac_data + data_bytes/2 >= 0x1c00) {
436 ch->buffer = b;
437 ch->parent = sc;
438 ch->channel = c;
439 ch->fmt = SND_FORMAT(AFMT_U8, 1, 0);
440 ch
518 struct sc_pchinfo *ch = chdata; local
542 struct sc_pchinfo *ch = chdata; local
570 struct sc_pchinfo *ch = chdata; local
593 struct sc_pchinfo *ch = chdata; local
604 struct sc_pchinfo *ch = chdata; local
637 struct sc_pchinfo *ch = chdata; local
707 m3_pchan_getptr_internal(struct sc_pchinfo *ch) argument
726 struct sc_pchinfo *ch = chdata; local
740 struct sc_pchinfo *ch = chdata; local
754 struct sc_rchinfo *ch; local
892 struct sc_rchinfo *ch = chdata; local
916 struct sc_rchinfo *ch = chdata; local
943 struct sc_rchinfo *ch = chdata; local
966 struct sc_rchinfo *ch = chdata; local
977 struct sc_rchinfo *ch = chdata; local
994 struct sc_rchinfo *ch = chdata; local
1059 m3_rchan_getptr_internal(struct sc_rchinfo *ch) argument
1078 struct sc_rchinfo *ch = chdata; local
1092 struct sc_rchinfo *ch = chdata; local
[all...]
H A Demu10kx-pcm.c711 struct emu_pcm_pchinfo *ch; local
720 ch = &(sc->pch[sc->pnum++]);
721 ch->buffer = b;
722 ch->pcm = sc;
723 ch->channel = c;
724 ch->blksz = sc->bufsz;
725 ch->fmt = SND_FORMAT(AFMT_U8, 1, 0);
726 ch->spd = 8000;
727 ch->master = emu_valloc(sc->card);
732 ch
741 struct emu_pcm_pchinfo *ch = c_devinfo; local
754 struct emu_pcm_pchinfo *ch = c_devinfo; local
763 struct emu_pcm_pchinfo *ch = c_devinfo; local
772 struct emu_pcm_pchinfo *ch = c_devinfo; local
787 struct emu_pcm_pchinfo *ch = c_devinfo; local
814 struct emu_pcm_pchinfo *ch = c_devinfo; local
826 struct emu_pcm_pchinfo *ch = c_devinfo; local
863 struct emu_pcm_rchinfo *ch; local
893 struct emu_pcm_rchinfo *ch = c_devinfo; local
903 struct emu_pcm_rchinfo *ch = c_devinfo; local
912 struct emu_pcm_rchinfo *ch = c_devinfo; local
926 struct emu_pcm_rchinfo *ch = c_devinfo; local
947 struct emu_pcm_rchinfo *ch = c_devinfo; local
1011 struct emu_pcm_rchinfo *ch = c_devinfo; local
1043 struct emu_pcm_rchinfo *ch; local
1081 struct emu_pcm_rchinfo *ch = c_devinfo; local
1090 struct emu_pcm_rchinfo *ch = c_devinfo; local
1107 struct emu_pcm_rchinfo *ch = c_devinfo; local
1181 struct emu_pcm_rchinfo *ch = c_devinfo; local
1193 struct emu_pcm_rchinfo *ch = c_devinfo; local
1205 struct emu_pcm_rchinfo *ch = c_devinfo; local
[all...]
/freebsd-10-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c330 ng_l2cap_chan_p ch = NULL; local
332 ch = malloc(sizeof(*ch), M_NETGRAPH_L2CAP,
334 if (ch == NULL)
337 ch->scid = ng_l2cap_get_cid(l2cap);
339 if (ch->scid != NG_L2CAP_NULL_CID) {
341 ch->psm = psm;
342 ch->con = con;
343 ch->state = NG_L2CAP_CLOSED;
346 ch
374 ng_l2cap_chan_p ch = NULL; local
388 ng_l2cap_free_chan(ng_l2cap_chan_p ch) argument
419 ng_l2cap_new_cmd(ng_l2cap_con_p con, ng_l2cap_chan_p ch, u_int8_t ident, u_int8_t code, u_int32_t token) argument
[all...]
H A Dng_l2cap_cmds.c111 ng_l2cap_l2ca_con_rsp(cmd->ch, cmd->token,
113 ng_l2cap_free_chan(cmd->ch); /* will free commands */
122 if (cmd->ch != NULL) {
123 ng_l2cap_l2ca_con_rsp_rsp(cmd->ch, cmd->token,
127 ng_l2cap_free_chan(cmd->ch);
135 ng_l2cap_l2ca_cfg_rsp(cmd->ch, cmd->token,
147 if (cmd->ch != NULL)
148 ng_l2cap_l2ca_cfg_rsp_rsp(cmd->ch, cmd->token,
156 ng_l2cap_l2ca_discon_rsp(cmd->ch, cmd->token,
159 ng_l2cap_free_chan(cmd->ch); /* XX
233 ng_l2cap_chan_p ch = NULL; local
[all...]
/freebsd-10-stable/lib/libc/inet/
H A Dinet_cidr_pton.c89 int n, ch, tmp, bits; local
93 while (ch = *src++, (isascii(ch) && isdigit(ch))) {
96 n = strchr(digits, ch) - digits;
102 } while ((ch = *src++) != '\0' && isascii(ch) && isdigit(ch));
106 if (ch == '\0' || ch
159 int ch, saw_xdigit; local
259 char *cp, ch; local
[all...]
/freebsd-10-stable/contrib/apr/network_io/unix/
H A Dinet_pton.c109 int saw_digit, octets, ch; local
115 while ((ch = *src++) != '\0') {
118 if ((pch = strchr(digits, ch)) != NULL) {
129 } else if (ch == '.' && saw_digit) {
165 int ch, saw_xdigit; local
178 while ((ch = *src++) != '\0') {
181 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
182 pch = strchr((xdigits = xdigits_u), ch);
191 if (ch == ':') {
207 if (ch
[all...]
/freebsd-10-stable/contrib/ldns/compat/
H A Dinet_pton.c99 int saw_digit, octets, ch; local
105 while ((ch = *src++) != '\0') {
108 if ((pch = strchr(digits, ch)) != NULL) {
119 } else if (ch == '.' && saw_digit) {
156 int ch, saw_xdigit; local
169 while ((ch = *src++) != '\0') {
172 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
173 pch = strchr((xdigits = xdigits_u), ch);
182 if (ch == ':') {
198 if (ch
[all...]
/freebsd-10-stable/contrib/unbound/compat/
H A Dinet_pton.c99 int saw_digit, octets, ch; local
105 while ((ch = *src++) != '\0') {
108 if ((pch = strchr(digits, ch)) != NULL) {
119 } else if (ch == '.' && saw_digit) {
156 int ch, saw_xdigit; local
169 while ((ch = *src++) != '\0') {
172 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
173 pch = strchr((xdigits = xdigits_u), ch);
182 if (ch == ':') {
198 if (ch
[all...]
/freebsd-10-stable/sys/libkern/
H A Dinet_pton.c81 int saw_digit, octets, ch; local
88 while ((ch = *src++) != '\0') {
91 if ((pch = strchr(digits, ch)) != NULL) {
104 } else if (ch == '.' && saw_digit) {
140 int ch, seen_xdigits; local
153 while ((ch = *src++) != '\0') {
156 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
157 pch = strchr((xdigits = xdigits_u), ch);
165 if (ch == ':') {
183 if (ch
[all...]
/freebsd-10-stable/tools/regression/sockets/sblock/
H A Dsblock.c71 char ch; local
73 len = recv(fd, &ch, sizeof(ch), 0);
96 char ch; local
100 len = recv(fd, &ch, sizeof(ch), 0);
117 char ch; local
131 len = send(fd, &ch, sizeof(ch), 0);
136 if (len != sizeof(ch)) {
[all...]
/freebsd-10-stable/contrib/ntp/lib/isc/
H A Dinet_pton.c85 int saw_digit, octets, ch; local
91 while ((ch = *src++) != '\0') {
94 if ((pch = strchr(digits, ch)) != NULL) {
107 } else if (ch == '.' && saw_digit) {
140 int ch, seen_xdigits; local
153 while ((ch = *src++) != '\0') {
156 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
157 pch = strchr((xdigits = xdigits_u), ch);
165 if (ch == ':') {
181 if (ch
[all...]
/freebsd-10-stable/contrib/tcsh/
H A Ded.xmap.c14 * int GetXkey(ch,val);
15 * CStr *ch;
18 * Looks up *ch in map and then reads characters until a
22 * The last character read is returned in *ch.
106 Char ch; /* single character of Xkey */ member in struct:Xmapnode
165 GetXkey(CStr *ch, XmapVal *val) argument
167 return (TraverseMap(Xmap, ch, val));
175 TraverseMap(XmapNode *ptr, CStr *ch, XmapVal *val) argument
179 if (ptr->ch == *(ch
415 GetFreeNode(CStr *ch) argument
577 unparsech(struct Strbuf *buf, Char ch) argument
663 Char ch; local
[all...]
/freebsd-10-stable/contrib/binutils/binutils/
H A Dmclex.c130 parse_digit (unichar ch) argument
134 if (ch == '0')
145 v = (rc_uint_type) (ch - '0');
147 while ((ch = input_stream_pos[0]) != 0)
149 if (ch >= 'A' && ch <= 'F')
150 c = (rc_uint_type) (ch - 'A') + 10;
151 else if (ch >= 'a' && ch <= 'f')
152 c = (rc_uint_type) (ch
331 unichar ch; local
[all...]
/freebsd-10-stable/sys/arm/freescale/vybrid/
H A Dvf_edma.c96 struct edma_channel *ch; local
108 ch = &edma_map[i];
109 if (ch->enabled == 1) {
110 if (ch->ih != NULL) {
111 ch->ih(ch->ih_user, i);
139 struct edma_channel *ch; local
141 ch = &edma_map[chnum];
142 ch->enabled = 0;
144 dmamux_configure(ch
152 struct edma_channel *ch; local
209 struct edma_channel *ch; local
[all...]
/freebsd-10-stable/contrib/ncurses/ncurses/trace/
H A Dlib_traceatr.c183 _nc_altcharset_name(attr_t attr, chtype ch) argument
234 if (ChCharOf(cp[1]) == ChCharOf(ch)) {
241 ch = ChCharOf(*found);
243 if (sp->val == ch) {
253 _tracechtype2(int bufnum, chtype ch) argument
260 if ((found = _nc_altcharset_name(ChAttrOf(ch), ch)) != 0) {
263 (void) _nc_trace_bufcat(bufnum, _nc_tracechar(SP, (int) ChCharOf(ch)));
265 if (ChAttrOf(ch) != A_NORMAL) {
268 _traceattr2(bufnum + 20, ChAttrOf(ch)));
277 _tracechtype(chtype ch) argument
292 _tracecchar_t2(int bufnum, const cchar_t *ch) argument
350 _tracecchar_t(const cchar_t *ch) argument
[all...]
/freebsd-10-stable/usr.bin/paste/
H A Dpaste.c73 int ch, rval, seq; local
81 while ((ch = getopt(argc, argv, "d:s")) != -1)
82 switch(ch) {
134 wchar_t ch; local
161 (ch = delim[(lp->cnt - 1) % delimcnt]))
162 putwchar(ch);
170 (ch = delim[(lp->cnt - 1) % delimcnt]))
171 putwchar(ch);
181 if ((ch = delim[cnt % delimcnt]))
182 putwchar(ch);
203 wint_t ch; local
242 wchar_t ch, *p; local
[all...]
/freebsd-10-stable/usr.bin/tr/
H A Dcset.c69 cset_add(struct cset *cs, wchar_t ch) argument
84 csn->csn_min = csn->csn_max = ch;
93 csn = cs->cs_root = cset_splay(cs->cs_root, ch);
98 if (cset_rangecmp(csn, ch) == 0)
107 ncsn->csn_min = ncsn->csn_max = ch;
108 if (cset_rangecmp(csn, ch) < 0) {
151 cset_in_hard(struct cset *cs, wchar_t ch) argument
156 if (csc->csc_invert ^ (iswctype(ch, csc->csc_type) != 0))
159 cs->cs_root = cset_splay(cs->cs_root, ch);
160 return (cs->cs_invert ^ (cset_rangecmp(cs->cs_root, ch)
214 cset_rangecmp(struct csnode *t, wchar_t ch) argument
225 cset_splay(struct csnode *t, wchar_t ch) argument
275 cset_delete(struct csnode *t, wchar_t ch) argument
[all...]
/freebsd-10-stable/contrib/smbfs/lib/smb/
H A Dsubr.c215 int ch, pos; local
229 ch = *src++;
230 if (isascii(ch))
231 ch = (isupper(ch) ? ('A' + (ch - 'A' + 13) % 26) :
232 islower(ch) ? ('a' + (ch - 'a' + 13) % 26) : ch);
233 ch
248 int len, ch, pos; local
[all...]
/freebsd-10-stable/sys/dev/scc/
H A Dscc_dev_quicc.c88 quicc_bfe_enabled(struct scc_softc *sc, struct scc_chan *ch) argument
95 unit = ch->ch_nr - 1;
104 quicc_bfe_iclear(struct scc_softc *sc, struct scc_chan *ch) argument
111 if (ch->ch_ipend & SER_INT_RXREADY) {
112 rb = quicc_read2(bas, QUICC_PRAM_SCC_RBASE(ch->ch_nr - 1));
125 struct scc_chan *ch; local
132 ch = &sc->sc_chan[c];
133 if (!ch->ch_enabled)
135 ch->ch_ipend = 0;
141 ch
[all...]
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_strchr.c21 slow_strchr(char *buf, int ch) argument
25 ch &= 0xff;
29 if (c == ch)
36 verify_strchr(char *buf, int ch, unsigned int t, unsigned int a) argument
40 off = strchr_fn(buf, ch);
41 ok_off = slow_strchr(buf, ch);
47 buf, ch, off ? off - buf : -1, ok_off ? ok_off - buf : -1, t, a);
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/src/
H A Dgrouping.c287 ChassisRecord *ch = node->chrecord; local
289 ch->chassisslot = SPINE_CS;
291 ch->chassistype = ISR9096_CT;
292 ch->slotnum = spine4_slot_2_slb[lineport->portnum];
293 ch->anafanum = anafa_spine4_slot_2_slb[lineport->portnum];
295 ch->chassistype = ISR9288_CT;
296 ch->slotnum = spine12_slot_2_slb[lineport->portnum];
297 ch->anafanum = anafa_spine12_slot_2_slb[lineport->portnum];
299 ch->chassistype = ISR2012_CT;
300 ch
313 ChassisRecord *ch = node->chrecord; local
354 get_slb_slot(ChassisRecord *ch, Port *spineport) argument
387 ChassisRecord *ch = 0; local
652 ChassisRecord *ch = port->node->chrecord; local
[all...]
/freebsd-10-stable/usr.bin/dc/
H A Dinout.c128 int i, ch; local
132 ch = src_getcharstring(src);
133 if (ch == EOF)
135 buf[i++] = ch;
136 if (ch == '\n')
159 putcharwrap(FILE *f, int ch) argument
170 lastchar = ch;
191 int ch; local
197 while ((ch = (*src->vtable->readchar)(src)) != EOF) {
199 if ('0' <= ch
240 int count, ch, i, new_sz, sz; local
401 int ch, i, numbits; local
[all...]
/freebsd-10-stable/usr.sbin/pkg_install/lib/
H A Dversion.c62 char *ch; local
70 ch = strrchr(pkgname, '-');
72 versionstr = ch ? ch + 1 : pkgname;
75 ch = strrchr(versionstr, '_');
77 *revision = ch ? strtoul(ch + 1, NULL, 10) : 0;
79 endversionstr = ch;
82 ch = strrchr(endversionstr ? endversionstr + 1 : versionstr, ',');
84 *epoch = ch
[all...]

Completed in 304 milliseconds

1234567891011>>