Searched refs:s_object (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Modules/clinic/ |
D | _struct.c.h | 198 calcsize_impl(PyObject *module, PyStructObject *s_object); 204 PyStructObject *s_object = NULL; in calcsize() local 207 if (!cache_struct_converter(arg, &s_object)) { in calcsize() 210 _return_value = calcsize_impl(module, s_object); in calcsize() 218 Py_XDECREF(s_object); in calcsize() 237 unpack_impl(PyObject *module, PyStructObject *s_object, Py_buffer *buffer); 243 PyStructObject *s_object = NULL; in unpack() local 249 if (!cache_struct_converter(args[0], &s_object)) { in unpack() 259 return_value = unpack_impl(module, s_object, &buffer); in unpack() 263 Py_XDECREF(s_object); in unpack() [all …]
|
/third_party/python/Modules/ |
D | _struct.c | 2088 PyObject * s_object; in cache_struct_converter() local 2102 s_object = PyDict_GetItemWithError(cache, fmt); in cache_struct_converter() 2103 if (s_object != NULL) { in cache_struct_converter() 2104 Py_INCREF(s_object); in cache_struct_converter() 2105 *ptr = (PyStructObject *)s_object; in cache_struct_converter() 2112 s_object = PyObject_CallOneArg(_structmodulestate_global->PyStructType, fmt); in cache_struct_converter() 2113 if (s_object != NULL) { in cache_struct_converter() 2117 if (PyDict_SetItem(cache, fmt, s_object) == -1) in cache_struct_converter() 2119 *ptr = (PyStructObject *)s_object; in cache_struct_converter() 2150 calcsize_impl(PyObject *module, PyStructObject *s_object) in calcsize_impl() argument [all …]
|
/third_party/json/test/src/ |
D | unit-class_parser.cpp | 1522 auto s_object = R"( variable 1549 json j_object = json::parse(s_object, [](int, json::parse_event_t, const json&) 1566 json j_object = json::parse(s_object, [](int, json::parse_event_t, const json&) 1585 json j_object = json::parse(s_object, [](int, json::parse_event_t, const json & j) 1655 … json j_object = json::parse(s_object, [](int, json::parse_event_t e, const json&)
|