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

  /external/chromium_org/mojo/public/bindings/generators/
mojom_js_generator.py 5 """Generates JS source files from a mojom.Module."""
8 import mojom namespace
16 mojom.BOOL: "false",
17 mojom.INT8: "0",
18 mojom.UINT8: "0",
19 mojom.INT16: "0",
20 mojom.UINT16: "0",
21 mojom.INT32: "0",
22 mojom.UINT32: "0",
23 mojom.FLOAT: "0"
    [all...]
mojom_pack_tests.py 5 import mojom namespace
17 struct = mojom.Struct('test')
18 struct.AddField('testfield1', mojom.INT32, 2)
19 struct.AddField('testfield2', mojom.INT32, 1)
30 struct = mojom.Struct('test')
38 struct = mojom.Struct('test')
39 struct.AddField('testfield1', mojom.INT8)
45 # |kinds| is a sequence of mojom.Kinds that specify the fields that are to
52 struct = mojom.Struct('test')
69 (mojom.INT8, mojom.UINT8, mojom.INT32)
    [all...]
mojom_pack.py 5 import mojom namespace
8 # of a mojom.Struct.
12 # will have an offset, a size and a bit (for mojom.BOOLs).
16 mojom.BOOL: 1,
17 mojom.INT8: 1,
18 mojom.UINT8: 1,
19 mojom.INT16: 2,
20 mojom.UINT16: 2,
21 mojom.INT32: 4,
22 mojom.UINT32: 4
    [all...]
mojom_generator.py 7 import mojom namespace
13 struct = mojom.Struct(params_class)
19 return isinstance(kind, (mojom.Struct, mojom.Array)) or kind.spec == 's'
mojom_data.py 5 import mojom namespace
7 # mojom_data provides a mechanism to turn mojom Modules to dictionaries and
8 # back again. This can be used to persist a mojom Module created progromatically
49 kind = mojom.Array()
52 kind = mojom.Kind()
64 struct = mojom.Struct()
83 field = mojom.Field()
102 parameter = mojom.Parameter()
119 method = mojom.Method()
135 interface = mojom.Interface(
    [all...]
mojom_test.py 5 import mojom namespace
9 # Support for writing mojom test cases.
39 if kind1.__class__ == mojom.Kind:
41 if kind1.__class__ == mojom.Struct:
50 if kind1.__class__ == mojom.Array:
109 module = mojom.Module('test', 'testspace')
111 struct.AddField('testfield1', mojom.INT32)
112 struct.AddField('testfield2', mojom.Array(mojom.INT32), 42)
116 method.AddParameter('foo', mojom.INT32
    [all...]
run_cpp_generator.py 7 import mojom namespace
mojom_cpp_generator.py 5 """Generates C++ source files from a mojom.Module."""
8 import mojom namespace
17 # mojom_cpp_generator provides a way to generate c++ code from a mojom.Module.
112 mojom.BOOL: "bool",
113 mojom.INT8: "int8_t",
114 mojom.UINT8: "uint8_t",
115 mojom.INT16: "int16_t",
116 mojom.UINT16: "uint16_t",
117 mojom.INT32: "int32_t",
118 mojom.UINT32: "uint32_t"
    [all...]
  /external/chromium_org/mojo/public/bindings/parse/
mojo_translate.py 6 """Translate parse tree to Mojom IR"""
89 self.mojom = {}
97 self.mojom['structs'].append(struct)
104 self.mojom['interfaces'].append(interface)
112 self.mojom['enums'].append(enum)
115 self.mojom['name'] = name
116 self.mojom['namespace'] = namespace
117 self.mojom['structs'] = []
118 self.mojom['interfaces'] = []
119 self.mojom['enums'] = [
    [all...]
  /external/chromium_org/mojo/public/bindings/
mojom_bindings_generator.py 37 # at least avoid generating the serialized Mojom IR.
39 mojom = mojo_translate.Translate(tree, name)
40 module = mojom_data.OrderedModuleFromData(mojom)

Completed in 48 milliseconds