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

12345678910

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dboolobject.h17 Don't forget to apply Py_INCREF() when returning either!!! */
27 #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True
28 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
H A Dpy_curses.h156 Py_INCREF(Py_False); \
159 Py_INCREF(Py_True); \
167 Py_INCREF(Py_None); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dboolobject.h17 Don't forget to apply Py_INCREF() when returning either!!! */
27 #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True
28 #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
H A Dpy_curses.h156 Py_INCREF(Py_False); \
159 Py_INCREF(Py_True); \
167 Py_INCREF(Py_None); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
H A Dpartition.h36 Py_INCREF(str_obj);
38 Py_INCREF(STRINGLIB_EMPTY);
40 Py_INCREF(STRINGLIB_EMPTY);
47 Py_INCREF(sep_obj);
86 Py_INCREF(STRINGLIB_EMPTY);
88 Py_INCREF(STRINGLIB_EMPTY);
90 Py_INCREF(str_obj);
97 Py_INCREF(sep_obj);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
H A Dpartition.h36 Py_INCREF(str_obj);
38 Py_INCREF(STRINGLIB_EMPTY);
40 Py_INCREF(STRINGLIB_EMPTY);
47 Py_INCREF(sep_obj);
86 Py_INCREF(STRINGLIB_EMPTY);
88 Py_INCREF(STRINGLIB_EMPTY);
90 Py_INCREF(str_obj);
97 Py_INCREF(sep_obj);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A D_weakref.c48 Py_INCREF(current);
99 Py_INCREF(&_PyWeakref_RefType);
102 Py_INCREF(&_PyWeakref_RefType);
105 Py_INCREF(&_PyWeakref_ProxyType);
108 Py_INCREF(&_PyWeakref_CallableProxyType);
H A Dxxsubtype.c42 Py_INCREF(Py_None);
56 Py_INCREF(self);
58 Py_INCREF(args);
60 Py_INCREF(kw);
167 Py_INCREF(Py_None);
288 Py_INCREF(&spamlist_type);
293 Py_INCREF(&spamdict_type);
H A D_functoolsmodule.c22 Py_INCREF(result);
128 Py_INCREF(func);
173 Py_INCREF(args);
176 Py_INCREF(pto->args);
240 Py_INCREF(pto->dict);
262 Py_INCREF(value);
304 Py_INCREF(dict);
308 Py_INCREF(fn);
309 Py_INCREF(fnargs);
310 Py_INCREF(k
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A D_weakref.c48 Py_INCREF(current);
99 Py_INCREF(&_PyWeakref_RefType);
102 Py_INCREF(&_PyWeakref_RefType);
105 Py_INCREF(&_PyWeakref_ProxyType);
108 Py_INCREF(&_PyWeakref_CallableProxyType);
H A Dtimingmodule.c13 Py_INCREF(Py_None);
22 Py_INCREF(Py_None);
H A Dxxsubtype.c42 Py_INCREF(Py_None);
56 Py_INCREF(self);
58 Py_INCREF(args);
60 Py_INCREF(kw);
167 Py_INCREF(Py_None);
288 Py_INCREF(&spamlist_type);
293 Py_INCREF(&spamdict_type);
H A Dxxmodule.c55 Py_INCREF(Py_None);
71 Py_INCREF(v);
189 /* Py_INCREF(item); */
195 Py_INCREF(Py_None);
208 Py_INCREF(Py_None);
266 Py_INCREF(Py_NotImplemented);
367 Py_INCREF(ErrorObject);
H A D_functoolsmodule.c22 Py_INCREF(result);
128 Py_INCREF(func);
143 Py_INCREF(Py_None);
177 Py_INCREF(args);
180 Py_INCREF(pto->args);
244 Py_INCREF(pto->dict);
266 Py_INCREF(value);
308 Py_INCREF(dict);
312 Py_INCREF(fn);
313 Py_INCREF(fnarg
[all...]
H A D_heapqmodule.c49 Py_INCREF(newitem);
62 Py_INCREF(parent);
87 Py_INCREF(newitem);
107 Py_INCREF(tmp);
139 Py_INCREF(Py_None);
165 Py_INCREF(lastelt);
202 Py_INCREF(item);
236 Py_INCREF(item);
244 Py_INCREF(item);
249 Py_INCREF(ite
[all...]
H A 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);
155 Py_INCREF(memo); PyTuple_SET_ITEM(args, 1, (PyObject*) memo);
180 Py_INCREF(result);
271 Py_INCREF(attrib);
325 Py_INCREF(tag);
328 Py_INCREF(Py_None);
331 Py_INCREF(Py_None);
398 Py_INCREF(element);
484 Py_INCREF(Py_Non
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dfuncobject.c20 Py_INCREF(code);
22 Py_INCREF(globals);
25 Py_INCREF(op->func_name);
36 Py_INCREF(doc);
53 Py_INCREF(module);
113 Py_INCREF(defaults);
144 Py_INCREF(closure);
196 Py_INCREF(op->func_dict);
220 Py_INCREF(value);
231 Py_INCREF(o
[all...]
H A Dexceptions.c63 Py_INCREF(self->args);
68 Py_INCREF(self->message);
268 Py_INCREF(self->dict);
284 Py_INCREF(val);
293 Py_INCREF(Py_None);
296 Py_INCREF(self->args);
324 Py_INCREF(msg);
339 Py_INCREF(self->message);
529 Py_INCREF(self->code);
614 Py_INCREF(sel
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dfuncobject.c20 Py_INCREF(code);
22 Py_INCREF(globals);
25 Py_INCREF(op->func_name);
36 Py_INCREF(doc);
53 Py_INCREF(module);
113 Py_INCREF(defaults);
144 Py_INCREF(closure);
196 Py_INCREF(op->func_dict);
220 Py_INCREF(value);
231 Py_INCREF(o
[all...]
H A Dexceptions.c63 Py_INCREF(self->args);
68 Py_INCREF(self->message);
268 Py_INCREF(self->dict);
284 Py_INCREF(val);
293 Py_INCREF(Py_None);
296 Py_INCREF(self->args);
323 Py_INCREF(msg);
338 Py_INCREF(self->message);
529 Py_INCREF(self->code);
614 Py_INCREF(sel
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
H A Dmodule.c105 Py_INCREF(result);
134 Py_INCREF(Py_None);
167 Py_INCREF(Py_None);
197 Py_INCREF(Py_None);
215 Py_INCREF(Py_None);
322 Py_INCREF(&pysqlite_ConnectionType);
324 Py_INCREF(&pysqlite_CursorType);
326 Py_INCREF(&pysqlite_CacheType);
328 Py_INCREF(&pysqlite_StatementType);
330 Py_INCREF(
[all...]
H A Drow.c58 Py_INCREF(data);
61 Py_INCREF(cursor->description);
119 Py_INCREF(item);
180 Py_INCREF(Py_NotImplemented);
192 Py_INCREF(Py_NotImplemented);
H A Dcache.c38 Py_INCREF(key);
41 Py_INCREF(data);
82 Py_INCREF(factory);
211 Py_INCREF(node->data);
232 Py_INCREF(prevkey);
239 Py_INCREF(nextkey);
265 Py_INCREF(Py_None);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dimportdl.c29 Py_INCREF(m);
74 Py_INCREF(m);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dimportdl.c29 Py_INCREF(m);
74 Py_INCREF(m);

Completed in 4543 milliseconds

12345678910