Searched refs:ch (Results 176 - 200 of 1496) sorted by relevance

1234567891011>>

/freebsd-11-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-11-stable/sys/arm/freescale/vybrid/
H A Dvf_edma.c94 struct edma_channel *ch; local
106 ch = &edma_map[i];
107 if (ch->enabled == 1) {
108 if (ch->ih != NULL) {
109 ch->ih(ch->ih_user, i);
137 struct edma_channel *ch; local
139 ch = &edma_map[chnum];
140 ch->enabled = 0;
142 dmamux_configure(ch
150 struct edma_channel *ch; local
207 struct edma_channel *ch; local
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/trace/
H A Dlib_traceatr.c206 _nc_altcharset_name(attr_t attr, chtype ch) argument
263 if (ChCharOf(UChar(cp[1])) == ChCharOf(ch)) {
270 ch = ChCharOf(UChar(*found));
272 if (strp->val == ch) {
282 _tracechtype2(int bufnum, chtype ch) argument
289 if ((found = _nc_altcharset_name(ChAttrOf(ch), ch)) != 0) {
294 (int) ChCharOf(ch)));
296 if (ChAttrOf(ch) != A_NORMAL) {
299 _traceattr2(bufnum + 20, ChAttrOf(ch)));
308 _tracechtype(chtype ch) argument
323 _tracecchar_t2(int bufnum, const cchar_t *ch) argument
384 _tracecchar_t(const cchar_t *ch) argument
[all...]
/freebsd-11-stable/contrib/libxo/xolint/
H A Dxolint.pl170 my $ch;
178 $ch = $data[$off++];
180 print "'$ch' ($quote) ($#open) [" . join("", @open) . "]\n"
183 last if $ch eq ";" && $#open < 0;
185 if ($ch eq "," && $quote eq "" && $#open < 0) {
192 next if $ch =~ /[ \t\n\r]/ && $quote eq "" && $#open < 0;
194 $current .= $ch;
197 if ($ch eq $quote) {
202 if ($quotes{$ch}) {
203 $quote = $quotes{$ch};
[all...]
/freebsd-11-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-11-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-11-stable/usr.bin/tr/
H A Dcset.c71 cset_add(struct cset *cs, wchar_t ch) argument
86 csn->csn_min = csn->csn_max = ch;
95 csn = cs->cs_root = cset_splay(cs->cs_root, ch);
100 if (cset_rangecmp(csn, ch) == 0)
109 ncsn->csn_min = ncsn->csn_max = ch;
110 if (cset_rangecmp(csn, ch) < 0) {
153 cset_in_hard(struct cset *cs, wchar_t ch) argument
158 if (csc->csc_invert ^ (iswctype(ch, csc->csc_type) != 0))
161 cs->cs_root = cset_splay(cs->cs_root, ch);
162 return (cs->cs_invert ^ (cset_rangecmp(cs->cs_root, ch)
216 cset_rangecmp(struct csnode *t, wchar_t ch) argument
227 cset_splay(struct csnode *t, wchar_t ch) argument
277 cset_delete(struct csnode *t, wchar_t ch) argument
[all...]
/freebsd-11-stable/contrib/elftoolchain/libpe/
H A Dlibpe_coff.c43 PE_CoffHdr *ch; local
49 if ((ch = malloc(sizeof(PE_CoffHdr))) == NULL) {
54 PE_READ16(hdr, ch->ch_machine);
55 PE_READ16(hdr, ch->ch_nsec);
56 PE_READ32(hdr, ch->ch_timestamp);
57 PE_READ32(hdr, ch->ch_symptr);
58 PE_READ32(hdr, ch->ch_nsym);
59 PE_READ16(hdr, ch->ch_optsize);
60 PE_READ16(hdr, ch->ch_char);
62 pe->pe_ch = ch;
228 PE_CoffHdr *ch; local
[all...]
/freebsd-11-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-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64lsn_control.c112 nat64lsn_create(struct ip_fw_chain *ch, ip_fw3_opheader *op3, argument
154 ni = CHAIN_TO_SRV(ch);
155 IPFW_UH_RLOCK(ch);
157 IPFW_UH_RUNLOCK(ch);
160 IPFW_UH_RUNLOCK(ch);
162 cfg = nat64lsn_init_instance(ch, 1 << (32 - uc->plen4));
196 IPFW_UH_WLOCK(ch);
199 IPFW_UH_WUNLOCK(ch);
204 if (ipfw_objhash_alloc_idx(CHAIN_TO_SRV(ch), &cfg->no.kidx) != 0) {
205 IPFW_UH_WUNLOCK(ch);
220 nat64lsn_detach_config(struct ip_fw_chain *ch, struct nat64lsn_cfg *cfg) argument
237 nat64lsn_destroy(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument
272 export_stats(struct ip_fw_chain *ch, struct nat64lsn_cfg *cfg, struct ipfw_nat64lsn_stats *stats) argument
310 nat64lsn_export_config(struct ip_fw_chain *ch, struct nat64lsn_cfg *cfg, ipfw_nat64lsn_cfg *uc) argument
336 struct ip_fw_chain *ch; member in struct:nat64_dump_arg
362 nat64lsn_list(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument
403 nat64lsn_config(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument
476 nat64lsn_stats(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument
524 nat64lsn_reset_stats(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument
685 nat64lsn_states(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument
818 nat64lsn_findbyname(struct ip_fw_chain *ch, struct tid_info *ti, struct named_object **pno) argument
829 nat64lsn_findbykidx(struct ip_fw_chain *ch, uint16_t idx) argument
843 nat64lsn_manage_sets(struct ip_fw_chain *ch, uint16_t set, uint8_t new_set, enum ipfw_sets_cmd cmd) argument
868 struct ip_fw_chain *ch; local
879 nat64lsn_init(struct ip_fw_chain *ch, int first) argument
893 nat64lsn_uninit(struct ip_fw_chain *ch, int last) argument
907 ipfw_objhash_foreach_type(CHAIN_TO_SRV(ch), destroy_config_cb, ch, local
[all...]
/freebsd-11-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-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DUUID.cpp55 static inline int xdigit_to_int(char ch) { argument
56 ch = tolower(ch);
57 if (ch >= 'a' && ch <= 'f')
58 return 10 + ch - 'a';
59 return ch - '0';
/freebsd-11-stable/contrib/bmake/
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-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c335 ng_l2cap_chan_p ch = NULL; local
337 ch = malloc(sizeof(*ch), M_NETGRAPH_L2CAP,
339 if (ch == NULL)
342 ch->scid = ch->dcid = NG_L2CAP_ATT_CID;
344 ch->scid = ch->dcid = NG_L2CAP_SMP_CID;
346 ch->scid = ng_l2cap_get_cid(l2cap,
350 ch
383 ng_l2cap_chan_p ch = NULL; local
407 ng_l2cap_chan_p ch = NULL; local
423 ng_l2cap_free_chan(ng_l2cap_chan_p ch) argument
455 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...]
/freebsd-11-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
235 int count, ch, i, new_sz, sz; local
396 int ch, i, numbits; local
[all...]
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_audio.c217 struct bcm2835_audio_chinfo *ch = m.u.complete.cookie; local
221 ch->callbacks++;
223 ch->underruns++;
226 if (ch->playback_state != PLAYBACK_IDLE) {
233 if (ch->playback_state != PLAYBACK_IDLE) {
235 if ((ch->available_space + count)> VCHIQ_AUDIO_BUFFER_SIZE) {
238 ch->available_space, count, perr);
241 ch->retrieved_samples, ch->submitted_samples);
243 ch
310 bcm2835_audio_reset_channel(struct bcm2835_audio_chinfo *ch) argument
319 bcm2835_audio_start(struct bcm2835_audio_chinfo *ch) argument
336 bcm2835_audio_stop(struct bcm2835_audio_chinfo *ch) argument
413 bcm2835_audio_buffer_should_sleep(struct bcm2835_audio_chinfo *ch) argument
435 bcm2835_audio_write_samples(struct bcm2835_audio_chinfo *ch, void *buf, uint32_t count) argument
474 struct bcm2835_audio_chinfo *ch = &sc->pch; local
591 struct bcm2835_audio_chinfo *ch = &sc->pch; local
624 struct bcm2835_audio_chinfo *ch = data; local
637 struct bcm2835_audio_chinfo *ch = data; local
651 struct bcm2835_audio_chinfo *ch = data; local
665 struct bcm2835_audio_chinfo *ch = data; local
673 struct bcm2835_audio_chinfo *ch = data; local
702 struct bcm2835_audio_chinfo *ch = data; local
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dds1.c368 ds_initpbank(volatile struct pbank *pb, int ch, int stereo, int b16, u_int32_t rate, bus_addr_t base, u_int32_t len) argument
401 pb->Format |= (stereo && (ch == 2 || ch == 4))? 0x00000001 : 0;
417 pb->LchGain = pb->LchGainEnd = lv[ch] * 0x40000000;
418 pb->RchGain = pb->RchGainEnd = rv[ch] * 0x40000000;
419 pb->Effect1Gain = pb->Effect1GainEnd = e1[ch] * 0x40000000;
420 pb->Effect2Gain = pb->Effect2GainEnd = e2[ch] * 0x40000000;
421 pb->Effect3Gain = pb->Effect3GainEnd = e3[ch] * 0x40000000;
434 ds_setuppch(struct sc_pchinfo *ch) argument
439 stereo = (AFMT_CHANNEL(ch
452 ds_setuprch(struct sc_rchinfo *ch) argument
485 struct sc_pchinfo *ch; local
512 struct sc_pchinfo *ch = data; local
522 struct sc_pchinfo *ch = data; local
532 struct sc_pchinfo *ch = data; local
548 struct sc_pchinfo *ch = data; local
576 struct sc_pchinfo *ch = data; local
616 struct sc_rchinfo *ch; local
640 struct sc_rchinfo *ch = data; local
650 struct sc_rchinfo *ch = data; local
660 struct sc_rchinfo *ch = data; local
676 struct sc_rchinfo *ch = data; local
706 struct sc_rchinfo *ch = data; local
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_insch.c53 _nc_insert_ch(SCREEN *sp, WINDOW *win, chtype ch) argument
56 int ch8 = (int) ChCharOf(ch);
68 switch (ch) {
78 SetChar2(wch, ch);
87 (ChAttrOf(ch) & A_ALTCHARSET) ||
95 SetChar2(wch, ch);
107 code = _nc_insert_ch(sp, win, ChAttrOf(ch) | UChar(*s));
118 SetChar2(wch, ch);
129 ChAttrOf(ch) | UChar(*s));
/freebsd-11-stable/usr.sbin/lpr/filters/
H A Dlpf.c83 int ch; local
127 switch (ch = getc(p)) {
130 ch = '\n';
160 if ((ch = getchar()) == '\1') {
165 ungetc(ch, stdin);
166 ch = '\031';
170 if (col >= width || (!literal && ch < ' ')) {
179 *cp = ch;
200 putc(ch, o);
/freebsd-11-stable/contrib/gdb/gdb/tui/
H A Dtui-command.c48 tui_dispatch_ctrl_char (unsigned int ch) argument
59 return ch;
62 unsigned int c = 0, ch_copy = ch;
73 if ((strcmp (term, "XTERM") == 0) && key_is_start_sequence (ch))
84 return ch;
/freebsd-11-stable/sys/arm/lpc/
H A Dlpc_dmac.c152 struct lpc_dmac_channel *ch; local
163 ch = &sc->ld_channels[i];
168 ch->ldc_config->ldc_success_handler(
169 ch->ldc_config->ldc_handler_arg);
174 ch->ldc_config->ldc_error_handler(
175 ch->ldc_config->ldc_handler_arg);
187 struct lpc_dmac_channel *ch; local
192 ch = &sc->ld_channels[chno];
193 ch->ldc_config = cfg;
203 struct lpc_dmac_channel *ch; local
[all...]
/freebsd-11-stable/bin/cat/
H A Dcat.c100 int ch; local
105 while ((ch = getopt(argc, argv, "belnstuv")) != -1)
106 switch (ch) {
210 int ch, gobble, line, prev; local
218 for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) {
221 if (ch == '\n') {
228 if (nflag && (!bflag || ch != '\n')) {
234 if (ch == '\n') {
237 } else if (ch
[all...]
/freebsd-11-stable/stand/common/
H A Dinterp_parse.c63 isdelim(int ch) argument
66 if (ch == '{')
68 else if (ch == '(')
74 isquote(int ch) argument
77 return (ch == '\'');
81 isdquote(int ch) argument
84 return (ch == '"');
/freebsd-11-stable/contrib/sendmail/contrib/
H A Dcidrexpand109 my $ch = substr($_,$i,1);
110 if ($ch eq '\\')
115 elsif ($qtype eq '' && $ch eq '#')
120 elsif ($qtype ne '' && $ch eq $qtype)
124 elsif ($qtype eq '' && $ch =~ /[\'\"]/)
126 $qtype = $ch;
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-via.c211 struct ata_channel *ch = device_get_softc(dev); local
220 rid = PCIR_BAR(ch->unit);
227 ch->r_io[i].res = r_io;
228 ch->r_io[i].offset = i;
230 ch->r_io[ATA_CONTROL].res = r_io;
231 ch->r_io[ATA_CONTROL].offset = 2 + ATA_IOSIZE;
232 ch->r_io[ATA_IDX_ADDR].res = r_io;
235 ch->r_io[i].res = ctlr->r_res1;
236 ch->r_io[i].offset = (i - ATA_BMCMD_PORT)+(ch
268 struct ata_channel *ch = device_get_softc(dev); local
293 struct ata_channel *ch = device_get_softc(dev); local
318 struct ata_channel *ch = device_get_softc(dev); local
347 struct ata_channel *ch = device_get_softc(dev); local
405 struct ata_channel *ch = device_get_softc(dev); local
425 struct ata_channel *ch = device_get_softc(dev); local
439 struct ata_channel *ch = device_get_softc(dev); local
449 struct ata_channel *ch = device_get_softc(dev); local
[all...]

Completed in 186 milliseconds

1234567891011>>