Searched refs:ch (Results 1 - 25 of 160) sorted by relevance

1234567

/haiku/src/tests/add-ons/print/ppd/parser/
H A DCharacterClasses.h17 inline bool IsWhitespaceSeparator(int ch) argument
19 return ch == ' ' || ch == kTab;
22 inline bool IsWhitespace(int ch) argument
24 return ch == ' ' || ch == kTab || ch == kLf || ch == kCr;
27 inline bool IsIdentChar(int ch) { argument
31 // if (ch
36 IsOptionChar(int ch) argument
42 IsChar(int ch) argument
48 IsPrintableWithoutWhitespaces(int ch) argument
54 IsPrintableWithWhitespaces(int ch) argument
59 IsStringChar(int ch) argument
[all...]
H A DScanner.cpp66 BString* Scanner::Scan(bool (cond)(int ch))
76 static inline int getHexadecimalDigit(int ch) { argument
77 if ('0' <= ch && '9' <= ch) {
78 return ch - '0';
80 if ('a' <= ch || ch <= 'f') {
81 return 10 + ch - 'a';
83 if ('A' <= ch || ch <
95 int ch = GetCurrentChar(); local
137 int ch = GetCurrentChar(); local
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dtest_wcfuncs.c28 wint_t ch; local
30 for (ch = 0; ch < 128; ++ch) {
31 if (iswlower(ch)) {
33 wint_t up = towupper(ch);
35 wint_t low = towlower(ch);
37 if ((ch != low) || (up == ch) || (up == low)) {
40 ch);
[all...]
H A Dtest_wctype.c27 if ((is##test (ch) == 0) != (iswctype (ch, bit_##test) == 0)) { \
29 #test, ch); \
32 if ((is##test (ch) == 0) != (isw##test (ch) == 0)) { \
33 printf ("`isw%s' test for character \\%o failed\n", #test, ch); \
54 int ch; local
61 for (ch = 0; ch < 256; ++ch) {
[all...]
/haiku/src/libs/glut/
H A Dglut_bwidth.c21 const BitmapCharRec *ch; local
31 ch = fontinfo->ch[c - fontinfo->first];
32 if (ch)
33 return ch->advance;
43 const BitmapCharRec *ch; local
55 ch = fontinfo->ch[c - fontinfo->first];
56 if (ch)
57 length += ch
[all...]
H A Dglut_swidth.c21 const StrokeCharRec *ch; local
31 ch = &(fontinfo->ch[c]);
32 if (ch)
33 return ch->right;
43 const StrokeCharRec *ch; local
55 ch = &(fontinfo->ch[c]);
56 if (ch)
57 length += ch
[all...]
H A Dglut_stroke.c19 const StrokeCharRec *ch; local
34 ch = &(fontinfo->ch[c]);
35 if (ch) {
36 for (i = ch->num_strokes, stroke = ch->stroke;
45 glTranslatef(ch->right, 0.0, 0.0);
H A Dglut_bitmap.c19 const BitmapCharRec *ch; local
33 ch = fontinfo->ch[c - fontinfo->first];
34 if (ch) {
52 glBitmap(ch->width, ch->height, ch->xorig, ch->yorig,
53 ch->advance, 0, ch
[all...]
/haiku/src/bin/unzip/
H A Denvargs.c22 | 2. changed ch to type char (24 May 92)
57 register int ch; /* spare temp value */ local
112 for (ch = *bufptr; ch != '\0' && ch != '\"';
113 ch = *PREINCSTR(bufptr))
114 if (ch == '\\' && bufptr[1] != '\0')
116 if (ch != '\0')
127 while ((ch = *bufptr) != '\0' && !ISspace(ch))
183 char ch; local
[all...]
/haiku/src/apps/haikudepot/server/
H A DJwtTokenHelper.cpp22 char ch = value[i]; local
24 if ('.' == ch)
27 if (!_IsBase64(ch))
72 JwtTokenHelper::_IsBase64(char ch) argument
74 return isalnum(ch)
75 || '=' == ch
76 || '-' == ch
77 || '_' == ch;
/haiku/src/libs/stdc++/legacy/
H A Disgetline.cc37 int ch; local
43 _gcount = _IO_getline_info(sb, buf, len - 1, delim, -1, &ch);
44 if (ch != EOF)
45 ch = sb->sbumpc();
46 if (ch == EOF)
48 else if (ch != (unsigned char) delim)
57 ch = EOF;
59 if (ch == (unsigned char)delim)
77 int ch; local
78 _gcount = _IO_getline_info(sbuf, buf, len - 1, delim, -1, &ch);
101 int ch; local
[all...]
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_net_pton.c77 int ch, dirty, bits; local
82 ch = *src++;
83 if (ch == '0' && (src[0] == 'x' || src[0] == 'X')
91 while ((ch = *src++) != '\0' && isascii((u_char)ch)
92 && isxdigit((u_char)ch)) {
93 if (isupper((u_char)ch))
94 ch = tolower((u_char)ch);
95 n = strchr(xdigits, ch)
205 char ch; local
237 char ch; local
281 int ch, saw_xdigit; local
[all...]
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_ttl.c94 int ch; local
96 for (p = odst; (ch = *p) != '\0'; p++)
97 if (isascii(ch) && isupper(ch))
98 *p = tolower(ch);
109 int ch, digits, dirty; local
115 while ((ch = *src++) != '\0') {
116 if (!isascii(ch) || !isprint(ch))
118 if (isdigit(ch)) {
[all...]
/haiku/src/system/libroot/posix/glibc/libio/
H A Diogets.c36 int ch; local
42 ch = _IO_getc_unlocked (_IO_stdin);
43 if (ch == EOF)
48 if (ch == '\n')
57 buf[0] = (char) ch;
/haiku/src/apps/haikudepot/util/
H A DDataIOUtils.cpp97 Base64DecodingDataIO::_CharToInt(uint8 ch, uint8* value) argument
99 if (ch >= 0x41 && ch <= 0x5A) {
100 *value = (ch - 0x41);
104 if (ch >= 0x61 && ch <= 0x7a) {
105 *value = (ch - 0x61) + 26;
109 if (ch >= 0x30 && ch <= 0x39) {
110 *value = (ch
[all...]
H A DStringUtils.h19 static bool _IsSpaceOrControl(char ch);
/haiku/src/system/libroot/posix/glibc/locale/
H A Dgen-translit.pl17 my($ch) = substr($str, $inner, 1);
18 next if (($ch ge '0' && $ch le '9')
19 || ($ch ge 'a' && $ch le 'f')
20 || ($ch ge 'A' && $ch le 'F'));
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_comp.c169 int pch = PERIOD, ch = *dn++; local
171 while (ch != '\0') {
174 if (periodchar(ch)) {
177 if (!borderchar(ch))
180 if (!borderchar(ch))
183 if (!middlechar(ch))
186 pch = ch, ch = nch;
212 int ch, escaped = 0; local
219 while ((ch
240 int ch; local
[all...]
/haiku/src/tests/add-ons/print/ppd/test/
H A DTestScanner.cpp18 int ch = scanner->GetCurrentChar(); local
19 printf("[%d, %d] (%s) %c\n", position.x, position.y, filename, ch);
32 int ch = scanner.GetCurrentChar(); local
33 if (ch == kEof) {
/haiku/src/tests/system/benchmarks/
H A Dctxbench.c35 int ch; local
37 ch = 0;
38 if (write(fd1[1], &ch, 1) != 1)
41 if (read(fd0[0], &ch, 1) != 1)
43 if (write(fd1[1], &ch, 1) != 1)
75 int i, ch, count; local
82 while ((ch = getopt(argc, argv, "hl")) != -1) {
83 switch (ch) {
111 ch = 0;
112 write(fd0[1], &ch,
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_btcoex.h44 const struct ieee80211_channel *ch);
H A Dif_ath_spectral.h40 struct ieee80211_channel *ch);
/haiku/src/kits/shared/
H A DSettingsHandler.cpp188 int ch = GetCh(); local
189 if (ch == EOF) {
200 if (ch == '\n' || ch == '\r') {
227 if (ch == ';') {
234 } else if (ch == '#') {
238 } else if (ch == ' ' || ch == '\t') {
242 } else if (!fSawBackslash && ch == '\\') {
248 if (!fInSingleQuote && ch
[all...]
/haiku/src/system/boot/platform/efi/
H A Dserial.cpp36 serial_putc(char ch) argument
44 sEFISerialIO->Write(sEFISerialIO, &bufSize, &ch);
52 ucsBuffer[0] = ch;
63 gUART->PutChar(ch);
76 char ch = string[0]; local
78 if (ch == '\n') {
81 } else if (ch != '\r')
82 serial_putc(ch);
/haiku/src/kits/storage/sniffer/
H A DParser.cpp27 char escapeChar(char ch);
33 bool isHexChar(char ch);
34 bool isWhiteSpace(char ch);
35 bool isOctalChar(char ch);
36 bool isDecimalChar(char ch);
37 bool isPunctuation(char ch);
276 char ch = stream.Get(); local
280 switch (ch) {
285 throw new Err(std::string("Sniffer pattern error: invalid character '") + ch + "'", pos);
306 charStr = ch;
782 escapeChar(char ch) argument
850 isHexChar(char ch) argument
857 isWhiteSpace(char ch) argument
862 isOctalChar(char ch) argument
867 isDecimalChar(char ch) argument
872 isPunctuation(char ch) argument
[all...]

Completed in 103 milliseconds

1234567