Searched refs:Sblock (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/tools/json_schema_compiler/
H A Dfeatures_cc_generator.py46 .Sblock()
59 .Sblock()
61 .Sblock()
83 .Sblock()
H A Dcc_generator.py192 .Sblock(' %s) {' % self._GenerateParams(
200 (c.Sblock('if (%s) {' % self._GenerateValueIsTypeExpression('value',
217 (c.Sblock('if (!value.IsType(base::Value::TYPE_DICTIONARY)) {')
237 (c.Sblock('for (base::DictionaryValue::Iterator it(*dict); '
239 .Sblock('if (!keys.count(it.key())) {')
252 .Sblock(' !it.IsAtEnd(); it.Advance()) {')
285 (c.Sblock(
296 (c.Sblock(
348 (c.Sblock('scoped_ptr<base::DictionaryValue> %s::ToValue() const {' %
361 c.Sblock('i
[all...]
H A Dfeatures_h_generator.py55 .Sblock()
59 .Sblock()
92 (c.Sblock()
H A Dcode_test.py18 .Sblock('sblock')
21 .Sblock('moresblock')
41 (b.Sblock('2')
46 (c.Sblock('1')
130 c.Sblock('sblock')
H A Ddart_generator.py113 .Sblock('class %(type_name)s extends ChromeObject {')
127 .Sblock('%(type_name)s({%(constructor_fields)s}) {')
131 (c.Sblock('if (%s != null)' % prop_name)
215 (c.Sblock('%s get %s {' % (type_name, prop.name))
220 .Sblock("for (int i = 0; i < count; i++) {")
254 (c.Sblock("void set %s(%s %s) {" % (prop.name, type_name, prop.name))
286 (c.Sblock("%s {" % self._GenerateFunctionSignature(f))
327 (c.Sblock("void __proxy_callback(%s) {" % ', '.join(p.name for p in
329 .Sblock('if (%s != null) {' % callback_name)
338 .Sblock("fo
[all...]
H A Dcpp_bundle_generator.py121 c.Sblock('void GeneratedFunctionRegistry::RegisterAll('
167 c.Sblock(' public:')
241 c.Sblock(' public:')
295 c.Sblock('struct Static {')
296 c.Sblock('Static() {')
309 c.Sblock('base::StringPiece GeneratedSchemas::Get('
316 c.Sblock('bool GeneratedSchemas::IsGenerated(std::string name) {')
H A Dh_generator.py139 c.Sblock('enum %s {' % enum_name)
221 (c.Sblock('struct %(classname)s {')
276 .Sblock(' private:')
322 (c.Sblock('struct Params {')
331 .Sblock(' private:')
H A Dcode.py66 def Sblock(self, line=None): member in class:Code
H A Dcpp_type_generator.py262 c.Sblock('namespace %s {' % property.name)

Completed in 97 milliseconds