Home
last modified time | relevance | path

Searched refs:newobj (Results 1 - 25 of 30) sorted by relevance

12

/third_party/python/Objects/stringlib/
H A Dctype.h61 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()
85 PyObject* newobj; stringlib_title() local
97 PyObject* newobj; stringlib_capitalize() local
109 PyObject* newobj; stringlib_swapcase() local
[all...]
H A Dunicode_format.h149 PyObject *newobj; in getattr() local
153 newobj = PyObject_GetAttr(obj, str); in getattr()
155 return newobj; in getattr()
169 PyObject *newobj; in getitem_idx() local
173 newobj = PyObject_GetItem(obj, idx_obj); in getitem_idx()
175 return newobj; in getitem_idx()
182 PyObject *newobj; in getitem_str() local
186 newobj = PyObject_GetItem(obj, str); in getitem_str()
188 return newobj; in getitem_str()
/third_party/python/Modules/_sha3/
H A Dsha3module.c83 SHA3object *newobj; in newSHA3object() local
84 newobj = (SHA3object *)PyObject_New(SHA3object, type); in newSHA3object()
85 if (newobj == NULL) { in newSHA3object()
88 newobj->lock = NULL; in newSHA3object()
89 return newobj; in newSHA3object()
202 SHA3object *newobj; in _sha3_sha3_224_copy_impl() local
204 if ((newobj = newSHA3object(Py_TYPE(self))) == NULL) { in _sha3_sha3_224_copy_impl()
208 SHA3_copystate(newobj->hash_state, self->hash_state); in _sha3_sha3_224_copy_impl()
210 return (PyObject *)newobj; in _sha3_sha3_224_copy_impl()
/third_party/PyYAML/lib/yaml/
H A Dconstructor.py580 args=None, kwds=None, newobj=False, unsafe=False):
590 if newobj and isinstance(cls, type):
617 instance = self.make_python_instance(suffix, node, newobj=True)
623 def construct_python_object_apply(self, suffix, node, newobj=False):
648 instance = self.make_python_instance(suffix, node, args, kwds, newobj)
659 return self.construct_python_object_apply(suffix, node, newobj=True)
721 def make_python_instance(self, suffix, node, args=None, kwds=None, newobj=False):
723 suffix, node, args, kwds, newobj, unsafe=True)
H A Drepresenter.py335 newobj = True
338 newobj = False
341 and isinstance(state, dict) and newobj:
/third_party/python/Objects/
H A Dtupleobject.c736 PyObject *tmp, *newobj, *item; in tuple_subtype_new() local
748 newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp)); in tuple_subtype_new()
749 if (newobj == NULL) { in tuple_subtype_new()
756 PyTuple_SET_ITEM(newobj, i, item); in tuple_subtype_new()
761 if (!_PyObject_GC_IS_TRACKED(newobj)) { in tuple_subtype_new()
762 _PyObject_GC_TRACK(newobj); in tuple_subtype_new()
764 return newobj; in tuple_subtype_new()
H A Dfloatobject.c1680 PyObject *tmp, *newobj; in float_subtype_new() local
1687 newobj = type->tp_alloc(type, 0); in float_subtype_new()
1688 if (newobj == NULL) { in float_subtype_new()
1692 ((PyFloatObject *)newobj)->ob_fval = ((PyFloatObject *)tmp)->ob_fval; in float_subtype_new()
1694 return newobj; in float_subtype_new()
H A Dtypeobject.c5273 PyObject *newobj, *newargs, *state, *listitems, *dictitems; in reduce_newobj() local
5298 newobj = PyObject_GetAttr(copyreg, &_Py_ID(__newobj__)); in reduce_newobj()
5300 if (newobj == NULL) { in reduce_newobj()
5308 Py_DECREF(newobj); in reduce_newobj()
5322 newobj = PyObject_GetAttr(copyreg, &_Py_ID(__newobj_ex__)); in reduce_newobj()
5324 if (newobj == NULL) { in reduce_newobj()
5333 Py_DECREF(newobj); in reduce_newobj()
5346 Py_DECREF(newobj); in reduce_newobj()
5351 Py_DECREF(newobj); in reduce_newobj()
5357 result = PyTuple_Pack(5, newobj, newarg in reduce_newobj()
8953 superobject *newobj; super_descr_get() local
[all...]
H A Dlongobject.c5407 PyLongObject *tmp, *newobj; in long_subtype_new() local
5423 newobj = (PyLongObject *)type->tp_alloc(type, n); in long_subtype_new()
5424 if (newobj == NULL) { in long_subtype_new()
5428 assert(PyLong_Check(newobj)); in long_subtype_new()
5429 Py_SET_SIZE(newobj, Py_SIZE(tmp)); in long_subtype_new()
5431 newobj->ob_digit[i] = tmp->ob_digit[i]; in long_subtype_new()
5434 return (PyObject *)newobj; in long_subtype_new()
/third_party/python/Modules/
H A Dsha1module.c356 SHA1object *newobj; in SHA1Type_copy_impl() local
357 if ((newobj = newSHA1object(st)) == NULL) in SHA1Type_copy_impl()
360 newobj->hash_state = self->hash_state; in SHA1Type_copy_impl()
361 return (PyObject *)newobj; in SHA1Type_copy_impl()
H A Dmd5module.c378 MD5object *newobj; in MD5Type_copy_impl() local
379 if ((newobj = newMD5object(st))==NULL) in MD5Type_copy_impl()
382 newobj->hash_state = self->hash_state; in MD5Type_copy_impl()
383 return (PyObject *)newobj; in MD5Type_copy_impl()
H A D_operator.c1352 PyObject *newobj; in dotted_getattr() local
1364 newobj = PyObject_GetAttr(obj, attr_name); in dotted_getattr()
1366 if (newobj == NULL) { in dotted_getattr()
1370 obj = newobj; in dotted_getattr()
1373 newobj = PyObject_GetAttr(obj, attr); in dotted_getattr()
1374 if (newobj == NULL) in dotted_getattr()
1376 obj = newobj; in dotted_getattr()
H A Dsha256module.c435 SHAobject *newobj; in SHA256Type_copy_impl() local
438 if ( (newobj = newSHA256object(state)) == NULL) { in SHA256Type_copy_impl()
442 if ( (newobj = newSHA224object(state))==NULL) { in SHA256Type_copy_impl()
447 SHAcopy(self, newobj); in SHA256Type_copy_impl()
448 return (PyObject *)newobj; in SHA256Type_copy_impl()
H A D_hashopenssl.c486 EVPobject *newobj; in EVP_copy_impl() local
488 if ((newobj = newEVPobject(Py_TYPE(self))) == NULL) in EVP_copy_impl()
491 if (!locked_EVP_MD_CTX_copy(newobj->ctx, self)) { in EVP_copy_impl()
492 Py_DECREF(newobj); in EVP_copy_impl()
495 return (PyObject *)newobj; in EVP_copy_impl()
H A Dsha512module.c489 SHAobject *newobj; in SHA512Type_copy_impl() local
493 if ( (newobj = newSHA512object(st))==NULL) { in SHA512Type_copy_impl()
498 if ( (newobj = newSHA384object(st))==NULL) { in SHA512Type_copy_impl()
503 SHAcopy(self, newobj); in SHA512Type_copy_impl()
504 return (PyObject *)newobj; in SHA512Type_copy_impl()
H A D_json.c1405 PyObject *newobj; in encoder_listencode_obj() local
1466 newobj = PyObject_CallOneArg(s->defaultfn, obj); in encoder_listencode_obj()
1467 if (newobj == NULL) { in encoder_listencode_obj()
1473 Py_DECREF(newobj); in encoder_listencode_obj()
1477 rv = encoder_listencode_obj(s, acc, newobj, indent_level); in encoder_listencode_obj()
1480 Py_DECREF(newobj); in encoder_listencode_obj()
/third_party/node/deps/npm/node_modules/read-package-json/lib/
H A Dread-json.js74 var newobj = {}
76 newobj[kk] = jsonClone(obj[kk])
78 return newobj
/third_party/skia/third_party/externals/libwebp/swig/
H A Dlibwebp_python_wrap.c2631 SwigPyObject *newobj; in SWIG_Python_NewPointerObj() local
2633 newobj = (SwigPyObject*) self; in SWIG_Python_NewPointerObj()
2634 if (newobj->ptr) { in SWIG_Python_NewPointerObj()
2636 while (newobj->next) in SWIG_Python_NewPointerObj()
2637 newobj = (SwigPyObject *) newobj->next; in SWIG_Python_NewPointerObj()
2638 newobj->next = next_self; in SWIG_Python_NewPointerObj()
2639 newobj = (SwigPyObject *)next_self; in SWIG_Python_NewPointerObj()
2641 newobj->dict = 0; in SWIG_Python_NewPointerObj()
2645 newobj in SWIG_Python_NewPointerObj()
[all...]
/third_party/node/deps/openssl/openssl/
H A DConfigure2667 my $newobj =
2672 $unified_info{$dst}->{$prod}->{$newobj} = 1;
2674 $unified_info{sources}->{$newobj}->{$src} = 1;
2679 $attrs->{$prod}->{$newobj} =
2684 $attrs->{$newobj}->{$objsrc} =
2692 $unified_info{depends}->{$newobj}->{$deps} = 1;
2699 $unified_info{includes}->{$newobj}->{$k} = [ @incs ];
/third_party/openssl/
H A DConfigure2662 my $newobj =
2667 $unified_info{$dst}->{$prod}->{$newobj} = 1;
2669 $unified_info{sources}->{$newobj}->{$src} = 1;
2674 $attrs->{$prod}->{$newobj} =
2679 $attrs->{$newobj}->{$objsrc} =
2687 $unified_info{depends}->{$newobj}->{$deps} = 1;
2694 $unified_info{includes}->{$newobj}->{$k} = [ @incs ];
/third_party/node/deps/v8/src/runtime/
H A Druntime-atomics.cc312 Handle<Object> oldobj, Handle<Object> newobj) { in DoCompareExchange()
314 T newval = FromObject<T>(newobj); in DoCompareExchange()
311 DoCompareExchange(Isolate* isolate, void* buffer, size_t index, Handle<Object> oldobj, Handle<Object> newobj) DoCompareExchange() argument
/third_party/libabigail/
H A Dltmain.sh9136 newobj=lt$counter-$objbase
9140 *[\ /]"$newobj "*) ;;
9141 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
9144 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
9145 func_append oldobjs " $gentop/$newobj"
/third_party/skia/third_party/externals/microhttpd/
H A 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"
/third_party/eudev/
H A Dltmain.sh10702 newobj=lt$counter-$objbase
10706 *[\ /]"$newobj "*) ;;
10707 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
10710 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
10711 func_append oldobjs " $gentop/$newobj"
/third_party/curl/
H A Dltmain.sh10937 newobj=lt$counter-$objbase
10941 *[\ /]"$newobj "*) ;;
10942 *) if test ! -f "$gentop/$newobj"; then break; fi ;;
10945 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
10946 func_append oldobjs " $gentop/$newobj"

Completed in 89 milliseconds

12