Home
last modified time | relevance | path

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

/bionic/libc/stdio/
Dvfwprintf.cpp53 int prec; /* precision from format; <0 for N/A */ in FUNCTION_NAME() local
166 prec = -1; in FUNCTION_NAME()
209 prec = n < 0 ? -1 : n; in FUNCTION_NAME()
228 prec = n; in FUNCTION_NAME()
330 if (prec >= 0) prec++; in FUNCTION_NAME()
334 dtoaresult = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
341 dtoaresult = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
347 if (prec < 0) prec = dtoaend - dtoaresult; in FUNCTION_NAME()
357 if (prec < 0) /* account for digit before decpt */ in FUNCTION_NAME()
358 prec = DEFPREC + 1; in FUNCTION_NAME()
[all …]
Dvfprintf.cpp53 int prec; /* precision from format; <0 for N/A */ in FUNCTION_NAME() local
177 prec = -1; in FUNCTION_NAME()
220 prec = n < 0 ? -1 : n; in FUNCTION_NAME()
239 prec = n; in FUNCTION_NAME()
352 if (prec >= 0) prec++; in FUNCTION_NAME()
356 dtoaresult = cp = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
363 dtoaresult = cp = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
369 if (prec < 0) prec = dtoaend - dtoaresult; in FUNCTION_NAME()
375 if (prec < 0) /* account for digit before decpt */ in FUNCTION_NAME()
376 prec = DEFPREC + 1; in FUNCTION_NAME()
[all …]
Dprintf_common.h689 static char* wcsconv(wchar_t* wcsarg, int prec) { in wcsconv()
697 if (prec < 0) { in wcsconv()
706 if (prec < 128) { in wcsconv()
707 nbytes = prec; in wcsconv()
714 if (clen == 0 || clen == (size_t)-1 || nbytes + clen > (size_t)prec) break; in wcsconv()
764 static wchar_t* mbsconv(char* mbsarg, int prec) { in mbsconv()
772 if (prec >= 0) { in mbsconv()
777 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/async_safe/
Dasync_safe_log.cpp242 int prec = -1; in out_vformat() local
298 prec = static_cast<int>(parse_decimal(format, &nn)); in out_vformat()
394 if (sign != '\0' || prec != -1) { in out_vformat()
/bionic/libc/kernel/uapi/linux/
Djoystick.h47 __s16 prec; member
/bionic/libc/dns/resolv/
Dres_debug.c761 precsize_ntoa(u_int32_t prec) in precsize_ntoa() argument
767 mantissa = (int)((prec >> 4) & 0x0f) % 10; in precsize_ntoa()
768 exponent = (int)((prec >> 0) & 0x0f) % 10; in precsize_ntoa()
/bionic/libc/kernel/tools/
Dcpp.py681 prec = CppExpr.precedences.get(op, 1000)
687 if arg_prec < prec:
697 if CppExpr.precedences.get(arg1_op, 1000) < prec:
699 if CppExpr.precedences.get(arg2_op, 1000) < prec: