Home
last modified time | relevance | path

Searched refs:eval_str (Results 1 – 5 of 5) sorted by relevance

/third_party/jerryscript/tests/unit-core/
Dtest-objects-foreach.cpp62 const char eval_str[] = "new Map (DEMO)"; in test_container() local
65 jerry_value_t result = jerry_eval ((const jerry_char_t *) eval_str, sizeof (eval_str) - 1, 0); in test_container()
79 jerry_value_t result = jerry_eval ((const jerry_char_t *) eval_str, sizeof (eval_str) - 1, 0); in test_container()
/third_party/python/Lib/test/
Dtest_inspect.py1314 …self.assertEqual(inspect.get_annotations(foo, eval_str=True, locals=locals()), {'a': foo, 'b': str…
1315 …self.assertEqual(inspect.get_annotations(foo, eval_str=True, globals=locals()), {'a': foo, 'b': st…
1327 self.assertEqual(inspect.get_annotations(isa, eval_str=True), {'a': int, 'b': str})
1328 self.assertEqual(inspect.get_annotations(isa.MyClass, eval_str=True), {'a': int, 'b': str})
1329 …self.assertEqual(inspect.get_annotations(isa.function, eval_str=True), {'a': int, 'b': str, 'retur…
1330 …self.assertEqual(inspect.get_annotations(isa.function2, eval_str=True), {'a': int, 'b': str, 'c': …
1331 …self.assertEqual(inspect.get_annotations(isa.function3, eval_str=True), {'a': int, 'b': str, 'c': …
1332 self.assertEqual(inspect.get_annotations(inspect, eval_str=True), {})
1333 self.assertEqual(inspect.get_annotations(isa.UnannotatedClass, eval_str=True), {})
1334 self.assertEqual(inspect.get_annotations(isa.unannotated_function, eval_str=True), {})
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
Dsfn_liverange_test.cpp207 ostringstream eval_str; in check() local
208 eval_str << eval_map; in check()
213 EXPECT_EQ(eval_str.str(), expect_str.str()); in check()
/third_party/python/Lib/
Dinspect.py66 def get_annotations(obj, *, globals=None, locals=None, eval_str=False): argument
155 if not eval_str:
1289 eval_str=False)
2277 globals=None, locals=None, eval_str=False): argument
2303 annotations = get_annotations(func, globals=globals, locals=locals, eval_str=eval_str)
2376 eval_str=False, argument
2389 eval_str=eval_str)
2458 globals=globals, locals=locals, eval_str=eval_str)
2993 follow_wrapped=True, globals=None, locals=None, eval_str=False): argument
2997 globals=globals, locals=locals, eval_str=eval_str)
[all …]
/third_party/python/Doc/library/
Dinspect.rst565 .. function:: signature(callable, *, follow_wrapped=True, globals=None, locals=None, eval_str=False)
591 ``global``, ``locals``, and ``eval_str`` parameters are passed
598 if the annotations are stringized, and ``eval_str`` is not false,
612 ``globals``, ``locals``, and ``eval_str`` parameters.
1121 .. function:: get_annotations(obj, *, globals=None, locals=None, eval_str=False)
1134 * If ``eval_str`` is true, values of type ``str`` will
1148 ``eval_str`` controls whether or not values of type ``str`` are replaced
1151 * If eval_str is true, :func:`eval()` is called on values of type ``str``.
1155 * If eval_str is false (the default), values of type ``str`` are unchanged.