/third_party/boost/libs/histogram/tools/ |
D | add_boilerplate.py | 35 guard_name = "BOOST_" + sub.replace(".", "_").replace("/", "_").upper() variable 37 if guard_name not in content: 46 … lines = lines[:end] + ["", "#ifndef " + guard_name, "#define " + guard_name, ""] + lines[start:] 49 lines += ["", "#endif // " + guard_name, ""]
|
/third_party/boost/boost/wave/cpplexer/ |
D | detect_include_guards.hpp | 59 guard_name_ = guard_name.c_str(); in detected() 71 typename Token::string_type guard_name; member in boost::wave::cpplexer::include_guards 109 guard_name = t.get_value(); in state_1() 155 guard_name = t.get_value(); in state_1c() 171 guard_name = t.get_value(); in state_1d() 214 if (T_IDENTIFIER == id && t.get_value() == guard_name) in state_3()
|
D | cpp_lex_iterator.hpp | 98 static bool has_include_guards(MultiPass& mp, std::string& guard_name) in has_include_guards() argument 100 return mp.shared()->ftor->has_include_guards(guard_name); in has_include_guards() 224 bool has_include_guards(std::string& guard_name) const in has_include_guards() 226 return unique_functor_type::has_include_guards(*this, guard_name); in has_include_guards()
|
D | cpp_lex_interface.hpp | 55 virtual bool has_include_guards(std::string& guard_name) const = 0;
|
/third_party/boost/libs/wave/samples/cpp_tokens/ |
D | slex_iterator.hpp | 90 static bool has_include_guards(MultiPass& mp, std::string& guard_name) in has_include_guards() argument 92 return mp.shared()->ftor->has_include_guards(guard_name); in has_include_guards() 217 bool has_include_guards(std::string& guard_name) const in has_include_guards() 219 return unique_functor_type::has_include_guards(*this, guard_name); in has_include_guards()
|
/third_party/boost/libs/wave/samples/list_includes/ |
D | lexertl_iterator.hpp | 89 static bool has_include_guards(MultiPass& mp, std::string& guard_name) in has_include_guards() argument 91 return mp.shared()->ftor->has_include_guards(guard_name); in has_include_guards() 215 bool has_include_guards(std::string& guard_name) const in has_include_guards() 217 return base_type::get_functor().has_include_guards(*this, guard_name); in has_include_guards()
|
/third_party/boost/libs/wave/samples/token_statistics/ |
D | xlex_iterator.hpp | 90 static bool has_include_guards(MultiPass& mp, std::string& guard_name) in has_include_guards() argument 92 return mp.shared()->ftor->has_include_guards(guard_name); in has_include_guards() 217 bool has_include_guards(std::string& guard_name) const in has_include_guards() 219 return unique_functor_type::has_include_guards(*this, guard_name); in has_include_guards()
|
/third_party/boost/boost/wave/cpplexer/re2clex/ |
D | cpp_re2c_lexer.hpp | 85 bool has_include_guards(std::string& guard_name) const in has_include_guards() 87 return guards.detected(guard_name); in has_include_guards() 349 bool has_include_guards(std::string& guard_name) const BOOST_OVERRIDE in has_include_guards() 350 { return re2c_lexer.has_include_guards(guard_name); } in has_include_guards()
|
/third_party/boost/boost/wave/util/ |
D | cpp_include_paths.hpp | 189 std::string const& guard_name) in add_pragma_once_header() argument 192 return pragma_once_files.insert(value_type(filename, guard_name)).second; in add_pragma_once_header() 194 bool remove_pragma_once_header(std::string const& guard_name) in remove_pragma_once_header() argument 199 range_type r = pragma_once_files.get<to>().equal_range(guard_name); in remove_pragma_once_header()
|
D | cpp_iterator.hpp | 415 std::string guard_name; in returned_from_include() local 416 if (iter_ctx->first.has_include_guards(guard_name)) in returned_from_include() 417 ctx.add_pragma_once_header(ctx.get_current_filename(), guard_name); in returned_from_include()
|
/third_party/boost/libs/wave/samples/token_statistics/xlex/ |
D | xlex_lexer.hpp | 80 bool has_include_guards(std::string& guard_name) const in has_include_guards() 81 { return guards.detected(guard_name); } in has_include_guards() 533 bool has_include_guards(std::string& guard_name) const BOOST_OVERRIDE in has_include_guards() 534 { return lexer_.has_include_guards(guard_name); } in has_include_guards()
|
/third_party/boost/boost/wave/ |
D | cpp_context.hpp | 415 std::string const& guard_name) in add_pragma_once_header() argument 417 get_hooks().detected_include_guard(derived(), filename_, guard_name); in add_pragma_once_header() 418 return includes.add_pragma_once_header(filename_, guard_name); in add_pragma_once_header()
|
/third_party/boost/libs/wave/samples/list_includes/lexertl/ |
D | lexertl_lexer.hpp | 739 bool has_include_guards(std::string& guard_name) const BOOST_OVERRIDE in has_include_guards() 740 { return guards.detected(guard_name); } in has_include_guards()
|
/third_party/boost/libs/wave/samples/cpp_tokens/slex/ |
D | cpp_slex_lexer.hpp | 751 bool has_include_guards(std::string& guard_name) const BOOST_OVERRIDE in has_include_guards() 752 { return guards.detected(guard_name); } in has_include_guards()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | function.cc | 819 void FunctionEmitter::PushGuard(const std::string& guard_name, in PushGuard() argument 822 TINT_ASSERT(Reader, !guard_name.empty()); in PushGuard() 829 Source{}, builder_.Symbols().Register(guard_name)); in PushGuard() 2859 const std::string guard_name = block_info.flow_guard_name; in EmitIfStart() local 2860 if (!guard_name.empty()) { in EmitIfStart() 2863 builder_.Var(guard_name, builder_.ty.bool_(), MakeTrue(Source{})); in EmitIfStart() 2958 if (guard_name.empty()) { in EmitIfStart() 2967 PushGuard(guard_name, construct->end_id); in EmitIfStart() 2972 if (true_head && false_head && !guard_name.empty()) { in EmitIfStart() 2975 PushGuard(guard_name, else_end); in EmitIfStart()
|