/external/python/cpython2/Objects/stringlib/ |
D | ctype.h | 54 PyObject* newobj; in stringlib_lower() local 55 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_lower() 56 if (!newobj) in stringlib_lower() 58 _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_lower() 60 return newobj; in stringlib_lower() 66 PyObject* newobj; in stringlib_upper() local 67 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_upper() 68 if (!newobj) in stringlib_upper() 70 _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_upper() 72 return newobj; in stringlib_upper() [all …]
|
D | string_format.h | 234 PyObject *newobj; in getattr() local 238 newobj = PyObject_GetAttr(obj, str); in getattr() 240 return newobj; in getattr() 254 PyObject *newobj; in getitem_idx() local 258 newobj = PyObject_GetItem(obj, idx_obj); in getitem_idx() 260 return newobj; in getitem_idx() 267 PyObject *newobj; in getitem_str() local 271 newobj = PyObject_GetItem(obj, str); in getitem_str() 273 return newobj; in getitem_str()
|
/external/python/cpython3/Objects/stringlib/ |
D | ctype.h | 61 PyObject* newobj; in stringlib_lower() local 62 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_lower() 63 if (!newobj) in stringlib_lower() 65 _Py_bytes_lower(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_lower() 67 return newobj; in stringlib_lower() 73 PyObject* newobj; in stringlib_upper() local 74 newobj = STRINGLIB_NEW(NULL, STRINGLIB_LEN(self)); in stringlib_upper() 75 if (!newobj) in stringlib_upper() 77 _Py_bytes_upper(STRINGLIB_STR(newobj), STRINGLIB_STR(self), in stringlib_upper() 79 return newobj; in stringlib_upper() [all …]
|
D | unicode_format.h | 147 PyObject *newobj; in getattr() local 151 newobj = PyObject_GetAttr(obj, str); in getattr() 153 return newobj; in getattr() 167 PyObject *newobj; in getitem_idx() local 171 newobj = PyObject_GetItem(obj, idx_obj); in getitem_idx() 173 return newobj; in getitem_idx() 180 PyObject *newobj; in getitem_str() local 184 newobj = PyObject_GetItem(obj, str); in getitem_str() 186 return newobj; in getitem_str()
|
/external/python/cpython3/Modules/_sha3/ |
D | sha3module.c | 163 SHA3object *newobj; in newSHA3object() local 164 newobj = (SHA3object *)PyObject_New(SHA3object, type); in newSHA3object() 165 if (newobj == NULL) { in newSHA3object() 168 newobj->lock = NULL; in newSHA3object() 169 return newobj; in newSHA3object() 279 SHA3object *newobj; in _sha3_sha3_224_copy_impl() local 281 if ((newobj = newSHA3object(Py_TYPE(self))) == NULL) { in _sha3_sha3_224_copy_impl() 285 SHA3_copystate(newobj->hash_state, self->hash_state); in _sha3_sha3_224_copy_impl() 287 return (PyObject *)newobj; in _sha3_sha3_224_copy_impl()
|
/external/python/cpython3/Modules/ |
D | sha1module.c | 329 SHA1object *newobj; in SHA1Type_copy_impl() local 331 if ((newobj = newSHA1object()) == NULL) in SHA1Type_copy_impl() 334 newobj->hash_state = self->hash_state; in SHA1Type_copy_impl() 335 return (PyObject *)newobj; in SHA1Type_copy_impl()
|
D | _operator.c | 1250 PyObject *newobj; in dotted_getattr() local 1262 newobj = PyObject_GetAttr(obj, attr_name); in dotted_getattr() 1264 if (newobj == NULL) { in dotted_getattr() 1268 obj = newobj; in dotted_getattr() 1271 newobj = PyObject_GetAttr(obj, attr); in dotted_getattr() 1272 if (newobj == NULL) in dotted_getattr() 1274 obj = newobj; in dotted_getattr()
|
D | md5module.c | 352 MD5object *newobj; in MD5Type_copy_impl() local 354 if ((newobj = newMD5object())==NULL) in MD5Type_copy_impl() 357 newobj->hash_state = self->hash_state; in MD5Type_copy_impl() 358 return (PyObject *)newobj; in MD5Type_copy_impl()
|
D | _hashopenssl.c | 179 EVPobject *newobj; in EVP_copy() local 181 if ( (newobj = newEVPobject(self->name))==NULL) in EVP_copy() 184 if (!locked_EVP_MD_CTX_copy(newobj->ctx, self)) { in EVP_copy() 185 Py_DECREF(newobj); in EVP_copy() 188 return (PyObject *)newobj; in EVP_copy()
|
D | sha256module.c | 414 SHAobject *newobj; in SHA256Type_copy_impl() local 417 if ( (newobj = newSHA256object())==NULL) in SHA256Type_copy_impl() 420 if ( (newobj = newSHA224object())==NULL) in SHA256Type_copy_impl() 424 SHAcopy(self, newobj); in SHA256Type_copy_impl() 425 return (PyObject *)newobj; in SHA256Type_copy_impl()
|
D | sha512module.c | 479 SHAobject *newobj; in SHA512Type_copy_impl() local 482 if ( (newobj = newSHA512object())==NULL) in SHA512Type_copy_impl() 485 if ( (newobj = newSHA384object())==NULL) in SHA512Type_copy_impl() 489 SHAcopy(self, newobj); in SHA512Type_copy_impl() 490 return (PyObject *)newobj; in SHA512Type_copy_impl()
|
D | _json.c | 1462 PyObject *newobj; in encoder_listencode_obj() local 1523 newobj = PyObject_CallFunctionObjArgs(s->defaultfn, obj, NULL); in encoder_listencode_obj() 1524 if (newobj == NULL) { in encoder_listencode_obj() 1530 Py_DECREF(newobj); in encoder_listencode_obj() 1534 rv = encoder_listencode_obj(s, acc, newobj, indent_level); in encoder_listencode_obj() 1537 Py_DECREF(newobj); in encoder_listencode_obj()
|
/external/python/cpython2/Objects/ |
D | stringobject.c | 1994 PyObject *newobj; in string_lower() local 1996 newobj = PyString_FromStringAndSize(NULL, n); in string_lower() 1997 if (!newobj) in string_lower() 2000 s = PyString_AS_STRING(newobj); in string_lower() 2010 return newobj; in string_lower() 2027 PyObject *newobj; in string_upper() local 2029 newobj = PyString_FromStringAndSize(NULL, n); in string_upper() 2030 if (!newobj) in string_upper() 2033 s = PyString_AS_STRING(newobj); in string_upper() 2043 return newobj; in string_upper() [all …]
|
D | tupleobject.c | 661 PyObject *tmp, *newobj, *item; in tuple_subtype_new() local 669 newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp)); in tuple_subtype_new() 670 if (newobj == NULL) in tuple_subtype_new() 675 PyTuple_SET_ITEM(newobj, i, item); in tuple_subtype_new() 678 return newobj; in tuple_subtype_new()
|
D | intobject.c | 1120 PyObject *tmp, *newobj; in int_subtype_new() local 1137 newobj = type->tp_alloc(type, 0); in int_subtype_new() 1138 if (newobj == NULL) { in int_subtype_new() 1142 ((PyIntObject *)newobj)->ob_ival = ival; in int_subtype_new() 1144 return newobj; in int_subtype_new()
|
/external/v8/src/runtime/ |
D | runtime-atomics.cc | 191 Handle<Object> oldobj, Handle<Object> newobj) { in DoCompareExchange() argument 193 T newval = FromObject<T>(newobj); in DoCompareExchange() 284 CONVERT_NUMBER_ARG_HANDLE_CHECKED(newobj, 3); in RUNTIME_FUNCTION() 294 return DoCompareExchange<ctype>(isolate, source, index, oldobj, newobj); in RUNTIME_FUNCTION()
|
/external/python/cpython2/Modules/ |
D | shamodule.c | 363 SHAobject *newobj; in SHA_copy() local 365 if ( (newobj = newSHAobject())==NULL) in SHA_copy() 368 SHAcopy(self, newobj); in SHA_copy() 369 return (PyObject *)newobj; in SHA_copy()
|
D | _hashopenssl.c | 202 EVPobject *newobj; in EVP_copy() local 204 if ( (newobj = newEVPobject(self->name))==NULL) in EVP_copy() 207 if (!locked_EVP_MD_CTX_copy(newobj->ctx, self)) { in EVP_copy() 210 return (PyObject *)newobj; in EVP_copy()
|
D | sha256module.c | 410 SHAobject *newobj; in SHA256_copy() local 413 if ( (newobj = newSHA256object())==NULL) in SHA256_copy() 416 if ( (newobj = newSHA224object())==NULL) in SHA256_copy() 420 SHAcopy(self, newobj); in SHA256_copy() 421 return (PyObject *)newobj; in SHA256_copy()
|
D | sha512module.c | 476 SHAobject *newobj; in SHA512_copy() local 479 if ( (newobj = newSHA512object())==NULL) in SHA512_copy() 482 if ( (newobj = newSHA384object())==NULL) in SHA512_copy() 486 SHAcopy(self, newobj); in SHA512_copy() 487 return (PyObject *)newobj; in SHA512_copy()
|
D | operator.c | 669 PyObject *newobj, *str; in dotted_getattr() local 677 newobj = PyObject_GetAttr(obj, str); in dotted_getattr() 680 if (newobj == NULL) in dotted_getattr() 682 obj = newobj; in dotted_getattr()
|
/external/python/cpython3/Objects/ |
D | tupleobject.c | 690 PyObject *tmp, *newobj, *item; in tuple_subtype_new() local 698 newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp)); in tuple_subtype_new() 699 if (newobj == NULL) in tuple_subtype_new() 704 PyTuple_SET_ITEM(newobj, i, item); in tuple_subtype_new() 707 return newobj; in tuple_subtype_new()
|
D | typeobject.c | 4394 PyObject *newobj, *newargs, *state, *listitems, *dictitems; in reduce_newobj() local 4420 newobj = _PyObject_GetAttrId(copyreg, &PyId___newobj__); in reduce_newobj() 4422 if (newobj == NULL) { in reduce_newobj() 4430 Py_DECREF(newobj); in reduce_newobj() 4446 newobj = _PyObject_GetAttrId(copyreg, &PyId___newobj_ex__); in reduce_newobj() 4448 if (newobj == NULL) { in reduce_newobj() 4457 Py_DECREF(newobj); in reduce_newobj() 4471 Py_DECREF(newobj); in reduce_newobj() 4476 Py_DECREF(newobj); in reduce_newobj() 4482 result = PyTuple_Pack(5, newobj, newargs, state, listitems, dictitems); in reduce_newobj() [all …]
|
D | floatobject.c | 1639 PyObject *tmp, *newobj; in float_subtype_new() local 1646 newobj = type->tp_alloc(type, 0); in float_subtype_new() 1647 if (newobj == NULL) { in float_subtype_new() 1651 ((PyFloatObject *)newobj)->ob_fval = ((PyFloatObject *)tmp)->ob_fval; in float_subtype_new() 1653 return newobj; in float_subtype_new()
|
/external/python/cpython2/Lib/plat-mac/ |
D | aepack.py | 356 newobj = mkobject(dict) 359 newobj.__class__ = classtype 360 return newobj
|