/gem5/configs/common/ |
H A D | BPConfig.py | 76 doc = inspect.getdoc(cls) 77 if doc: 78 for line in doc_wrapper.wrap(doc): 127 doc = inspect.getdoc(cls) 128 if doc: 129 for line in doc_wrapper.wrap(doc):
|
H A D | HWPConfig.py | 76 doc = inspect.getdoc(cls) 77 if doc: 78 for line in doc_wrapper.wrap(doc):
|
H A D | PlatformConfig.py | 95 doc = inspect.getdoc(cls) 96 if doc: 97 for line in doc_wrapper.wrap(doc):
|
H A D | CpuConfig.py | 96 doc = inspect.getdoc(cls) 97 if doc: 98 for line in doc_wrapper.wrap(doc):
|
H A D | MemConfig.py | 83 doc = inspect.getdoc(cls) 84 if doc: 85 for line in doc_wrapper.wrap(doc):
|
/gem5/ext/googletest/googlemock/include/gmock/internal/ |
H A D | gmock-port.h | 82 #define GMOCK_DEFINE_bool_(name, default_val, doc) \ 84 #define GMOCK_DEFINE_int32_(name, default_val, doc) \ 86 #define GMOCK_DEFINE_string_(name, default_val, doc) \
|
/gem5/ext/pybind11/tests/ |
H A D | test_kwargs_and_defaults.py | 5 def test_function_signatures(doc): 6 assert doc(m.kw_func0) == "kw_func0(arg0: int, arg1: int) -> str" 7 assert doc(m.kw_func1) == "kw_func1(x: int, y: int) -> str" 8 assert doc(m.kw_func2) == "kw_func2(x: int = 100, y: int = 200) -> str" 9 assert doc(m.kw_func3) == "kw_func3(data: str = 'Hello world!') -> None" 10 assert doc(m.kw_func4) == "kw_func4(myList: List[int] = [13, 17]) -> str" 11 assert doc(m.kw_func_udl) == "kw_func_udl(x: int, y: int = 300) -> str" 12 assert doc(m.kw_func_udl_z) == "kw_func_udl_z(x: int, y: int = 0) -> str" 13 assert doc(m.args_function) == "args_function(*args) -> tuple" 14 assert doc( [all...] |
H A D | test_stl.py | 8 def test_vector(doc): 19 assert doc(m.cast_vector) == "cast_vector() -> List[int]" 20 assert doc(m.load_vector) == "load_vector(arg0: List[int]) -> bool" 26 def test_deque(doc): 35 def test_array(doc): 41 assert doc(m.cast_array) == "cast_array() -> List[int[2]]" 42 assert doc(m.load_array) == "load_array(arg0: List[int[2]]) -> bool" 45 def test_valarray(doc): 51 assert doc(m.cast_valarray) == "cast_valarray() -> List[int]" 52 assert doc( [all...] |
H A D | test_pytypes.py | 9 def test_list(capture, doc): 24 assert doc(m.get_list) == "get_list() -> list" 25 assert doc(m.print_list) == "print_list(arg0: list) -> None" 28 def test_set(capture, doc): 46 assert doc(m.get_list) == "get_list() -> list" 47 assert doc(m.print_list) == "print_list(arg0: list) -> None" 50 def test_dict(capture, doc): 66 assert doc(m.get_dict) == "get_dict() -> dict" 67 assert doc(m.print_dict) == "print_dict(arg0: dict) -> None" 72 def test_str(doc) [all...] |
H A D | test_class.py | 26 def test_docstrings(doc): 27 assert doc(UserType) == "A `py::class_` type for testing" 33 assert doc(UserType.get_value) == """ 38 assert doc(UserType.value) == "Get/set value using a property" 40 assert doc(m.NoConstructor.new_instance) == """ 47 def test_qualname(doc): 53 assert doc(m.NestBase.__init__) == """ 56 assert doc(m.NestBase.g) == """ 59 assert doc(m.NestBase.Nested.__init__) == """ 62 assert doc( [all...] |
H A D | test_callbacks.py | 102 def test_function_signatures(doc): 103 assert doc(m.test_callback3) == "test_callback3(arg0: Callable[[int], int]) -> str" 104 assert doc(m.test_callback4) == "test_callback4() -> Callable[[int], int]"
|
H A D | test_numpy_vectorize.py | 110 def test_docs(doc): 111 assert doc(m.vectorized_func) == """ 159 def test_passthrough_arguments(doc): 160 assert doc(m.vec_passthrough) == (
|
H A D | pybind11_tests.cpp | 66 m.doc() = "pybind11 test module";
|
H A D | test_builtin_casters.py | 187 def test_tuple(doc): 196 assert doc(m.pair_passthrough) == """ 201 assert doc(m.tuple_passthrough) == """
|
H A D | test_eigen.py | 608 def test_dense_signature(doc): 609 assert doc(m.double_col) == """ 612 assert doc(m.double_row) == """ 615 assert doc(m.double_complex) == """ 618 assert doc(m.double_mat_rm) == """ 655 def test_sparse_signature(doc): 656 assert doc(m.sparse_copy_r) == """ 659 assert doc(m.sparse_copy_c) == """
|
H A D | pybind11_cross_module_tests.cpp | 16 m.doc() = "pybind11 cross-module test module";
|
H A D | test_numpy_dtypes.py | 269 def test_signature(doc): 270 assert doc(m.create_rec_nested) == \
|
H A D | conftest.py | 152 def doc(): function
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | attr.h | 30 struct doc { const char *value; doc(const char *value) : value(value) { } }; function in struct:doc 143 char *doc = nullptr; member in struct:function_record 237 const char *doc = nullptr; member in struct:type_record 316 template <> struct process_attribute<doc> : process_attribute_default<doc> { 317 static void init(const doc &n, function_record *r) { r->doc = const_cast<char *>(n.value); } 322 static void init(const char *d, function_record *r) { r->doc = const_cast<char *>(d); } 323 static void init(const char *d, type_record *r) { r->doc [all...] |
H A D | pybind11.h | 198 if (rec->doc) rec->doc = strdup(rec->doc); 373 if (it->doc && strlen(it->doc) > 0 && options::show_user_defined_docstrings()) { 381 signatures += it->doc; 407 std::free((char *) rec->doc); 794 explicit module(const char *name, const char *doc = nullptr) { 795 if (!options::show_user_defined_docstrings()) doc = nullptr; 800 def->m_doc = doc; [all...] |
H A D | pytypes.h | 150 str_attr_accessor doc() const; 1428 str_attr_accessor object_api<D>::doc() const { return attr("__doc__"); } function in class:object_api
|
/gem5/src/python/m5/stats/ |
H A D | __init__.py | 226 def print_doc(doc): 227 for line in doc.splitlines(): 235 # Try to extract the factory doc string
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | class.h | 545 if (rec.doc && options::show_user_defined_docstrings()) { 548 size_t size = strlen(rec.doc) + 1; 550 memcpy((void *) tp_doc, rec.doc, size);
|
/gem5/ext/ply/ply/ |
H A D | yacc.py | 2722 def parse_grammar(doc,file,line): 2724 # Split the doc string into lines 2725 pstrings = doc.splitlines() 2982 for line, file, name, doc in self.pfuncs: 2998 parsed_g = parse_grammar(doc,file,line) 3021 doc = v.__doc__.split(" ") 3022 if doc[1] == ':':
|
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-port.h | 2522 #define GTEST_DEFINE_bool_(name, default_val, doc) \ 2524 #define GTEST_DEFINE_int32_(name, default_val, doc) \ 2526 #define GTEST_DEFINE_string_(name, default_val, doc) \
|