Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvfwprintf.c421 __mbsconv(char *mbsarg, int prec) in __mbsconv() argument
436 if (prec >= 0) { in __mbsconv()
444 while (nchars != (size_t)prec) { in __mbsconv()
494 __wcsconv(wchar_t *wcsarg, int prec) in __wcsconv() argument
504 if (prec < 0) { in __wcsconv()
516 if (prec < 128) in __wcsconv()
517 nbytes = prec; in __wcsconv()
525 nbytes + clen > (size_t)prec) in __wcsconv()
622 int prec; /* precision from format; <0 for N/A */ in WDECL() local
878 prec = -1; in WDECL()
[all …]
Dvsnprintf_ss.c129 int prec; /* precision from format (%.3d), or -1 */ local
174 prec = -1;
211 prec = n < 0 ? -1 : n;
219 prec = n < 0 ? -1 : n;
320 if (prec >= 0) {
326 char *p = memchr(cp, 0, (size_t)prec);
330 if (size > prec)
331 size = prec;
333 size = prec;
363 number: if ((dprec = prec) >= 0)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Ddecimal.py351 return _dec_from_triple(sign, '9'*context.prec,
352 context.Emax-context.prec+1)
356 return _dec_from_triple(sign, '9'*context.prec,
357 context.Emax-context.prec+1)
1165 exp = max(exp, other._exp - context.prec-1)
1170 exp = max(exp, self._exp - context.prec-1)
1177 op1, op2 = _normalize(op1, op2, context.prec)
1330 shift = len(other._int) - len(self._int) + context.prec + 1
1368 if expdiff <= context.prec:
1376 if q < 10**context.prec:
[all …]
/device/google/contexthub/firmware/lib/libm/
Dkf_rem_pio2.c56 int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const __int32_t *ipio2) in __kernel_rem_pio2f() argument
58 int __kernel_rem_pio2f(x,y,e0,nx,prec,ipio2) in __kernel_rem_pio2f()
59 float x[], y[]; int e0,nx,prec; __int32_t ipio2[]; in __kernel_rem_pio2f()
66 jk = init_jk[prec];
175 switch(prec) {
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
Dk_rem_pio2.c157 __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2) in __kernel_rem_pio2() argument
163 jk = init_jk[prec]; in __kernel_rem_pio2()
271 switch(prec) { in __kernel_rem_pio2()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstringobject.c3939 formatfloat(PyObject *v, int flags, int prec, int type) in formatfloat() argument
3952 if (prec < 0) in formatfloat()
3953 prec = 6; in formatfloat()
3955 p = PyOS_double_to_string(x, type, prec, in formatfloat()
3987 _PyString_FormatLong(PyObject *val, int flags, int prec, int type, in _PyString_FormatLong() argument
4076 if (prec > numdigits) { in _PyString_FormatLong()
4078 numnondigits + prec); in _PyString_FormatLong()
4087 for (i = 0; i < prec - numdigits; i++) in _PyString_FormatLong()
4095 len = numnondigits + prec; in _PyString_FormatLong()
4113 int prec, int type, PyObject *v) in formatint() argument
[all …]
Dunicodeobject.c8043 formatfloat(PyObject *v, int flags, int prec, int type) in formatfloat() argument
8053 if (prec < 0) in formatfloat()
8054 prec = 6; in formatfloat()
8056 p = PyOS_double_to_string(x, type, prec, in formatfloat()
8066 formatlong(PyObject *val, int flags, int prec, int type) in formatlong() argument
8073 str = _PyString_FormatLong(val, flags, prec, type, &buf, &len); in formatlong()
8092 int prec, in formatint() argument
8115 if (prec < 0) in formatint()
8116 prec = 1; in formatint()
8121 if (buflen <= 14 || buflen <= (size_t)3 + (size_t)prec) { in formatint()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstringobject.c3959 formatfloat(PyObject *v, int flags, int prec, int type) in formatfloat() argument
3972 if (prec < 0) in formatfloat()
3973 prec = 6; in formatfloat()
3975 p = PyOS_double_to_string(x, type, prec, in formatfloat()
4007 _PyString_FormatLong(PyObject *val, int flags, int prec, int type, in _PyString_FormatLong() argument
4096 if (prec > numdigits) { in _PyString_FormatLong()
4098 numnondigits + prec); in _PyString_FormatLong()
4107 for (i = 0; i < prec - numdigits; i++) in _PyString_FormatLong()
4115 len = numnondigits + prec; in _PyString_FormatLong()
4133 int prec, int type, PyObject *v) in formatint() argument
[all …]
Dunicodeobject.c8147 formatfloat(PyObject *v, int flags, int prec, int type) in formatfloat() argument
8157 if (prec < 0) in formatfloat()
8158 prec = 6; in formatfloat()
8160 p = PyOS_double_to_string(x, type, prec, in formatfloat()
8170 formatlong(PyObject *val, int flags, int prec, int type) in formatlong() argument
8177 str = _PyString_FormatLong(val, flags, prec, type, &buf, &len); in formatlong()
8196 int prec, in formatint() argument
8219 if (prec < 0) in formatint()
8220 prec = 1; in formatint()
8225 if (buflen <= 14 || buflen <= (size_t)3 + (size_t)prec) { in formatint()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_decimal.py57 prec = 9,
399 def change_precision(self, prec): argument
400 self.context.prec = prec
561 nc.prec = 3
1206 thiscontext.prec = 18
1377 old_precision = c.prec
1380 c.prec = 6
1382 c.prec = 10
1384 c.prec = 16
1389 c.prec = old_precision
[all …]
Dtest_descr.py278 result.prec = kwds.get('prec', 12)
281 prec = self.prec
283 return "%.*g" % (prec, self.real)
285 return "%.*gj" % (prec, self.imag)
286 return "(%.*g+%.*gj)" % (prec, self.real, prec, self.imag)
289 a = Number(3.14, prec=6)
291 self.assertEqual(a.prec, 6)
293 a = Number(a, prec=2)
295 self.assertEqual(a.prec, 2)
299 self.assertEqual(a.prec, 12)
[all …]
Dstring_tests.py1118 for prec in xrange(100):
1119 format = '%%.%if' % prec
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_debug.c569 u_int8_t prec in precsize_ntoa() argument
576 mantissa = (int)((prec >> 4) & 0x0f) % 10; in precsize_ntoa()
577 exponent = (int)((prec >> 0) & 0x0f) % 10; in precsize_ntoa()
/device/linaro/bootloader/edk2/AppPkg/Applications/Enquire/
DEnquire.c724 int prec, Long_double val, char *mark));
2498 #define Verify(prec, val, req, same, same1) {;}
2736 Void Verify ARGS5(int, prec, Number, val, Number, req, int, same, int, same1)
2744 f_rep(prec, req));
2750 F_check(prec, (Long_double) req);
2755 f_rep(prec, val-req));
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.h582 static int compareTexId(const void* pid, const void* prec);
DGLClientState.cpp1035 int GLClientState::compareTexId(const void* pid, const void* prec) in compareTexId() argument
1038 const TextureRec* rec = (const TextureRec*)prec; in compareTexId()
/device/google/cuttlefish_kernel/5.4-x86_64/
DSystem.map129394 ffffffff82ed09b8 b show_interrupts.prec
/device/google/cuttlefish_kernel/5.4-arm64/
DSystem.map233562 ffffffc0119b2278 b show_interrupts.prec