Home
last modified time | relevance | path

Searched refs:op_stack (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/lib/
Dtst_bool_expr.c223 struct tst_expr_tok *op_stack[cnt]; in shunting_yard() local
241 while (stack_peek_op(op_stack, op_stack_pos) == TST_OP_NOT) in shunting_yard()
242 stack_push(out, &out_pos, stack_pop(op_stack, &op_stack_pos)); in shunting_yard()
250 stack_push(op_stack, &op_stack_pos, i); in shunting_yard()
260 struct tst_expr_tok *op = stack_pop(op_stack, &op_stack_pos); in shunting_yard()
273 while (stack_peek_op(op_stack, op_stack_pos) == TST_OP_NOT) in shunting_yard()
274 stack_push(out, &out_pos, stack_pop(op_stack, &op_stack_pos)); in shunting_yard()
281 stack_push(op_stack, &op_stack_pos, i); in shunting_yard()
295 switch (stack_peek_op(op_stack, op_stack_pos)) { in shunting_yard()
298 stack_push(out, &out_pos, stack_pop(op_stack, &op_stack_pos)); in shunting_yard()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/opt/post/
Drepeat_pass.h32 using op_stack = std::stack<std::shared_ptr<DatasetNode>>;
125 op_stack cached_node_stacks_; // A save area for operators under a cache node