Searched defs:cpp_util (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/tools/json_schema_compiler/
H A Dfeatures_cc_generator.py8 import cpp_util namespace
23 self._class_name = cpp_util.ClassName(self._source_file_filename)
30 (c.Append(cpp_util.CHROMIUM_LICENSE)
32 .Append(cpp_util.GENERATED_FEATURE_MESSAGE % self._source_file)
40 .Concat(cpp_util.OpenNamespace(self._namespace))
50 % (feature.name, cpp_util.ConstantName(feature.name)))
65 (cpp_util.ConstantName(feature.name), feature.name))
92 .Cblock(cpp_util.CloseNamespace(self._namespace))
H A Dfeatures_h_generator.py8 import cpp_util namespace
23 self._class_name = cpp_util.ClassName(self._source_file_filename)
30 (c.Append(cpp_util.CHROMIUM_LICENSE)
32 .Append(cpp_util.GENERATED_FEATURE_MESSAGE % self._source_file)
39 ifndef_name = cpp_util.GenerateIfndefName(output_file)
49 .Concat(cpp_util.OpenNamespace(self._namespace))
63 .Cblock(cpp_util.CloseNamespace(self._namespace))
96 c.Append('%s,' % cpp_util.ConstantName(feature.name))
H A Dcpp_bundle_generator.py6 import cpp_util namespace
69 c.Append(cpp_util.CHROMIUM_LICENSE)
71 c.Append(cpp_util.GENERATED_BUNDLE_FILE_MESSAGE % self._source_file_dir)
72 ifndef_name = cpp_util.GenerateIfndefName(
164 c.Concat(cpp_util.OpenNamespace(self._bundle._cpp_namespace))
172 c.Concat(cpp_util.CloseNamespace(self._bundle._cpp_namespace))
184 c.Append(cpp_util.CHROMIUM_LICENSE)
217 c.Concat(cpp_util.OpenNamespace(self._bundle._cpp_namespace))
221 c.Concat(cpp_util.CloseNamespace(self._bundle._cpp_namespace))
238 c.Concat(cpp_util
[all...]
H A Dcpp_type_generator.py7 import cpp_util namespace
55 value = cpp_util.Classname(enum_value.name.upper())
97 cpp_type = cpp_util.Classname(type_.name)
99 cpp_namespace = cpp_util.GetCppNamespace(
103 cpp_util.Classname(type_.name))
113 cpp_type = 'std::vector<%s>' % cpp_util.PadForGenerics(item_cpp_type)
124 cpp_type = 'linked_ptr<%s>' % cpp_util.PadForGenerics(cpp_type)
126 cpp_type = 'scoped_ptr<%s>' % cpp_util.PadForGenerics(cpp_type)
150 cpp_namespace = cpp_util.GetCppNamespace(
153 c.Concat(cpp_util
[all...]
H A Dh_generator.py9 import cpp_util namespace
33 (c.Append(cpp_util.CHROMIUM_LICENSE)
35 .Append(cpp_util.GENERATED_FILE_MESSAGE % self._namespace.source_file)
42 ifndef_name = cpp_util.GenerateIfndefName(output_file)
66 cpp_namespace = cpp_util.GetCppNamespace(
69 c.Concat(cpp_util.OpenNamespace(cpp_namespace))
108 (c.Concat(cpp_util.CloseNamespace(cpp_namespace))
179 classname = cpp_util.Classname(schema_util.StripNamespace(type_.name))
270 cpp_util.PadForGenerics(
287 event_namespace = cpp_util
[all...]
H A Dpreview.py12 import cpp_util namespace
H A Dcc_generator.py7 import cpp_util namespace
35 cpp_namespace = cpp_util.GetCppNamespace(
40 (c.Append(cpp_util.CHROMIUM_LICENSE)
42 .Append(cpp_util.GENERATED_FILE_MESSAGE % self._namespace.source_file)
55 .Concat(cpp_util.OpenNamespace(cpp_namespace))
93 c.Cblock(cpp_util.CloseNamespace(cpp_namespace))
100 classname = cpp_util.Classname(schema_util.StripNamespace(type_.name))
188 classname = cpp_util.Classname(schema_util.StripNamespace(type_.name))
273 return '%s.IsType(%s)' % (var, cpp_util.GetValueType(real_type))
315 classname = cpp_util
[all...]

Completed in 98 milliseconds