HomeSort by relevance Sort by last modified time
    Searched refs:cpp_util (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/tools/json_schema_compiler/
cpp_util_test.py 6 import cpp_util namespace
11 self.assertEquals('Permissions', cpp_util.Classname('permissions'))
13 cpp_util.Classname('updateAllTheThings'))
14 self.assertEquals('Aa_Bb_Cc', cpp_util.Classname('aa.bb.cc'))
18 cpp_util.OpenNamespace('extensions').Render())
20 cpp_util.CloseNamespace('extensions').Render())
24 cpp_util.OpenNamespace('extensions::gen::api').Render())
28 cpp_util.CloseNamespace('extensions::gen::api').Render())
features_cc_generator.py 8 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))
features_h_generator.py 8 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)
35 ifndef_name = cpp_util.GenerateIfndefName(self._source_file_filename,
45 .Concat(cpp_util.OpenNamespace(self._namespace))
59 .Cblock(cpp_util.CloseNamespace(self._namespace))
92 c.Append('%s,' % cpp_util.ConstantName(feature.name))
cpp_bundle_generator.py 6 import cpp_util namespace
63 c.Append(cpp_util.CHROMIUM_LICENSE)
65 c.Append(cpp_util.GENERATED_BUNDLE_FILE_MESSAGE % self._source_file_dir)
66 ifndef_name = cpp_util.GenerateIfndefName(self._source_file_dir, file_base)
157 c.Concat(cpp_util.OpenNamespace(self._bundle._cpp_namespace))
165 c.Concat(cpp_util.CloseNamespace(self._bundle._cpp_namespace))
177 c.Append(cpp_util.CHROMIUM_LICENSE)
208 c.Concat(cpp_util.OpenNamespace(self._bundle._cpp_namespace))
212 c.Concat(cpp_util.CloseNamespace(self._bundle._cpp_namespace))
229 c.Concat(cpp_util.OpenNamespace(self._bundle._cpp_namespace)
    [all...]
h_generator.py 7 import cpp_util namespace
37 (c.Append(cpp_util.CHROMIUM_LICENSE)
39 .Append(cpp_util.GENERATED_FILE_MESSAGE % self._namespace.source_file)
43 ifndef_name = cpp_util.GenerateIfndefName(self._namespace.source_file_dir,
61 c.Concat(cpp_util.OpenNamespace(self._cpp_namespace))
113 .Concat(cpp_util.CloseNamespace(self._cpp_namespace))
180 classname = cpp_util.Classname(schema_util.StripNamespace(type_.name))
275 cpp_util.PadForGenerics(
292 event_namespace = cpp_util.Classname(event.name)
306 function_namespace = cpp_util.Classname(function.name
    [all...]
cpp_type_generator.py 7 import cpp_util namespace
68 cpp_util.Classname(enum_value.name.upper()))
107 cpp_type = cpp_util.Classname(type_.name)
112 cpp_type = cpp_util.Classname(type_.name)
120 cpp_type = 'std::vector<%s>' % cpp_util.PadForGenerics(item_cpp_type)
131 cpp_type = 'linked_ptr<%s>' % cpp_util.PadForGenerics(cpp_type)
133 cpp_type = 'scoped_ptr<%s>' % cpp_util.PadForGenerics(cpp_type)
cc_generator.py 7 import cpp_util namespace
40 (c.Append(cpp_util.CHROMIUM_LICENSE)
42 .Append(cpp_util.GENERATED_FILE_MESSAGE % self._namespace.source_file)
52 .Concat(cpp_util.OpenNamespace(self._cpp_namespace))
92 .Cblock(cpp_util.CloseNamespace(self._cpp_namespace))
99 classname = cpp_util.Classname(schema_util.StripNamespace(type_.name))
183 classname = cpp_util.Classname(schema_util.StripNamespace(type_.name))
251 return '%s.IsType(%s)' % (var, cpp_util.GetValueType(real_type))
293 classname = cpp_util.Classname(schema_util.StripNamespace(type_.name))
364 cpp_util.PadForGenerics(cpp_type)
    [all...]
ppapi_generator.py 11 import cpp_util namespace
57 'classname': cpp_util.Classname,
179 cpp_util.Classname(s) for s in self._NameComponents(type_)),
180 namespace=cpp_util.Classname(self._namespace.name))
preview.py 12 import cpp_util namespace
229 cpp_util.Classname(referenced_namespace.name).lower())

Completed in 52 milliseconds