| /petsc/config/BuildSystem/config/ |
| H A D | util.py | 8 def classify(items, functional, args=(), kwargs=dict()): argument 21 items = list(items) # In case a set or other iterable was passed in 23 result = functional(items, *args, **kwargs) 25 return items, [] # All succeeded 26 if len(items) == 1: 27 return [], items # Sole failure 32 items = [i for i in items if i not in suggested] 35 if len(items) < 5: # linear check 36 groups = [[i] for i in items] 38 groups = [items[:len(items)//2], items[len(items)//2:]] [all …]
|
| H A D | setsOrdered.py | 96 items = [] 97 for key, value in self._data.items(): 99 items.extend([(key, v) for v in value]) 101 items.append((key, value)) 102 items.sort(key=lambda a: a[1]) 103 return [i[0] for i in items]
|
| H A D | preTests.py | 92 for name, defaultArg in options.items():
|
| H A D | framework.py | 215 for key,val in os.environ.items(): 422 for dependency, digest in self.dependencies.items(): 723 for pair in self.substFiles.items(): 728 for pair in self.subst.items(): 730 for pair in self.argSubst.items(): 735 for pair in child.subst.items(): 740 for pair in child.argSubst.items(): 803 for pair in child.makeRules.items(): 813 for pair in child.makeMacros.items(): 834 for pair in child.defines.items(): [all …]
|
| H A D | types.py | 205 'size_t': (8, 4)}.items():
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_section_base.py | 218 items: Any 295 self.items = None 388 return not self.items and sum(not line.strip() for _, line, _ in lines) == len(lines) - 1 547 for heading, where in self.seen_headers.items(): 645 items: ItemsType 662 items: Synopsis.ItemsType 670 self.items = { 692 self.items['name'] = (ds.make_source_range(item, line, startline), item) 693 self.items['blurb'].append((ds.make_source_range(rest, line, startline), rest)) 698 self.items['blurb'].append((ds.make_source_range(item, line, startline), item)) [all …]
|
| H A D | _doc_section.py | 67 items: ItemsType 119 'name' : self.items['name'], 120 'blurb' : self.items['blurb'] 133 self.items = inspector.get_items(ds) 244 fn_name = self.items['name'][1] 285 items = self.items 286 if items['name'][0] is None: 300 self._check_macro_synopsis(linter, cursor, docstring, items['synopsis']) 315 items: ItemsType 335 assert self.items['name'][1] # we should have already found the symbol name [all …]
|
| /petsc/config/BuildSystem/ |
| H A D | help.py | 64 items = sorted(self.sections.items(), key=lambda a: a[1][0]) 65 for section, names in items: 119 def output_items(section_title, items): argument 126 for section, names in items: 148 for item in self.sections.items():
|
| H A D | sourceDatabase.py | 127 def items(self): member in SourceDB 129 return [(self.getRelativePath(item[0]), item[1]) for item in dict.items(self)]
|
| H A D | RDict.py | 282 def items(self): member in RDict 284 l = dict.items(self) 291 return dict.items(self)
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/ |
| H A D | _register.py | 193 for key, value in default_classid_map.items(): 227 for key, value in default_checks.items(): 238 for key, value in default_checks.items():
|
| /petsc/src/sys/objects/ftn-custom/ |
| H A D | zinheritf.c | 21 static PetscErrorCode ourhandler(PetscObject obj, PetscOptionItems items, PetscCtx ctx) in ourhandler() argument 27 …onItems *, PetscCtx, PetscErrorCode *PETSC_F90_2PTR_PROTO_NOVAR), (&obj, &items, _ctx, &ierr PETSC… in ourhandler()
|
| /petsc/src/sys/yaml/src/ |
| H A D | loader.c | 308 if (!STACK_LIMIT(parser, parent->data.sequence.items, INT_MAX-1)) in yaml_parser_load_node_add() 310 if (!PUSH(parser, parent->data.sequence.items, index)) in yaml_parser_load_node_add() 416 } items = { NULL, NULL, NULL }; in yaml_parser_load_sequence() local 428 if (!STACK_INIT(parser, items, yaml_node_item_t*)) goto error; in yaml_parser_load_sequence() 430 SEQUENCE_NODE_INIT(node, tag, items.start, items.end, in yaml_parser_load_sequence()
|
| H A D | yaml_private.h | 648 (node).data.sequence.items.start = (node_items_start), \ 649 (node).data.sequence.items.end = (node_items_end), \ 650 (node).data.sequence.items.top = (node_items_start), \
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | test_main.py | 119 for p, s in diags.items() 122 for path, strlist in diags.items(): 130 for path, strlist in tmp_output.items()
|
| H A D | main.py | 426 for diag, _ in pl.DiagnosticManager.registered().items(): 440 for diag, helpstr in sorted(pl.DiagnosticManager.registered().items()):
|
| /petsc/doc/miscellaneous/ |
| H A D | index.md | 3 For all things nonconforming, not regularly useful, and (of items or people gathered or
|
| /petsc/lib/petsc/bin/ |
| H A D | petsc_gen_xdmf.py | 286 if 'vertex_fields' in h5: vfields = h5['vertex_fields'].items() 287 if 'cell_fields' in h5: cfields = h5['cell_fields'].items() 291 if 'particle_fields' in h5: pfields = h5['particle_fields'].items()
|
| /petsc/src/mat/tests/output/ |
| H A D | ex29_1.out | 6 Pop two items, increment, and place in stash:
|
| /petsc/src/binding/petsc4py/src/petsc4py/ |
| H A D | __init__.py | 80 return dict(parser.items('petsc'))
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _diag.py | 34 attr_items = [v for k, v in in_diags.items() if k.endswith(in_attr)] 77 attr_items = [v for k, v in diags.items() if k.endswith(attr)] 395 for key, values in dict_like.items():
|
| /petsc/doc/ext/ |
| H A D | html5_petsc.py | 47 for name, klass in app.registry.translators.items(): 219 return dict((k, link_string(k, v, prefix)) for (k, v) in string_to_link.items())
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_snes_py.py | 36 for k, v in self.call_log.items():
|
| /petsc/doc/ |
| H A D | build_man_examples_links.py | 41 mdict = dict(sorted(mdict.items(), key=lambda item: len(item[0]), reverse = True))
|
| /petsc/config/ |
| H A D | gmakegen.py | 154 for lang, sourcelang in LANGS.items(): 193 for lang, s in source.items():
|