Home
last modified time | relevance | path

Searched refs:guard_name (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/libs/histogram/tools/
Dadd_boilerplate.py35 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/
Ddetect_include_guards.hpp59 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()
Dcpp_lex_iterator.hpp98 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()
Dcpp_lex_interface.hpp55 virtual bool has_include_guards(std::string& guard_name) const = 0;
/third_party/boost/libs/wave/samples/cpp_tokens/
Dslex_iterator.hpp90 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/
Dlexertl_iterator.hpp89 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/
Dxlex_iterator.hpp90 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/
Dcpp_re2c_lexer.hpp85 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/
Dcpp_include_paths.hpp189 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()
Dcpp_iterator.hpp415 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/
Dxlex_lexer.hpp80 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/
Dcpp_context.hpp415 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/
Dlexertl_lexer.hpp739 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/
Dcpp_slex_lexer.hpp751 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/
Dfunction.cc819 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()