Home
last modified time | relevance | path

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

/external/angle/build/
Dwrite_buildflag_header.py23 def __init__(self, output, rulename, header_guard, flags): argument
26 self.header_guard = header_guard
44 header_guard = cmdline_options.output.upper()
45 if header_guard[0].isdigit():
46 header_guard = '_' + header_guard
47 header_guard = re.sub('[^\w]', '_', header_guard)
48 header_guard += '_'
76 header_guard=header_guard,
86 output_file.write('\n#ifndef %s\n' % options.header_guard)
87 output_file.write('#define %s\n\n' % options.header_guard)
[all …]
/external/cronet/build/
Dwrite_buildflag_header.py23 def __init__(self, output, rulename, header_guard, flags): argument
26 self.header_guard = header_guard
44 header_guard = cmdline_options.output.upper()
45 if header_guard[0].isdigit():
46 header_guard = '_' + header_guard
47 header_guard = re.sub('[^\w]', '_', header_guard)
48 header_guard += '_'
76 header_guard=header_guard,
86 output_file.write('\n#ifndef %s\n' % options.header_guard)
87 output_file.write('#define %s\n\n' % options.header_guard)
[all …]
/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/cronet/components/cronet/tools/generators/c_templates/
Dmodule_impl_interface.h.tmpl13 {%- set header_guard = "%s_IMPL_INTERFACE_H_"|format(
19 #ifndef {{header_guard}}
20 #define {{header_guard}}
58 #endif // {{header_guard}}
Dmodule_impl_struct.h.tmpl13 {%- set header_guard = "%s_IMPL_STRUCT_H_"|format(
17 #ifndef {{header_guard}}
18 #define {{header_guard}}
59 #endif // {{header_guard}}
Dmodule_c.h.tmpl13 {%- set header_guard = "%s_C_H_"|format(
19 #ifndef {{header_guard}}
20 #define {{header_guard}}
188 #endif // {{header_guard}}
/external/bpftool/src/
Dgen.c490 static int gen_trace(struct bpf_object *obj, const char *obj_name, const char *header_guard) in gen_trace() argument
645 header_guard); in gen_trace()
653 char header_guard[MAX_OBJ_NAME_LEN + sizeof("__SKEL_H__")]; in do_skeleton() local
745 get_header_guard(header_guard, obj_name); in do_skeleton()
761 obj_name, header_guard in do_skeleton()
780 obj_name, header_guard in do_skeleton()
827 err = gen_trace(obj, obj_name, header_guard); in do_skeleton()
1029 header_guard); in do_skeleton()
/external/cronet/build/config/ios/
Dgenerate_umbrella_header.py49 header_guard = ComputeHeaderGuard(output_path)
58 'header_guard': header_guard,
/external/angle/build/config/ios/
Dgenerate_umbrella_header.py49 header_guard = ComputeHeaderGuard(output_path)
58 'header_guard': header_guard,
/external/conscrypt/
DCPPLINT.cfg2 filter=-build/header_guard
/external/angle/build/util/
Dlastchange.py169 header_guard = GetHeaderGuard(path)
180 header_contents = header_contents % { 'header_guard': header_guard,
/external/cronet/build/util/
Dlastchange.py169 header_guard = GetHeaderGuard(path)
180 header_contents = header_contents % { 'header_guard': header_guard,
/external/cronet/base/allocator/partition_allocator/partition_alloc_base/win/
Dwin_handle_types_list.inc9 // NOLINT(build/header_guard)
/external/cronet/base/win/
Dwin_handle_types_list.inc9 // NOLINT(build/header_guard)
/external/cronet/base/android/jni_generator/
Djni_registration_generator.py97 header_guard = os.path.splitext(options.header_path)[0].upper() + '_'
98 header_guard = re.sub(r'[/.-]', '_', header_guard)
99 combined_dict['HEADER_GUARD'] = header_guard
Djni_generator_tests.py90 header_guard='HEADER_GUARD', argument
100 combined_dict['HEADER_GUARD'] = header_guard
Djni_generator.py1167 self.header_guard = fully_qualified_class.replace('/', '_') + '_JNI'
1218 'HEADER_GUARD': self.header_guard,
/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.cc1529 std::string header_guard = ToHeaderGuard(header_filename); in WriteHeaderPrologue() local
1530 dprintf(fd, prologue, header_guard.c_str(), header_guard.c_str()); in WriteHeaderPrologue()
1572 std::string header_guard = ToHeaderGuard(header_filename); in WriteHeaderEpilogue() local
1573 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.py897 self.header_guard = fully_qualified_class.replace('/', '_') + '_JNI'
943 'HEADER_GUARD': self.header_guard,