Home
last modified time | relevance | path

Searched refs:frac (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/
Dscanner.py50 integer, frac, exp = m.groups()
51 if frac or exp:
52 res = parse_float(integer + (frac or '') + (exp or ''))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/
Dscanner.py50 integer, frac, exp = m.groups()
51 if frac or exp:
52 res = parse_float(integer + (frac or '') + (exp or ''))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpstats.py576 frac = float(term)
577 if frac > 1 or frac < 0:
580 processed.append(frac)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dtimemodule.c937 double frac; local
938 frac = fmod(secs, 1.0);
941 t.tv_usec = (long)(frac*1000000.0);
Ddatetimemodule.c3932 PyObject *result = NULL, *obj, *st = NULL, *frac = NULL; in datetime_strptime() local
3951 frac = PySequence_GetItem(obj, 1); in datetime_strptime()
3952 if (st == NULL || frac == NULL) in datetime_strptime()
3975 if (good_timetuple && PyInt_Check(frac)) in datetime_strptime()
3976 ia[6] = PyInt_AsLong(frac); in datetime_strptime()
3993 Py_XDECREF(frac); in datetime_strptime()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dtimemodule.c942 double frac; local
943 frac = fmod(secs, 1.0);
946 t.tv_usec = (long)(frac*1000000.0);
Ddatetimemodule.c3932 PyObject *result = NULL, *obj, *st = NULL, *frac = NULL; in datetime_strptime() local
3951 frac = PySequence_GetItem(obj, 1); in datetime_strptime()
3952 if (st == NULL || frac == NULL) in datetime_strptime()
3975 if (good_timetuple && PyInt_Check(frac)) in datetime_strptime()
3976 ia[6] = PyInt_AsLong(frac); in datetime_strptime()
3993 Py_XDECREF(frac); in datetime_strptime()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/soc/
Dsoc.h129 uint32_t frac; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_strptime.py280 tup, frac = _strptime._strptime(str(d), format="%Y-%m-%d %H:%M:%S.%f")
281 self.assertEqual(frac, d.microsecond)
Dtest_datetime.py1551 result, frac = _strptime._strptime(string, format)
1552 expected = self.theclass(*(result[0:6]+(frac,)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dlongobject.c191 double frac; in PyLong_FromDouble() local
208 frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */ in PyLong_FromDouble()
215 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()
217 digit bits = (digit)frac; in PyLong_FromDouble()
219 frac = frac - (double)bits; in PyLong_FromDouble()
220 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c191 double frac; in PyLong_FromDouble() local
208 frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */ in PyLong_FromDouble()
215 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()
217 digit bits = (digit)frac; in PyLong_FromDouble()
219 frac = frac - (double)bits; in PyLong_FromDouble()
220 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/
Dlongobject.c187 double frac; in PyLong_FromDouble() local
204 frac = frexp(dval, &expo); /* dval = frac*2**expo; 0.0 <= frac < 1.0 */ in PyLong_FromDouble()
211 frac = ldexp(frac, (expo-1) % PyLong_SHIFT + 1); in PyLong_FromDouble()
213 digit bits = (digit)frac; in PyLong_FromDouble()
215 frac = frac - (double)bits; in PyLong_FromDouble()
216 frac = ldexp(frac, PyLong_SHIFT); in PyLong_FromDouble()