/haiku/src/libs/stdc++/legacy/ |
H A D | stdiostream.cc | 77 register int ch = getc(_file); local 78 if (ch == EOF) 80 *buf = (char)ch;
|
H A D | builtinbuf.cc | 32 int builtinbuf::overflow(int ch) { return _IO_OVERFLOW (this, ch); } argument
|
H A D | parsestream.cc | 158 register int ch; 160 ch = sb->sbumpc(); 161 if (ch == EOF) 170 *ptr++ = ch; 171 if (ch == '\n') 177 if (ch != EOF || _line_length > 0)
|
/haiku/src/libs/mapm/ |
H A D | mapm_set.c | 105 char *p, *buf, ch, buf2[64]; local 153 ch = *p++ - '0'; 154 atmp->m_apm_data[ii] = 10 * ch + *p++ - '0'; 160 char ch, *cp, *s, *p; local 272 ch = *p++ - '0'; 273 if ((ch = (10 * ch + *p++ - '0')) != 0) 276 if (((int)ch & 0xFF) >= 100) 288 ctmp->m_apm_data[i] = ch;
|
/haiku/src/system/boot/platform/riscv/ |
H A D | graphics.cpp | 53 Font::ThisGlyph(uint32 ch) argument 55 if (ch < firstChar || ch >= firstChar + charCnt) 59 rb.colors = data + (ch - firstChar) * charWidth * charHeight;
|
H A D | graphics.h | 32 RasBuf8 ThisGlyph(uint32 ch);
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660_identify.cpp | 458 uint16 ch; local 461 for (int i = 0; (ch = B_BENDIAN_TO_HOST_INT16( 466 if (ch <= 0x001F || ch == '*' || ch == '/' 467 || ch == ':' || ch == ';' 468 || ch == '?' || ch == '\\') { 470 "found: 0%4x\n", ch)); [all...] |
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_uart_sifive.cpp | 68 ArchUARTSifive::PutChar(char ch) argument 75 Regs()->txdata.val = ch;
|
/haiku/src/add-ons/translators/ppm/ |
H A D | PPMTranslator.cpp | 643 char ch[2]; local 646 if (inSource->Read(ch, 2) != 2) 649 if (ch[0] != 'P') { 651 if (ch[0] == 'b' && ch[1] == 'i') { 659 if (ch[1] == '6' || ch[1] == '5' || ch[1] == '4') { 661 } else if (ch[1] == '3' || ch[ 854 char ch; local [all...] |
H A D | colorspace.cpp | 176 unsigned char ch = *in_data; local 177 out_buf[0] = ch; 178 out_buf[1] = ch; 179 out_buf[2] = ch; 190 unsigned char ch; local 192 ch = 0; 194 ch = 255; 196 out_buf[0] = ch; 197 out_buf[1] = ch; 198 out_buf[2] = ch; [all...] |
/haiku/src/bin/ |
H A D | comm.c | 73 int ch, flag1, flag2, flag3, iflag; local 84 while ((ch = getopt(argc, argv, "123ivh")) != -1) 85 switch(ch) {
|
H A D | badblocks.cpp | 102 int ch; local 109 while ((ch = getopt(argc, argv, "b:c:hsv?")) != -1) { 110 switch (ch) {
|
/haiku/src/kits/shared/ |
H A D | Json.cpp | 616 char ch; local 620 if (!NextChar(jsonParseContext, &ch)) { 626 if (ch >= '0' && ch <= '9') 627 unicodeCh |= static_cast<uint32>(ch - '0') << (i * 4); 628 else if (ch >= 'a' && ch <= 'f') 629 unicodeCh |= (10 + static_cast<uint32>(ch - 'a')) << (i * 4); 630 else if (ch >= 'A' && ch < [all...] |
/haiku/src/tests/add-ons/print/ppd/parser/ |
H A D | Scanner.h | 21 BString* Scan(bool (cond)(int ch));
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_lna_div.h | 86 const struct ieee80211_channel *ch);
|
/haiku/src/apps/terminal/ |
H A D | Colors.cpp | 169 int ch = toupper(*p); local 170 switch (ch) { 174 ch = 'A'; 176 hash = (hash << 4) + (ch & 0xFF);
|
/haiku/src/tests/system/libroot/posix/ |
H A D | fseek_test.cpp | 383 int ch = fgetc(fp); local 384 ASSERT(ch == '#'); 385 ch = fgetc(fp); 386 ASSERT(ch == '!'); 401 ch = fgetc(fp); 402 ASSERT(ch == '/'); 406 ASSERT(ungetc(ch, fp) == ch); 408 ASSERT(fgetc(fp) == ch); 409 ASSERT(ungetc(ch, f [all...] |
H A D | wcs_test.cpp | 465 const wchar_t ch = L' '; local 466 const wchar_t* result = wcschr(string, ch); 470 "(expected %p), errno = %x (expected 0)\n", string, ch, 478 const wchar_t ch = L'\0'; local 479 const wchar_t* result = wcschr(string, ch); 483 "(expected %p), errno = %x (expected 0)\n", string, ch, 491 const wchar_t ch = L' '; local 492 const wchar_t* result = wcschr(string, ch); 496 "(expected %p), errno = %x (expected 0)\n", string, ch, 504 const wchar_t ch local 517 const wchar_t ch = L's'; local 530 const wchar_t ch = L'S'; local 543 const wchar_t ch = L'\\0'; local 556 const wchar_t ch = L' '; local 569 const wchar_t ch = L'\\0'; local 582 const wchar_t ch = L' '; local 595 const wchar_t ch = L' '; local 608 const wchar_t ch = L's'; local 621 const wchar_t ch = L'S'; local 634 const wchar_t ch = L'\\0'; local 647 const wchar_t ch = L' '; local 660 const wchar_t ch = L'\\0'; local 673 const wchar_t ch = L' '; local 686 const wchar_t ch = L' '; local 699 const wchar_t ch = L's'; local 712 const wchar_t ch = L'S'; local 725 const wchar_t ch = L'\\0'; local 3320 const wchar_t ch = L' '; local 3333 const wchar_t ch = L'\\0'; local 3346 const wchar_t ch = L'\\0'; local 3359 const wchar_t ch = L' '; local 3372 const wchar_t ch = L' '; local 3385 const wchar_t ch = L'M'; local 3398 const wchar_t ch = L't'; local 3411 const wchar_t ch = L't'; local [all...] |
/haiku/headers/cpp/std/ |
H A D | complext.cc | 99 char ch = 0; local 104 is >> ch; local 106 if (ch == '(') 108 is >> ch; local 109 if (ch == ',') 110 is >> im >> ch; local 115 if (ch != 0 && ch != ')')
|
/haiku/headers/private/firewire/ |
H A D | fwphyreg.h | 115 ch:1, member in struct:phyreg_page0 144 ch:1,
|
/haiku/src/kits/tracker/ |
H A D | TrackerString.cpp | 426 TrackerString::IsGlyph(char ch) const 428 return (ch & 0x80) == 0x80; 433 TrackerString::IsInsideGlyph(char ch) const 435 return (ch & 0xC0) == 0x80; 440 TrackerString::IsStartOfGlyph(char ch) const 442 return (ch & 0xC0) == 0xC0;
|
/haiku/src/kits/storage/ |
H A D | MimeType.cpp | 32 static bool isValidMimeChar(const char ch); 48 isValidMimeChar(const char ch) argument 51 return ch > 32 52 && ch != '/' 53 && ch != '<' 54 && ch != '>' 55 && ch != '@' 56 && ch != ',' 57 && ch != ';' 58 && ch ! 747 char ch = string[i]; local [all...] |
/haiku/src/system/libroot/posix/glibc/regex/ |
H A D | regex_internal.h | 59 # define isblank(ch) ((ch) == ' ' || (ch) == '\t') 477 #define IS_WORD_CHAR(ch) (isalnum (ch) || (ch) == '_') 478 #define IS_NEWLINE(ch) ((ch) == NEWLINE_CHAR) 479 #define IS_WIDE_WORD_CHAR(ch) (iswalnum (ch) || (c 683 unsigned char ch; member in union:__anon5505::__anon5506 [all...] |
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/ |
H A D | C3gDco.cpp | 777 WORD ch,i; local 812 ch = m_wFirstDigitalBusOut + 2; 815 m_Adat38Mask.SetIndexInMask(ch); 816 ch++; 819 ch += m_wFirstDigitalBusIn + 2; 822 m_Adat38Mask.SetIndexInMask(ch); 823 ch++;
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | printf_fphex.c | 60 #define outchar(ch) \ 63 register const int outc = (ch); \ 81 #define PADN(ch, len) \ 84 if (PAD (fp, ch, len) != len) \ 453 char ch = numstr[cnt]; local 456 if (ch == '9') 463 else if (tolower (ch) < 'f')
|