/third_party/python/Lib/test/ |
H A D | test_weakset.py | 458 for cls in WeakSet, WeakSetWithSlots: 459 s = cls(self.items) 464 self.assertIsInstance(dup, cls) 472 self.assertIsInstance(dup, cls)
|
H A D | audiotests.py | 253 def setUpClass(cls): 254 cls.sndfilepath = findfile(cls.sndfilename, subdir='audiodata')
|
H A D | test_code.py | 197 def add_foreign_method(cls, name, f): 200 closure = create_closure(cls) 202 setattr(cls, name, FunctionType(code, globals(), name, defaults, closure))
|
H A D | test_codeccallbacks.py | 1225 for cls in UnicodeEncodeError, UnicodeDecodeError, UnicodeTranslateError: 1227 __class__ = cls 1229 with self.subTest(handler=handler, error_class=cls): 1232 __class__ = cls 1234 with self.subTest(handler=handler, error_class=cls):
|
H A D | test_plistlib.py | 1022 def setUpClass(cls) -> None: 1024 with open(cls.file_name,'wb') as f: 1025 plistlib.dump(cls.properties, f, fmt=plistlib.FMT_BINARY) 1028 def tearDownClass(cls) -> None: 1029 os.remove(cls.file_name)
|
H A D | test_itertools.py | 2281 for cls, args, result in testcases: 2282 with self.subTest(cls): 2283 class subclass(cls): 2291 for cls, args, result in testcases: 2295 if cls in [repeat, zip, compress]: 2297 with self.subTest(cls): 2298 class subclass_with_init(cls): 2306 for cls, args, result in testcases: 2307 with self.subTest(cls): 2308 class subclass_with_new(cls) [all...] |
/third_party/python/Lib/ |
H A D | threading.py | 429 cls = self.__class__ 430 return (f"<{cls.__module__}.{cls.__qualname__} at {id(self):#x}:" 520 cls = self.__class__ 521 return (f"<{cls.__module__}.{cls.__qualname__} at {id(self):#x}:" 560 cls = self.__class__ 562 return f"<{cls.__module__}.{cls.__qualname__} at {id(self):#x}: {status}>" 663 cls [all...] |
H A D | zipfile.py | 524 def from_file(cls, filename, arcname=None, *, strict_timestamps=True): 551 zinfo = cls(arcname, date_time) 1697 def _sanitize_windows_name(cls, arcname, pathsep): 1699 table = cls._windows_illegal_name_trans_table 1703 cls._windows_illegal_name_trans_table = table 2338 def make(cls, source): 2347 return cls(source) 2351 cls = CompleteDirs 2353 source.__class__ = cls
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_statistics.cpp | 110 instr_class cls = instr_info.classes[(int)instr->opcode]; in get_perf_info() local 117 switch (cls) { in get_perf_info() 148 switch (cls) { in get_perf_info()
|
/third_party/python/Modules/ |
H A D | _abc.c | 454 PyTypeObject *cls = (PyTypeObject *)self; in _abc__abc_init() local 455 PyObject *flags = PyDict_GetItemWithError(cls->tp_dict, in _abc__abc_init() 474 if (PyDict_DelItem(cls->tp_dict, &_Py_ID(__abc_tpflags__)) < 0) { in _abc__abc_init()
|
H A D | _xxsubinterpretersmodule.c | 1453 newchannelid(PyTypeObject *cls, int64_t cid, int end, _channels *channels, in newchannelid() argument 1456 channelid *self = PyObject_New(channelid, cls); in newchannelid() 1481 channelid_new(PyTypeObject *cls, PyObject *args, PyObject *kwds) in channelid_new() argument 1511 return (PyObject *)newchannelid(cls, cid, end, _global_channels(), in channelid_new() 1670 PyObject *cls = PyObject_GetAttrString(highlevel, clsname); in _channel_from_cid() local 1672 if (cls == NULL) { in _channel_from_cid() 1675 PyObject *chan = PyObject_CallFunctionObjArgs(cls, cid, NULL); in _channel_from_cid() 1676 Py_DECREF(cls); in _channel_from_cid()
|
H A D | pyexpat.c | 711 cls: defining_class 722 pyexpat_xmlparser_Parse_impl(xmlparseobject *self, PyTypeObject *cls, in pyexpat_xmlparser_Parse_impl() argument 730 pyexpat_state *state = PyType_GetModuleState(cls); in pyexpat_xmlparser_Parse_impl() 813 cls: defining_class 821 pyexpat_xmlparser_ParseFile_impl(xmlparseobject *self, PyTypeObject *cls, in pyexpat_xmlparser_ParseFile_impl() argument 828 pyexpat_state *state = PyType_GetModuleState(cls); in pyexpat_xmlparser_ParseFile_impl() 927 cls: defining_class 937 PyTypeObject *cls, in pyexpat_xmlparser_ExternalEntityParserCreate_impl() 945 pyexpat_state *state = PyType_GetModuleState(cls); in pyexpat_xmlparser_ExternalEntityParserCreate_impl() 1032 cls 936 pyexpat_xmlparser_ExternalEntityParserCreate_impl(xmlparseobject *self, PyTypeObject *cls, const char *context, const char *encoding) pyexpat_xmlparser_ExternalEntityParserCreate_impl() argument 1044 pyexpat_xmlparser_UseForeignDTD_impl(xmlparseobject *self, PyTypeObject *cls, int flag) pyexpat_xmlparser_UseForeignDTD_impl() argument [all...] |
/third_party/lwip/src/core/ |
H A D | dns.c | 198 u16_t cls; member 208 u16_t cls; member 890 qry.cls = PP_HTONS(DNS_RRCLASS_IN); in dns_send() 1350 if ((qry.cls != PP_HTONS(DNS_RRCLASS_IN)) || in dns_recv() 1396 if (ans.cls == PP_HTONS(DNS_RRCLASS_IN)) { in dns_recv()
|
/third_party/mksh/ |
H A D | emacsfn.h | 38 FN(cls, "clear-screen", 0)
|
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/ |
H A D | test_empty_response.c | 42 ahc_echo (void *cls, in ahc_echo() argument
|
/third_party/skia/third_party/externals/microhttpd/src/testcurl/ |
H A D | test_digestauth.c | 71 ahc_echo (void *cls, in ahc_echo() argument
|
H A D | test_digestauth_with_arguments.c | 70 ahc_echo (void *cls, in ahc_echo() argument
|
/third_party/python/Objects/ |
H A D | typeobject.c | 366 PyTypeObject *cls = _PyType_CAST(b); in type_mro_modified() local 368 if (!PyType_IsSubtype(type, cls)) { in type_mro_modified() 825 PyTypeObject *cls; in type_set_bases() local 829 "", 2, 3, &cls, &new_mro, &old_mro); in type_set_bases() local 830 /* Do not rollback if cls has a newer version of MRO. */ in type_set_bases() 831 if (cls->tp_mro == new_mro) { in type_set_bases() 833 cls->tp_mro = old_mro; in type_set_bases() 1749 class_name(PyObject *cls) in class_name() argument 1752 if (_PyObject_LookupAttr(cls, &_Py_ID(__name__), &name) == 0) { in class_name() 1753 name = PyObject_Repr(cls); in class_name() 1954 PyObject *cls = PyTuple_GET_ITEM(base->tp_mro, i); mro_implementation() local 2447 type_init(PyObject *cls, PyObject *args, PyObject *kwds) type_init() argument 4913 _PyType_GetSlotNames(PyTypeObject *cls) _PyType_GetSlotNames() argument 5294 PyObject *cls; reduce_newobj() local 5440 PyObject *cls, *clsreduce; object___reduce_ex___impl() local 5464 object_subclasshook(PyObject *cls, PyObject *args) object_subclasshook() argument 5478 object_init_subclass(PyObject *cls, PyObject *arg) object_init_subclass() argument [all...] |
/third_party/rust/crates/regex/regex-syntax/src/ast/ |
H A D | parse.rs | 50 Primitive::Perl(cls) => Ast::Class(ast::Class::Perl(cls)), in into_ast() 51 Primitive::Unicode(cls) => Ast::Class(ast::Class::Unicode(cls)), in into_ast() 68 Perl(cls) => Ok(ClassSetItem::Perl(cls)), in into_class_set_item() 69 Unicode(cls) => Ok(ClassSetItem::Unicode(cls)), in into_class_set_item() 1468 let mut cls = self.parse_unicode_class()?; in parse_escape() variables 1469 cls in parse_escape() 1473 let mut cls = self.parse_perl_class(); parse_escape() variables [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
H A D | Collator.java | 608 Class<?> cls = Class.forName("com.ibm.icu.text.CollatorServiceShim"); in getShim() 609 shim = (ServiceShim)cls.newInstance(); in getShim()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | Collator.java | 578 Class<?> cls = Class.forName("ohos.global.icu.text.CollatorServiceShim"); in getShim() 579 shim = (ServiceShim)cls.newInstance(); in getShim()
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | macro_collector.py | 160 def _argument_split(cls, arguments: str) -> List[str]: 161 return re.split(cls._argument_split_re, arguments)
|
/third_party/mesa3d/bin/pick/ |
H A D | core.py | 133 def from_json(cls, data: 'CommitDict') -> 'Commit': 134 c = cls(data['sha'], data['description'], data['nominated'], main_sha=data['main_sha'], because_sha=data['because_sha'])
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_shader.h | 197 void set_chip_class(r600_chip_class cls) {m_chip_class = cls;}; in set_chip_class() argument
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
H A D | load-actual.js | 23 module.exports = cls => class ActualLoader extends cls {
|