Searched refs:dct (Results 1 – 8 of 8) sorted by relevance
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_ts.py | 87 dct = self.ts.getDict() 88 self.assertTrue(dct is not None) 89 self.assertTrue(isinstance(dct, dict)) 122 dct = self.ts.getDict() 123 self.assertTrue('__appctx__' in dct) 124 self.assertTrue('__rhsfunction__' in dct) 125 self.assertTrue('__rhsjacobian__' in dct) 126 self.assertTrue('__monitor__' in dct) 181 dct = self.ts.getDict() 182 self.assertTrue(dct is not None) [all …]
|
| H A D | test_nsp.py | 69 dct = self.nullsp.getDict() 70 self.assertTrue(dct is not None) 71 fun, a, kw = dct['__function__'] 74 fun = dct.get('__function__')
|
| H A D | test_optdb.py | 69 dct = { 74 for k in dct: 75 self.opts[k] = dct[k] 77 for k in dct: 78 self.assertEqual(allopts[k], dct[k][1:-1])
|
| H A D | test_ts_py.py | 130 dct = self.ts.getDict() 131 self.assertTrue('__appctx__' in dct) 132 self.assertTrue('__ifunction__' in dct) 133 self.assertTrue('__ijacobian__' in dct)
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscobj.pxi | 132 cdef object dct = PetscGetPyDict(o, False) 133 if dct is None: return None 135 cdef PyObject *d = <PyObject*>dct 143 cdef object dct 145 dct = PetscGetPyDict(o, True) 147 dct = PetscGetPyDict(o, False) 148 if dct is None: return None 150 cdef PyObject *d = <PyObject*>dct
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | confpetsc.py | 297 def _configure_ext(self, ext, dct, append=False): argument 299 for key, values in dct.items(): 866 def append_dict(conf, dct): argument 867 for key, values in dct.items(): 982 def makefile(fileobj, dct=None): argument 991 if dct is None: 992 dct = {} 1051 dct.update(done) 1052 return dct
|
| H A D | stubgen.py | 208 dct = cls.__dict__ 209 keys = list(dct.keys()) 250 obj = dct[name]
|
| /petsc/src/binding/petsc4py/docs/source/ |
| H A D | apidoc.py | 264 dct = cls.__dict__ 265 keys = list(dct.keys()) 306 obj = dct[name]
|