Home
last modified time | relevance | path

Searched refs:cexpr (Results 1 - 6 of 6) sorted by relevance

/third_party/rust/crates/rust-cexpr/tests/
H A Dclang.rs8 extern crate cexpr;
16 use cexpr::assert_full_parse;
17 use cexpr::expr::{fn_macro_declaration, EvalResult, IdentifierParser};
18 use cexpr::literal::CChar;
19 use cexpr::token::Token;
38 use cexpr::expr::EvalResult::*; in test_definition()
179 CXToken_Comment => cexpr::token::Kind::Comment, in token_clang_to_cexpr()
180 CXToken_Identifier => cexpr::token::Kind::Identifier, in token_clang_to_cexpr()
181 CXToken_Keyword => cexpr::token::Kind::Keyword, in token_clang_to_cexpr()
182 CXToken_Literal => cexpr in token_clang_to_cexpr()
[all...]
/third_party/selinux/checkpolicy/
H A Dpolicy_parse.y80 %type <valptr> cexpr cexpr_prim op role_mls_op
297 mlsconstraint_def : MLSCONSTRAIN names names cexpr ';'
300 mlsvalidatetrans_def : MLSVALIDATETRANS names cexpr ';'
546 constraint_def : CONSTRAIN names names cexpr ';'
549 validatetrans_def : VALIDATETRANS names cexpr ';'
552 cexpr : '(' cexpr ')' label
554 | NOT cexpr
557 | cexpr AND cexpr
[all...]
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dvar.rs14 use cexpr;
178 use cexpr::expr::EvalResult; in parse()
179 use cexpr::literal::CChar; in parse()
379 ) -> Option<(Vec<u8>, cexpr::expr::EvalResult)> { in parse_macro()
380 use cexpr::expr; in parse_macro()
393 use cexpr::expr; in parse_int_literal_tokens()
394 use cexpr::expr::EvalResult; in parse_int_literal_tokens()
H A Dcontext.rs26 use cexpr;
354 /// This needs to be an std::HashMap because the cexpr API requires it.
355 parsed_macros: StdHashMap<Vec<u8>, cexpr::expr::EvalResult>,
2030 ) -> &StdHashMap<Vec<u8>, cexpr::expr::EvalResult> { in parsed_macros()
2039 value: cexpr::expr::EvalResult, in note_parsed_macro()
/third_party/rust/crates/bindgen/bindgen/
H A Dclang.rs857 /// Gets the tokens that correspond to that cursor as `cexpr` tokens.
858 pub fn cexpr_tokens(self) -> Vec<cexpr::token::Token> { in cexpr_tokens()
956 /// Converts a ClangToken to a `cexpr` token if possible.
957 pub fn as_cexpr_token(&self) -> Option<cexpr::token::Token> { in as_cexpr_token()
958 use cexpr::token; in as_cexpr_token()
965 // NB: cexpr is not too happy about comments inside in as_cexpr_token()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_cross.cpp281 auto *cexpr = maybe_get<SPIRExpression>(chain); in maybe_get_backing_variable() local
282 if (cexpr) in maybe_get_backing_variable()
283 var = maybe_get<SPIRVariable>(cexpr->loaded_from); in maybe_get_backing_variable()

Completed in 43 milliseconds