Searched defs:op (Results 51 - 75 of 108) sorted by relevance

12345

/device/google/contexthub/firmware/os/core/
H A DnanohubCommand.c348 const char *op; local
353 op = "Removing";
357 op = "Adding";
360 __func__, op, keyId, ret);
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
H A Dlapi.c293 LUA_API void lua_arith (lua_State *L, int op) { argument
297 if (op != LUA_OPUNM) /* all other operations expect two operands */
307 setnvalue(o1, luaO_arith(op, nvalue(o1), nvalue(o2)));
310 luaV_arith(L, o1, o1, o2, cast(TMS, op - LUA_OPADD + TM_ADD));
316 LUA_API int lua_compare (lua_State *L, int index1, int index2, int op) { argument
323 switch (op) {
H A Dlparser.c987 static UnOpr getunopr (int op) { argument
988 switch (op) {
997 static BinOpr getbinopr (int op) { argument
998 switch (op) {
1038 BinOpr op; local
1050 op = getbinopr(ls->t.token);
1051 while (op != OPR_NOBINOPR && priority[op].left > limit) {
1056 luaK_infix(ls->fs, op, v);
1058 nextop = subexpr(ls, &v2, priority[op]
1129 OpCode op = (v->k == VLOCAL) ? OP_MOVE : OP_GETUPVAL; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
H A Dselectmodule.c711 #define pyepoll_CHECK(op) (PyObject_TypeCheck((op), &pyEpoll_Type))
849 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events) argument
863 switch(op) {
869 result = epoll_ctl(epfd, op, fd, &ev);
877 result = epoll_ctl(epfd, op, fd, &ev);
1177 #define kqueue_event_Check(op) (PyObject_TypeCheck((op), &kqueue_event_Type))
1186 #define kqueue_queue_Check(op) (PyObject_TypeCheck((op),
1272 kqueue_event_richcompare(kqueue_event_Object *s, kqueue_event_Object *o, int op) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A DPython-ast.h101 operator_ty op; member in struct:_stmt::__anon2603::__anon2609
197 boolop_ty op; member in struct:_expr::__anon2624::__anon2625
203 operator_ty op; member in struct:_expr::__anon2624::__anon2626
208 unaryop_ty op; member in struct:_expr::__anon2624::__anon2627
400 stmt_ty _Py_AugAssign(expr_ty target, operator_ty op, expr_ty value, int
450 expr_ty _Py_BoolOp(boolop_ty op, asdl_seq * values, int lineno, int col_offset,
453 expr_ty _Py_BinOp(expr_ty left, operator_ty op, expr_ty right, int lineno, int
456 expr_ty _Py_UnaryOp(unaryop_ty op, expr_ty operand, int lineno, int col_offset,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A Darraymodule.c41 #define array_Check(op) PyObject_TypeCheck(op, &Arraytype)
42 #define array_CheckExact(op) (Py_TYPE(op) == &Arraytype)
418 arrayobject *op; local
431 op = (arrayobject *) type->tp_alloc(type, 0);
432 if (op == NULL) {
435 op->ob_descr = descr;
436 op->allocated = size;
437 op
453 getarrayitem(PyObject *op, Py_ssize_t i) argument
495 array_dealloc(arrayobject *op) argument
505 array_richcompare(PyObject *v, PyObject *w, int op) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dbytearrayobject.c1004 bytearray_str(PyObject *op) argument
1012 return bytearray_repr((PyByteArrayObject*)op);
1014 return PyBytes_FromStringAndSize(((PyByteArrayObject*)op)->ob_bytes, Py_SIZE(op));
1018 bytearray_richcompare(PyObject *self, PyObject *other, int op) argument
1032 if (Py_BytesWarningFlag && op == Py_EQ) {
1058 if (self_size != other_size && (op == Py_EQ || op == Py_NE)) {
1060 cmp = (op == Py_NE);
1077 switch (op) {
[all...]
H A Dclassobject.c32 PyClassObject *op, *dummy; local
115 op = PyObject_GC_New(PyClassObject, &PyClass_Type);
116 if (op == NULL) {
121 op->cl_bases = bases;
123 op->cl_dict = dict;
125 op->cl_name = name;
126 op->cl_weakreflist = NULL;
128 op->cl_getattr = class_lookup(op, getattrstr, &dummy);
129 op
189 class_dealloc(PyClassObject *op) argument
225 class_getattr(register PyClassObject *op, PyObject *name) argument
337 class_setattr(PyClassObject *op, PyObject *name, PyObject *v) argument
389 class_repr(PyClassObject *op) argument
406 class_str(PyClassObject *op) argument
1988 half_richcompare(PyObject *v, PyObject *w, int op) argument
2033 instance_richcompare(PyObject *v, PyObject *w, int op) argument
[all...]
H A Ddictobject.c231 PyDictObject *op; local
234 op = free_list[--numfree];
235 assert(PyDict_CheckExact(op));
236 PyObject_GC_Del(op);
481 _PyDict_MaybeUntrack(PyObject *op) argument
488 if (!PyDict_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
491 mp = (PyDictObject *) op;
502 _PyObject_GC_UNTRACK(op);
688 PyObject *op local
708 PyDict_GetItem(PyObject *op, PyObject *key) argument
753 dict_set_item_by_hash_or_entry(register PyObject *op, PyObject *key, long hash, PyDictEntry *ep, PyObject *value) argument
798 PyDict_SetItem(register PyObject *op, PyObject *key, PyObject *value) argument
822 PyDict_DelItem(PyObject *op, PyObject *key) argument
860 PyDict_Clear(PyObject *op) argument
944 PyDict_Next(PyObject *op, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue) argument
971 _PyDict_Next(PyObject *op, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue, long *phash) argument
1881 dict_richcompare(PyObject *v, PyObject *w, int op) argument
2106 dict_traverse(PyObject *op, visitproc visit, void *arg) argument
2120 dict_tp_clear(PyObject *op) argument
2280 PyDict_Contains(PyObject *op, PyObject *key) argument
2298 _PyDict_Contains(PyObject *op, PyObject *key, long hash) argument
2849 dictview_richcompare(PyObject *self, PyObject *other, int op) argument
[all...]
H A Dfileobject.c106 file_PyObject_Print(PyObject *op, PyFileObject *f, int flags) argument
110 result = PyObject_Print(op, f->f_fp, flags);
H A Dfloatobject.c144 register PyFloatObject *op; local
150 op = free_list;
151 free_list = (PyFloatObject *)Py_TYPE(op);
152 PyObject_INIT(op, &PyFloat_Type);
153 op->ob_fval = fval;
154 return (PyObject *) op;
240 float_dealloc(PyFloatObject *op) argument
242 if (PyFloat_CheckExact(op)) {
243 Py_TYPE(op) = (struct _typeobject *)free_list;
244 free_list = op;
251 PyFloat_AsDouble(PyObject *op) argument
408 float_richcompare(PyObject *v, PyObject *w, int op) argument
[all...]
H A Dintobject.c150 PyInt_AsLong(register PyObject *op) argument
156 if (op && PyInt_Check(op))
157 return PyInt_AS_LONG((PyIntObject*) op);
159 if (op == NULL || (nb = Py_TYPE(op)->tp_as_number) == NULL ||
165 io = (PyIntObject*) (*nb->nb_int) (op);
207 PyInt_AsSsize_t(register PyObject *op) argument
215 if (op == NULL) {
220 if (PyInt_Check(op))
266 PyInt_AsUnsignedLongMask(register PyObject *op) argument
311 PyInt_AsUnsignedLongLongMask(register PyObject *op) argument
[all...]
H A Dlistobject.c103 PyListObject *op; local
106 op = free_list[--numfree];
107 assert(PyList_CheckExact(op));
108 PyObject_GC_Del(op);
115 PyListObject *op; local
136 op = free_list[numfree];
137 _Py_NewReference((PyObject *)op);
142 op = PyObject_GC_New(PyListObject, &PyList_Type);
143 if (op == NULL)
150 op
166 PyList_Size(PyObject *op) argument
179 PyList_GetItem(PyObject *op, Py_ssize_t i) argument
199 PyList_SetItem(register PyObject *op, register Py_ssize_t i, register PyObject *newitem) argument
256 PyList_Insert(PyObject *op, Py_ssize_t where, PyObject *newitem) argument
286 PyList_Append(PyObject *op, PyObject *newitem) argument
297 list_dealloc(PyListObject *op) argument
321 list_print(PyListObject *op, FILE *fp, int flags) argument
1914 sortwrapper_richcompare(sortwrapperobject *a, sortwrapperobject *b, int op) argument
2368 list_richcompare(PyObject *v, PyObject *w, int op) argument
[all...]
H A Dobject.c46 /* Insert op at the front of the list of all objects. If force is true,
47 * op is added even if _ob_prev and _ob_next are non-NULL already. If
49 * force should be true if and only if op points to freshly allocated,
50 * uninitialized memory, or you've unlinked op from the list and are
58 _Py_AddToAllObjects(PyObject *op, int force) argument
62 /* If it's initialized memory, op must be in or out of
65 assert((op->_ob_prev == NULL) == (op->_ob_next == NULL));
68 if (force || op->_ob_prev == NULL) {
69 op
192 _Py_NegativeRefcount(const char *fname, int lineno, PyObject *op) argument
218 PyObject_Init(PyObject *op, PyTypeObject *tp) argument
229 PyObject_InitVar(PyVarObject *op, PyTypeObject *tp, Py_ssize_t size) argument
243 PyObject *op; local
253 PyVarObject *op; local
264 _PyObject_Del(PyObject *op) argument
271 internal_print(PyObject *op, FILE *fp, int flags, int nesting) argument
328 PyObject_Print(PyObject *op, FILE *fp, int flags) argument
335 _PyObject_Dump(PyObject* op) argument
608 try_rich_compare(PyObject *v, PyObject *w, int op) argument
643 try_rich_compare_bool(PyObject *v, PyObject *w, int op) argument
672 static struct { int op; int outcome; } tries[3] = { member in struct:__anon2864
873 convert_3way_to_object(int op, int c) argument
896 try_3way_to_rich_compare(PyObject *v, PyObject *w, int op) argument
926 do_richcmp(PyObject *v, PyObject *w, int op) argument
944 PyObject_RichCompare(PyObject *v, PyObject *w, int op) argument
990 PyObject_RichCompareBool(PyObject *v, PyObject *w, int op) argument
1999 none_repr(PyObject *op) argument
2041 NotImplemented_repr(PyObject *op) argument
2224 _Py_NewReference(PyObject *op) argument
2233 _Py_ForgetReference(register PyObject *op) argument
2258 _Py_Dealloc(PyObject *op) argument
2271 PyObject *op; local
2287 PyObject *op; local
2299 PyObject *res, *op; local
2439 _PyTrash_deposit_object(PyObject *op) argument
2450 _PyTrash_thread_deposit_object(PyObject *op) argument
2467 PyObject *op = _PyTrash_delete_later; local
2492 PyObject *op = tstate->trash_delete_later; local
[all...]
H A Dsetobject.c1794 set_richcompare(PySetObject *v, PyObject *w, int op) argument
1802 switch (op) {
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
H A Dselectmodule.c745 #define pyepoll_CHECK(op) (PyObject_TypeCheck((op), &pyEpoll_Type))
883 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events) argument
897 switch(op) {
903 result = epoll_ctl(epfd, op, fd, &ev);
911 result = epoll_ctl(epfd, op, fd, &ev);
1211 #define kqueue_event_Check(op) (PyObject_TypeCheck((op), &kqueue_event_Type))
1220 #define kqueue_queue_Check(op) (PyObject_TypeCheck((op),
1327 kqueue_event_richcompare(kqueue_event_Object *s, kqueue_event_Object *o, int op) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dbltinmodule.c1346 min_max(PyObject *args, PyObject *kwds, int op) argument
1349 const char *name = op == Py_LT ? "min" : "max";
1394 int cmp = PyObject_RichCompareBool(val, maxval, op);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A DPython-ast.h101 operator_ty op; member in struct:_stmt::__anon2910::__anon2916
197 boolop_ty op; member in struct:_expr::__anon2931::__anon2932
203 operator_ty op; member in struct:_expr::__anon2931::__anon2933
208 unaryop_ty op; member in struct:_expr::__anon2931::__anon2934
400 stmt_ty _Py_AugAssign(expr_ty target, operator_ty op, expr_ty value, int
450 expr_ty _Py_BoolOp(boolop_ty op, asdl_seq * values, int lineno, int col_offset,
453 expr_ty _Py_BinOp(expr_ty left, operator_ty op, expr_ty right, int lineno, int
456 expr_ty _Py_UnaryOp(unaryop_ty op, expr_ty operand, int lineno, int col_offset,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Darraymodule.c41 #define array_Check(op) PyObject_TypeCheck(op, &Arraytype)
42 #define array_CheckExact(op) (Py_TYPE(op) == &Arraytype)
418 arrayobject *op; local
431 op = (arrayobject *) type->tp_alloc(type, 0);
432 if (op == NULL) {
435 op->ob_descr = descr;
436 op->allocated = size;
437 op
453 getarrayitem(PyObject *op, Py_ssize_t i) argument
495 array_dealloc(arrayobject *op) argument
505 array_richcompare(PyObject *v, PyObject *w, int op) argument
[all...]
H A Dselectmodule.c711 #define pyepoll_CHECK(op) (PyObject_TypeCheck((op), &pyEpoll_Type))
849 pyepoll_internal_ctl(int epfd, int op, PyObject *pfd, unsigned int events) argument
863 switch(op) {
869 result = epoll_ctl(epfd, op, fd, &ev);
877 result = epoll_ctl(epfd, op, fd, &ev);
1177 #define kqueue_event_Check(op) (PyObject_TypeCheck((op), &kqueue_event_Type))
1186 #define kqueue_queue_Check(op) (PyObject_TypeCheck((op),
1272 kqueue_event_richcompare(kqueue_event_Object *s, kqueue_event_Object *o, int op) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dbytearrayobject.c1000 bytearray_str(PyObject *op) argument
1008 return bytearray_repr((PyByteArrayObject*)op);
1010 return PyBytes_FromStringAndSize(((PyByteArrayObject*)op)->ob_bytes, Py_SIZE(op));
1014 bytearray_richcompare(PyObject *self, PyObject *other, int op) argument
1028 if (Py_BytesWarningFlag && op == Py_EQ) {
1054 if (self_size != other_size && (op == Py_EQ || op == Py_NE)) {
1056 cmp = (op == Py_NE);
1073 switch (op) {
[all...]
H A Dclassobject.c32 PyClassObject *op, *dummy; local
115 op = PyObject_GC_New(PyClassObject, &PyClass_Type);
116 if (op == NULL) {
121 op->cl_bases = bases;
123 op->cl_dict = dict;
125 op->cl_name = name;
126 op->cl_weakreflist = NULL;
128 op->cl_getattr = class_lookup(op, getattrstr, &dummy);
129 op
189 class_dealloc(PyClassObject *op) argument
225 class_getattr(register PyClassObject *op, PyObject *name) argument
331 class_setattr(PyClassObject *op, PyObject *name, PyObject *v) argument
379 class_repr(PyClassObject *op) argument
396 class_str(PyClassObject *op) argument
1964 half_richcompare(PyObject *v, PyObject *w, int op) argument
2009 instance_richcompare(PyObject *v, PyObject *w, int op) argument
[all...]
H A Ddictobject.c231 PyDictObject *op; local
234 op = free_list[--numfree];
235 assert(PyDict_CheckExact(op));
236 PyObject_GC_Del(op);
481 _PyDict_MaybeUntrack(PyObject *op) argument
488 if (!PyDict_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
491 mp = (PyDictObject *) op;
502 _PyObject_GC_UNTRACK(op);
677 PyObject *op local
697 PyDict_GetItem(PyObject *op, PyObject *key) argument
748 PyDict_SetItem(register PyObject *op, PyObject *key, PyObject *value) argument
797 PyDict_DelItem(PyObject *op, PyObject *key) argument
835 PyDict_Clear(PyObject *op) argument
919 PyDict_Next(PyObject *op, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue) argument
946 _PyDict_Next(PyObject *op, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue, long *phash) argument
1847 dict_richcompare(PyObject *v, PyObject *w, int op) argument
2072 dict_traverse(PyObject *op, visitproc visit, void *arg) argument
2086 dict_tp_clear(PyObject *op) argument
2246 PyDict_Contains(PyObject *op, PyObject *key) argument
2264 _PyDict_Contains(PyObject *op, PyObject *key, long hash) argument
2815 dictview_richcompare(PyObject *self, PyObject *other, int op) argument
[all...]
H A Dfileobject.c106 file_PyObject_Print(PyObject *op, PyFileObject *f, int flags) argument
110 result = PyObject_Print(op, f->f_fp, flags);
H A Dfloatobject.c144 register PyFloatObject *op; local
150 op = free_list;
151 free_list = (PyFloatObject *)Py_TYPE(op);
152 PyObject_INIT(op, &PyFloat_Type);
153 op->ob_fval = fval;
154 return (PyObject *) op;
240 float_dealloc(PyFloatObject *op) argument
242 if (PyFloat_CheckExact(op)) {
243 Py_TYPE(op) = (struct _typeobject *)free_list;
244 free_list = op;
251 PyFloat_AsDouble(PyObject *op) argument
407 float_richcompare(PyObject *v, PyObject *w, int op) argument
[all...]

Completed in 477 milliseconds

12345