Home
last modified time | relevance | path

Searched refs:prec (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/stdio/
Dvfwprintf.cpp55 #define print_utf8(utf8, prec) \ argument
58 convbuf = helpers::mbsconv(utf8, prec); \
76 int prec; /* precision from format; <0 for N/A */ in FUNCTION_NAME() local
182 prec = -1; in FUNCTION_NAME()
225 prec = n < 0 ? -1 : n; in FUNCTION_NAME()
244 prec = n; in FUNCTION_NAME()
353 if (prec >= 0) prec++; in FUNCTION_NAME()
357 dtoaresult = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
364 dtoaresult = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
370 if (prec < 0) prec = dtoaend - dtoaresult; in FUNCTION_NAME()
[all …]
Dvfprintf.cpp73 int prec; /* precision from format; <0 for N/A */ in FUNCTION_NAME() local
179 prec = -1; in FUNCTION_NAME()
222 prec = n < 0 ? -1 : n; in FUNCTION_NAME()
241 prec = n; in FUNCTION_NAME()
361 if (prec >= 0) prec++; in FUNCTION_NAME()
365 dtoaresult = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
372 dtoaresult = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
378 if (prec < 0) prec = dtoaend - dtoaresult; in FUNCTION_NAME()
384 if (prec < 0) /* account for digit before decpt */ in FUNCTION_NAME()
385 prec = DEFPREC + 1; in FUNCTION_NAME()
[all …]
Dprintf_common.h714 static char* wcsconv(wchar_t* wcsarg, int prec) { in wcsconv()
722 if (prec < 0) { in wcsconv()
731 if (prec < 128) { in wcsconv()
732 nbytes = prec; in wcsconv()
739 if (clen == 0 || clen == (size_t)-1 || nbytes + clen > (size_t)prec) break; in wcsconv()
789 static wchar_t* mbsconv(const char* mbsarg, int prec) { in mbsconv()
797 if (prec >= 0) { in mbsconv()
802 while (nchars != (size_t)prec) { in mbsconv()
/bionic/libm/upstream-freebsd/lib/msun/src/
Dk_rem_pio2.c294 __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec) in __kernel_rem_pio2() argument
300 jk = init_jk[prec]; in __kernel_rem_pio2()
408 switch(prec) { in __kernel_rem_pio2()
/bionic/libc/kernel/uapi/linux/
Djoystick.h35 __s16 prec; member
/bionic/libc/async_safe/
Dasync_safe_log.cpp253 int prec = -1; in out_vformat() local
313 prec = static_cast<int>(parse_decimal(format, &nn)); in out_vformat()
436 if (sign != '\0' || prec != -1) { in out_vformat()
/bionic/libc/dns/resolv/
Dres_debug.c779 precsize_ntoa(u_int32_t prec) in precsize_ntoa() argument
785 mantissa = (int)((prec >> 4) & 0x0f) % 10; in precsize_ntoa()
786 exponent = (int)((prec >> 0) & 0x0f) % 10; in precsize_ntoa()
/bionic/libc/kernel/tools/
Dcpp.py686 prec = CppExpr.precedences.get(op, 1000)
692 if arg_prec < prec:
702 if CppExpr.precedences.get(arg1_op, 1000) < prec:
704 if CppExpr.precedences.get(arg2_op, 1000) < prec: