Home
last modified time | relevance | path

Searched refs:header_guard (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/build/
Dwrite_buildflag_header.py23 def __init__(self, output, rulename, header_guard, flags): argument
26 self.header_guard = header_guard
43 header_guard = cmdline_options.output.upper()
44 header_guard = \
45 header_guard.replace('/', '_').replace('\\', '_').replace('.', '_')
46 header_guard += '_'
74 header_guard=header_guard,
84 output_file.write('\n#ifndef %s\n' % options.header_guard)
85 output_file.write('#define %s\n\n' % options.header_guard)
91 output_file.write('\n#endif // %s\n' % options.header_guard)
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dmodule-shared-message-ids.h.tmpl5 {%- set header_guard = "%s_SHARED_MESSAGE_IDS_H_"|format(
9 #ifndef {{header_guard}}
10 #define {{header_guard}}
35 #endif // {{header_guard}}
Dmodule-shared-internal.h.tmpl5 {%- set header_guard = "%s_SHARED_INTERNAL_H_"|format(
9 #ifndef {{header_guard}}
10 #define {{header_guard}}
100 #endif // {{header_guard}}
Dmodule-shared.h.tmpl5 {%- set header_guard = "%s_SHARED_H_"|format(
35 #ifndef {{header_guard}}
36 #define {{header_guard}}
223 #endif // {{header_guard}}
Dmodule.h.tmpl11 {%- set header_guard = "%s_H_"|format(
33 #ifndef {{header_guard}}
34 #define {{header_guard}}
253 #endif // {{header_guard}}
/external/conscrypt/
DCPPLINT.cfg2 filter=-build/header_guard
/external/llvm-project/clang-tools-extra/clangd/quality/
DCompletionModelCodegen.py36 def header_guard(filename): function
149 guard = header_guard(filename)
/external/llvm-project/clang-tools-extra/clang-tidy/
Dadd_new_check.py55 header_guard = ('LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_' + module.upper() + '_'
96 """ % {'header_guard': header_guard,
Drename_check.py276 for header_guard in header_guard_variants:
277 replaceInFile(filename, header_guard, header_guard_new)
/external/llvm-project/compiler-rt/lib/sanitizer_common/scripts/
Dcheck_lint.sh19 COMMON_LINT_FILTER=-build/include,-build/header_guard,-legal/copyright,-whitespace/comments,-readab…
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcheck_lint.sh20 COMMON_LINT_FILTER=-build/include,-build/header_guard,-legal/copyright,-whitespace/comments,-readab…
/external/openscreen/tools/cddl/
Dcodegen.cc1530 std::string header_guard = ToHeaderGuard(header_filename); in WriteHeaderPrologue() local
1531 dprintf(fd, prologue, header_guard.c_str(), header_guard.c_str()); in WriteHeaderPrologue()
1573 std::string header_guard = ToHeaderGuard(header_filename); in WriteHeaderEpilogue() local
1574 dprintf(fd, epilogue, header_guard.c_str()); in WriteHeaderEpilogue()
/external/tensorflow/tensorflow/compiler/aot/
Dcodegen_test_h.golden9 #ifndef TFCOMPILE_GENERATED_entry_point_H_ // NOLINT(build/header_guard)
10 #define TFCOMPILE_GENERATED_entry_point_H_ // NOLINT(build/header_guard)
/external/libchrome/base/android/jni_generator/
Djni_generator.py904 self.header_guard = fully_qualified_class.replace('/', '_') + '_JNI'
950 'HEADER_GUARD': self.header_guard,