Home
last modified time | relevance | path

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

/freebsd/contrib/bc/include/
H A Dbc.h143 #define BC_PARSE_TOP_FLAG(p) (*(BC_PARSE_TOP_FLAG_PTR(p))) macro
151 #define BC_PARSE_BRACE(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_BRACE)
156 #define BC_PARSE_FUNC_INNER(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_FUNC_INNER)
162 #define BC_PARSE_FUNC(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_FUNC)
167 #define BC_PARSE_BODY(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_BODY)
172 #define BC_PARSE_LOOP(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_LOOP)
178 #define BC_PARSE_LOOP_INNER(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_LOOP_INNER)
182 #define BC_PARSE_IF(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_IF)
187 #define BC_PARSE_ELSE(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_ELSE)
193 #define BC_PARSE_IF_END(p) (BC_PARSE_TOP_FLAG(p) & BC_PARSE_FLAG_IF_END)
[all …]
/freebsd/contrib/bc/src/
H A Dbc_parse.c159 return good && BC_PARSE_TOP_FLAG(p) == val; in bc_parse_TopFunc()
1062 uint16_t flags = BC_PARSE_TOP_FLAG(p); in bc_parse_endBody()
1084 flags |= (BC_PARSE_TOP_FLAG(p) & (BC_PARSE_FLAG_FUNC | BC_PARSE_FLAG_LOOP)); in bc_parse_startBody()
1693 flags = BC_PARSE_TOP_FLAG(p); in bc_parse_stmt()
1923 if (len == p->flags.len && flags == BC_PARSE_TOP_FLAG(p)) in bc_parse_stmt()