Home
last modified time | relevance | path

Searched refs:rval (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_json.c95 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx);
113 encoder_listencode_list(PyEncoderObject *s, PyObject *rval, PyObject *seq, Py_ssize_t indent_level);
115 encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_level);
117 encoder_listencode_dict(PyEncoderObject *s, PyObject *rval, PyObject *dct, Py_ssize_t indent_level);
206 PyObject *rval; in ascii_escape_unicode() local
216 rval = PyString_FromStringAndSize(NULL, output_size); in ascii_escape_unicode()
217 if (rval == NULL) { in ascii_escape_unicode()
220 output = PyString_AS_STRING(rval); in ascii_escape_unicode()
241 if (_PyString_Resize(&rval, output_size) == -1) { in ascii_escape_unicode()
244 output = PyString_AS_STRING(rval); in ascii_escape_unicode()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_json.c95 _build_rval_index_tuple(PyObject *rval, Py_ssize_t idx);
113 encoder_listencode_list(PyEncoderObject *s, PyObject *rval, PyObject *seq, Py_ssize_t indent_level);
115 encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_level);
117 encoder_listencode_dict(PyEncoderObject *s, PyObject *rval, PyObject *dct, Py_ssize_t indent_level);
206 PyObject *rval; in ascii_escape_unicode() local
216 rval = PyString_FromStringAndSize(NULL, output_size); in ascii_escape_unicode()
217 if (rval == NULL) { in ascii_escape_unicode()
220 output = PyString_AS_STRING(rval); in ascii_escape_unicode()
241 if (_PyString_Resize(&rval, output_size) == -1) { in ascii_escape_unicode()
244 output = PyString_AS_STRING(rval); in ascii_escape_unicode()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
Dtest_decode.py9 rval = self.loads('1.1', parse_float=decimal.Decimal)
10 self.assertTrue(isinstance(rval, decimal.Decimal))
11 self.assertEqual(rval, decimal.Decimal('1.1'))
14 rval = self.loads('1', parse_int=float)
15 self.assertTrue(isinstance(rval, float))
16 self.assertEqual(rval, 1.0)
22 rval = self.loads('{ "key" : "value" , "k":"v" }')
23 self.assertEqual(rval, {"key":"value", "k":"v"})
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
Dtest_decode.py9 rval = self.loads('1.1', parse_float=decimal.Decimal)
10 self.assertTrue(isinstance(rval, decimal.Decimal))
11 self.assertEqual(rval, decimal.Decimal('1.1'))
14 rval = self.loads('1', parse_int=float)
15 self.assertTrue(isinstance(rval, float))
16 self.assertEqual(rval, 1.0)
22 rval = self.loads('{ "key" : "value" , "k":"v" }')
23 self.assertEqual(rval, {"key":"value", "k":"v"})
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DCookie.py591 rval, cval = self.value_encode(value)
592 self.__set(key, rval, cval)
664 rval, cval = self.value_decode(V)
665 self.__set(K, rval, cval)
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Dmath_private.h284 #define STRICT_ASSIGN(type, lval, rval) ((lval) = (rval)) argument
286 #define STRICT_ASSIGN(type, lval, rval) do { \ argument
290 (lval) = (rval); \
292 __lval = (rval); \