Searched refs:digit (Results 1 - 25 of 40) sorted by relevance

12

/haiku-fatelf/src/libs/print/libgutenprint/src/gutenprintui2/
H A Dprintrcl.l64 digit [0-9]
66 integer [-+]?{digit}+
67 float [-+]?{digit}+(\.{digit}+)?([eE][-+]?{digit}+)?
/haiku-fatelf/src/libs/print/libgutenprint/src/testpattern/
H A Dtestpatternl.l68 digit [0-9]
71 integer ([-+]?(0|{ldigit}{digit}*))|(0{odigit}*)|(0[xX]{xdigit}+)
72 float [-+]?{digit}+(\.{digit}+)?([eE][-+]?{digit}+)?
/haiku-fatelf/src/kits/network/libbind/inet/
H A Dinet_network.c59 int digit; local
62 val = 0; base = 10; digit = 0;
64 digit = 1, base = 8, cp++;
73 digit = 1;
80 digit = 1;
85 if (!digit)
H A Dinet_addr.c115 int digit; local
126 val = 0; base = 10; digit = 0;
133 digit = 1 ;
142 digit = 1;
148 digit = 1;
172 * Did we get a valid digit?
174 if (!digit)
/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgspe.c46 int digit; local
58 digit = reader->last_byte - 95;
60 digit = reader->last_byte - 63;
62 if (digit >= 0 && digit <= 31)
64 *value |= digit << (5*i);
81 int digit; local
91 digit = reader->last_byte - 191;
93 digit = reader->last_byte - 63;
95 if (digit >
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/tty/
H A Ddriver.cpp68 int8 digit = 0; local
80 snprintf(buffer, sizeof(buffer), "pt/%c%x", letter, digit);
83 snprintf(buffer, sizeof(buffer), "tt/%c%x", letter, digit);
86 if (++digit > 15)
87 digit = 0, letter++;
/haiku-fatelf/src/libs/mapm/
H A Dmapmasn0.c110 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 Dmapm_exp.c366 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-fatelf/src/bin/gdb/libiberty/
H A Dsort.c52 /* The type of a single digit. This can be any unsigned integral
57 /* The maximum value a single digit can have. */
61 in the digit on which we are currently sorting. */
88 digit_t *digit; local
101 /* Now, perform a stable sort on this digit. We use counting
105 /* Compute the address of the appropriate digit in the first and
107 machine, the least-significant digit is closest to the front. */
113 digit is K. */
114 for (digit = bias;
115 digit < to
[all...]
/haiku-fatelf/src/bin/bc/dc/
H A Dnumeric.c286 int digit;
308 digit = c - '0';
310 digit = 10 + c - 'A';
314 bc_int2num(&tmp, digit);
327 digit = c - '0';
329 digit = 10 + c - 'A';
332 bc_int2num(&tmp, digit);
422 struct digit_stack { int digit; struct digit_stack *link;};
428 bc_num digit; variable
432 bc_init_num(&digit);
285 int digit; variable
418 struct digit_stack { int digit; struct digit_stack *link;}; member in struct:digit_stack
424 bc_num digit; variable
453 bc_free_num(&digit); variable
[all...]
/haiku-fatelf/src/add-ons/input_server/methods/canna/lib/
H A DRKkana.c546 int digit[4], pend; local
586 digit[pend++] = dec;
588 while ( pend > 0 && digit[pend - 1] == 0 )
602 if ( digit[i] ) {
606 if ( i == 0 || (digit[i] > 1) ) {
607 code = suujinew[digit[i]];
613 if ( digit[i] ) {
617 code = suujiold[digit[i]];
622 code = hiragana[digit[i]+'0'];
644 while ( pend > 0 && digit[pen
952 int digit[4], pend; local
[all...]
/haiku-fatelf/src/apps/cortex/ValControl/
H A DValControlDigitSegment.cpp245 // 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-fatelf/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/
H A Dfragmenter.cpp124 int digit = digitPos - kHexDigits; local
127 pattern[patternLen / 2] |= digit;
129 pattern[patternLen / 2] = digit << 4;
/haiku-fatelf/src/apps/deskcalc/
H A DExpressionTextView.cpp197 // get the position of the first digit
230 // if the period + 1 digit fits in the view scientific notation
270 int digit = (int)lastRemovedDigit - '0'; // ascii to int local
271 if (digit >= 5) {
276 digit = (int)(value[offset]) - '0' + 1; // ascii to int + 1
277 if (digit != 10)
282 if (digit == 10) {
290 // remove the exponent value and the last digit
296 offset--; // offset now points to the last digit
302 // increase the current digit valu
[all...]
/haiku-fatelf/src/tests/add-ons/print/ppd/parser/
H A DScanner.cpp91 int digit = 0; local
99 return digit == 0;
114 Error("Character is not a hexadecimal digit!");
119 // first digit
123 // second digit
/haiku-fatelf/src/bin/gdb/bfd/
H A Dbfd.c1042 unsigned int digit;
1044 digit = *string;
1045 if (ISDIGIT (digit))
1046 digit = digit - '0';
1047 else if (ISALPHA (digit))
1048 digit = TOUPPER (digit) - 'A' + 10;
1051 if (digit >= (unsigned int) base)
1053 if (value > cutoff || (value == cutoff && digit > cutli
1039 unsigned int digit; local
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/
H A Dtest_wctype.c46 wctype_t bit_digit = wctype("digit");
65 TEST (digit);
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Dkana.c796 int digit[4], pend;
847 digit[pend++] = dec;
849 while ( pend > 0 && digit[pend - 1] == 0 )
863 if ( digit[i] ) {
867 if ( i == 0 || (digit[i] > 1) ) {
868 code = suujinew[digit[i]];
874 if ( digit[i] ) {
878 code = suujiold[digit[i]];
883 code = hiragana[digit[i]+'0'];
906 while ( pend > 0 && digit[pen
[all...]
/haiku-fatelf/src/bin/diffutils/src/
H A Difdef.c405 unsigned int digit = c - '0'; local
406 if (8 <= digit)
408 value = 8 * value + digit;
/haiku-fatelf/src/add-ons/translators/rtf/
H A DRTF.cpp67 char digit = first; local
69 if (digit == '\0')
70 digit = read_char(stream);
75 if (kDigits[pos] == tolower(digit)) {
82 _last = digit;
86 digit = read_char(stream);
/haiku-fatelf/src/system/kernel/lib/
H A Dkernel_vsprintf.cpp237 int digit = do_div(&fraction, 10); local
238 if (!first || digit > 0) {
239 buffer[length++] = '0' + digit;
/haiku-fatelf/src/bin/coreutils/lib/
H A Dhuman.c349 int digit = amt % 10; local
350 *--p = digit + '0';
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dhuman.c349 int digit = amt % 10; local
350 *--p = digit + '0';
/haiku-fatelf/src/bin/network/wget/src/
H A Dcmpt.c727 /* We need at least one digit. */
1388 int digit;
1390 this digit. If result==WATERMARK, current digit may not
1391 exceed the last digit of maximum value. */
1393 for (; (digit = char_value (*nptr, base)) != -1; ++nptr)
1396 || (result == WATERMARK && digit > STRTOLL_MAX % base))
1402 result = base * result + digit;
1408 int digit;
1410 for (; (digit
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/escputil/
H A Descputil.c1253 get_digit(char digit) argument
1255 if (digit >= '0' && digit <= '9')
1256 return digit - '0';
1257 else if (digit >= 'A' && digit <= 'F')
1258 return digit - 'A' + 10;
1259 else if (digit >= 'a' && digit <= 'f')
1260 return digit
[all...]

Completed in 201 milliseconds

12