Home
last modified time | relevance | path

Searched refs:o2 (Results 1 – 24 of 24) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dabstract.h231 PyAPI_FUNC(int) PyObject_Cmp(PyObject *o1, PyObject *o2, int *result);
660 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
669 PyAPI_FUNC(PyObject *) PyNumber_Subtract(PyObject *o1, PyObject *o2);
678 PyAPI_FUNC(PyObject *) PyNumber_Multiply(PyObject *o1, PyObject *o2);
688 PyAPI_FUNC(PyObject *) PyNumber_Divide(PyObject *o1, PyObject *o2);
697 PyAPI_FUNC(PyObject *) PyNumber_FloorDivide(PyObject *o1, PyObject *o2);
707 PyAPI_FUNC(PyObject *) PyNumber_TrueDivide(PyObject *o1, PyObject *o2);
717 PyAPI_FUNC(PyObject *) PyNumber_Remainder(PyObject *o1, PyObject *o2);
727 PyAPI_FUNC(PyObject *) PyNumber_Divmod(PyObject *o1, PyObject *o2);
737 PyAPI_FUNC(PyObject *) PyNumber_Power(PyObject *o1, PyObject *o2,
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dabstract.h231 PyAPI_FUNC(int) PyObject_Cmp(PyObject *o1, PyObject *o2, int *result);
660 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
669 PyAPI_FUNC(PyObject *) PyNumber_Subtract(PyObject *o1, PyObject *o2);
678 PyAPI_FUNC(PyObject *) PyNumber_Multiply(PyObject *o1, PyObject *o2);
688 PyAPI_FUNC(PyObject *) PyNumber_Divide(PyObject *o1, PyObject *o2);
697 PyAPI_FUNC(PyObject *) PyNumber_FloorDivide(PyObject *o1, PyObject *o2);
707 PyAPI_FUNC(PyObject *) PyNumber_TrueDivide(PyObject *o1, PyObject *o2);
717 PyAPI_FUNC(PyObject *) PyNumber_Remainder(PyObject *o1, PyObject *o2);
727 PyAPI_FUNC(PyObject *) PyNumber_Divmod(PyObject *o1, PyObject *o2);
737 PyAPI_FUNC(PyObject *) PyNumber_Power(PyObject *o1, PyObject *o2,
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlvm.h20 #define equalobj(L,o1,o2) (ttisequal(o1, o2) && luaV_equalobj_(L, o1, o2)) argument
22 #define luaV_rawequalobj(o1,o2) equalobj(NULL,o1,o2) argument
Dlapi.c288 StkId o2 = index2addr(L, index2); in lua_rawequal() local
289 return (isvalid(o1) && isvalid(o2)) ? luaV_rawequalobj(o1, o2) : 0; in lua_rawequal()
295 StkId o2; /* 2nd operand */ in lua_arith() local
305 o2 = L->top - 1; in lua_arith()
306 if (ttisnumber(o1) && ttisnumber(o2)) { in lua_arith()
307 setnvalue(o1, luaO_arith(op, nvalue(o1), nvalue(o2))); in lua_arith()
310 luaV_arith(L, o1, o1, o2, cast(TMS, op - LUA_OPADD + TM_ADD)); in lua_arith()
317 StkId o1, o2; in lua_compare() local
321 o2 = index2addr(L, index2); in lua_compare()
322 if (isvalid(o1) && isvalid(o2)) { in lua_compare()
[all …]
Dlobject.h150 #define ttisequal(o1,o2) (rttype(o1) == rttype(o2)) argument
369 #define ttisequal(o1,o2) \ argument
370 (ttisnumber(o1) ? ttisnumber(o2) : (tt_(o1) == tt_(o2)))
Dlcode.c729 int o2 = (op != OP_UNM && op != OP_LEN) ? luaK_exp2RK(fs, e2) : 0; in codearith() local
731 if (o1 > o2) { in codearith()
739 e1->u.info = luaK_codeABC(fs, op, 0, o1, o2); in codearith()
749 int o2 = luaK_exp2RK(fs, e2); in codecomp() local
754 temp = o1; o1 = o2; o2 = temp; /* o1 <==> o2 */ in codecomp()
757 e1->u.info = condjump(fs, op, cond, o1, o2); in codecomp()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_index.py77 self.o2 = oldstyle()
88 self.o2.ind = 3
91 self.assertEqual(self.seq[self.o:self.o2], self.seq[1:3])
105 self.o2.ind = -seqlen - 2
107 self.assertEqual(self.seq[self.o2:], self.seq)
108 self.assertEqual(self.seq[:self.o2], self.seq[0:0])
Dtest_weakref.py118 o2 = ref()
119 self.assertTrue(o is o2,
1065 o2 = Object('2')
1067 d[o2] = 'something'
1071 self.assertTrue(d.keys() == [o2])
1076 o2 = Object('2')
1078 d['something else'] = o2
1082 self.assertTrue(d.items() == [('something else', o2)])
Dtest_pprint.py172 o2 = dict(first=1, second=2, third=3)
173 o = [o1, o2]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
Dmsgfmt.py81 for o1, l1, o2, l2 in offsets:
83 voffsets += [l2, o2+valuestart]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DInstances.py32 o2 = c()
DNewInstances.py41 o2 = c()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dstructseq.c361 structseq_richcompare(PyObject *obj, PyObject *o2, int op) in structseq_richcompare() argument
365 result = PyObject_RichCompare(tup, o2, op); in structseq_richcompare()
Dabstract.c33 PyObject_Cmp(PyObject *o1, PyObject *o2, int *result) in PyObject_Cmp() argument
37 if (o1 == NULL || o2 == NULL) { in PyObject_Cmp()
41 r = PyObject_Compare(o1, o2); in PyObject_Cmp()
Dstringobject.c1249 _PyString_Eq(PyObject *o1, PyObject *o2) in _PyString_Eq() argument
1252 PyStringObject *b = (PyStringObject*) o2; in _PyString_Eq()
Dunicodeobject.c4378 int o1, o2, o3, i2, i3; in PyUnicode_BuildEncodingMap() local
4383 o2 = (decode[i]>>7) & 0xF; in PyUnicode_BuildEncodingMap()
4384 i2 = 16*mlevel1[o1] + o2; in PyUnicode_BuildEncodingMap()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dstructseq.c362 structseq_richcompare(PyObject *obj, PyObject *o2, int op) in structseq_richcompare() argument
366 result = PyObject_RichCompare(tup, o2, op); in structseq_richcompare()
Dabstract.c33 PyObject_Cmp(PyObject *o1, PyObject *o2, int *result) in PyObject_Cmp() argument
37 if (o1 == NULL || o2 == NULL) { in PyObject_Cmp()
41 r = PyObject_Compare(o1, o2); in PyObject_Cmp()
Dstringobject.c1254 _PyString_Eq(PyObject *o1, PyObject *o2) in _PyString_Eq() argument
1257 PyStringObject *b = (PyStringObject*) o2; in _PyString_Eq()
Dunicodeobject.c4463 int o1, o2, o3, i2, i3; in PyUnicode_BuildEncodingMap() local
4468 o2 = (decode[i]>>7) & 0xF; in PyUnicode_BuildEncodingMap()
4469 i2 = 16*mlevel1[o1] + o2; in PyUnicode_BuildEncodingMap()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_testcapimodule.c1203 PyObject *o1 = PyObject_Str(NULL), *o2 = PyObject_Unicode(NULL); in test_null_strings() local
1204 PyObject *tuple = PyTuple_Pack(2, o1, o2); in test_null_strings()
1206 Py_XDECREF(o2); in test_null_strings()
Ddatetimemodule.c1024 PyObject *o2, int *offset2, naivety *n2, in classify_two_utcoffsets() argument
1027 if (get_tzinfo_member(o1) == get_tzinfo_member(o2)) { in classify_two_utcoffsets()
1035 *n2 = classify_utcoffset(o2, tzinfoarg2, offset2); in classify_two_utcoffsets()
Dposixmodule.c2581 PyObject *o1, *o2; in posix_rename() local
2584 if (!PyArg_ParseTuple(args, "OO:rename", &o1, &o2)) in posix_rename()
2588 if (!convert_to_unicode(&o2)) { in posix_rename()
2594 PyUnicode_AsUnicode(o2)); in posix_rename()
2597 Py_DECREF(o2); in posix_rename()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Ddatetimemodule.c1024 PyObject *o2, int *offset2, naivety *n2, in classify_two_utcoffsets() argument
1027 if (get_tzinfo_member(o1) == get_tzinfo_member(o2)) { in classify_two_utcoffsets()
1035 *n2 = classify_utcoffset(o2, tzinfoarg2, offset2); in classify_two_utcoffsets()