Home
last modified time | relevance | path

Searched refs:cls (Results 226 - 250 of 676) sorted by relevance

12345678910>>...28

/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/
H A Dstream.py46 def make(cls, **kwargs):
54 return cls(**{f: kwargs.get(f) for f in cls._fields})
333 def _create(cls, value, **kwargs):
527 def _create(cls, value, **kwargs):
528 return cls(value, **kwargs)
579 def _create(cls, value, **kwargs):
582 return cls(value, **kwargs)
/third_party/python/Lib/test/test_importlib/
H A Dutil.py57 def specialize_class(cls, kind, base=None, **kwargs):
64 name = '{}_{}'.format(kind, cls.__name__)
65 bases = (cls, base)
67 specialized.__module__ = cls.__module__
68 specialized._NAME = cls.__name__
76 def split_frozen(cls, base=None, **kwargs):
77 frozen = specialize_class(cls, 'Frozen', base, **kwargs)
78 source = specialize_class(cls, 'Source', base, **kwargs)
/third_party/python/Lib/test/
H A Dtest_enum.py302 def spam(cls):
435 def __new__(cls, *value, **kwds):
438 obj = new(cls)
444 obj = new(cls, *create_value)
1177 def __new__(cls, value):
1178 return int.__new__(cls, value)
1545 def __new__(metacls, cls, bases, classdict):
1547 temp._cls_name = cls
1562 metacls, cls, bases, temp)
1583 def __new__(cls, *arg
[all...]
H A Dtest_pstats.py81 def __new__(cls, *values):
83 obj = str.__new__(cls, value)
86 cls._value2member_map_[other_value] = obj
/third_party/python/Lib/importlib/metadata/
H A D_collections.py29 def parse(cls, text):
30 return cls(*map(str.strip, text.split("=", 1)))
/third_party/benchmark/tools/gbench/
H A Dreport.py427 def setUpClass(cls):
443 cls.json_diff_report = get_difference_report(json1, json2)
618 def setUpClass(cls):
633 cls.json_diff_report = get_difference_report(json1, json2)
702 def setUpClass(cls):
718 cls.json_diff_report = get_difference_report(
907 def setUpClass(cls):
923 cls.json_diff_report = get_difference_report(
1068 def setUpClass(cls):
1084 cls
[all...]
/third_party/python/Lib/
H A Dast.py134 cls = type(node)
144 if value is None and getattr(cls, name, ...) is None:
159 if value is None and getattr(cls, name, ...) is None:
434 for cls, name in _const_node_type_names.items():
435 if isinstance(value, cls):
528 def __init__(cls, *args):
529 cls.__doc__ = """Deprecated AST node class. Use ast.Constant instead"""
531 def __instancecheck__(cls, inst):
534 if cls in _const_types:
541 isinstance(value, _const_types[cls]) an
[all...]
H A Dtarfile.py1079 def create_pax_global_header(cls, pax_headers):
1082 return cls._create_pax_generic_header(pax_headers, XGLTYPE, "utf-8")
1153 def _create_gnu_long_header(cls, name, type, encoding, errors):
1166 return cls._create_header(info, USTAR_FORMAT, encoding, errors) + \
1167 cls._create_payload(name)
1170 def _create_pax_generic_header(cls, pax_headers, type, encoding):
1217 return cls._create_header(info, USTAR_FORMAT, "ascii", "replace") + \
1218 cls._create_payload(records)
1221 def frombuf(cls, buf, encoding, errors):
1235 obj = cls()
[all...]
H A D_threading_local.py207 def __new__(cls, /, *args, **kw):
208 if (args or kw) and (cls.__init__ is object.__init__):
210 self = object.__new__(cls)
/third_party/python/Modules/_sqlite/
H A Dconnection.c942 create_callback_context(PyTypeObject *cls, PyObject *callable) in create_callback_context() argument
946 PyObject *module = PyType_GetModule(cls); in create_callback_context()
989 cls: defining_class
1002 PyTypeObject *cls, const char *name, in pysqlite_connection_create_function_impl()
1028 callback_context *ctx = create_callback_context(cls, func); in pysqlite_connection_create_function_impl()
1063 PyObject **cls = (PyObject **)sqlite3_aggregate_context(context, size); in inverse_callback() local
1064 assert(cls != NULL); in inverse_callback()
1065 assert(*cls != NULL); in inverse_callback()
1067 PyObject *method = PyObject_GetAttr(*cls, ctx->state->str_inverse); in inverse_callback()
1111 PyObject **cls in value_callback() local
1001 pysqlite_connection_create_function_impl(pysqlite_Connection *self, PyTypeObject *cls, const char *name, int narg, PyObject *func, int deterministic) pysqlite_connection_create_function_impl() argument
1153 create_window_function_impl(pysqlite_Connection *self, PyTypeObject *cls, const char *name, int num_params, PyObject *aggregate_class) create_window_function_impl() argument
1212 pysqlite_connection_create_aggregate_impl(pysqlite_Connection *self, PyTypeObject *cls, const char *name, int n_arg, PyObject *aggregate_class) pysqlite_connection_create_aggregate_impl() argument
1389 pysqlite_connection_set_authorizer_impl(pysqlite_Connection *self, PyTypeObject *cls, PyObject *callable) pysqlite_connection_set_authorizer_impl() argument
1432 pysqlite_connection_set_progress_handler_impl(pysqlite_Connection *self, PyTypeObject *cls, PyObject *callable, int n) pysqlite_connection_set_progress_handler_impl() argument
1468 pysqlite_connection_set_trace_callback_impl(pysqlite_Connection *self, PyTypeObject *cls, PyObject *callable) pysqlite_connection_set_trace_callback_impl() argument
2029 pysqlite_connection_create_collation_impl(pysqlite_Connection *self, PyTypeObject *cls, const char *name, PyObject *callable) pysqlite_connection_create_collation_impl() argument
[all...]
/third_party/python/Tools/clinic/
H A Dclinic.py1379 name = f.cls.name
2123 cls = None
2135 return module, cls
2139 cls = parent = child
2141 return module, cls
2205 def __init__(self, name, module=None, cls=None, typedef=None, type_object=None):
2208 self.cls = cls
2211 self.parent = cls or module
2308 module, cls
5241 cls = module[name] global() variable
[all...]
/third_party/node/deps/minimatch/src/dist/cjs/
H A Dbrace-expressions.js74 for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
75 if (glob.startsWith(cls, i)) {
80 i += cls.length;
/third_party/node/deps/npm/node_modules/minimatch/dist/cjs/
H A Dbrace-expressions.js74 for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
75 if (glob.startsWith(cls, i)) {
80 i += cls.length;
/third_party/node/deps/minimatch/src/dist/mjs/
H A Dbrace-expressions.js71 for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
72 if (glob.startsWith(cls, i)) {
77 i += cls.length;
/third_party/node/deps/npm/node_modules/minimatch/dist/mjs/
H A Dbrace-expressions.js71 for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
72 if (glob.startsWith(cls, i)) {
77 i += cls.length;
/third_party/python/Tools/tz/
H A Dzdump.py18 def fromfile(cls, fileobj):
39 self = cls(transitions, type_indices, ttis, abbrs)
59 def zonelist(cls, zonedir='/usr/share/zoneinfo'):
/third_party/python/Lib/re/
H A D_constants.py57 def __new__(cls, value, name):
58 self = super(_NamedIntConstant, cls).__new__(cls, value)
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dbenchmark_https.c56 * @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/testcurl/https/
H A Dtest_https_get_parallel_threads.c64 ret = test_https_transfer (cargs->cls, in https_transfer_thread_adapter()
79 test_single_client (void *cls, const char *cipher_suite, in test_single_client() argument
101 test_parallel_clients (void *cls, const char *cipher_suite, in test_parallel_clients() argument
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dtest_urlparse.c71 test_values (void *cls, in test_values() argument
89 ahc_echo (void *cls, in ahc_echo() argument
98 const char *me = cls; in ahc_echo()
/third_party/python/Lib/unittest/
H A Dasync_case.py69 cls = type(cm)
71 enter = cls.__aenter__
72 exit = cls.__aexit__
74 raise TypeError(f"'{cls.__module__}.{cls.__qualname__}' object does "
/third_party/python/Modules/clinic/
H A Dsha512module.c.h15 SHA512Type_copy_impl(SHAobject *self, PyTypeObject *cls);
18 SHA512Type_copy(SHAobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in SHA512Type_copy() argument
24 return SHA512Type_copy_impl(self, cls); in SHA512Type_copy()
H A Dsha256module.c.h15 SHA256Type_copy_impl(SHAobject *self, PyTypeObject *cls);
18 SHA256Type_copy(SHAobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in SHA256Type_copy() argument
24 return SHA256Type_copy_impl(self, cls); in SHA256Type_copy()
/third_party/node/deps/v8/tools/unittests/
H A Drun_perf_test.py95 def setUpClass(cls):
109 def setUpClass(cls):
111 cls._cov = coverage.coverage(
113 cls._cov.start()
120 def tearDownClass(cls):
121 cls._cov.stop()
123 print(cls._cov.report())
/third_party/python/Modules/
H A D_testmultiphase.c135 cls: defining_class
145 PyTypeObject *cls) in _testmultiphase_StateAccessType_get_defining_module_impl()
149 retval = PyType_GetModule(cls); in _testmultiphase_StateAccessType_get_defining_module_impl()
161 cls: defining_class
168 PyTypeObject *cls) in _testmultiphase_StateAccessType_getmodulebydef_bad_def_impl()
179 cls: defining_class
194 PyTypeObject *cls, in _testmultiphase_StateAccessType_increment_count_clinic_impl()
198 meth_state *m_state = PyType_GetModuleState(cls); in _testmultiphase_StateAccessType_increment_count_clinic_impl()
256 cls: defining_class
263 PyTypeObject *cls) in _testmultiphase_StateAccessType_get_count_impl()
144 _testmultiphase_StateAccessType_get_defining_module_impl(StateAccessTypeObject *self, PyTypeObject *cls) _testmultiphase_StateAccessType_get_defining_module_impl() argument
167 _testmultiphase_StateAccessType_getmodulebydef_bad_def_impl(StateAccessTypeObject *self, PyTypeObject *cls) _testmultiphase_StateAccessType_getmodulebydef_bad_def_impl() argument
193 _testmultiphase_StateAccessType_increment_count_clinic_impl(StateAccessTypeObject *self, PyTypeObject *cls, int n, int twice) _testmultiphase_StateAccessType_increment_count_clinic_impl() argument
262 _testmultiphase_StateAccessType_get_count_impl(StateAccessTypeObject *self, PyTypeObject *cls) _testmultiphase_StateAccessType_get_count_impl() argument
[all...]

Completed in 24 milliseconds

12345678910>>...28