/haiku/src/system/kernel/util/ |
H A D | inet_addr.c | 104 int digit; local 115 val = 0; base = 10; digit = 0; 122 digit = 1 ; 131 digit = 1; 137 digit = 1; 161 * Did we get a valid digit? 163 if (!digit)
|
/haiku/src/libs/mapm/ |
H A D | mapmasn0.c | 110 M_APM tmp0, tmp2, tmpR, tmpS, digit, term; local 119 digit = M_get_stack_var(); 151 m_apm_set_long(digit, m1); 153 m_apm_divide(tmp0, local_precision, term, digit); 174 m_apm_set_long(digit, m1); 176 m_apm_divide(tmp0, local_precision, term, digit);
|
H A D | mapm_exp.c | 366 M_APM tmp0, digit, term; local 372 digit = M_get_stack_var(); 385 m_apm_set_long(digit, m1); 387 m_apm_divide(term, local_precision, tmp0, digit);
|
/haiku/src/add-ons/kernel/drivers/pty/ |
H A D | driver.cpp | 77 int8 digit = 0; local 89 snprintf(buffer, sizeof(buffer), "pt/%c%x", letter, digit); 92 snprintf(buffer, sizeof(buffer), "tt/%c%x", letter, digit); 95 if (++digit > 15) 96 digit = 0, letter++; 153 int8 digit = name[4]; local 154 if (digit >= 'a') { 156 digit -= 'a' - 10; 158 digit -= '0'; 160 return (name[3] - 'p') * 16 + digit; [all...] |
/haiku/src/apps/cortex/ValControl/ |
H A D | ValControlDigitSegment.cpp | 245 // draw a digit at a time, right to left (low->high) 256 int16 digit; local 259 for(digit = 0; 260 digit < m_digitCount; 261 digit++, cur /= 10, p.x -= (digitWidth+m_digitPadding)) { 264 if(digit && !(m_flags & ZERO_FILL) && !cur)
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/ |
H A D | fragmenter.cpp | 124 int digit = digitPos - kHexDigits;
local 127 pattern[patternLen / 2] |= digit;
129 pattern[patternLen / 2] = digit << 4;
|
/haiku/src/apps/deskcalc/ |
H A D | ExpressionTextView.cpp | 212 // get the position of the first digit 245 // if the period + 1 digit fits in the view scientific notation 290 int digit = (int)lastRemovedDigit - '0'; // ascii to int local 291 if (digit >= 5) { 296 digit = (int)(value[offset]) - '0' + 1; // ascii to int + 1 297 if (digit != 10) 302 if (digit == 10) { 311 // remove the exponent value and the last digit 317 offset--; // offset now points to the last digit 323 // increase the current digit valu [all...] |
/haiku/src/tests/add-ons/print/ppd/parser/ |
H A D | Scanner.cpp | 91 int digit = 0; local 99 return digit == 0; 114 Error("Character is not a hexadecimal digit!"); 119 // first digit 123 // second digit
|
/haiku/src/tests/system/libroot/posix/ |
H A D | test_wctype.c | 46 wctype_t bit_digit = wctype("digit"); 65 TEST (digit);
|
/haiku/src/add-ons/translators/rtf/ |
H A D | RTF.cpp | 66 char digit = first; local 68 if (digit == '\0') 69 digit = read_char(stream); 74 if (kDigits[pos] == tolower(digit)) { 81 _last = digit; 85 digit = read_char(stream);
|
/haiku/src/system/kernel/lib/ |
H A D | kernel_vsprintf.cpp | 237 int digit = do_div(&fraction, 10); local 238 if (!first || digit > 0) { 239 buffer[length++] = '0' + digit;
|
/haiku/src/kits/debugger/source_language/c_family/ |
H A D | CLanguageTokenizer.cpp | 446 throw ParseException("expected hex digit", _CurrentPos());
|
/haiku/src/libs/stdc++/legacy/ |
H A D | iostream.cc | 321 int digit; local 323 digit = ch - '0'; 325 digit = ch - 'A' + 10; 327 digit = ch - 'a' + 10; 329 digit = 999; 330 if (digit >= base) { 338 val = base * val + digit;
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | printf_fp.c | 187 wchar_t digit; local 725 number so that the leading digit is in a 786 leading digit. (Of course this division is not really made.) */ 858 exponential notation with a negative two-digit 941 digit = hack_digit_ret; 942 if (digit > L'4') 946 if (digit == L'5' 1024 /* We can simply add another another digit before the
|
/haiku/src/bin/network/ftpd/ |
H A D | ftpcmd.y | 1127 int ret, dec, multby, digit; 1137 digit = dec%10; 1138 if (digit > 7) { 1142 ret += digit * multby;
|