Home
last modified time | relevance | path

Searched refs:newobj (Results 1 – 25 of 44) sorted by relevance

12

/external/python/cpython2/Objects/stringlib/
Dctype.h54 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 …]
Dstring_format.h234 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/v8/src/runtime/
Druntime-atomics.cc192 Handle<Object> oldobj, Handle<Object> newobj) { in DoCompareExchange() argument
194 T newval = FromObject<T>(newobj); in DoCompareExchange()
267 Handle<Object> newobj) { in DoCompareExchangeUint8Clamped() argument
270 uint8_t newval = ClampToUint8(FromObject<convert_type>(newobj)); in DoCompareExchangeUint8Clamped()
356 CONVERT_NUMBER_ARG_HANDLE_CHECKED(newobj, 3); in RUNTIME_FUNCTION()
366 return DoCompareExchange<ctype>(isolate, source, index, oldobj, newobj); in RUNTIME_FUNCTION()
373 newobj); in RUNTIME_FUNCTION()
/external/python/cpython2/Objects/
Dstringobject.c1988 PyObject *newobj; in string_lower() local
1990 newobj = PyString_FromStringAndSize(NULL, n); in string_lower()
1991 if (!newobj) in string_lower()
1994 s = PyString_AS_STRING(newobj); in string_lower()
2004 return newobj; in string_lower()
2021 PyObject *newobj; in string_upper() local
2023 newobj = PyString_FromStringAndSize(NULL, n); in string_upper()
2024 if (!newobj) in string_upper()
2027 s = PyString_AS_STRING(newobj); in string_upper()
2037 return newobj; in string_upper()
[all …]
Dtupleobject.c664 PyObject *tmp, *newobj, *item; in tuple_subtype_new() local
672 newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp)); in tuple_subtype_new()
673 if (newobj == NULL) in tuple_subtype_new()
678 PyTuple_SET_ITEM(newobj, i, item); in tuple_subtype_new()
681 return newobj; in tuple_subtype_new()
Dintobject.c1117 PyObject *tmp, *newobj; in int_subtype_new() local
1134 newobj = type->tp_alloc(type, 0); in int_subtype_new()
1135 if (newobj == NULL) { in int_subtype_new()
1139 ((PyIntObject *)newobj)->ob_ival = ival; in int_subtype_new()
1141 return newobj; in int_subtype_new()
Dfloatobject.c1836 PyObject *tmp, *newobj; in float_subtype_new() local
1843 newobj = type->tp_alloc(type, 0); in float_subtype_new()
1844 if (newobj == NULL) { in float_subtype_new()
1848 ((PyFloatObject *)newobj)->ob_fval = ((PyFloatObject *)tmp)->ob_fval; in float_subtype_new()
1850 return newobj; in float_subtype_new()
Dtypeobject.c3277 PyObject *copyreg = NULL, *newobj = NULL, *res = NULL; in reduce_2() local
3396 newobj = PyObject_GetAttrString(copyreg, "__newobj__"); in reduce_2()
3397 if (newobj == NULL) in reduce_2()
3412 res = PyTuple_Pack(5, newobj, args2, state, listitems, dictitems); in reduce_2()
3424 Py_XDECREF(newobj); in reduce_2()
4258 PyObject *list, *ref, *newobj; local
4267 newobj = PyWeakref_NewRef((PyObject *)type, NULL);
4273 return PyList_SetItem(list, i, newobj);
4275 result = PyList_Append(list, newobj);
4276 Py_DECREF(newobj);
[all …]
Dlongobject.c4070 PyLongObject *tmp, *newobj; in long_subtype_new() local
4081 newobj = (PyLongObject *)type->tp_alloc(type, n); in long_subtype_new()
4082 if (newobj == NULL) { in long_subtype_new()
4086 assert(PyLong_Check(newobj)); in long_subtype_new()
4087 Py_SIZE(newobj) = Py_SIZE(tmp); in long_subtype_new()
4089 newobj->ob_digit[i] = tmp->ob_digit[i]; in long_subtype_new()
4091 return (PyObject *)newobj; in long_subtype_new()
/external/python/cpython2/Modules/
D_hashopenssl.c202 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()
Dshamodule.c363 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()
Dsha256module.c410 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()
Dsha512module.c476 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()
Doperator.c669 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()
D_json.c2013 PyObject *newobj; in encoder_listencode_obj() local
2074 newobj = PyObject_CallFunctionObjArgs(s->defaultfn, obj, NULL); in encoder_listencode_obj()
2075 if (newobj == NULL) { in encoder_listencode_obj()
2082 rv = encoder_listencode_obj(s, rval, newobj, indent_level); in encoder_listencode_obj()
2085 Py_DECREF(newobj); in encoder_listencode_obj()
/external/python/cpython2/Lib/plat-mac/
Daepack.py356 newobj = mkobject(dict)
359 newobj.__class__ = classtype
360 return newobj
/external/cmockery/cmockery_0_1_2/
Dlibtool5845 newobj=lt$counter-$objbase
5848 *[\ /]"$newobj "*) ;;
5849 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
5852 $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
5853 $run ln "$obj" "$gentop/$newobj" ||
5854 $run cp "$obj" "$gentop/$newobj"
5855 oldobjs="$oldobjs $gentop/$newobj"
Dltmain.sh5493 newobj=lt$counter-$objbase
5496 *[\ /]"$newobj "*) ;;
5497 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
5500 $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
5501 $run ln "$obj" "$gentop/$newobj" ||
5502 $run cp "$obj" "$gentop/$newobj"
5503 oldobjs="$oldobjs $gentop/$newobj"
/external/swiftshader/third_party/LLVM/autoconf/
Dltmain.sh5485 newobj=lt$counter-$objbase
5488 *[\ /]"$newobj "*) ;;
5489 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
5492 $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
5493 $run ln "$obj" "$gentop/$newobj" ||
5494 $run cp "$obj" "$gentop/$newobj"
5495 oldobjs="$oldobjs $gentop/$newobj"
/external/libnetfilter_conntrack/build-aux/
Dltmain.sh9162 newobj=lt$counter-$objbase
9166 *[\ /]"$newobj "*) ;;
9167 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
9170 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
9171 func_append oldobjs " $gentop/$newobj"
/external/vulkan-validation-layers/tests/gtest-1.7.0/build-aux/
Dltmain.sh9162 newobj=lt$counter-$objbase
9166 *[\ /]"$newobj "*) ;;
9167 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
9170 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
9171 func_append oldobjs " $gentop/$newobj"
/external/google-tv-pairing-protocol/cpp/
Dltmain.sh7952 newobj=lt$counter-$objbase
7956 *[\ /]"$newobj "*) ;;
7957 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
7960 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
7961 oldobjs="$oldobjs $gentop/$newobj"
Dlibtool8453 newobj=lt$counter-$objbase
8457 *[\ /]"$newobj "*) ;;
8458 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
8461 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
8462 oldobjs="$oldobjs $gentop/$newobj"
/external/libcap-ng/libcap-ng-0.7/
Dltmain.sh9156 newobj=lt$counter-$objbase
9160 *[\ /]"$newobj "*) ;;
9161 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
9164 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
9165 func_append oldobjs " $gentop/$newobj"
/external/libnetfilter_conntrack/
Dltmain.sh7952 newobj=lt$counter-$objbase
7956 *[\ /]"$newobj "*) ;;
7957 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
7960 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
7961 oldobjs="$oldobjs $gentop/$newobj"

12