/third_party/python/Lib/test/ |
H A D | _test_multiprocessing.py | 297 def _test_args(cls, q, arg): 313 def _test(cls, q, *args, **kwds): 314 current = cls.current_process() 318 if cls.TYPE != 'threads': 338 def _test_send_parent_process(cls, wconn): 368 def _test_create_grandchild_process(cls, wconn): 369 p = cls.Process(target=cls._test_report_parent_status, args=(wconn, )) 374 def _test_report_parent_status(cls, wconn): 438 def _test_process_mainthread_native_id(cls, [all...] |
H A D | test_descr.py | 271 def __new__(cls, *args, **kwds): 272 result = complex.__new__(cls, *args) 489 def myself(cls): return cls 496 def __new__(cls, name, bases, dict): 498 return type.__new__(cls, name, bases, dict) 509 def __new__(cls, name, bases, dict): 510 self = object.__new__(cls) 538 cls = super(autosuper, metaclass).__new__(metaclass, 547 setattr(cls, nam [all...] |
/third_party/python/Lib/importlib/ |
H A D | _bootstrap_external.py | 871 def _search_registry(cls, fullname): 872 if cls.DEBUG_BUILD: 873 registry_key = cls.REGISTRY_KEY_DEBUG 875 registry_key = cls.REGISTRY_KEY 879 with cls._open_registry(key) as hkey: 886 def find_spec(cls, fullname, path=None, target=None): 887 filepath = cls._search_registry(fullname) 902 def find_module(cls, fullname, path=None): 911 spec = cls.find_spec(fullname, path) 1422 def _path_importer_cache(cls, pat [all...] |
/third_party/rust/crates/regex/regex-syntax/src/hir/literal/ |
H A D | mod.rs | 451 pub fn add_char_class(&mut self, cls: &hir::ClassUnicode) -> bool { in add_char_class() 452 self._add_char_class(cls, false) in add_char_class() 459 fn add_char_class_reverse(&mut self, cls: &hir::ClassUnicode) -> bool { in add_char_class_reverse() 460 self._add_char_class(cls, true) in add_char_class_reverse() 465 cls: &hir::ClassUnicode, in _add_char_class() 470 if self.class_exceeds_limits(cls_char_count(cls)) { in _add_char_class() 477 for r in cls.iter() { in _add_char_class() 496 pub fn add_byte_class(&mut self, cls: &hir::ClassBytes) -> bool { in add_byte_class() 497 if self.class_exceeds_limits(cls_byte_count(cls)) { in add_byte_class() 504 for r in cls in add_byte_class() [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
H A D | daemon.c | 36 * @param cls unused 42 spdyf_panic_std (void *cls, in spdyf_panic_std() argument 47 (void)cls; in spdyf_panic_std() 162 void *cls) in SPDY_set_panic_func() 165 spdyf_panic_cls = cls; in SPDY_set_panic_func() 179 void * cls, in SPDYF_start_daemon_va() 242 daemon->cls = cls; in SPDYF_start_daemon_va() 161 SPDY_set_panic_func(SPDY_PanicCallback cb, void *cls) SPDY_set_panic_func() argument 170 SPDYF_start_daemon_va(uint16_t port, const char *certfile, const char *keyfile, SPDY_NewSessionCallback nscb, SPDY_SessionClosedCallback sccb, SPDY_NewRequestCallback nrcb, SPDY_NewDataCallback npdcb, SPDYF_NewStreamCallback fnscb, SPDYF_NewDataCallback fndcb, void * cls, void * fcls, va_list valist) SPDYF_start_daemon_va() argument
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | message_factory_test.py | 61 def _ExerciseDynamicClass(self, cls): 62 msg = cls() 92 result = cls.FromString(reserialized) 101 cls = factory.GetPrototype(pool.FindMessageTypeByName( 103 self.assertFalse(cls is factory_test2_pb2.Factory2Message) 104 self._ExerciseDynamicClass(cls) 107 self.assertTrue(cls is cls2)
|
/third_party/protobuf/python/google/protobuf/ |
H A D | descriptor.py | 66 def __instancecheck__(cls, obj): 67 if super(DescriptorMetaclass, cls).__instancecheck__(obj): 69 if isinstance(obj, cls._C_DESCRIPTOR_CLASS): 80 def __new__(cls): 81 self = object.__new__(cls) 289 def __new__(cls, name, full_name, filename, containing_type, fields, 536 def __new__(cls, name, full_name, index, number, type, cpp_type, label, 654 def __new__(cls, name, full_name, filename, values, 714 def __new__(cls, name, index, number, 758 cls, nam [all...] |
/third_party/python/Lib/ |
H A D | pprint.py | 227 cls = object.__class__ 228 stream.write(cls.__name__ + '(') 230 indent + len(cls.__name__) + 1, allowance + 1, 475 cls = object.__class__ 476 indent += len(cls.__name__) + 1 477 stream.write('%s(%s,\n%s' % (cls.__name__, rdf, ' ' * indent)) 487 cls = object.__class__ 488 stream.write(cls.__name__ + '({') 493 indent + len(cls.__name__) + 1, allowance + 2, 503 cls [all...] |
/third_party/benchmark/bindings/python/google_benchmark/ |
H A D | __init__.py | 89 def make(cls, func_or_options): 91 if isinstance(func_or_options, cls.Options): 93 return cls.Options(func_or_options)
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | benchmark.c | 56 * @param cls client-defined closure 64 completed_callback (void *cls, in completed_callback() argument 93 uri_logger_cb (void *cls, in uri_logger_cb() argument 105 ahc_echo (void *cls, in ahc_echo() argument
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | test_daemon.c | 50 apc_nothing (void *cls, const struct sockaddr *addr, socklen_t addrlen) in apc_nothing() argument 56 apc_all (void *cls, const struct sockaddr *addr, socklen_t addrlen) in apc_all() argument 62 ahc_nothing (void *cls, in ahc_nothing() argument
|
/third_party/skia/tools/skpbench/ |
H A D | _benchresult.py | 38 def match(cls, text): 39 match = cls.PATTERN.search(text) 40 return cls(match) if match else None
|
/third_party/python/Lib/test/test_zoneinfo/ |
H A D | _support.py | 64 def setUpClass(cls): 65 cls.klass = cls.module.ZoneInfo
|
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_colorchooser.py | 15 def setUpClass(cls): 16 AbstractTkTest.setUpClass.__func__(cls) 17 cls.cc = colorchooser.Chooser(initialcolor='dark blue slate')
|
/third_party/python/Modules/clinic/ |
H A D | md5module.c.h | 15 MD5Type_copy_impl(MD5object *self, PyTypeObject *cls); 18 MD5Type_copy(MD5object *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in MD5Type_copy() argument 24 return MD5Type_copy_impl(self, cls); in MD5Type_copy()
|
H A D | sha1module.c.h | 15 SHA1Type_copy_impl(SHA1object *self, PyTypeObject *cls); 18 SHA1Type_copy(SHA1object *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in SHA1Type_copy() argument 24 return SHA1Type_copy_impl(self, cls); in SHA1Type_copy()
|
/third_party/vk-gl-cts/framework/platform/android/ |
H A D | tcuAndroidJNI.cpp | 42 jclass cls = env->GetObjectClass(obj); in getExecServiceField() local 43 TCU_CHECK_INTERNAL(cls); in getExecServiceField() 45 jfieldID fid = env->GetFieldID(cls, "m_server", "J"); in getExecServiceField()
|
/test/testfwk/developer_test/src/core/command/ |
H A D | run.py | 58 def get_target_out_path(cls, product_form):
69 def _build_test_cases(cls, options):
85 def _check_test_dictionary(cls, test_dictionary):
96 def get_tests_out_path(cls, product_form):
116 def get_xts_tests_out_path(cls, product_form, testtype):
128 def get_external_deps_out_path(cls, product_form):
137 def get_coverage_outpath(cls, options):
149 def get_part_deps_list(cls, productform, testpart):
151 external_deps_path = cls.get_external_deps_out_path(productform)
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/coverage/ |
H A D | JacocoReportCheck.java | 179 String cls = clsElement.getAttribute("name"); in parseReport() 267 ReportEntry entry = new ReportEntry(cls, method); in parseReport() 365 final String cls; field in JacocoReportCheck.ReportEntry 369 ReportEntry(String cls, Method method) { in ReportEntry() argument 370 this.cls = cls; in ReportEntry() 372 this.key = cls + "#" + method.name() + ":" + method.desc(); in ReportEntry() 379 String cls() { in cls() method in JacocoReportCheck.ReportEntry 380 return cls; in cls()
|
/third_party/python/Modules/cjkcodecs/clinic/ |
H A D | multibytecodec.c.h | 488 PyTypeObject *cls, 492 _multibytecodec_MultibyteStreamWriter_write(MultibyteStreamWriterObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _multibytecodec_MultibyteStreamWriter_write() argument 505 return_value = _multibytecodec_MultibyteStreamWriter_write_impl(self, cls, strobj); in _multibytecodec_MultibyteStreamWriter_write() 521 PyTypeObject *cls, 525 _multibytecodec_MultibyteStreamWriter_writelines(MultibyteStreamWriterObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _multibytecodec_MultibyteStreamWriter_writelines() argument 538 return_value = _multibytecodec_MultibyteStreamWriter_writelines_impl(self, cls, lines); in _multibytecodec_MultibyteStreamWriter_writelines() 554 PyTypeObject *cls); 557 _multibytecodec_MultibyteStreamWriter_reset(MultibyteStreamWriterObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _multibytecodec_MultibyteStreamWriter_reset() argument 563 return _multibytecodec_MultibyteStreamWriter_reset_impl(self, cls); in _multibytecodec_MultibyteStreamWriter_reset()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/ |
H A D | logger.cpp | 162 jclass cls = env->FindClass("java/lang/Exception"); in VLogAssert() local 163 if (cls) { in VLogAssert() 164 jmethodID constructor = env->GetMethodID(cls, "<init>", "()V"); in VLogAssert() 165 jobject exception = env->NewObject(cls, constructor); in VLogAssert() 166 jmethodID printStackTrace = env->GetMethodID(cls, "printStackTrace", "()V"); in VLogAssert()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/ |
H A D | manager_lite.py | 53 def __new__(cls): 57 if cls.instance is None: 58 cls.instance = object.__new__(cls) 59 return cls.instance
|
/third_party/astc-encoder/Test/testlib/ |
H A D | image.py | 203 def is_format_supported(cls, fileFormat, profile=None): 217 return fileFormat in cls.SUPPORTED_LDR 220 return fileFormat in cls.SUPPORTED_HDR 222 return fileFormat in cls.SUPPORTED_LDR or \ 223 fileFormat in cls.SUPPORTED_HDR
|
/third_party/lzma/CPP/7zip/Archive/ |
H A D | ArchiveExports.cpp | 36 #define CLS_ARC_ID_ITEM(cls) ((cls).Data4[5])
52 GUID cls = *clsid;
in FindFormatCalssId() local 53 CLS_ARC_ID_ITEM(cls) = 0;
in FindFormatCalssId() 54 if (cls != CLSID_CArchiveHandler)
in FindFormatCalssId()
|
/third_party/python/Lib/multiprocessing/ |
H A D | sharedctypes.py | 114 cls = type(obj) 116 scls = class_cache[cls] 118 names = [field[0] for field in cls._fields_] 120 classname = 'Synchronized' + cls.__name__ 121 scls = class_cache[cls] = type(classname, (SynchronizedBase,), d)
|