Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 55) sorted by relevance

123

/original-bsd/sys/vax/stand/
H A Dimptst.c214 register digit = 0; local
219 if (digit == '-') {
223 if (digit == '0')
230 if (digit < '0')
235 if (digit > '7')
237 digit -= '0';
241 if (digit > '9')
243 digit -= '0';
248 digit -= 060 ;
251 if ((digit >= 'A') && (digit <= 'F')) {
[all …]
/original-bsd/usr.bin/pascal/src/
H A Dyylex.c92 } while (alph(c) || digit(c)); in yylex()
119 } while (digit(c)); in yylex()
143 if (!digit(c)) { in yylex()
149 while (digit(c)) { in yylex()
163 if (!digit(c)) { in yylex()
168 while (digit(c)) { in yylex()
217 if (digit(c)) { in yylex()
H A Dyyoptions.c42 if (!digit(c)) in options()
/original-bsd/lib/libc/quad/
H A Dqdivrem.c30 typedef unsigned short digit; typedef
32 typedef u_long digit; typedef
41 shl(register digit *p, register int len, register int sh) in shl()
63 digit *u, *v, *q;
64 register digit v1, v2;
67 digit uspace[5], vspace[5], qspace[5];
117 digit q1, q2, q3, q4;
174 register digit uj0, uj1, uj2;
/original-bsd/bin/pax/
H A Dgen_subs.c309 u_long digit; local
323 if ((digit = (val & 0xf)) < 10)
324 *pt-- = '0' + (char)digit;
326 *pt-- = 'a' + (char)(digit - 10);
423 u_quad_t digit; local
437 if ((digit = (val & 0xf)) < 10)
438 *pt-- = '0' + (char)digit;
440 *pt-- = 'a' + (char)(digit - 10);
/original-bsd/old/tbl/
H A Dtm.c27 (str>p && digit(*(str-1)) ||
28 digit(*(str+1))))
34 if (digit( * (str-1) ) && !ineqn(str, p))
H A Dt4.c158 if (digit(c)) in readspec()
181 if (digit(c)) in readspec()
229 while (digit(*snp++ = c = get1char())) in readspec()
H A Dts.c45 digit(x) in digit() function
/original-bsd/bin/sh/
H A Dmksyntax.c101 static char digit[] = "0123456789"; local
137 if (digit[i] != '0' + i)
352 static char digit[] = "0123456789"; in digit_convert() local
357 for (p = digit ; *p ; p++) in digit_convert()
363 for (p = digit ; *p && *p != i ; p++); in digit_convert()
365 p = digit; in digit_convert()
366 fprintf(cfile, " %d,\n", p - digit); in digit_convert()
H A Doutput.c324 static const char digit[16] = "0123456789ABCDEF"; variable
326 static const char digit[17] = "0123456789ABCDEF"; variable
428 *--p = digit[num % base];
/original-bsd/old/as.tahoe/
H A Dasscan4.c22 int digit; /* part of number being constructed */ local
97 digit = ch - '0';
108 digit = (ch - 'a') + 10;
112 digit = (ch - 'A') + 10;
120 intval -= digit;
/original-bsd/old/as.vax/
H A Dasscan4.c25 int digit; /* part of number being constructed */ local
104 digit = ch - '0';
115 digit = (ch - 'a') + 10;
119 digit = (ch - 'A') + 10;
127 intval -= digit;
/original-bsd/games/morse/
H A Dmorse.c22 *digit[] = { variable
102 show(digit[c - '0']);
/original-bsd/old/lex/
H A Dparser.y257 while(*p && !digit(*p))p++;
265 while(*p && !digit(*p))p++;
273 while(*p && !digit(*p))p++;
281 while (*p && !digit(*p))p++;
286 while(*p && !digit(*p))p++;
294 while (*p && !digit(*p))p++;
401 if(digit(buf[0]))
499 if(digit(c=gch())){ /* iteration */
503 while(digit(c)){
/original-bsd/usr.bin/grep/old.ucb.grep/
H A Dold.ucb.grep.c413 if ( ( uletter(*lp) || digit ( * lp ) ) && !uletter(lp[-1]) && !digit(lp[-1]))
418 if (!uletter(*lp) && !digit(*lp))
468 digit(c) in digit() function
/original-bsd/libexec/getty/
H A Dmain.c58 int crmod, digit, lower, upper; variable
265 if (!(upper || lower || digit))
329 crmod = digit = lower = upper = 0; in getname()
368 digit++; in getname()
/original-bsd/lib/libc/gen/
H A Dgetcap.c948 register int base, digit; local
980 digit = *bp - '0';
982 digit = 10 + *bp - 'a';
984 digit = 10 + *bp - 'A';
988 if (digit >= base)
991 n = n * base + digit;
/original-bsd/games/hack/
H A Dhack.options.c117 if(digit(*op)) {
119 while(digit(*op)) op++;
H A Dmakedefs.c130 } while(letter(ch) || digit(ch)); in getentry()
222 digit(ch) register char ch; { in digit() function
H A Dhack.objnam.c360 if(!cnt && digit(*bp)){
362 while(digit(*bp)) bp++;
370 while(digit(*bp)) bp++;
379 while(digit(*p)) p++;
/original-bsd/old/sdb/
H A Dsub.c238 rint(p, base, digit, conv) in rint() argument
240 int (*digit)(), (*conv)(); {
244 while ((*digit)(**p)) value = base*value + (*conv)(*(*p)++);
/original-bsd/old/adb/adb.vax/
H A Dformat.c56 DO IF digit(modifier = *fp)
58 WHILE digit(modifier = *fp++)
330 digit(c) in digit() function
/original-bsd/lib/libc/tahoe/stdlib/
H A Datof.s72 ad0: cmpb r4,$'0 # Do we have a digit?
93 subl2 $'0,r4 # Get the digit value
100 ad1: incl r5 # Ignore the digit, bump exponent
/original-bsd/lib/libc/vax/stdlib/
H A Datof.s69 ad0: cmpb r4,$'0 # Do we have a digit?
90 subl2 $'0,r4 # Get the digit value
97 ad1: incl r5 # Ignore the digit, bump exponent
/original-bsd/usr.bin/pascal/pxref/
H A Dpxref.p33 charclasses = (digit, letter, separator, illegal);
248 (charclass[ord(inp^)] <> digit);
252 end else if charclass[ord(inp^)] = digit then
256 until charclass[ord(inp^)] <> digit
368 charclass[k]:=digit;

123