/external/libchrome/mojo/public/tools/bindings/generators/ |
D | mojom_js_generator.py | 7 import mojom.generate.generator as generator 8 import mojom.generate.module as mojom namespace 9 import mojom.generate.pack as pack 12 from mojom.generate.template_expander import UseJinja 15 mojom.BOOL: "false", 16 mojom.INT8: "0", 17 mojom.UINT8: "0", 18 mojom.INT16: "0", 19 mojom.UINT16: "0", 20 mojom.INT32: "0", [all …]
|
D | mojom_java_generator.py | 18 import mojom.fileutil as fileutil 19 import mojom.generate.generator as generator 20 import mojom.generate.module as mojom namespace 21 from mojom.generate.template_expander import UseJinja 32 mojom.BOOL.spec: 'boolean', 33 mojom.DCPIPE.spec: 'org.chromium.mojo.system.DataPipe.ConsumerHandle', 34 mojom.DOUBLE.spec: 'double', 35 mojom.DPPIPE.spec: 'org.chromium.mojo.system.DataPipe.ProducerHandle', 36 mojom.FLOAT.spec: 'float', 37 mojom.HANDLE.spec: 'org.chromium.mojo.system.UntypedHandle', [all …]
|
D | mojom_cpp_generator.py | 7 import mojom.generate.generator as generator 8 import mojom.generate.module as mojom namespace 9 import mojom.generate.pack as pack 10 from mojom.generate.template_expander import UseJinja 14 mojom.BOOL: "bool", 15 mojom.INT8: "int8_t", 16 mojom.UINT8: "uint8_t", 17 mojom.INT16: "int16_t", 18 mojom.UINT16: "uint16_t", 19 mojom.INT32: "int32_t", [all …]
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | pack_tests.py | 7 import module as mojom namespace 19 struct = mojom.Struct('test') 20 struct.AddField('testfield1', mojom.INT32, 2) 21 struct.AddField('testfield2', mojom.INT32, 1) 32 struct = mojom.Struct('test') 40 struct = mojom.Struct('test') 41 struct.AddField('testfield1', mojom.INT8) 54 struct = mojom.Struct('test') 71 (mojom.INT8, mojom.UINT8, mojom.INT32), 78 (mojom.INT8, mojom.INT32, mojom.UINT8), [all …]
|
D | pack.py | 5 import module as mojom namespace 19 mojom.BOOL: 1, 20 mojom.INT8: 1, 21 mojom.UINT8: 1, 22 mojom.INT16: 2, 23 mojom.UINT16: 2, 24 mojom.INT32: 4, 25 mojom.UINT32: 4, 26 mojom.FLOAT: 4, 27 mojom.HANDLE: 4, [all …]
|
/external/libchrome/mojo/public/cpp/base/ |
D | file_error_mojom_traits.h | 14 struct EnumTraits<mojo_base::mojom::FileError, base::File::Error> { 15 static mojo_base::mojom::FileError ToMojom(base::File::Error error) { 18 return mojo_base::mojom::FileError::OK; 20 return mojo_base::mojom::FileError::FAILED; 22 return mojo_base::mojom::FileError::IN_USE; 24 return mojo_base::mojom::FileError::EXISTS; 26 return mojo_base::mojom::FileError::NOT_FOUND; 28 return mojo_base::mojom::FileError::ACCESS_DENIED; 30 return mojo_base::mojom::FileError::TOO_MANY_OPENED; 32 return mojo_base::mojom::FileError::NO_MEMORY; [all …]
|
D | big_buffer_mojom_traits.cc | 16 uint32_t StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView, 24 StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView, 31 bool StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView, 33 Read(mojo_base::mojom::BigBufferSharedMemoryRegionDataView data, in Read() 41 mojo_base::mojom::BigBufferDataView::Tag 42 UnionTraits<mojo_base::mojom::BigBufferDataView, mojo_base::BigBuffer>::GetTag( in GetTag() 46 return mojo_base::mojom::BigBufferDataView::Tag::BYTES; in GetTag() 48 return mojo_base::mojom::BigBufferDataView::Tag::SHARED_MEMORY; in GetTag() 52 return mojo_base::mojom::BigBufferDataView::Tag::BYTES; in GetTag() 57 UnionTraits<mojo_base::mojom::BigBufferDataView, mojo_base::BigBuffer>::bytes( in bytes() [all …]
|
D | thread_priority_mojom_traits.cc | 10 mojo_base::mojom::ThreadPriority 11 EnumTraits<mojo_base::mojom::ThreadPriority, base::ThreadPriority>::ToMojom( in ToMojom() 15 return mojo_base::mojom::ThreadPriority::BACKGROUND; in ToMojom() 17 return mojo_base::mojom::ThreadPriority::NORMAL; in ToMojom() 19 return mojo_base::mojom::ThreadPriority::DISPLAY; in ToMojom() 21 return mojo_base::mojom::ThreadPriority::REALTIME_AUDIO; in ToMojom() 24 return mojo_base::mojom::ThreadPriority::BACKGROUND; in ToMojom() 28 bool EnumTraits<mojo_base::mojom::ThreadPriority, base::ThreadPriority>:: 29 FromMojom(mojo_base::mojom::ThreadPriority input, in FromMojom() 32 case mojo_base::mojom::ThreadPriority::BACKGROUND: in FromMojom() [all …]
|
D | shared_memory_mojom_traits.cc | 13 bool StructTraits<mojo_base::mojom::ReadOnlySharedMemoryRegionDataView, 20 void StructTraits<mojo_base::mojom::ReadOnlySharedMemoryRegionDataView, 28 mojo_base::mojom::ReadOnlySharedMemoryRegionDataView, 35 bool StructTraits<mojo_base::mojom::ReadOnlySharedMemoryRegionDataView, 37 Read(mojo_base::mojom::ReadOnlySharedMemoryRegionDataView data, in Read() 44 bool StructTraits<mojo_base::mojom::UnsafeSharedMemoryRegionDataView, 51 void StructTraits<mojo_base::mojom::UnsafeSharedMemoryRegionDataView, 59 mojo_base::mojom::UnsafeSharedMemoryRegionDataView, 66 bool StructTraits<mojo_base::mojom::UnsafeSharedMemoryRegionDataView, 68 Read(mojo_base::mojom::UnsafeSharedMemoryRegionDataView data, in Read() [all …]
|
D | text_direction_mojom_traits.cc | 10 mojo_base::mojom::TextDirection 11 EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection>::ToMojom( in ToMojom() 15 return mojo_base::mojom::TextDirection::UNKNOWN_DIRECTION; in ToMojom() 17 return mojo_base::mojom::TextDirection::RIGHT_TO_LEFT; in ToMojom() 19 return mojo_base::mojom::TextDirection::LEFT_TO_RIGHT; in ToMojom() 22 return mojo_base::mojom::TextDirection::UNKNOWN_DIRECTION; in ToMojom() 26 bool EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection>:: 27 FromMojom(mojo_base::mojom::TextDirection input, in FromMojom() 30 case mojo_base::mojom::TextDirection::UNKNOWN_DIRECTION: in FromMojom() 33 case mojo_base::mojom::TextDirection::RIGHT_TO_LEFT: in FromMojom() [all …]
|
D | values_mojom_traits.cc | 14 bool StructTraits<mojo_base::mojom::DictionaryValueDataView, base::Value>::Read( in Read() 15 mojo_base::mojom::DictionaryValueDataView data, in Read() 17 mojo::MapDataView<mojo::StringDataView, mojo_base::mojom::ValueDataView> view; in Read() 33 bool StructTraits<mojo_base::mojom::ListValueDataView, base::Value>::Read( in Read() 34 mojo_base::mojom::ListValueDataView data, in Read() 36 mojo::ArrayDataView<mojo_base::mojom::ValueDataView> view; in Read() 47 bool UnionTraits<mojo_base::mojom::ValueDataView, base::Value>::Read( in Read() 48 mojo_base::mojom::ValueDataView data, in Read() 51 case mojo_base::mojom::ValueDataView::Tag::NULL_VALUE: { in Read() 55 case mojo_base::mojom::ValueDataView::Tag::BOOL_VALUE: { in Read() [all …]
|
D | values_mojom_traits.h | 46 StructTraits<mojo_base::mojom::DictionaryValueDataView, base::Value> { 52 static bool Read(mojo_base::mojom::DictionaryValueDataView data, 58 StructTraits<mojo_base::mojom::ListValueDataView, base::Value> { 64 static bool Read(mojo_base::mojom::ListValueDataView data, 70 UnionTraits<mojo_base::mojom::ValueDataView, base::Value> { 71 static mojo_base::mojom::ValueDataView::Tag GetTag(const base::Value& data) { 74 return mojo_base::mojom::ValueDataView::Tag::NULL_VALUE; 76 return mojo_base::mojom::ValueDataView::Tag::BOOL_VALUE; 78 return mojo_base::mojom::ValueDataView::Tag::INT_VALUE; 80 return mojo_base::mojom::ValueDataView::Tag::DOUBLE_VALUE; [all …]
|
D | shared_memory.typemap | 5 mojom = "//mojo/public/mojom/base/shared_memory.mojom" 18 …"mojo_base.mojom.PlatformSharedMemoryHandle=base::subtle::PlatformSharedMemoryRegion::ScopedPlatfo… 19 "mojo_base.mojom.PlatformSharedMemoryRegion=base::subtle::PlatformSharedMemoryRegion[move_only]", 20 "mojo_base.mojom.PlatformSharedMemoryRegion.Mode=base::subtle::PlatformSharedMemoryRegion::Mode", 21 …"mojo_base.mojom.ReadOnlySharedMemoryRegion=base::ReadOnlySharedMemoryRegion[move_only,nullable_is… 22 …"mojo_base.mojom.UnsafeSharedMemoryRegion=base::UnsafeSharedMemoryRegion[move_only,nullable_is_sam… 23 …"mojo_base.mojom.WritableSharedMemoryRegion=base::WritableSharedMemoryRegion[move_only,nullable_is…
|
D | time_mojom_traits.cc | 9 int64_t StructTraits<mojo_base::mojom::TimeDataView, 14 bool StructTraits<mojo_base::mojom::TimeDataView, base::Time>::Read( in Read() 15 mojo_base::mojom::TimeDataView data, in Read() 23 StructTraits<mojo_base::mojom::TimeDeltaDataView, 28 bool StructTraits<mojo_base::mojom::TimeDeltaDataView, base::TimeDelta>::Read( in Read() 29 mojo_base::mojom::TimeDeltaDataView data, in Read() 36 StructTraits<mojo_base::mojom::TimeTicksDataView, 41 bool StructTraits<mojo_base::mojom::TimeTicksDataView, base::TimeTicks>::Read( in Read() 42 mojo_base::mojom::TimeTicksDataView data, in Read()
|
/external/libchrome/mojo/public/tools/fuzzers/ |
D | mojo_fuzzer_message_dump.cc | 72 fuzz::mojom::FuzzUnionPtr union_bool = fuzz::mojom::FuzzUnion::New(); in GetBoolFuzzUnion() 79 auto GetStructMapFuzzUnion(fuzz::mojom::FuzzDummyStructPtr in) { in GetStructMapFuzzUnion() 80 fuzz::mojom::FuzzUnionPtr union_struct_map = fuzz::mojom::FuzzUnion::New(); in GetStructMapFuzzUnion() 81 base::flat_map<std::string, fuzz::mojom::FuzzDummyStructPtr> struct_map; in GetStructMapFuzzUnion() 89 auto GetComplexFuzzUnion(fuzz::mojom::FuzzUnionPtr in) { in GetComplexFuzzUnion() 93 outer[fuzz::mojom::FuzzEnum::FUZZ_VALUE0])>::type inner; in GetComplexFuzzUnion() 99 outer[fuzz::mojom::FuzzEnum::FUZZ_VALUE0] = std::move(inner); in GetComplexFuzzUnion() 103 fuzz::mojom::FuzzUnionPtr union_complex = fuzz::mojom::FuzzUnion::New(); in GetComplexFuzzUnion() 110 decltype(fuzz::mojom::FuzzStruct::fuzz_primitive_array) primitive_array; in GetFuzzStructPrimitiveArrayValue() 117 decltype(fuzz::mojom::FuzzStruct::fuzz_primitive_map) primitive_map; in GetFuzzStructPrimitiveMapValue() [all …]
|
D | fuzz_impl.h | 12 class FuzzImpl : public fuzz::mojom::FuzzInterface, 13 public fuzz::mojom::FuzzDummyInterface { 15 explicit FuzzImpl(fuzz::mojom::FuzzInterfaceRequest request); 22 void FuzzArgs(fuzz::mojom::FuzzStructPtr a, 23 fuzz::mojom::FuzzStructPtr b) override; 25 void FuzzArgsResp(fuzz::mojom::FuzzStructPtr a, 26 fuzz::mojom::FuzzStructPtr b, 28 void FuzzArgsSyncResp(fuzz::mojom::FuzzStructPtr a, 29 fuzz::mojom::FuzzStructPtr b, 33 fuzz::mojom::FuzzDummyInterfaceAssociatedRequest req) override;
|
D | fuzz_impl.cc | 10 FuzzImpl::FuzzImpl(fuzz::mojom::FuzzInterfaceRequest request) in FuzzImpl() 25 void FuzzImpl::FuzzArgs(fuzz::mojom::FuzzStructPtr a, in FuzzArgs() 26 fuzz::mojom::FuzzStructPtr b) {} in FuzzArgs() 28 void FuzzImpl::FuzzArgsResp(fuzz::mojom::FuzzStructPtr a, in FuzzArgsResp() 29 fuzz::mojom::FuzzStructPtr b, in FuzzArgsResp() 34 void FuzzImpl::FuzzArgsSyncResp(fuzz::mojom::FuzzStructPtr a, in FuzzArgsSyncResp() 35 fuzz::mojom::FuzzStructPtr b, in FuzzArgsSyncResp() 41 fuzz::mojom::FuzzDummyInterfaceAssociatedRequest req) { in FuzzAssociated()
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/generate/ |
D | data_unittest.py | 24 from mojom.generate import data 25 from mojom.generate import module as mojom unknown 32 module = mojom.Module('test_module', 'test_namespace') 49 module = mojom.Module('test_module', 'test_namespace') 63 module = mojom.Module('test_module', 'test_namespace') 64 imported_module = mojom.Module('import_module', 'import_namespace') 71 struct = mojom.Struct('TestStruct', module=module) 74 union = mojom.Union('TestUnion', module=module) 77 interface = mojom.Interface('TestInterface', module=module) 80 enum = mojom.Enum('TestEnum', module=module) [all …]
|
D | pack_unittest.py | 26 from mojom.generate import pack 27 from mojom.generate import module as mojom unknown 42 struct = mojom.Struct('test') 56 struct = mojom.Struct('test') 57 struct.AddField('field_2', mojom.BOOL, 2) 58 struct.AddField('field_0', mojom.INT32, 0) 59 struct.AddField('field_1', mojom.INT64, 1) 81 struct = mojom.Struct('test') 94 struct = mojom.Struct('test') 95 struct.AddField('field_3', mojom.BOOL, ordinal=3, [all …]
|
D | module_unittest.py | 24 from mojom.generate import module as mojom unknown 31 module = mojom.Module('test_module', 'test_namespace') 32 struct = mojom.Struct('TestStruct', module=module) 34 mojom.InterfaceRequest(struct) 42 module = mojom.Module('test_module', 'test_namespace') 43 struct = mojom.Struct('TestStruct', module=module) 45 mojom.AssociatedInterface(struct)
|
/external/libchrome/ui/gfx/geometry/mojo/ |
D | geometry.typemap | 5 mojom = "//ui/gfx/geometry/mojo/geometry.mojom" 23 "gfx.mojom.Point=gfx::Point", 24 "gfx.mojom.PointF=gfx::PointF", 25 "gfx.mojom.Size=gfx::Size", 26 "gfx.mojom.SizeF=gfx::SizeF", 27 "gfx.mojom.Rect=gfx::Rect", 28 "gfx.mojom.RectF=gfx::RectF", 29 "gfx.mojom.Insets=gfx::Insets", 30 "gfx.mojom.InsetsF=gfx::InsetsF", 31 "gfx.mojom.Vector2d=gfx::Vector2d", [all …]
|
D | geometry_struct_traits.h | 24 struct StructTraits<gfx::mojom::InsetsDataView, gfx::Insets> { 29 static bool Read(gfx::mojom::InsetsDataView data, gfx::Insets* out) { 36 struct StructTraits<gfx::mojom::InsetsFDataView, gfx::InsetsF> { 41 static bool Read(gfx::mojom::InsetsFDataView data, gfx::InsetsF* out) { 48 struct StructTraits<gfx::mojom::PointDataView, gfx::Point> { 51 static bool Read(gfx::mojom::PointDataView data, gfx::Point* out) { 58 struct StructTraits<gfx::mojom::PointFDataView, gfx::PointF> { 61 static bool Read(gfx::mojom::PointFDataView data, gfx::PointF* out) { 68 struct StructTraits<gfx::mojom::RectDataView, gfx::Rect> { 73 static bool Read(gfx::mojom::RectDataView data, gfx::Rect* out) { [all …]
|
/external/libchrome/libchrome_tools/patch/ |
D | file_path_mojom.patch | 1 diff --git a/mojo/public/mojom/base/file_path.mojom b/mojo/public/mojom/base/file_path.mojom 3 --- a/mojo/public/mojom/base/file_path.mojom 4 +++ b/mojo/public/mojom/base/file_path.mojom 6 module mojo_base.mojom; 11 + // of mojom files. 19 // This duplicates the contents of mojo_base.mojom.String16. String16 isn't
|
/external/libchrome/mojo/public/js/ |
D | README.md | 12 emitted in a `.js` file with the name based on the input `.mojom` file. Suppose 14 `//services/echo/public/interfaces/echo.mojom`: 17 module test.echo.mojom; 28 import("//mojo/public/tools/bindings/mojom.gni") 30 mojom("interfaces") { 32 "echo.mojom", 50 out/gen/services/echo/public/interfaces/echo.mojom.js 53 In order to use the definitions in `echo.mojom`, you will need to include two 56 __Note: This file must be included before any `.mojom.js` files.__ 57 * `echo.mojom.js` [all …]
|
/external/perfetto/test/trace_processor/chrome/ |
D | memory_snapshot_os_dump_events.out | 5 3,29728,"Service: network.mojom.NetworkService",111027205123000,"detailed",35360768.000000,22926131… 6 4,29764,"Service: data_decoder.mojom.DataDecoderService",111027205123000,"detailed",30576640.000000… 7 5,29737,"Service: storage.mojom.StorageService",111027205123000,"detailed",30617600.000000,20713881… 9 7,29877,"Service: tracing.mojom.TracingService",111027205123000,"detailed",31002624.000000,19920896… 14 3,29728,"Service: network.mojom.NetworkService",111037187565000,"detailed",35495936.000000,22935142… 15 4,29764,"Service: data_decoder.mojom.DataDecoderService",111037187565000,"detailed",30679040.000000… 16 5,29737,"Service: storage.mojom.StorageService",111037187565000,"detailed",30650368.000000,20579123… 18 7,29877,"Service: tracing.mojom.TracingService",111037187565000,"detailed",33386496.000000,20455424…
|