Searched defs:other (Results 1 - 25 of 35) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
H A Drow.c184 pysqlite_Row *other = (pysqlite_Row *)_other; local
185 PyObject *res = PyObject_RichCompare(self->description, other->description, opid);
189 return PyObject_RichCompare(self->data, other->data, opid);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dxxmodule.c4 to something reasonable for your objects. After that, all other
11 local variables other than 'self'. If your object type is needed in
12 other files, you'll have to create a file "foobarobject.h"; see
264 null_richcompare(PyObject *self, PyObject *other, int op) argument
H A D_collectionsmodule.c45 * other.
401 deque_inplace_concat(dequeobject *deque, PyObject *other) argument
405 result = deque_extend(deque, other);
H A D_struct.c1996 formatdef *other, *ptr; local
1998 other = lilendian_table;
2000 other = bigendian_table;
2005 while (native->format != '\0' && other->format != '\0') {
2006 ptr = other;
2011 if (ptr == other)
2012 other++;
H A Darraymodule.c1478 append Unicode data to an array of some other type.");
1498 an array of some other type.");
1707 arrayobject* other; local
1745 other = NULL;
1749 other = (arrayobject *)value;
1750 needed = Py_SIZE(other);
1751 if (self == other) {
1754 value = array_slice(other, 0, needed);
1761 if (other->ob_descr != self->ob_descr) {
1796 other
[all...]
/device/google/contexthub/contexthubhal/
H A Dnanohubhal.h52 HubMessage(const HubMessage &other) = delete; member in class:android::nanohub::HubMessage
53 HubMessage &operator = (const HubMessage &other) = delete; member in class:android::nanohub::HubMessage
67 HubMessage(HubMessage &&other) { argument
68 *this = (HubMessage &&)other;
71 HubMessage &operator = (HubMessage &&other) { argument
72 *static_cast<hub_message_t *>(this) = static_cast<hub_message_t>(other);
73 data_ = std::move(other.data_);
74 other.message = nullptr;
75 other.message_len = 0;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dmethodobject.c227 meth_richcompare(PyObject *self, PyObject *other, int op) argument
243 else if (!PyCFunction_Check(self) || !PyCFunction_Check(other)) {
248 b = (PyCFunctionObject *)other;
H A Dcodeobject.c380 code_richcompare(PyObject *self, PyObject *other, int op) argument
388 !PyCode_Check(other)) {
402 cp = (PyCodeObject *)other;
H A Dbufferobject.c267 buffer_compare(PyBufferObject *self, PyBufferObject *other) argument
275 if (!get_buf(other, &p2, &len_other, ANY_BUFFER))
380 buffer_concat(PyBufferObject *self, PyObject *other) argument
382 PyBufferProcs *pb = other->ob_type->tp_as_buffer;
395 if ( (*pb->bf_getsegcount)(other, NULL) != 1 )
409 Py_INCREF(other);
410 return other;
413 if ( (count = (*pb->bf_getreadbuffer)(other, 0, &ptr2)) < 0 )
553 buffer_ass_item(PyBufferObject *self, Py_ssize_t idx, PyObject *other) argument
575 pb = other
604 buffer_ass_slice(PyBufferObject *self, Py_ssize_t left, Py_ssize_t right, PyObject *other) argument
[all...]
H A Dweakrefobject.c195 weakref_richcompare(PyWeakReference* self, PyWeakReference* other, int op) argument
197 if ((op != Py_EQ && op != Py_NE) || self->ob_type != other->ob_type) {
202 || PyWeakref_GET_OBJECT(other) == Py_None) {
203 int res = (self == other);
212 PyWeakref_GET_OBJECT(other), op);
H A Dbytearrayobject.c318 bytearray_iconcat(PyByteArrayObject *self, PyObject *other) argument
324 if (_getbuffer(other, &vo) < 0) {
326 Py_TYPE(other)->tp_name, Py_TYPE(self)->tp_name);
1018 bytearray_richcompare(PyObject *self, PyObject *other, int op) argument
1031 PyObject_IsInstance(other, (PyObject*)&PyUnicode_Type)) {
1050 other_size = _getbuffer(other, &other_bytes);
2546 as well as any other name registered with codecs.register_error that is\n\
H A Ddictobject.c88 The other half of the strategy is to get the other bits of the hash code
1552 register PyDictObject *mp, *other; local
1567 other = (PyDictObject*)b;
1568 if (other == mp || other->ma_used == 0)
1581 if ((mp->ma_fill + other->ma_used)*3 >= (mp->ma_mask+1)*2) {
1582 if (dictresize(mp, (mp->ma_used + other->ma_used)*2) != 0)
1585 for (i = 0; i <= other->ma_mask; i++) {
1586 entry = &other
2825 all_contained_in(PyObject *self, PyObject *other) argument
2849 dictview_richcompare(PyObject *self, PyObject *other, int op) argument
2964 dictviews_sub(PyObject* self, PyObject *other) argument
2982 dictviews_and(PyObject* self, PyObject *other) argument
3000 dictviews_or(PyObject* self, PyObject *other) argument
3018 dictviews_xor(PyObject* self, PyObject *other) argument
[all...]
H A Dlistobject.c914 list_inplace_concat(PyListObject *self, PyObject *other) argument
918 result = listextend(self, other);
H A Dsetobject.c650 PySetObject *other; local
659 other = (PySetObject*)otherset;
660 if (other == so || other->used == 0)
667 if ((so->fill + other->used)*3 >= (so->mask+1)*2) {
668 if (set_table_resize(so, (so->used + other->used)*2) != 0)
671 for (i = 0; i <= other->mask; i++) {
672 entry = &other->table[i];
931 set_update_internal(PySetObject *so, PyObject *other) argument
935 if (PyAnySet_Check(other))
989 PyObject *other = PyTuple_GET_ITEM(args, i); local
1181 PyObject *other; local
1206 set_or(PySetObject *so, PyObject *other) argument
1228 set_ior(PySetObject *so, PyObject *other) argument
1241 set_intersection(PySetObject *so, PyObject *other) argument
1334 PyObject *other = PyTuple_GET_ITEM(args, i); local
1352 set_intersection_update(PySetObject *so, PyObject *other) argument
1381 set_and(PySetObject *so, PyObject *other) argument
1391 set_iand(PySetObject *so, PyObject *other) argument
1408 set_isdisjoint(PySetObject *so, PyObject *other) argument
1475 set_difference_update_internal(PySetObject *so, PyObject *other) argument
1517 PyObject *other = PyTuple_GET_ITEM(args, i); local
1528 set_difference(PySetObject *so, PyObject *other) argument
1583 PyObject *result, *other; local
1608 set_sub(PySetObject *so, PyObject *other) argument
1618 set_isub(PySetObject *so, PyObject *other) argument
1631 set_symmetric_difference_update(PySetObject *so, PyObject *other) argument
1698 set_symmetric_difference(PySetObject *so, PyObject *other) argument
1719 set_xor(PySetObject *so, PyObject *other) argument
1729 set_ixor(PySetObject *so, PyObject *other) argument
1746 set_issubset(PySetObject *so, PyObject *other) argument
1776 set_issuperset(PySetObject *so, PyObject *other) argument
1836 set_nocmp(PyObject *self, PyObject *other) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dmethodobject.c227 meth_richcompare(PyObject *self, PyObject *other, int op) argument
243 else if (!PyCFunction_Check(self) || !PyCFunction_Check(other)) {
248 b = (PyCFunctionObject *)other;
H A Dcodeobject.c380 code_richcompare(PyObject *self, PyObject *other, int op) argument
388 !PyCode_Check(other)) {
402 cp = (PyCodeObject *)other;
H A Dbufferobject.c267 buffer_compare(PyBufferObject *self, PyBufferObject *other) argument
275 if (!get_buf(other, &p2, &len_other, ANY_BUFFER))
370 buffer_concat(PyBufferObject *self, PyObject *other) argument
372 PyBufferProcs *pb = other->ob_type->tp_as_buffer;
385 if ( (*pb->bf_getsegcount)(other, NULL) != 1 )
399 Py_INCREF(other);
400 return other;
403 if ( (count = (*pb->bf_getreadbuffer)(other, 0, &ptr2)) < 0 )
543 buffer_ass_item(PyBufferObject *self, Py_ssize_t idx, PyObject *other) argument
565 pb = other
594 buffer_ass_slice(PyBufferObject *self, Py_ssize_t left, Py_ssize_t right, PyObject *other) argument
[all...]
H A Dweakrefobject.c188 weakref_richcompare(PyWeakReference* self, PyWeakReference* other, int op) argument
190 if (op != Py_EQ || self->ob_type != other->ob_type) {
195 || PyWeakref_GET_OBJECT(other) == Py_None) {
196 PyObject *res = self==other ? Py_True : Py_False;
201 PyWeakref_GET_OBJECT(other), op);
/device/google/contexthub/util/common/
H A DJSONObject.cpp360 JSONValue::JSONValue(const JSONValue &other) argument
362 *this = other;
365 JSONValue &JSONValue::operator=(const JSONValue &other) { argument
366 if (&other != this) {
368 mType = other.mType;
369 mValue = other.mValue;
373 mValue.mString = new AString(*other.mValue.mString);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
H A Dxmltok_impl.c1434 enum { other, inName, inValue } state = inName; enumerator in enum:__anon2792
1442 if (state == other) { \
1467 state = other;
1481 state = other;
1493 state = other;
1507 state = other;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
H A Dxmltok_impl.c1431 enum { other, inName, inValue } state = inName; enumerator in enum:__anon3124
1439 if (state == other) { \
1464 state = other;
1478 state = other;
1490 state = other;
1504 state = other;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A D_collectionsmodule.c49 * other.
400 deque_inplace_concat(dequeobject *deque, PyObject *other) argument
404 result = deque_extend(deque, other);
H A D_struct.c2045 formatdef *other, *ptr; local
2047 other = lilendian_table;
2049 other = bigendian_table;
2054 while (native->format != '\0' && other->format != '\0') {
2055 ptr = other;
2060 if (ptr == other)
2061 other++;
H A Darraymodule.c1478 append Unicode data to an array of some other type.");
1498 an array of some other type.");
1722 arrayobject* other; local
1760 other = NULL;
1764 other = (arrayobject *)value;
1765 needed = Py_SIZE(other);
1766 if (self == other) {
1769 value = array_slice(other, 0, needed);
1776 if (other->ob_descr != self->ob_descr) {
1811 other
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_collections.py266 def __eq__(self, other):
282 other = Other() variable in class:ABCTestCase.validate_comparison.Other
283 op(instance, other)
284 self.assertTrue(other.right_side,'Right side not called for %s.%s'
804 # Issue 9137: Named argument called 'other' or 'self'
810 od.update(other={})
811 self.assertEqual(list(od.items()), [('other', {})])
813 od.update(red=5, blue=6, other=7, self=8)
815 [('blue', 6), ('other', 7), ('red', 5), ('self', 8)])

Completed in 1701 milliseconds

12