Lines Matching refs:guard

80     std::string guard;  in makeHeaderGuard()  local
83 guard += "HIDL_GENERATED_"; in makeHeaderGuard()
86 guard += StringHelper::Uppercase(mPackage.tokenName()); in makeHeaderGuard()
87 guard += "_"; in makeHeaderGuard()
88 guard += StringHelper::Uppercase(baseName); in makeHeaderGuard()
89 guard += "_H"; in makeHeaderGuard()
91 return guard; in makeHeaderGuard()
418 const std::string guard = makeHeaderGuard(ifaceName); in generateInterfaceHeader() local
420 out << "#ifndef " << guard << "\n"; in generateInterfaceHeader()
421 out << "#define " << guard << "\n\n"; in generateInterfaceHeader()
569 out << "\n#endif // " << guard << "\n"; in generateInterfaceHeader()
600 const std::string guard = makeHeaderGuard(klassName); in generateHwBinderHeader() local
602 out << "#ifndef " << guard << "\n"; in generateHwBinderHeader()
603 out << "#define " << guard << "\n\n"; in generateHwBinderHeader()
639 out << "\n#endif // " << guard << "\n"; in generateHwBinderHeader()
866 const std::string guard = makeHeaderGuard(klassName); in generateStubHeader() local
868 out << "#ifndef " << guard << "\n"; in generateStubHeader()
869 out << "#define " << guard << "\n\n"; in generateStubHeader()
941 out << "\n#endif // " << guard << "\n"; in generateStubHeader()
971 const std::string guard = makeHeaderGuard(proxyName); in generateProxyHeader() local
973 out << "#ifndef " << guard << "\n"; in generateProxyHeader()
974 out << "#define " << guard << "\n\n"; in generateProxyHeader()
1024 out << "\n#endif // " << guard << "\n"; in generateProxyHeader()
1871 const std::string guard = makeHeaderGuard(klassName); in generatePassthroughHeader() local
1873 out << "#ifndef " << guard << "\n"; in generatePassthroughHeader()
1874 out << "#define " << guard << "\n\n"; in generatePassthroughHeader()
1934 out << "\n#endif // " << guard << "\n"; in generatePassthroughHeader()