HomeSort by: relevance | last modified time | path
    Searched refs:radix (Results 1 - 16 of 16) sorted by relevancy

  /xsrc/external/mit/xedit/dist/lisp/
string.c 460 digit-char weight &optional radix
463 long radix = 10, weight; local
474 radix = FIXNUM_VALUE(oradix);
476 if (radix < 2 || radix > 36)
477 LispDestroy("%s: radix must be >= 2 and <= 36, not %ld",
478 STRFUN(builtin), radix);
480 if (weight >= 0 && weight < radix) {
494 digit-char-p character &optional radix
497 long radix = 10, character local
583 long i, start, end, radix, length, integer, check; local
    [all...]
read.c 1362 LispParseNumber(char *str, int radix, LispObj *read__stream, int read__line)
1372 if (radix < 2 || radix > 36)
1373 READ_ERROR1("radix %d is not in the range 2 to 36", radix);
1384 /* ratio must point to an integer in radix base */
1387 else if (radix == 10) {
1454 /* check if correctly specified in the given radix */
1456 if (!ratio && radix != 10 && str[len] == '.')
1459 if (ratio || radix != 10)
1499 mpi_setstr(mpr_den(bigratio), ratio, radix); local
1508 mpi_setstr(mpr_den(bigratio), ratio, radix); local
    [all...]
write.c 726 format_integer(char *buffer, long value, int radix)
728 if (radix == 10)
730 else if (radix == 16)
732 else if (radix == 8)
740 mpi_getstr(buffer, &integer, radix);
1507 LispFormatInteger(LispObj *stream, LispObj *object, int radix,
1515 format_integer(stk, LONGINT_VALUE(object), radix);
1517 if (mpi_getsize(object->data.mp.integer, radix) >= sizeof(stk))
1518 str = mpi_getstr(NULL, object->data.mp.integer, radix);
1520 mpi_getstr(str, object->data.mp.integer, radix);
    [all...]
format.c 55 #define GENERIC_RADIX 1 /* radix not in range 2-36 */
181 {0, 10}, /* radix */
463 "radix must be in the range 2 to 36, inclusive",
594 /* assumes radix is 0 or in range 2 - 36 */
596 format_in_radix(LispObj *stream, LispObj *object, int radix, FmtArgs *args)
601 i = (radix == 0);
604 if (radix == 0) {
605 radix = args->arguments[0].value;
606 if (radix < 2 || radix > 36)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/util/
xmlconfig.c 81 * number may have an optional sign. Radix is specified by base. If
90 int radix = base == 0 ? 10 : base; local
96 assert(radix >= 2 && radix <= 36);
106 radix = 16;
109 radix = 8;
115 if (radix <= 10) {
116 if (*string >= '0' && *string < '0' + radix)
121 else if (*string >= 'a' && *string < 'a' + radix - 10)
123 else if (*string >= 'A' && *string < 'A' + radix - 10
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/util/
xmlconfig.c 107 * number may have an optional sign. Radix is specified by base. If
116 int radix = base == 0 ? 10 : base; local
122 assert (radix >= 2 && radix <= 36);
132 radix = 16;
135 radix = 8;
141 if (radix <= 10) {
142 if (*string >= '0' && *string < '0' + radix)
147 else if (*string >= 'a' && *string < 'a' + radix - 10)
149 else if (*string >= 'A' && *string < 'A' + radix - 10
    [all...]
  /xsrc/external/mit/xterm/dist/
charclass.c 397 int radix = 0; local
400 radix = 16;
402 check = strtol(source, target, radix);
ptydata.c 836 int radix = 0; local
839 radix = 16;
842 radix = 2;
844 check = strtol(source, target, radix);
wcwidth.c 878 int radix = 0; local
881 radix = 16;
883 check = strtol(source, target, radix);
  /xsrc/external/mit/libXfont/dist/src/util/
fontxlfd.c 73 static const char *radix = ".", *plus = "+", *minus = "-"; variable
87 radix = locale->decimal_point;
104 case '.': *p2 = *radix; break;
127 radix = locale->decimal_point;
172 /* Last step, convert the locale-specific sign and radix characters
178 else if (*p1 == *radix) *p1 = '.';
287 "." for the radix. We'll have to do the hard work ourselves
  /xsrc/external/mit/libXfont2/dist/src/util/
fontxlfd.c 69 static const char *radix = ".", *plus = "+", *minus = "-"; variable
82 radix = locale->decimal_point;
98 case '.': *p2 = *radix; break;
123 radix = locale->decimal_point;
167 /* Last step, convert the locale-specific sign and radix characters
173 else if (*p1 == *radix) *p1 = '.';
277 "." for the radix. We'll have to do the hard work ourselves
  /xsrc/external/mit/MesaLib/dist/src/freedreno/rnn/
rnn.h 140 uint64_t min, max, align, radix; member in struct:rnntypeinfo
headergen2.c 197 fprintf(dst, "((int32_t)(val * %d.0))", (1 << ti->radix));
199 fprintf(dst, "((uint32_t)(val * %d.0))", (1 << ti->radix));
rnndec.c 267 ((double)((UINT64_C(1) << width) - value)) / ((double)(1 << ti->radix)),
274 ((double)value) / ((double)(1LL << ti->radix)),
rnn.c 200 } else if (!strcmp(attr->name, "radix")) {
201 ti->radix = getnumattrib(db, file, node->line, attr);
  /xsrc/external/mit/MesaLib/dist/src/freedreno/registers/
gen_header.py 72 val = "((int32_t)(%s * %d.0))" % (var_name, 1 << self.radix)
75 val = "((uint32_t)(%s * %d.0))" % (var_name, 1 << self.radix)
338 b.radix = int(attrs["radix"], 0)

Completed in 38 milliseconds