Lines Matching refs:guard

40     std::string guard;  in makeHeaderGuard()  local
43 guard += "HIDL_GENERATED_"; in makeHeaderGuard()
46 guard += StringHelper::Uppercase(mPackage.tokenName()); in makeHeaderGuard()
47 guard += "_"; in makeHeaderGuard()
48 guard += StringHelper::Uppercase(baseName); in makeHeaderGuard()
49 guard += "_H"; in makeHeaderGuard()
51 return guard; in makeHeaderGuard()
221 const std::string guard = makeHeaderGuard(ifaceName); in generateInterfaceHeader() local
223 out << "#ifndef " << guard << "\n"; in generateInterfaceHeader()
224 out << "#define " << guard << "\n\n"; in generateInterfaceHeader()
389 out << "\n#endif // " << guard << "\n"; in generateInterfaceHeader()
396 const std::string guard = makeHeaderGuard(klassName); in generateHwBinderHeader() local
398 out << "#ifndef " << guard << "\n"; in generateHwBinderHeader()
399 out << "#define " << guard << "\n\n"; in generateHwBinderHeader()
428 out << "\n#endif // " << guard << "\n"; in generateHwBinderHeader()
640 const std::string guard = makeHeaderGuard(klassName); in generateStubHeader() local
642 out << "#ifndef " << guard << "\n"; in generateStubHeader()
643 out << "#define " << guard << "\n\n"; in generateStubHeader()
739 out << "\n#endif // " << guard << "\n"; in generateStubHeader()
750 const std::string guard = makeHeaderGuard(proxyName); in generateProxyHeader() local
752 out << "#ifndef " << guard << "\n"; in generateProxyHeader()
753 out << "#define " << guard << "\n\n"; in generateProxyHeader()
820 out << "\n#endif // " << guard << "\n"; in generateProxyHeader()
1644 const std::string guard = makeHeaderGuard(klassName); in generatePassthroughHeader() local
1646 out << "#ifndef " << guard << "\n"; in generatePassthroughHeader()
1647 out << "#define " << guard << "\n\n"; in generatePassthroughHeader()
1695 out << "\n#endif // " << guard << "\n"; in generatePassthroughHeader()