Searched refs:ch (Results 26 - 50 of 80) sorted by relevance

1234

/barrelfish-master/lib/libc/locale/
H A Dmskanji.c72 wchar_t ch; member in struct:__anon1008
94 return (ps == NULL || ((const _MSKanjiState *)ps)->ch == 0);
106 if ((ms->ch & ~0xFF) != 0) {
122 if (ms->ch != 0) {
127 wc = (ms->ch << 8) | (*s & 0xFF);
130 ms->ch = 0;
137 ms->ch = wc;
163 if (ms->ch != 0) {
H A Dutf8.c59 wchar_t ch; member in struct:__anon1011
97 int ch, i, mask, want; local
130 ch = (unsigned char)*s;
131 if ((ch & 0x80) == 0) {
134 *pwc = ch;
135 return (ch != '\0' ? 1 : 0);
137 if ((ch & 0xe0) == 0xc0) {
141 } else if ((ch & 0xf0) == 0xe0) {
145 } else if ((ch & 0xf8) == 0xf0) {
168 wch = us->ch;
[all...]
H A Deuc.c109 wchar_t ch; member in struct:__anon1001
321 unsigned char ch, chs; local
342 if (((ch = (unsigned char)*s) & 0x80) == 0) {
344 *pwc = ch;
345 return (ch != '\0' ? 1 : 0);
348 if (ch >= 0xa1) {
351 } else if (ch == cs2) {
353 } else if (ch == cs3) {
362 es->ch = 0;
365 wc = es->ch;
[all...]
/barrelfish-master/lib/libc/db/recno/
H A Drec_get.c121 int ch; local
135 for (p = t->bt_rdata.data;; *p++ = ch)
136 if ((ch = getc(t->bt_rfp)) == EOF || !--len) {
137 if (ch != EOF)
138 *p = ch;
147 if (ch == EOF)
174 int bval, ch; local
180 sz = t->bt_rdata.size;; *p++ = ch, --sz) {
181 if ((ch = getc(t->bt_rfp)) == EOF || ch
[all...]
/barrelfish-master/lib/libc/iconv/
H A Dcitrus_memstream.c114 struct _citrus_region *r, char ch)
123 chr = memchr(head, ch, _memstream_remainder(ms));
140 int ch; local
142 while ((ch = _memstream_peek(ms)) != EOF) {
143 if (!_bcs_isspace(ch))
113 _citrus_memory_stream_chr(struct _citrus_memory_stream *ms, struct _citrus_region *r, char ch) argument
/barrelfish-master/lib/libc/stdio/
H A Dprintf-pos.c247 int ch; /* character from fmt */ local
261 while ((ch = *fmt) != '\0' && ch != '%')
263 if (ch == '\0')
269 rflag: ch = *fmt++;
270 reswitch: switch (ch) {
283 if ((ch = *fmt++) == '*') {
288 while (is_digit(ch)) {
289 ch = *fmt++;
298 n = 10 * n + to_digit(ch);
435 wchar_t ch; /* character from fmt */ local
[all...]
/barrelfish-master/kernel/
H A Dprintf.c262 int ch; /* character from fmt */ local
318 ch = *fmt++;
320 switch (ch) {
351 if ((ch = *fmt++) == '*') {
357 while (is_digit(ch)) {
358 n = 10 * n + to_digit(ch);
359 ch = *fmt++;
382 n = 10 * n + to_digit(ch);
383 ch = *fmt++;
384 } while (is_digit(ch));
[all...]
/barrelfish-master/usr/eclipseclp/Kernel/src/
H A Dbip_strings.c1130 uint32 ch; local
1151 ch = pw->val.nint;
1152 if (ch < 0x80) {
1153 *s++ = ch;
1154 } else if (ch < 0x800) {
1155 s[1] = ch & 0xBF | 0x80; ch >>= 6;
1156 s[0] = ch | 0xC0;
1158 } else if (ch < 0x10000) {
1159 s[2] = ch
[all...]
/barrelfish-master/lib/openssl-1.0.0d/util/
H A Dmkstack.pl24 @source = (<crypto/*.[ch]>, <crypto/*/*.[ch]>, <ssl/*.[ch]>, <apps/*.[ch]>);
/barrelfish-master/include/cxx/
H A D__bsd_locale_defaults.h22 #define __libcpp_btowc_l(ch, loc) btowc_l(ch, loc)
/barrelfish-master/lib/libc/gen/
H A Dsyslog.c136 char ch, *p; local
212 for ( ; (ch = *fmt); ++fmt) {
213 if (ch == '%' && fmt[1] == 'm') {
217 } else if (ch == '%' && fmt[1] == '%') {
219 fputc(ch, fmt_fp);
220 fputc(ch, fmt_fp);
222 fputc(ch, fmt_fp);
/barrelfish-master/lib/libc/net/
H A Drthdr.c70 struct cmsghdr *ch = (struct cmsghdr *)bp; local
73 rthdr = (struct ip6_rthdr *)CMSG_DATA(ch);
75 ch->cmsg_level = IPPROTO_IPV6;
76 ch->cmsg_type = IPV6_RTHDR;
81 ch->cmsg_len = CMSG_LEN(sizeof(struct ip6_rthdr0) -
84 ch->cmsg_len = CMSG_LEN(sizeof(struct ip6_rthdr0));
89 return (ch);
/barrelfish-master/tools/usbboot/include/omap4/
H A Dboot.h26 uint8_t ch; member in struct:omap44xx_subblock_id
/barrelfish-master/usr/eclipseclp/Usc/
H A DINSTALL21 ( cd $ECLIPSEARCH; ln -s ../src/*.[ch] ../src/*.in ../src/configure . )
/barrelfish-master/lib/libc/regex/grot/
H A Ddebug.c199 == static char *regchar(int ch);
202 regchar(ch)
203 int ch;
207 if (isprint(ch) || ch == ' ')
208 sprintf(buf, "%c", ch);
210 sprintf(buf, "\\%o", ch);
/barrelfish-master/usr/eclipseclp/icparc_solvers/rxspencer/
H A Ddebug.c229 == static char *regchar(int ch);
232 regchar(ch)
233 int ch;
237 if (isprint(ch) || ch == ' ')
238 sprintf(buf, "%c", ch);
240 sprintf(buf, "\\%o", ch);
H A Dengine.c800 == register states bef, int ch, register states aft);
812 step(g, start, stop, bef, ch, aft)
817 int ch; /* character or NONCHAR code */
835 assert(!NONCHAR(ch) || ch != (char)OPND(s));
836 if (ch == (char)OPND(s))
840 if (ch == BOL || ch == BOLEOL)
844 if (ch == EOL || ch
[all...]
H A Dregcomp.c817 == static char othercase(int ch);
819 static char /* if no counterpart, return ch */
820 othercase(ch)
821 int ch;
823 assert(isalpha(ch));
824 if (isupper(ch))
825 return(tolower(ch));
826 else if (islower(ch))
827 return(toupper(ch));
829 return(ch);
[all...]
/barrelfish-master/lib/openssl-1.0.0d/crypto/x509v3/
H A Dv3_utl.c395 unsigned char ch, cl, *p; local
402 ch = *p++;
404 ch = os_toebcdic[ch];
406 if(ch == ':') continue;
416 if(isupper(ch)) ch = tolower(ch);
419 if((ch >= '0') && (ch <
[all...]
/barrelfish-master/lib/libc/regex/
H A Dregcomp.c100 static wint_t othercase(wint_t ch);
101 static void bothcases(struct parse *p, wint_t ch);
102 static void ordinary(struct parse *p, wint_t ch);
108 static void CHadd(struct parse *p, cset *cs, wint_t ch);
716 wint_t ch; local
753 if ((ch = singleton(cs)) != OUT) { /* optimize singleton sets */
754 ordinary(p, ch);
935 == static wint_t othercase(wint_t ch);
937 static wint_t /* if no counterpart, return ch */
938 othercase(wint_t ch) argument
956 bothcases(struct parse *p, wint_t ch) argument
983 ordinary(struct parse *p, wint_t ch) argument
1202 CHadd(struct parse *p, cset *cs, wint_t ch) argument
1672 int ch; local
[all...]
H A Dengine.c109 static states step(struct re_guts *g, sopno start, sopno stop, states bef, wint_t ch, states aft);
120 static void print(struct match *m, const char *caption, states st, int ch, FILE *d);
126 static const char *pchar(int ch);
969 == states bef, int ch, states aft);
984 wint_t ch, /* character or NONCHAR code */
1002 assert(!NONCHAR(ch) || ch != OPND(s));
1003 if (ch == OPND(s))
1007 if (ch == BOL || ch
980 step(struct re_guts *g, sopno start, sopno stop, states bef, wint_t ch, states aft) argument
1101 print(struct match *m, const char *caption, states st, int ch, FILE *d) argument
1162 pchar(int ch) argument
[all...]
/barrelfish-master/lib/libc/posix1e/
H A Dacl_support.c317 char *ch; local
319 ch = string;
320 while (*ch) {
321 switch(*ch) {
336 ch++;
/barrelfish-master/usr/eclipseclp/Pds/
H A DINSTALL44 ( cd $ECLIPSEARCH; ln -s ../src/*.[ch] ../src/*.in ../src/configure . )
/barrelfish-master/usr/eclipseclp/Alog/
H A DINSTALL21 ( cd $ECLIPSEARCH; ln -s ../src/*.[ch] ../src/*.in ../src/configure . )
/barrelfish-master/lib/libc/stdlib/
H A Dradixsort.c298 u_char ch; local
304 (ch = tr[*s]) != endch; s++, t++)
305 if (ch != tr[*t])
307 if (ch >= tr[*t])

Completed in 287 milliseconds

1234