/third_party/python/Include/ |
D | setobject.h | 90 #define PyFrozenSet_CheckExact(ob) Py_IS_TYPE(ob, &PyFrozenSet_Type) argument 91 #define PyFrozenSet_Check(ob) \ argument 92 (Py_IS_TYPE(ob, &PyFrozenSet_Type) || \ 93 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) 95 #define PyAnySet_CheckExact(ob) \ argument 96 (Py_IS_TYPE(ob, &PySet_Type) || Py_IS_TYPE(ob, &PyFrozenSet_Type)) 97 #define PyAnySet_Check(ob) \ argument 98 (Py_IS_TYPE(ob, &PySet_Type) || Py_IS_TYPE(ob, &PyFrozenSet_Type) || \ 99 PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ 100 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) [all …]
|
D | object.h | 130 static inline Py_ssize_t _Py_REFCNT(const PyObject *ob) { in _Py_REFCNT() argument 131 return ob->ob_refcnt; in _Py_REFCNT() 133 #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob)) argument 137 #define Py_TYPE(ob) (_PyObject_CAST(ob)->ob_type) argument 140 #define Py_SIZE(ob) (_PyVarObject_CAST(ob)->ob_size) argument 143 static inline int _Py_IS_TYPE(const PyObject *ob, const PyTypeObject *type) { in _Py_IS_TYPE() argument 146 return ob->ob_type == type; in _Py_IS_TYPE() 148 #define Py_IS_TYPE(ob, type) _Py_IS_TYPE(_PyObject_CAST_CONST(ob), type) argument 151 static inline void _Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) { in _Py_SET_REFCNT() argument 152 ob->ob_refcnt = refcnt; in _Py_SET_REFCNT() [all …]
|
/third_party/jsframework/runtime/main/reactivity/ |
D | object.js | 26 var ob = this.__ob__; 27 if (!ob || _.isReserved(key)) { 31 ob.convert(key, val); 32 ob.notify(); 33 if (ob.vms) { 34 var i = ob.vms.length; 36 var vm = ob.vms[i]; 76 var ob = this.__ob__; 77 if (!ob || _.isReserved(key)) { 80 ob.notify(); [all …]
|
D | observer.js | 110 let ob; 112 ob = value.__ob__; 118 ob = new Observer(value); 120 if (ob && vm) { 121 ob.addVm(vm); 123 return ob; 199 const ob = obj.__ob__; 200 if (!ob) { 204 ob.convert(key, val); 205 ob.dep.notify(); [all …]
|
D | array.js | 33 const ob = this.__ob__; 47 ob.observeArray(inserted); 50 ob.dep.notify();
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_so_emit.c | 146 unsigned ob; in so_emit_prim() local 149 int ob = state->output[slot].output_buffer; in so_emit_prim() local 157 if (!draw->so.targets[ob]) { in so_emit_prim() 160 if ((buffer_total_bytes[ob] + write_size + dst_offset) > in so_emit_prim() 161 draw->so.targets[ob]->target.buffer_size) { in so_emit_prim() 165 for (ob = 0; ob < draw->so.num_targets; ++ob) { in so_emit_prim() 166 buffer_total_bytes[ob] += state->stride[ob] * sizeof(float); in so_emit_prim() 173 unsigned ob; in so_emit_prim() local 190 ob = state->output[slot].output_buffer; in so_emit_prim() 191 buffer_written[ob] = TRUE; in so_emit_prim() [all …]
|
/third_party/python/Doc/c-api/ |
D | datetime.rst | 28 .. c:function:: int PyDate_Check(PyObject *ob) 30 Return true if *ob* is of type :c:data:`PyDateTime_DateType` or a subtype of 31 :c:data:`PyDateTime_DateType`. *ob* must not be ``NULL``. This function always 35 .. c:function:: int PyDate_CheckExact(PyObject *ob) 37 Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not be 41 .. c:function:: int PyDateTime_Check(PyObject *ob) 43 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a subtype of 44 :c:data:`PyDateTime_DateTimeType`. *ob* must not be ``NULL``. This function always 48 .. c:function:: int PyDateTime_CheckExact(PyObject *ob) 50 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must not [all …]
|
D | weakref.rst | 14 .. c:function:: int PyWeakref_Check(ob) 16 Return true if *ob* is either a reference or proxy object. This function 20 .. c:function:: int PyWeakref_CheckRef(ob) 22 Return true if *ob* is a reference object. This function always succeeds. 25 .. c:function:: int PyWeakref_CheckProxy(ob) 27 Return true if *ob* is a proxy object. This function always succeeds. 30 .. c:function:: PyObject* PyWeakref_NewRef(PyObject *ob, PyObject *callback) 32 Return a weak reference object for the object *ob*. This will always return 35 callable object that receives notification when *ob* is garbage collected; it 37 itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a [all …]
|
D | gen.rst | 23 .. c:function:: int PyGen_Check(PyObject *ob) 25 Return true if *ob* is a generator object; *ob* must not be ``NULL``. This 29 .. c:function:: int PyGen_CheckExact(PyObject *ob) 31 Return true if *ob*'s type is :c:type:`PyGen_Type`; *ob* must not be
|
D | cell.rst | 28 .. c:function:: int PyCell_Check(ob) 30 Return true if *ob* is a cell object; *ob* must not be ``NULL``. This 34 .. c:function:: PyObject* PyCell_New(PyObject *ob) 36 Create and return a new cell object containing the value *ob*. The parameter may
|
D | coro.rst | 24 .. c:function:: int PyCoro_CheckExact(PyObject *ob) 26 Return true if *ob*'s type is :c:type:`PyCoro_Type`; *ob* must not be ``NULL``.
|
/third_party/popt/src/ |
D | poptint.c | 91 size_t ob = db; in strdup_locale_from_utf8() local 99 err = iconv(cd, &pin, &ib, &pout, &ob); in strdup_locale_from_utf8() 115 ob = db - used; in strdup_locale_from_utf8() 140 char * b = NULL, * ob = NULL; in POPT_fprintf() local 167 ob = b; in POPT_fprintf() 174 ob = strdup_locale_from_utf8(b); in POPT_fprintf() 175 if (ob != NULL) { in POPT_fprintf() 176 rc = fprintf(stream, "%s", ob); in POPT_fprintf() 177 free(ob); in POPT_fprintf()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SpillPlacement.cpp | 278 unsigned ob = bundles->getBundle(I->Number, true); in addConstraints() local 279 activate(ob); in addConstraints() 280 nodes[ob].addBias(Freq, I->Exit); in addConstraints() 293 unsigned ob = bundles->getBundle(*I, true); in addPrefSpill() local 295 activate(ob); in addPrefSpill() 297 nodes[ob].addBias(Freq, PrefSpill); in addPrefSpill() 306 unsigned ob = bundles->getBundle(Number, true); in addLinks() local 309 if (ib == ob) in addLinks() 312 activate(ob); in addLinks() 314 nodes[ib].addLink(ob, Freq); in addLinks() [all …]
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/ |
D | intrinsic_table.go | 173 ob := overloadBuilder{ 179 if err := ob.buildOpenTypes(o); err != nil { 182 if err := ob.buildOpenNumbers(o); err != nil { 185 if err := ob.buildParameters(o); err != nil { 188 if err := ob.buildReturnType(o); err != nil { 193 NumParameters: len(ob.parameters), 194 NumOpenTypes: len(ob.openTypes), 195 NumOpenNumbers: len(ob.openNumbers), 196 OpenTypesOffset: b.lut.openTypes.Add(ob.openTypes), 197 OpenNumbersOffset: b.lut.openNumbers.Add(ob.openNumbers), [all …]
|
/third_party/python/Lib/ |
D | pyclbr.py | 89 def _nest_function(ob, func_name, lineno, end_lineno, is_async=False): argument 91 return Function(ob.module, func_name, ob.file, lineno, 92 parent=ob, is_async=is_async, end_lineno=end_lineno) 94 def _nest_class(ob, class_name, lineno, end_lineno, super=None): argument 96 return Class(ob.module, class_name, super, ob.file, lineno, 97 parent=ob, end_lineno=end_lineno) 304 for ob in new_objs: 305 ob.indent = obj.indent + indent_level
|
/third_party/python/Objects/ |
D | weakrefobject.c | 24 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref() argument 27 self->wr_object = ob; in init_weakref() 35 new_weakref(PyObject *ob, PyObject *callback) in new_weakref() argument 41 init_weakref(result, ob, callback); in new_weakref() 295 PyObject *ob, *callback = NULL; in weakref___new__() local 297 if (parse_weakref_init_args("__new__", args, kwargs, &ob, &callback)) { in weakref___new__() 301 if (!PyType_SUPPORTS_WEAKREFS(Py_TYPE(ob))) { in weakref___new__() 304 Py_TYPE(ob)->tp_name); in weakref___new__() 309 list = GET_WEAKREFS_LISTPTR(ob); in weakref___new__() 326 init_weakref(self, ob, callback); in weakref___new__() [all …]
|
D | rangeobject.c | 383 range_contains_long(rangeobject *r, PyObject *ob) in range_contains_long() argument 397 cmp2 = PyObject_RichCompareBool(r->start, ob, Py_LE); in range_contains_long() 398 cmp3 = PyObject_RichCompareBool(ob, r->stop, Py_LT); in range_contains_long() 401 cmp2 = PyObject_RichCompareBool(ob, r->start, Py_LE); in range_contains_long() 402 cmp3 = PyObject_RichCompareBool(r->stop, ob, Py_LT); in range_contains_long() 413 tmp1 = PyNumber_Subtract(ob, r->start); in range_contains_long() 428 range_contains(rangeobject *r, PyObject *ob) in range_contains() argument 430 if (PyLong_CheckExact(ob) || PyBool_Check(ob)) in range_contains() 431 return range_contains_long(r, ob); in range_contains() 433 return (int)_PySequence_IterSearch((PyObject*)r, ob, in range_contains() [all …]
|
D | setobject.c | 2359 PyObject *ob = (PyObject *)so; in test_c_api() local 2364 assert(PyAnySet_Check(ob)); in test_c_api() 2365 assert(PyAnySet_CheckExact(ob)); in test_c_api() 2366 assert(!PyFrozenSet_CheckExact(ob)); in test_c_api() 2380 assert(PySet_Size(ob) == 3); in test_c_api() 2381 assert(PySet_GET_SIZE(ob) == 3); in test_c_api() 2388 dup = PySet_New(ob); in test_c_api() 2389 assertRaises(PySet_Discard(ob, dup) == -1, PyExc_TypeError); in test_c_api() 2390 assertRaises(PySet_Contains(ob, dup) == -1, PyExc_TypeError); in test_c_api() 2391 assertRaises(PySet_Add(ob, dup) == -1, PyExc_TypeError); in test_c_api() [all …]
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 801 PyObject *ob = p->obj; in CDataType_from_param() local 808 if(dict && ob) { in CDataType_from_param() 809 res = PyObject_IsInstance(ob, dict->proto); in CDataType_from_param() 817 ob_name = (ob) ? Py_TYPE(ob)->tp_name : "???"; in CDataType_from_param() 2372 converters_from_argtypes(PyObject *ob) in converters_from_argtypes() argument 2379 ob = PySequence_Tuple(ob); /* new reference */ in converters_from_argtypes() 2380 if (!ob) { in converters_from_argtypes() 2386 nArgs = PyTuple_GET_SIZE(ob); in converters_from_argtypes() 2389 Py_DECREF(ob); in converters_from_argtypes() 2400 PyObject *tp = PyTuple_GET_ITEM(ob, i); in converters_from_argtypes() [all …]
|
/third_party/python/PC/ |
D | winreg.c | 21 static BOOL PyHKEY_AsHKEY(PyObject *ob, HKEY *pRes, BOOL bNoneOK); 22 static BOOL clinic_HKEY_converter(PyObject *ob, void *p); 120 PyHKEY_unaryFailureFunc(PyObject *ob) in PyHKEY_unaryFailureFunc() argument 139 PyHKEY_deallocFunc(PyObject *ob) in PyHKEY_deallocFunc() argument 145 PyHKEYObject *obkey = (PyHKEYObject *)ob; in PyHKEY_deallocFunc() 148 PyObject_Free(ob); in PyHKEY_deallocFunc() 152 PyHKEY_boolFunc(PyObject *ob) in PyHKEY_boolFunc() argument 154 return ((PyHKEYObject *)ob)->hkey != 0; in PyHKEY_boolFunc() 158 PyHKEY_intFunc(PyObject *ob) in PyHKEY_intFunc() argument 160 PyHKEYObject *pyhkey = (PyHKEYObject *)ob; in PyHKEY_intFunc() [all …]
|
/third_party/python/Lib/ctypes/test/ |
D | test_pep3118.py | 24 ob = tp() 25 v = memoryview(ob) 31 self.assertEqual(len(v) * sizeof(itemtp), sizeof(ob)) 54 ob = tp() 55 v = memoryview(ob) 61 self.assertEqual(len(v) * sizeof(itemtp), sizeof(ob))
|
/third_party/typescript/tests/baselines/reference/ |
D | widenedTypes.js | 20 var ob: { x: typeof undefined } = { x: "" }; variable 39 var ob = { x: "" }; variable 50 declare var ob: {
|
/third_party/elfutils/lib/ |
D | eu-config.h | 139 #define obstack_calloc(ob, size) \ argument 140 ({ size_t _s = (size); memset (obstack_alloc (ob, _s), '\0', _s); }) 141 #define obstack_strdup(ob, str) \ argument 142 ({ const char *_s = (str); obstack_copy0 (ob, _s, strlen (_s)); }) 143 #define obstack_strndup(ob, str, n) \ argument 144 ({ const char *_s = (str); obstack_copy0 (ob, _s, strnlen (_s, n)); })
|
/third_party/python/Lib/idlelib/ |
D | calltip.py | 154 def get_argspec(ob): argument 165 ob_call = ob.__call__ 169 fob = ob_call if isinstance(ob_call, types.MethodType) else ob 189 doc = inspect.getdoc(ob)
|
/third_party/skia/modules/canvaskit/ |
D | color.js | 143 function isCanvasKitColor(ob) { argument 144 if (!ob) { 147 return (ob.constructor === Float32Array && ob.length === 4);
|