Home
last modified time | relevance | path

Searched refs:ob (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/external/python/cpython2/Include/
Dsetobject.h69 #define PyFrozenSet_CheckExact(ob) (Py_TYPE(ob) == &PyFrozenSet_Type) argument
70 #define PyAnySet_CheckExact(ob) \ argument
71 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type)
72 #define PyAnySet_Check(ob) \ argument
73 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \
74 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
75 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
76 #define PySet_Check(ob) \ argument
77 (Py_TYPE(ob) == &PySet_Type || \
78 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
[all …]
/external/python/cpython3/Include/
Dsetobject.h91 #define PyFrozenSet_CheckExact(ob) (Py_TYPE(ob) == &PyFrozenSet_Type) argument
92 #define PyAnySet_CheckExact(ob) \ argument
93 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type)
94 #define PyAnySet_Check(ob) \ argument
95 (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \
96 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
97 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
98 #define PySet_Check(ob) \ argument
99 (Py_TYPE(ob) == &PySet_Type || \
100 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
[all …]
/external/tremolo/Tremolo/
Dframing.c102 ogg_buffer *ob; in _fetch_buffer() local
107 ob=bs->unused_buffers; in _fetch_buffer()
108 bs->unused_buffers=ob->ptr.next; in _fetch_buffer()
111 if(ob->size<bytes){ in _fetch_buffer()
112 ob->data=_ogg_realloc(ob->data,bytes); in _fetch_buffer()
113 ob->size=bytes; in _fetch_buffer()
117 ob=_ogg_malloc(sizeof(*ob)); in _fetch_buffer()
118 ob->data=_ogg_malloc(bytes<16?16:bytes); in _fetch_buffer()
119 ob->size=bytes; in _fetch_buffer()
122 ob->refcount=1; in _fetch_buffer()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_so_emit.c141 unsigned ob; in so_emit_prim() local
144 int ob = state->output[slot].output_buffer; in so_emit_prim() local
149 if (!draw->so.targets[ob]) { in so_emit_prim()
152 if ((buffer_total_bytes[ob] + write_size + dst_offset) > in so_emit_prim()
153 draw->so.targets[ob]->target.buffer_size) { in so_emit_prim()
157 for (ob = 0; ob < draw->so.num_targets; ++ob) { in so_emit_prim()
158 buffer_total_bytes[ob] += state->stride[ob] * sizeof(float); in so_emit_prim()
165 unsigned ob; in so_emit_prim() local
179 ob = state->output[slot].output_buffer; in so_emit_prim()
180 buffer_written[ob] = TRUE; in so_emit_prim()
[all …]
/external/python/cpython2/Doc/c-api/
Ddatetime.rst19 .. c:function:: int PyDate_Check(PyObject *ob)
21 Return true if *ob* is of type :c:data:`PyDateTime_DateType` or a subtype of
22 :c:data:`PyDateTime_DateType`. *ob* must not be *NULL*.
27 .. c:function:: int PyDate_CheckExact(PyObject *ob)
29 Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not be
35 .. c:function:: int PyDateTime_Check(PyObject *ob)
37 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a subtype of
38 :c:data:`PyDateTime_DateTimeType`. *ob* must not be *NULL*.
43 .. c:function:: int PyDateTime_CheckExact(PyObject *ob)
45 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must not
[all …]
Dweakref.rst14 .. c:function:: int PyWeakref_Check(ob)
16 Return true if *ob* is either a reference or proxy object.
21 .. c:function:: int PyWeakref_CheckRef(ob)
23 Return true if *ob* is a reference object.
28 .. c:function:: int PyWeakref_CheckProxy(ob)
30 Return true if *ob* is a proxy object.
35 .. c:function:: PyObject* PyWeakref_NewRef(PyObject *ob, PyObject *callback)
37 Return a weak reference object for the object *ob*. This will always return
40 callable object that receives notification when *ob* is garbage collected; it
42 itself. *callback* may also be ``None`` or *NULL*. If *ob* is not a
[all …]
Dgen.rst23 .. c:function:: int PyGen_Check(ob)
25 Return true if *ob* is a generator object; *ob* must not be *NULL*.
28 .. c:function:: int PyGen_CheckExact(ob)
30 Return true if *ob*'s type is *PyGen_Type* is a generator object; *ob* must not
/external/python/cpython3/Doc/c-api/
Ddatetime.rst18 .. c:function:: int PyDate_Check(PyObject *ob)
20 Return true if *ob* is of type :c:data:`PyDateTime_DateType` or a subtype of
21 :c:data:`PyDateTime_DateType`. *ob* must not be *NULL*.
24 .. c:function:: int PyDate_CheckExact(PyObject *ob)
26 Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not be
30 .. c:function:: int PyDateTime_Check(PyObject *ob)
32 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a subtype of
33 :c:data:`PyDateTime_DateTimeType`. *ob* must not be *NULL*.
36 .. c:function:: int PyDateTime_CheckExact(PyObject *ob)
38 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must not
[all …]
Dweakref.rst14 .. c:function:: int PyWeakref_Check(ob)
16 Return true if *ob* is either a reference or proxy object.
19 .. c:function:: int PyWeakref_CheckRef(ob)
21 Return true if *ob* is a reference object.
24 .. c:function:: int PyWeakref_CheckProxy(ob)
26 Return true if *ob* is a proxy object.
29 .. c:function:: PyObject* PyWeakref_NewRef(PyObject *ob, PyObject *callback)
31 Return a weak reference object for the object *ob*. This will always return
34 callable object that receives notification when *ob* is garbage collected; it
36 itself. *callback* may also be ``None`` or *NULL*. If *ob* is not a
[all …]
Dgen.rst23 .. c:function:: int PyGen_Check(PyObject *ob)
25 Return true if *ob* is a generator object; *ob* must not be *NULL*.
28 .. c:function:: int PyGen_CheckExact(PyObject *ob)
30 Return true if *ob*'s type is *PyGen_Type*; *ob* must not be *NULL*.
/external/python/cpython2/RISCOS/
Dunixstuff.c46 { int ob; in isdir() local
47 if(xosfile_read_stamped_no_path(fn,&ob,0,0,0,0,0)) return 0; in isdir()
48 switch (ob) in isdir()
56 { int ob; in isfile() local
57 if(xosfile_read_stamped_no_path(fn,&ob,0,0,0,0,0)) return 0; in isfile()
58 switch (ob) in isfile()
66 { int ob; in object_exists() local
67 if(xosfile_read_stamped_no_path(fn,&ob,0,0,0,0,0)) return 0; in object_exists()
68 switch (ob) in object_exists()
/external/libunwind_llvm/src/
DUnwindLevel1-gcc-ext.c256 _LIBUNWIND_EXPORT void __register_frame_info_bases(const void *fde, void *ob, in __register_frame_info_bases() argument
259 (void)ob; in __register_frame_info_bases()
263 fde, ob, tb, db); in __register_frame_info_bases()
267 _LIBUNWIND_EXPORT void __register_frame_info(const void *fde, void *ob) { in __register_frame_info() argument
269 (void)ob; in __register_frame_info()
270 _LIBUNWIND_TRACE_API("__register_frame_info(%p, %p)", fde, ob); in __register_frame_info()
275 void *ob, void *tb, in __register_frame_info_table_bases() argument
278 (void)ob; in __register_frame_info_table_bases()
282 "(%p,%p, %p, %p)", fde, ob, tb, db); in __register_frame_info_table_bases()
286 _LIBUNWIND_EXPORT void __register_frame_info_table(const void *fde, void *ob) { in __register_frame_info_table() argument
[all …]
/external/python/cpython2/Lib/idlelib/
DCallTips.py139 def get_arg_text(ob): argument
150 ob_call = ob.__call__
152 if type(ob) is types.ClassType: # old-style
153 ob_call = ob
158 if type(ob) in (types.ClassType, types.TypeType):
161 fob = _find_constructor(ob)
166 elif type(ob) == types.MethodType:
169 fob = ob.im_func
170 if ob.im_self is not None:
177 fob = ob
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSpillPlacement.cpp236 unsigned ob = bundles->getBundle(I->Number, 1); in addConstraints() local
237 activate(ob); in addConstraints()
238 nodes[ob].addBias(Freq * Bias[I->Exit], 0); in addConstraints()
251 unsigned ob = bundles->getBundle(*I, 1); in addPrefSpill() local
253 activate(ob); in addPrefSpill()
255 nodes[ob].addBias(-Freq, 0); in addPrefSpill()
264 unsigned ob = bundles->getBundle(Number, 1); in addLinks() local
267 if (ib == ob) in addLinks()
270 activate(ob); in addLinks()
273 if (nodes[ob].Links.empty() && !nodes[ob].mustSpill()) in addLinks()
[all …]
/external/llvm/lib/CodeGen/
DSpillPlacement.cpp270 unsigned ob = bundles->getBundle(I->Number, 1); in addConstraints() local
271 activate(ob); in addConstraints()
272 nodes[ob].addBias(Freq, I->Exit); in addConstraints()
285 unsigned ob = bundles->getBundle(*I, 1); in addPrefSpill() local
287 activate(ob); in addPrefSpill()
289 nodes[ob].addBias(Freq, PrefSpill); in addPrefSpill()
298 unsigned ob = bundles->getBundle(Number, 1); in addLinks() local
301 if (ib == ob) in addLinks()
304 activate(ob); in addLinks()
306 nodes[ib].addLink(ob, Freq); in addLinks()
[all …]
/external/libmtp/src/
Dlibmtp.c2776 PTPObject *ob; in get_handles_recursively() local
2778 PTPOBJECT_OBJECTINFO_LOADED, &ob); in get_handles_recursively()
2780 if (ob->oi.ObjectFormat == PTP_OFC_Association) in get_handles_recursively()
2855 PTPObject *ob, *xob; in flush_handles() local
2857 ob = &params->objects[i]; in flush_handles()
2863 if (ob->oi.Filename == NULL) in flush_handles()
2864 ob->oi.Filename = strdup("<null>"); in flush_handles()
2865 if (ob->oi.Keywords == NULL) in flush_handles()
2866 ob->oi.Keywords = strdup("<null>"); in flush_handles()
2869 if(ob->oi.ObjectFormat != PTP_OFC_Association) in flush_handles()
[all …]
/external/python/cpython3/Objects/
Dweakrefobject.c23 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref() argument
26 self->wr_object = ob; in init_weakref()
34 new_weakref(PyObject *ob, PyObject *callback) in new_weakref() argument
40 init_weakref(result, ob, callback); in new_weakref()
280 PyObject *ob, *callback = NULL; in weakref___new__() local
282 if (parse_weakref_init_args("__new__", args, kwargs, &ob, &callback)) { in weakref___new__()
286 if (!PyType_SUPPORTS_WEAKREFS(Py_TYPE(ob))) { in weakref___new__()
289 Py_TYPE(ob)->tp_name); in weakref___new__()
294 list = GET_WEAKREFS_LISTPTR(ob); in weakref___new__()
311 init_weakref(self, ob, callback); in weakref___new__()
[all …]
Drangeobject.c362 range_contains_long(rangeobject *r, PyObject *ob) in range_contains_long() argument
380 cmp2 = PyObject_RichCompareBool(r->start, ob, Py_LE); in range_contains_long()
381 cmp3 = PyObject_RichCompareBool(ob, r->stop, Py_LT); in range_contains_long()
384 cmp2 = PyObject_RichCompareBool(ob, r->start, Py_LE); in range_contains_long()
385 cmp3 = PyObject_RichCompareBool(r->stop, ob, Py_LT); in range_contains_long()
396 tmp1 = PyNumber_Subtract(ob, r->start); in range_contains_long()
412 range_contains(rangeobject *r, PyObject *ob) in range_contains() argument
414 if (PyLong_CheckExact(ob) || PyBool_Check(ob)) in range_contains()
415 return range_contains_long(r, ob); in range_contains()
417 return (int)_PySequence_IterSearch((PyObject*)r, ob, in range_contains()
[all …]
/external/python/cpython2/Objects/
Dweakrefobject.c23 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref() argument
26 self->wr_object = ob; in init_weakref()
32 new_weakref(PyObject *ob, PyObject *callback) in new_weakref() argument
38 init_weakref(result, ob, callback); in new_weakref()
281 PyObject *ob, *callback = NULL; in weakref___new__() local
283 if (parse_weakref_init_args("__new__", args, kwargs, &ob, &callback)) { in weakref___new__()
287 if (!PyType_SUPPORTS_WEAKREFS(Py_TYPE(ob))) { in weakref___new__()
290 Py_TYPE(ob)->tp_name); in weakref___new__()
295 list = GET_WEAKREFS_LISTPTR(ob); in weakref___new__()
312 init_weakref(self, ob, callback); in weakref___new__()
[all …]
/external/python/cpython3/Lib/idlelib/
Dcalltips.py127 def get_argspec(ob): argument
138 ob_call = ob.__call__
141 if isinstance(ob, type):
142 fob = ob.__init__
146 fob = ob
149 if (isinstance(ob, (type, types.MethodType)) or
159 doc = getattr(ob, "__doc__", "")
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c642 PyObject *ob = p->obj; in CDataType_from_param() local
649 if(dict && ob) { in CDataType_from_param()
650 res = PyObject_IsInstance(ob, dict->proto); in CDataType_from_param()
658 ob_name = (ob) ? Py_TYPE(ob)->tp_name : "???"; in CDataType_from_param()
2159 converters_from_argtypes(PyObject *ob) in converters_from_argtypes() argument
2165 ob = PySequence_Tuple(ob); /* new reference */ in converters_from_argtypes()
2166 if (!ob) { in converters_from_argtypes()
2172 nArgs = PyTuple_GET_SIZE(ob); in converters_from_argtypes()
2175 Py_DECREF(ob); in converters_from_argtypes()
2185 PyObject *tp = PyTuple_GET_ITEM(ob, i); in converters_from_argtypes()
[all …]
/external/libxcam/modules/isp/
Dx3a_isp_config.cpp92 ob = *config.ob_config; in copy()
93 isp_config.ob_config = &ob; in copy()
241 struct atomisp_ob_config ob; in attach() local
245 xcam_mem_clear (ob); in attach()
246 if (translator->translate_black_level (bl_res->get_standard_result(), ob) in attach()
251 _isp_content.ob = ob; in attach()
252 _isp_content.isp_config.ob_config = &_isp_content.ob; in attach()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c678 PyObject *ob = p->obj; in CDataType_from_param() local
685 if(dict && ob) { in CDataType_from_param()
686 res = PyObject_IsInstance(ob, dict->proto); in CDataType_from_param()
694 ob_name = (ob) ? Py_TYPE(ob)->tp_name : "???"; in CDataType_from_param()
2252 converters_from_argtypes(PyObject *ob) in converters_from_argtypes() argument
2258 ob = PySequence_Tuple(ob); /* new reference */ in converters_from_argtypes()
2259 if (!ob) { in converters_from_argtypes()
2265 nArgs = PyTuple_GET_SIZE(ob); in converters_from_argtypes()
2268 Py_DECREF(ob); in converters_from_argtypes()
2278 PyObject *tp = PyTuple_GET_ITEM(ob, i); in converters_from_argtypes()
[all …]
/external/elfutils/lib/
Deu-config.h125 #define obstack_calloc(ob, size) \ argument
126 ({ size_t _s = (size); memset (obstack_alloc (ob, _s), '\0', _s); })
127 #define obstack_strdup(ob, str) \ argument
128 ({ const char *_s = (str); obstack_copy0 (ob, _s, strlen (_s)); })
129 #define obstack_strndup(ob, str, n) \ argument
130 ({ const char *_s = (str); obstack_copy0 (ob, _s, strnlen (_s, n)); })
/external/python/cpython2/Lib/ctypes/test/
Dtest_pep3118.py24 ob = tp()
25 v = memoryview(ob)
31 self.assertEqual(len(v) * sizeof(itemtp), sizeof(ob))
51 ob = tp()
52 v = memoryview(ob)
58 self.assertEqual(len(v) * sizeof(itemtp), sizeof(ob))

12345678910>>...12