/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | tdd.py | 27 def update_test_type_in_source(cls, key, value): 32 def update_ext_type_in_source(cls, key, value): 37 def clear_test_dict_source(cls): 41 def reset_test_dict_source(cls):
|
/test/testfwk/xdevice/plugins/devicetest/runner/ |
H A D | prepare.py | 48 for cls in prepares: 49 cls_name = get_base_name(cls.attrib["class"].strip()) 50 for case in cls.findall("testcase"): 141 for cls, val in self.project.prepare.config.items(): 149 test_cls_name = os.path.join(prepare_path, cls + '.py') 152 cls + '.pyd') 154 py_path = os.path.join(prepare_path, cls + '.py') 158 self.log.info("import prepare script:{}".format(cls)) 160 test_cls = import_from_file(prepare_path, cls) 166 self.project.prepare.config[cls][ [all...] |
/third_party/python/Lib/test/ |
H A D | test_property.py | 192 def __doc__(cls): 193 return 'A doc for %r' % cls.__name__ 203 def __doc__(cls): 332 cls = None variable in _PropertyUnreachableAttribute 338 def setUpClass(cls): 339 cls.obj = cls.cls() 355 msg_format = r"^property 'foo' of 'PropertyUnreachableAttributeWithName\.cls' object {}$" 357 class cls class in PropertyUnreachableAttributeWithName 364 class cls: global() class in PropertyUnreachableAttributeNoName [all...] |
H A D | test_abc.py | 37 def foo(cls): pass 40 def bar(cls): pass 45 def foo(cls): return cls.__name__ 49 def foo(cls): return super().foo() 79 def foo(cls): return cls.__name__ 84 def foo(cls): return super().foo() 115 def foo(cls): pass 118 def bar(cls) [all...] |
/third_party/python/Lib/ |
H A D | copy.py | 72 cls = type(x) 74 copier = _copy_dispatch.get(cls) 78 if issubclass(cls, type): 82 copier = getattr(cls, "__copy__", None) 86 reductor = dispatch_table.get(cls) 98 raise Error("un(shallow)copyable object of type %s" % cls) 142 cls = type(x) 144 copier = _deepcopy_dispatch.get(cls) 148 if issubclass(cls, type): 155 reductor = dispatch_table.get(cls) [all...] |
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_futures.py | 105 return self.cls(*args, **kwargs) 113 future = self.cls[str] 174 fut = self.cls.__new__(self.cls, loop=self.loop) 177 fut = self.cls.__new__(self.cls, loop=self.loop) 180 fut = self.cls.__new__(self.cls, loop=self.loop) 184 fut = self.cls.__new__(self.cls, loo 628 cls = futures._CFuture global() variable in CFutureTests 630 cls = None global() variable in CFutureTests 647 cls = CSubFuture global() variable in CSubFutureTests 649 cls = None global() variable in CSubFutureTests 653 cls = futures._PyFuture global() variable in PyFutureTests [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_grep.py | 43 def setUpClass(cls): 44 cls.realpath = os.path.realpath(__file__) 45 cls.path = os.path.dirname(cls.realpath) 48 def tearDownClass(cls): 49 del cls.realpath, cls.path
|
H A D | test_percolator.py | 37 def setUpClass(cls): 38 cls.root = Tk() 39 cls.text = Text(cls.root) 42 def tearDownClass(cls): 43 del cls.text 44 cls.root.destroy() 45 del cls.root
|
H A D | test_autocomplete.py | 28 def setUpClass(cls): 30 cls.root = Tk() 31 cls.root.withdraw() 32 cls.text = Text(cls.root) 33 cls.editor = DummyEditwin(cls.root, cls.text) 36 def tearDownClass(cls): 37 del cls [all...] |
/third_party/python/Modules/clinic/ |
H A D | arraymodule.c.h | 151 array_array_extend_impl(arrayobject *self, PyTypeObject *cls, PyObject *bb); 154 array_array_extend(arrayobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in array_array_extend() argument 167 return_value = array_array_extend_impl(self, cls, bb); in array_array_extend() 293 array_array_fromfile_impl(arrayobject *self, PyTypeObject *cls, PyObject *f, 297 array_array_fromfile(arrayobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in array_array_fromfile() argument 323 return_value = array_array_fromfile_impl(self, cls, f, n); in array_array_fromfile() 339 array_array_tofile_impl(arrayobject *self, PyTypeObject *cls, PyObject *f); 342 array_array_tofile(arrayobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in array_array_tofile() argument 355 return_value = array_array_tofile_impl(self, cls, f); in array_array_tofile() 580 array_array___reduce_ex___impl(arrayobject *self, PyTypeObject *cls, 584 array_array___reduce_ex__(arrayobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) array_array___reduce_ex__() argument 616 array_arrayiterator___reduce__(arrayiterobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) array_arrayiterator___reduce__() argument [all...] |
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | fileserver_example.c | 33 file_reader (void *cls, uint64_t pos, char *buf, size_t max) in file_reader() argument 35 FILE *file = cls; in file_reader() 42 free_callback (void *cls) in free_callback() argument 44 FILE *file = cls; in free_callback() 49 ahc_echo (void *cls, in ahc_echo() argument
|
H A D | https_fileserver_example.c | 99 file_reader (void *cls, uint64_t pos, char *buf, size_t max) in file_reader() argument 101 FILE *file = cls; in file_reader() 108 file_free_callback (void *cls) in file_free_callback() argument 110 FILE *file = cls; in file_free_callback() 116 http_ahc (void *cls, in http_ahc() argument
|
H A D | mhd2spdy_http.h | 31 http_cb_request (void *cls, 41 void * http_cb_log(void * cls, const char * uri); 49 http_cb_request_completed (void *cls,
|
/test/testfwk/xdevice/plugins/devicetest/core/ |
H A D | error_message.py | 1190 def add_attribute(cls): 1195 value = cls.dict_to_object(get_value) 1196 setattr(cls, _attribute, value) 1199 def dict_to_object(cls, dict_obj): 1202 inst = cls.Dict() 1204 inst[_key] = cls.dict_to_object(_value)
|
/third_party/node/deps/v8/tools/sanitizers/ |
H A D | sancov_formatter_test.py | 174 def setUpClass(cls): 176 cls._cov = coverage.coverage( 178 cls._cov.start() 183 def tearDownClass(cls): 184 cls._cov.stop() 185 cls._cov.report()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | functionOverloadErrors.js | 64 class cls { 138 var cls = /** @class */ (function () {
139 function cls() {
141 cls.prototype.f = function () { };
142 cls.prototype.g = function () { };
143 return cls;
|
H A D | typeReferenceDirectives9.js | 30 export const cls = Cls; 53 exports.bar = exports.foo = exports.cls = void 0;
56 exports.cls = main_1.Cls;
80 export declare const cls: typeof Cls;
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
H A D | translate.rs | 199 HirFrame::ClassUnicode(cls) => cls, in unwrap_class_unicode() 212 HirFrame::ClassBytes(cls) => cls, in unwrap_class_bytes() 248 let cls = hir::ClassUnicode::empty(); in visit_pre() 249 self.push(HirFrame::ClassUnicode(cls)); in visit_pre() 251 let cls = hir::ClassBytes::empty(); in visit_pre() 252 self.push(HirFrame::ClassBytes(cls)); in visit_pre() 304 let cls = self.hir_perl_unicode_class(x)?; in visit_post() 305 let hcls = hir::Class::Unicode(cls); in visit_post() 319 let mut cls = self.pop().unwrap().unwrap_class_unicode(); visit_post() variables 334 let mut cls = self.pop().unwrap().unwrap_class_bytes(); visit_post() variables 412 let mut cls = self.pop().unwrap().unwrap_class_unicode(); visit_class_set_item_post() variables 416 let mut cls = self.pop().unwrap().unwrap_class_bytes(); visit_class_set_item_post() variables 424 let mut cls = self.pop().unwrap().unwrap_class_unicode(); visit_class_set_item_post() variables 428 let mut cls = self.pop().unwrap().unwrap_class_bytes(); visit_class_set_item_post() variables 438 let mut cls = self.pop().unwrap().unwrap_class_unicode(); visit_class_set_item_post() variables 443 let mut cls = self.pop().unwrap().unwrap_class_bytes(); visit_class_set_item_post() variables 450 let mut cls = self.pop().unwrap().unwrap_class_unicode(); visit_class_set_item_post() variables 457 let mut cls = self.pop().unwrap().unwrap_class_unicode(); visit_class_set_item_post() variables 462 let mut cls = self.pop().unwrap().unwrap_class_bytes(); visit_class_set_item_post() variables 535 let mut cls = self.pop().unwrap().unwrap_class_unicode(); visit_class_set_binary_op_post() variables 560 let mut cls = self.pop().unwrap().unwrap_class_bytes(); visit_class_set_binary_op_post() variables 688 let mut cls = hir_from_char_case_insensitive() variables 705 let mut cls = hir_from_char_case_insensitive() variables 850 let mut cls = hir::ClassUnicode::new( hir_ascii_unicode_class() variables 863 let mut cls = hir::ClassBytes::new( hir_ascii_byte_class() variables [all...] |
/test/testfwk/developer_test/src/core/build/ |
H A D | build_manager.py | 42 def build_version(cls, project_root_path, product_form): 52 def build_gn_file(cls, project_root_path, product_form): 62 def _make_gn_file(cls, filepath, target_list): 83 def _compile_test_cases_by_target(cls, project_root_path, product_form, 99 def _compile_deps_files(cls, project_root_path, para): 110 def _compile_part_deps(cls, project_root_path, para): 123 def _compile_xts_test_cases(cls, project_root_path, para): 133 def _compile_fuzz_test_case(cls, project_root_path, para):
|
/third_party/python/Lib/test/test_peg_generator/ |
H A D | test_c_parser.py | 77 def setUpClass(cls): 83 cls.tmp_base = os.getcwd() 84 if os.path.samefile(cls.tmp_base, os_helper.SAVEDCWD): 85 cls.tmp_base = None 89 cls.library_dir = tempfile.mkdtemp(dir=cls.tmp_base) 90 cls.addClassCleanup(shutil.rmtree, cls.library_dir)
|
/third_party/python/Tools/wasm/ |
H A D | wasm_build.py | 349 cls = type(self) 350 return self in {cls.wasm32_emscripten, cls.wasm64_emscripten} 354 cls = type(self) 355 return self in {cls.wasm32_wasi, cls.wasm64_wasi} 364 cls = type(self) 365 if self == cls.wasm32_emscripten: 367 elif self == cls.wasm64_emscripten: 376 cls [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | representer.py | 66 def add_representer(cls, data_type, representer): 67 if not 'yaml_representers' in cls.__dict__: 68 cls.yaml_representers = cls.yaml_representers.copy() 69 cls.yaml_representers[data_type] = representer 72 def add_multi_representer(cls, data_type, representer): 73 if not 'yaml_multi_representers' in cls.__dict__: 74 cls.yaml_multi_representers = cls.yaml_multi_representers.copy() 75 cls [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/regres/git/ |
H A D | git.go | 206 cls := parseLog(string(out)) 207 if len(cls) == 0 { 210 return cls[0], nil 215 cls, err := LogFrom(path, "HEAD", 1) 219 if len(cls) == 0 { 222 return cls[0], nil 234 cls := make([]ChangeList, 0, len(msgs)) 249 cls = append(cls, cl) 252 return cls [all...] |
/third_party/node/deps/v8/tools/unittests/ |
H A D | run_tests_test.py | 122 def setUpClass(cls): 124 cls._cov = None 128 cls._cov = None 131 cls._cov = coverage.Coverage( 135 cls._cov.exclude('raise NotImplementedError') 136 cls._cov.exclude('if __name__ == .__main__.:') 137 cls._cov.exclude('except TestRunnerError:') 138 cls._cov.exclude('except KeyboardInterrupt:') 139 cls._cov.exclude('if options.verbose:') 140 cls [all...] |
/third_party/mesa3d/src/amd/compiler/tests/ |
H A D | framework.h | 46 inline bool set_variant(amd_gfx_level cls, const char *rest="") in set_variant() argument 49 if (cls != GFX10_3) { in set_variant() 50 snprintf(buf, sizeof(buf), "gfx%d%s", cls - GFX6 + 6 - (cls > GFX10_3), rest); in set_variant()
|