Home
last modified time | relevance | path

Searched refs:Py_INCREF (Results 1 – 25 of 230) sorted by relevance

12345678910

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dpartition.h36 Py_INCREF(str_obj); in stringlib_partition()
38 Py_INCREF(STRINGLIB_EMPTY); in stringlib_partition()
40 Py_INCREF(STRINGLIB_EMPTY); in stringlib_partition()
47 Py_INCREF(sep_obj); in stringlib_partition()
86 Py_INCREF(STRINGLIB_EMPTY); in stringlib_rpartition()
88 Py_INCREF(STRINGLIB_EMPTY); in stringlib_rpartition()
90 Py_INCREF(str_obj); in stringlib_rpartition()
97 Py_INCREF(sep_obj); in stringlib_rpartition()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dpartition.h36 Py_INCREF(str_obj); in stringlib_partition()
38 Py_INCREF(STRINGLIB_EMPTY); in stringlib_partition()
40 Py_INCREF(STRINGLIB_EMPTY); in stringlib_partition()
47 Py_INCREF(sep_obj); in stringlib_partition()
86 Py_INCREF(STRINGLIB_EMPTY); in stringlib_rpartition()
88 Py_INCREF(STRINGLIB_EMPTY); in stringlib_rpartition()
90 Py_INCREF(str_obj); in stringlib_rpartition()
97 Py_INCREF(sep_obj); in stringlib_rpartition()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfuncobject.c20 Py_INCREF(code); in PyFunction_New()
22 Py_INCREF(globals); in PyFunction_New()
25 Py_INCREF(op->func_name); in PyFunction_New()
36 Py_INCREF(doc); in PyFunction_New()
53 Py_INCREF(module); in PyFunction_New()
113 Py_INCREF(defaults); in PyFunction_SetDefaults()
144 Py_INCREF(closure); in PyFunction_SetClosure()
196 Py_INCREF(op->func_dict); in func_get_dict()
220 Py_INCREF(value); in func_set_dict()
231 Py_INCREF(op->func_code); in func_get_code()
[all …]
Dexceptions.c63 Py_INCREF(self->args); in BaseException_init()
68 Py_INCREF(self->message); in BaseException_init()
268 Py_INCREF(self->dict); in BaseException_get_dict()
284 Py_INCREF(val); in BaseException_set_dict()
293 Py_INCREF(Py_None); in BaseException_get_args()
296 Py_INCREF(self->args); in BaseException_get_args()
324 Py_INCREF(msg); in BaseException_get_message()
339 Py_INCREF(self->message); in BaseException_get_message()
529 Py_INCREF(self->code); in SystemExit_init()
614 Py_INCREF(self->myerrno); in EnvironmentError_init()
[all …]
Dtupleobject.c60 Py_INCREF(op); in PyTuple_New()
100 Py_INCREF(op); /* extra INCREF so that this is never freed */ in PyTuple_New()
202 Py_INCREF(o); in PyTuple_Pack()
389 Py_INCREF(a->ob_item[i]); in tupleitem()
408 Py_INCREF(a); in tupleslice()
419 Py_INCREF(v); in tupleslice()
460 Py_INCREF(v); in tupleconcat()
467 Py_INCREF(v); in tupleconcat()
487 Py_INCREF(a); in tuplerepeat()
504 Py_INCREF(*p); in tuplerepeat()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dfuncobject.c20 Py_INCREF(code); in PyFunction_New()
22 Py_INCREF(globals); in PyFunction_New()
25 Py_INCREF(op->func_name); in PyFunction_New()
36 Py_INCREF(doc); in PyFunction_New()
53 Py_INCREF(module); in PyFunction_New()
113 Py_INCREF(defaults); in PyFunction_SetDefaults()
144 Py_INCREF(closure); in PyFunction_SetClosure()
196 Py_INCREF(op->func_dict); in func_get_dict()
220 Py_INCREF(value); in func_set_dict()
231 Py_INCREF(op->func_code); in func_get_code()
[all …]
Dexceptions.c63 Py_INCREF(self->args); in BaseException_init()
68 Py_INCREF(self->message); in BaseException_init()
268 Py_INCREF(self->dict); in BaseException_get_dict()
284 Py_INCREF(val); in BaseException_set_dict()
293 Py_INCREF(Py_None); in BaseException_get_args()
296 Py_INCREF(self->args); in BaseException_get_args()
323 Py_INCREF(msg); in BaseException_get_message()
338 Py_INCREF(self->message); in BaseException_get_message()
529 Py_INCREF(self->code); in SystemExit_init()
614 Py_INCREF(self->myerrno); in EnvironmentError_init()
[all …]
Dtupleobject.c60 Py_INCREF(op); in PyTuple_New()
100 Py_INCREF(op); /* extra INCREF so that this is never freed */ in PyTuple_New()
200 Py_INCREF(o); in PyTuple_Pack()
387 Py_INCREF(a->ob_item[i]); in tupleitem()
406 Py_INCREF(a); in tupleslice()
417 Py_INCREF(v); in tupleslice()
458 Py_INCREF(v); in tupleconcat()
465 Py_INCREF(v); in tupleconcat()
485 Py_INCREF(a); in tuplerepeat()
502 Py_INCREF(*p); in tuplerepeat()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dmodule.c105 Py_INCREF(result); in module_complete()
134 Py_INCREF(Py_None); in module_enable_shared_cache()
167 Py_INCREF(Py_None); in module_register_adapter()
197 Py_INCREF(Py_None); in module_register_converter()
215 Py_INCREF(Py_None); in enable_callback_tracebacks()
322 Py_INCREF(&pysqlite_ConnectionType); in init_sqlite3()
324 Py_INCREF(&pysqlite_CursorType); in init_sqlite3()
326 Py_INCREF(&pysqlite_CacheType); in init_sqlite3()
328 Py_INCREF(&pysqlite_StatementType); in init_sqlite3()
330 Py_INCREF(&pysqlite_PrepareProtocolType); in init_sqlite3()
[all …]
Dcursor.c88 Py_INCREF(connection); in pysqlite_cursor_init()
99 Py_INCREF(Py_None); in pysqlite_cursor_init()
102 Py_INCREF(Py_None); in pysqlite_cursor_init()
111 Py_INCREF(Py_None); in pysqlite_cursor_init()
257 Py_INCREF(Py_None); in _pysqlite_build_column_name()
347 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
365 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
416 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
494 Py_INCREF(second_argument); in _pysqlite_query_execute()
525 Py_INCREF(second_argument); in _pysqlite_query_execute()
[all …]
Dcache.c38 Py_INCREF(key); in pysqlite_new_node()
41 Py_INCREF(data); in pysqlite_new_node()
82 Py_INCREF(factory); in pysqlite_cache_init()
211 Py_INCREF(node->data); in pysqlite_cache_get()
232 Py_INCREF(prevkey); in pysqlite_cache_display()
239 Py_INCREF(nextkey); in pysqlite_cache_display()
265 Py_INCREF(Py_None); in pysqlite_cache_display()
Dconnection.c91 Py_INCREF(Py_None); in pysqlite_connection_init()
94 Py_INCREF(&PyUnicode_Type); in pysqlite_connection_init()
100 Py_INCREF(database_utf8); in pysqlite_connection_init()
131 Py_INCREF(database); in pysqlite_connection_init()
152 Py_INCREF(isolation_level); in pysqlite_connection_init()
347 Py_INCREF(self->row_factory); in pysqlite_connection_cursor()
386 Py_INCREF(Py_None); in pysqlite_connection_close()
444 Py_INCREF(Py_None); in _pysqlite_connection_begin()
490 Py_INCREF(Py_None); in pysqlite_connection_commit()
536 Py_INCREF(Py_None); in pysqlite_connection_rollback()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_functoolsmodule.c22 Py_INCREF(result); in functools_reduce()
128 Py_INCREF(func); in partial_new()
143 Py_INCREF(Py_None); in partial_new()
177 Py_INCREF(args); in partial_call()
180 Py_INCREF(pto->args); in partial_call()
244 Py_INCREF(pto->dict); in partial_get_dict()
266 Py_INCREF(value); in partial_set_dict()
308 Py_INCREF(dict); in partial_setstate()
312 Py_INCREF(fn); in partial_setstate()
313 Py_INCREF(fnargs); in partial_setstate()
[all …]
D_weakref.c48 Py_INCREF(current); in weakref_getweakrefs()
99 Py_INCREF(&_PyWeakref_RefType); in init_weakref()
102 Py_INCREF(&_PyWeakref_RefType); in init_weakref()
105 Py_INCREF(&_PyWeakref_ProxyType); in init_weakref()
108 Py_INCREF(&_PyWeakref_CallableProxyType); in init_weakref()
Dxxsubtype.c42 Py_INCREF(Py_None); in spamlist_setstate()
56 Py_INCREF(self); in spamlist_specialmeth()
58 Py_INCREF(args); in spamlist_specialmeth()
60 Py_INCREF(kw); in spamlist_specialmeth()
167 Py_INCREF(Py_None); in spamdict_setstate()
288 Py_INCREF(&spamlist_type); in initxxsubtype()
293 Py_INCREF(&spamdict_type); in initxxsubtype()
D_heapqmodule.c49 Py_INCREF(newitem); in _siftdown()
62 Py_INCREF(parent); in _siftdown()
87 Py_INCREF(newitem); in _siftup()
107 Py_INCREF(tmp); in _siftup()
139 Py_INCREF(Py_None); in heappush()
165 Py_INCREF(lastelt); in heappop()
202 Py_INCREF(item); in heapreplace()
236 Py_INCREF(item); in heappushpop()
244 Py_INCREF(item); in heappushpop()
249 Py_INCREF(item); in heappushpop()
[all …]
D_elementtree.c112 #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
154 Py_INCREF(object); PyTuple_SET_ITEM(args, 0, (PyObject*) object); in deepcopy()
155 Py_INCREF(memo); PyTuple_SET_ITEM(args, 1, (PyObject*) memo); in deepcopy()
180 Py_INCREF(result); in list_join()
271 Py_INCREF(attrib); in element_new_extra()
325 Py_INCREF(tag); in element_new()
328 Py_INCREF(Py_None); in element_new()
331 Py_INCREF(Py_None); in element_new()
398 Py_INCREF(element); in element_add_subelement()
484 Py_INCREF(Py_None); in element()
[all …]
Dxxmodule.c55 Py_INCREF(Py_None); in Xxo_demo()
71 Py_INCREF(v); in Xxo_getattr()
195 Py_INCREF(Py_None); in xx_bug()
208 Py_INCREF(Py_None); in xx_roj()
266 Py_INCREF(Py_NotImplemented); in null_richcompare()
367 Py_INCREF(ErrorObject); in initxx()
Dflmodule.c61 Py_INCREF(g); in knowgeneric()
164 Py_INCREF(g->ob_callback); in generic_set_call_back()
166 Py_INCREF(g->ob_callback_arg); in generic_set_call_back()
168 Py_INCREF(Py_None); in generic_set_call_back()
176 Py_INCREF(Py_None); in generic_call()
247 Py_INCREF(Py_None); in generic_set_object_shortcut()
418 Py_INCREF(Py_None); in call_forms_INf()
432 Py_INCREF(Py_None); in call_forms_INfINf()
446 Py_INCREF(Py_None); in call_forms_INi()
460 Py_INCREF(Py_None); in call_forms_INc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_weakref.c48 Py_INCREF(current); in weakref_getweakrefs()
99 Py_INCREF(&_PyWeakref_RefType); in init_weakref()
102 Py_INCREF(&_PyWeakref_RefType); in init_weakref()
105 Py_INCREF(&_PyWeakref_ProxyType); in init_weakref()
108 Py_INCREF(&_PyWeakref_CallableProxyType); in init_weakref()
Dxxsubtype.c42 Py_INCREF(Py_None); in spamlist_setstate()
56 Py_INCREF(self); in spamlist_specialmeth()
58 Py_INCREF(args); in spamlist_specialmeth()
60 Py_INCREF(kw); in spamlist_specialmeth()
167 Py_INCREF(Py_None); in spamdict_setstate()
288 Py_INCREF(&spamlist_type); in initxxsubtype()
293 Py_INCREF(&spamdict_type); in initxxsubtype()
D_functoolsmodule.c22 Py_INCREF(result); in functools_reduce()
128 Py_INCREF(func); in partial_new()
173 Py_INCREF(args); in partial_call()
176 Py_INCREF(pto->args); in partial_call()
240 Py_INCREF(pto->dict); in partial_get_dict()
262 Py_INCREF(value); in partial_set_dict()
304 Py_INCREF(dict); in partial_setstate()
308 Py_INCREF(fn); in partial_setstate()
309 Py_INCREF(fnargs); in partial_setstate()
310 Py_INCREF(kw); in partial_setstate()
[all …]
D_heapqmodule.c138 Py_INCREF(Py_None); in heappush()
164 Py_INCREF(lastelt); in heappop()
201 Py_INCREF(item); in heapreplace()
235 Py_INCREF(item); in heappushpop()
243 Py_INCREF(item); in heappushpop()
248 Py_INCREF(item); in heappushpop()
283 Py_INCREF(Py_None); in heapify()
387 Py_INCREF(newitem); in _siftdownmax()
400 Py_INCREF(parent); in _siftdownmax()
425 Py_INCREF(newitem); in _siftupmax()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dboolobject.h27 #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True
28 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dboolobject.h27 #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True
28 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False

12345678910