Home
last modified time | relevance | path

Searched refs:parse_expression (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/core/
Dconverter_test.py75 'test_arg': parser.parse_expression('foo'),
76 'other_arg': parser.parse_expression('bar'),
96 parser.parse_expression('default'))
114 'test_arg': parser.parse_expression('foo'),
115 'other_arg': parser.parse_expression('bar'),
118 'test_arg': parser.parse_expression('foo'),
119 'other_arg': parser.parse_expression('baz'),
141 'test_arg': parser.parse_expression('foo'),
144 'test_arg': parser.parse_expression('bar'),
Dconverter.py190 return parser.parse_expression('({})'.format(', '.join(
198 recursive_val=parser.parse_expression(str(self.recursive)),
199 force_conversion_val=parser.parse_expression(
201 internal_convert_user_code_val=parser.parse_expression(
/external/tensorflow/tensorflow/python/autograph/pyct/
Dtemplates_test.py108 foo=parser.parse_expression('a.b.c'))[0]
119 node = templates.replace(template, foo=parser.parse_expression('[a, b]'))[0]
130 node = templates.replace(template, foo=parser.parse_expression('(a, b)'))[0]
142 template, foo=parser.parse_expression('a + 2 * b / -c'))[0]
153 template, foo=parser.parse_expression('bar(([a, b],)).baz'))[0]
167 template, foo=parser.parse_expression('foo(a[b]).bar'))[0]
180 source = parser.parse_expression('f(d=3, f=5)')
200 source = parser.parse_expression('f()(b)')
211 source = parser.parse_expression('{\'bar\': 3}')
238 source = parser.parse_expression('[a(b(1))]')
[all …]
Dast_util_test.py98 keywords = parser.parse_expression('f(a=b, c=1, d=\'e\')').keywords
108 node = parser.parse_expression(target_str)
109 pattern = parser.parse_expression(pattern_str)
113 node = parser.parse_expression(target_str)
114 pattern = parser.parse_expression(pattern_str)
Dparser_test.py80 node = parser.parse_expression('a.b')
Dparser.py139 def parse_expression(src): function
Dqual_names.py258 node = parser.parse_expression(qn_str)
Dast_util.py251 idx = parser.parse_expression(str(i))
/external/libchrome/third_party/jinja2/
Dparser.py197 test = self.parse_expression()
239 values.append(self.parse_expression())
249 nodes.Keyword('autoescape', self.parse_expression())
274 node.template = self.parse_expression()
288 node.template = self.parse_expression()
299 node.template = self.parse_expression()
306 node.template = self.parse_expression()
352 defaults.append(self.parse_expression())
366 node.call = self.parse_expression()
393 node.nodes.append(self.parse_expression())
[all …]
Dext.py246 variables[name.value] = var = parser.parse_expression()
Denvironment.py624 expr = parser.parse_expression()
/external/tensorflow/tensorflow/python/autograph/converters/
Dslices_test.py42 'dtype': parser.parse_expression('tf.int32')
63 'dtype': parser.parse_expression('tf.int32')
68 'dtype': parser.parse_expression('tf.float32')
Darg_defaults.py66 node.defaults[i] = parser.parse_expression('None')
70 node.kw_defaults[i] = parser.parse_expression('None')
Dlists_test.py85 'dtype': parser.parse_expression('tf.int32'),
86 'shape': parser.parse_expression('()'),
120 'dtype': parser.parse_expression('tf.int32')
Dlogical_expressions.py99 template, func_name=parser.parse_expression(func_name))
105 template, func_name=parser.parse_expression(func_name), arg=args[0])
112 func_name=parser.parse_expression(func_name),
Dcall_trees.py60 parser.parse_expression('ag__.do_not_convert_internal'))
90 owner = parser.parse_expression('None')
Dlists.py153 pop_element = parser.parse_expression('None')
Dreturn_statements.py227 retval = node.value if node.value else parser.parse_expression('None')
/external/swiftshader/third_party/llvm-subzero/lib/Demangle/
DItaniumDemangle.cpp47 static const char *parse_expression(const char *first, const char *last, C &db);
508 const char *t1 = parse_expression(t, last, db); in parse_const_cast_expr()
534 const char *t1 = parse_expression(t, last, db); in parse_dynamic_cast_expr()
560 const char *t1 = parse_expression(t, last, db); in parse_reinterpret_cast_expr()
586 const char *t1 = parse_expression(t, last, db); in parse_static_cast_expr()
607 const char *t = parse_expression(first + 2, last, db); in parse_pack_expansion()
637 const char *t = parse_expression(first + 2, last, db); in parse_sizeof_expr_expr()
745 t = parse_expression(first + 2, last, db); in parse_typeid_expr()
764 const char *t = parse_expression(first + 2, last, db); in parse_throw_expr()
781 const char *t = parse_expression(first + 2, last, db); in parse_dot_star_expr()
[all …]