Home
last modified time | relevance | path

Searched refs:ob (Results 1 - 25 of 65) sorted by relevance

123

/third_party/python/Include/
H A Dsetobject.h23 #define PyFrozenSet_CheckExact(ob) Py_IS_TYPE(ob, &PyFrozenSet_Type)
24 #define PyFrozenSet_Check(ob) \
25 (Py_IS_TYPE(ob, &PyFrozenSet_Type) || \
26 PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
28 #define PyAnySet_CheckExact(ob) \
29 (Py_IS_TYPE(ob, &PySet_Type) || Py_IS_TYPE(ob, &PyFrozenSet_Type))
30 #define PyAnySet_Check(ob) \
31 (Py_IS_TYPE(ob,
[all...]
H A Dobject.h123 static inline Py_ssize_t Py_REFCNT(PyObject *ob) { in Py_REFCNT() argument
124 return ob->ob_refcnt; in Py_REFCNT()
127 # define Py_REFCNT(ob) Py_REFCNT(_PyObject_CAST(ob))
132 static inline PyTypeObject* Py_TYPE(PyObject *ob) { in Py_TYPE() argument
133 return ob->ob_type; in Py_TYPE()
136 # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))
140 static inline Py_ssize_t Py_SIZE(PyObject *ob) { in Py_SIZE() argument
141 PyVarObject *var_ob = _PyVarObject_CAST(ob); in Py_SIZE()
149 Py_IS_TYPE(PyObject *ob, PyTypeObject *type) Py_IS_TYPE() argument
157 Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) Py_SET_REFCNT() argument
165 Py_SET_TYPE(PyObject *ob, PyTypeObject *type) Py_SET_TYPE() argument
173 Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) Py_SET_SIZE() argument
262 PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) PyObject_TypeCheck() argument
[all...]
H A Dweakrefobject.h26 PyAPI_FUNC(PyObject *) PyWeakref_NewRef(PyObject *ob,
28 PyAPI_FUNC(PyObject *) PyWeakref_NewProxy(PyObject *ob,
/third_party/jsframework/runtime/main/reactivity/
H A Dobserver.js110 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
[all...]
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pt_so_emit.c146 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] * sizeo in so_emit_prim()
173 unsigned ob; so_emit_prim() local
[all...]
/third_party/popt/src/
H A Dpoptint.c92 size_t ob = db; in strdup_locale_from_utf8() local
102 err = iconv(cd, &pin, &ib, &pout, &ob); in strdup_locale_from_utf8()
123 ob = db - used; in strdup_locale_from_utf8()
147 char * b = NULL, * ob = NULL; in POPT_fprintf() local
174 ob = b; in POPT_fprintf()
181 ob = strdup_locale_from_utf8(b); in POPT_fprintf()
182 if (ob != NULL) { in POPT_fprintf()
183 rc = fprintf(stream, "%s", ob); in POPT_fprintf()
184 free(ob); in POPT_fprintf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DSpillPlacement.cpp278 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, Fre in addLinks()
[all...]
/third_party/python/Objects/
H A Drangeobject.c379 /* Assumes (PyLong_CheckExact(ob) || PyBool_Check(ob)) */
381 range_contains_long(rangeobject *r, PyObject *ob) in range_contains_long() argument
394 if (cmp1 == 1) { /* positive steps: start <= ob < stop */ in range_contains_long()
395 cmp2 = PyObject_RichCompareBool(r->start, ob, Py_LE); in range_contains_long()
396 cmp3 = PyObject_RichCompareBool(ob, r->stop, Py_LT); in range_contains_long()
398 else { /* negative steps: stop < ob <= start */ in range_contains_long()
399 cmp2 = PyObject_RichCompareBool(ob, r->start, Py_LE); in range_contains_long()
400 cmp3 = PyObject_RichCompareBool(r->stop, ob, Py_LT); in range_contains_long()
405 if (cmp2 == 0 || cmp3 == 0) { /* ob outsid in range_contains_long()
426 range_contains(rangeobject *r, PyObject *ob) range_contains() argument
557 range_count(rangeobject *r, PyObject *ob) range_count() argument
574 range_index(rangeobject *r, PyObject *ob) range_index() argument
[all...]
H A Dweakrefobject.c25 init_weakref(PyWeakReference *self, PyObject *ob, PyObject *callback) in init_weakref() argument
28 self->wr_object = ob; in init_weakref()
36 new_weakref(PyObject *ob, PyObject *callback) in new_weakref() argument
42 init_weakref(result, ob, callback); in new_weakref()
292 PyObject *ob, *callback = NULL; in weakref___new__() local
294 if (parse_weakref_init_args("__new__", args, kwargs, &ob, &callback)) { in weakref___new__()
298 if (!_PyType_SUPPORTS_WEAKREFS(Py_TYPE(ob))) { in weakref___new__()
301 Py_TYPE(ob)->tp_name); in weakref___new__()
306 list = GET_WEAKREFS_LISTPTR(ob); in weakref___new__()
317 list on ob ca in weakref___new__()
787 PyWeakref_NewRef(PyObject *ob, PyObject *callback) PyWeakref_NewRef() argument
846 PyWeakref_NewProxy(PyObject *ob, PyObject *callback) PyWeakref_NewProxy() argument
[all...]
H A Dsetobject.c2398 PyObject *ob = (PyObject *)so; in test_c_api() local
2403 assert(PyAnySet_Check(ob)); in test_c_api()
2404 assert(PyAnySet_CheckExact(ob)); in test_c_api()
2405 assert(!PyFrozenSet_CheckExact(ob)); in test_c_api()
2419 assert(PySet_Size(ob) == 3); in test_c_api()
2420 assert(PySet_GET_SIZE(ob) == 3); in test_c_api()
2427 dup = PySet_New(ob); in test_c_api()
2428 assertRaises(PySet_Discard(ob, dup) == -1, PyExc_TypeError); in test_c_api()
2429 assertRaises(PySet_Contains(ob, dup) == -1, PyExc_TypeError); in test_c_api()
2430 assertRaises(PySet_Add(ob, du in test_c_api()
[all...]
H A Dstructseq.c137 PyObject *ob; in structseq_new_impl() local
209 ob = Py_None; in structseq_new_impl()
212 ob = _PyDict_GetItemStringWithError(dict, in structseq_new_impl()
214 if (ob == NULL) { in structseq_new_impl()
219 ob = Py_None; in structseq_new_impl()
222 Py_INCREF(ob); in structseq_new_impl()
223 res->ob_item[i] = ob; in structseq_new_impl()
/third_party/python/Lib/
H A Dpyclbr.py89 def _nest_function(ob, func_name, lineno, end_lineno, is_async=False):
90 "Return a Function after nesting within ob."
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):
95 "Return a Class after nesting within ob."
96 return Class(ob.module, class_name, super, ob.file, lineno,
97 parent=ob, end_linen
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/gen/
H A Dintrinsic_table.go173 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
[all...]
/third_party/typescript/tests/baselines/reference/
H A DwidenedTypes.js20 var ob: { x: typeof undefined } = { x: "" };
39 var ob = { x: "" };
50 declare var ob: {
/third_party/python/Lib/ctypes/test/
H A Dtest_pep3118.py24 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/python/Modules/_ctypes/
H A D_ctypes.c814 PyObject *ob = p->obj; in CDataType_from_param() local
821 if(dict && ob) { in CDataType_from_param()
822 res = PyObject_IsInstance(ob, dict->proto); in CDataType_from_param()
830 ob_name = (ob) ? Py_TYPE(ob)->tp_name : "???"; in CDataType_from_param()
2348 converters_from_argtypes(PyObject *ob) in converters_from_argtypes() argument
2354 ob = PySequence_Tuple(ob); /* new reference */ in converters_from_argtypes()
2355 if (!ob) { in converters_from_argtypes()
2361 Py_ssize_t nArgs = PyTuple_GET_SIZE(ob); in converters_from_argtypes()
2449 PyObject *ob; make_funcptrtype_dict() local
2709 CDataObject *ob; KeepRef() local
3103 PyObject *ob; _PyCData_set() local
3252 PyCFuncPtr_set_errcheck(PyCFuncPtrObject *self, PyObject *ob, void *Py_UNUSED(ignored)) PyCFuncPtr_set_errcheck() argument
3275 PyCFuncPtr_set_restype(PyCFuncPtrObject *self, PyObject *ob, void *Py_UNUSED(ignored)) PyCFuncPtr_set_restype() argument
3321 PyCFuncPtr_set_argtypes(PyCFuncPtrObject *self, PyObject *ob, void *Py_UNUSED(ignored)) PyCFuncPtr_set_argtypes() argument
3724 CDataObject *ob; PyCFuncPtr_new() local
3918 PyObject *ob; _build_callargs() local
[all...]
/third_party/python/PC/
H A Dwinreg.c21 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
141 /* Can not call PyHKEY_Close, as the ob->tp_type in PyHKEY_deallocFunc()
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
165 PyHKEY_strFunc(PyObject *ob) PyHKEY_strFunc() argument
181 PyHKEY_hashFunc(PyObject *ob) PyHKEY_hashFunc() argument
419 PyHKEY_AsHKEY(PyObject *ob, HKEY *pHANDLE, BOOL bNoneOK) PyHKEY_AsHKEY() argument
451 clinic_HKEY_converter(PyObject *ob, void *p) clinic_HKEY_converter() argument
[all...]
/third_party/python/Lib/idlelib/
H A Dcalltip.py154 def get_argspec(ob):
165 ob_call = ob.__call__
169 fob = ob_call if isinstance(ob_call, types.MethodType) else ob
189 doc = inspect.getdoc(ob)
/third_party/elfutils/lib/
H A Deu-config.h139 #define obstack_calloc(ob, size) \
140 ({ size_t _s = (size); memset (obstack_alloc (ob, _s), '\0', _s); })
141 #define obstack_strdup(ob, str) \
142 ({ const char *_s = (str); obstack_copy0 (ob, _s, strlen (_s)); })
143 #define obstack_strndup(ob, str, n) \
144 ({ const char *_s = (str); obstack_copy0 (ob, _s, strnlen (_s, n)); })
/third_party/skia/modules/canvaskit/
H A Dcolor.js143 function isCanvasKitColor(ob) {
144 if (!ob) {
147 return (ob.constructor === Float32Array && ob.length === 4);
/third_party/node/deps/openssl/openssl/crypto/objects/
H A Dobj_dat.c223 ASN1_OBJECT ob; in OBJ_nid2obj() local
240 ad.obj = &ob; in OBJ_nid2obj()
241 ob.nid = n; in OBJ_nid2obj()
253 ASN1_OBJECT ob; in OBJ_nid2sn() local
270 ad.obj = &ob; in OBJ_nid2sn()
271 ob.nid = n; in OBJ_nid2sn()
283 ASN1_OBJECT ob; in OBJ_nid2ln() local
300 ad.obj = &ob; in OBJ_nid2ln()
301 ob.nid = n; in OBJ_nid2ln()
/third_party/openssl/crypto/objects/
H A Dobj_dat.c223 ASN1_OBJECT ob; in OBJ_nid2obj() local
240 ad.obj = &ob; in OBJ_nid2obj()
241 ob.nid = n; in OBJ_nid2obj()
253 ASN1_OBJECT ob; in OBJ_nid2sn() local
270 ad.obj = &ob; in OBJ_nid2sn()
271 ob.nid = n; in OBJ_nid2sn()
283 ASN1_OBJECT ob; in OBJ_nid2ln() local
300 ad.obj = &ob; in OBJ_nid2ln()
301 ob.nid = n; in OBJ_nid2ln()
/third_party/protobuf/python/google/protobuf/pyext/
H A Dmessage_factory.cc45 #define PyString_AsStringAndSize(ob, charpp, sizep) \
46 (PyUnicode_Check(ob) ? ((*(charpp) = const_cast<char*>( \
47 PyUnicode_AsUTF8AndSize(ob, (sizep)))) == NULL \
50 : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
/third_party/python/Lib/test/
H A Dtest_weakref.py975 def __init__(self, ob, callback=None, value=42):
977 super().__init__(ob, callback)
1022 def __new__(type, ob, callback, slot1, slot2):
1023 return weakref.ref.__new__(type, ob, callback)
1024 def __init__(self, ob, callback, slot1, slot2):
1343 ob = wr()
1344 self.assertIn(ob, dict)
1345 self.assertIn(ob, dict)
1346 self.assertEqual(ob.arg, dict[ob])
[all...]
/third_party/python/Python/
H A Dmarshal.c229 w_PyLong(const PyLongObject *ob, char flag, WFILE *p) in w_PyLong() argument
235 if (Py_SIZE(ob) == 0) { in w_PyLong()
241 n = Py_ABS(Py_SIZE(ob)); in w_PyLong()
243 d = ob->ob_digit[n-1]; in w_PyLong()
254 w_long((long)(Py_SIZE(ob) > 0 ? l : -l), p); in w_PyLong()
257 d = ob->ob_digit[i]; in w_PyLong()
264 d = ob->ob_digit[n-1]; in w_PyLong()
824 PyLongObject *ob; in r_PyLong() local
842 ob = _PyLong_New(size); in r_PyLong()
843 if (ob in r_PyLong()
[all...]

Completed in 36 milliseconds

123