/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/ |
H A D | stream.py | 46 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 D | util.py | 57 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 D | test_enum.py | 302 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 D | test_pstats.py | 81 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.py | 29 def parse(cls, text): 30 return cls(*map(str.strip, text.split("=", 1)))
|
/third_party/benchmark/tools/gbench/ |
H A D | report.py | 427 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 D | ast.py | 134 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 D | tarfile.py | 1079 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.py | 207 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 D | connection.c | 942 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 D | clinic.py | 1379 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 D | brace-expressions.js | 74 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 D | brace-expressions.js | 74 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 D | brace-expressions.js | 71 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 D | brace-expressions.js | 71 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 D | zdump.py | 18 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.py | 57 def __new__(cls, value, name): 58 self = super(_NamedIntConstant, cls).__new__(cls, value)
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | benchmark_https.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/testcurl/https/ |
H A D | test_https_get_parallel_threads.c | 64 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 D | test_urlparse.c | 71 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 D | async_case.py | 69 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 D | sha512module.c.h | 15 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 D | sha256module.c.h | 15 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 D | run_perf_test.py | 95 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.c | 135 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...] |