Home
last modified time | relevance | path

Searched refs:set_ctx (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_decimal.py2232 set_ctx = getcontext()
2235 self.assertIsNot(orig_ctx, set_ctx, 'did not copy the context')
2236 self.assertIs(set_ctx, enter_ctx, '__enter__ returned wrong context')
2243 set_ctx = getcontext()
2246 self.assertEqual(set_ctx.prec, new_ctx.prec, 'did not set correct context')
2247 self.assertIsNot(new_ctx, set_ctx, 'did not copy the context')
2248 self.assertIs(set_ctx, enter_ctx, '__enter__ returned wrong context')
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.h107 void set_ctx(clang::Decl *D) { ctx_ = D; } in set_ctx() function
Db_frontend_action.cc1288 probe_visitor1_.set_ctx(arg); in HandleTranslationUnit()
/external/libchrome/third_party/jinja2/
Dparser.py236 target.set_ctx('param')
350 arg.set_ctx('param')
420 target.set_ctx('store')
Dnodes.py194 def set_ctx(self, ctx): member in Node
/external/python/cpython3/Lib/test/
Dtest_decimal.py3556 set_ctx = getcontext()
3559 self.assertIsNot(orig_ctx, set_ctx, 'did not copy the context')
3560 self.assertIs(set_ctx, enter_ctx, '__enter__ returned wrong context')
3572 set_ctx = getcontext()
3575 self.assertEqual(set_ctx.prec, new_ctx.prec, 'did not set correct context')
3576 self.assertIsNot(new_ctx, set_ctx, 'did not copy the context')
3577 self.assertIs(set_ctx, enter_ctx, '__enter__ returned wrong context')