Home
last modified time | relevance | path

Searched refs:mojo_base (Results 1 – 25 of 97) sorted by relevance

1234

/external/libchrome/mojo/public/cpp/base/
Dbig_buffer_mojom_traits.cc16 uint32_t StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView,
17 mojo_base::internal::BigBufferSharedMemoryRegion>::
18 size(const mojo_base::internal::BigBufferSharedMemoryRegion& region) { in size()
24 StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView,
25 mojo_base::internal::BigBufferSharedMemoryRegion>::
26 buffer_handle(mojo_base::internal::BigBufferSharedMemoryRegion& region) { in buffer_handle()
31 bool StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView,
32 mojo_base::internal::BigBufferSharedMemoryRegion>::
33 Read(mojo_base::mojom::BigBufferSharedMemoryRegionDataView data, in Read()
34 mojo_base::internal::BigBufferSharedMemoryRegion* out) { in Read()
[all …]
Dfile_error_mojom_traits.h14 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 …]
Dbig_buffer_mojom_traits.h23 StructTraits<mojo_base::mojom::BigBufferSharedMemoryRegionDataView, in COMPONENT_EXPORT()
24 mojo_base::internal::BigBufferSharedMemoryRegion> { in COMPONENT_EXPORT()
26 const mojo_base::internal::BigBufferSharedMemoryRegion& region); in COMPONENT_EXPORT()
28 mojo_base::internal::BigBufferSharedMemoryRegion& region); in COMPONENT_EXPORT()
30 static bool Read(mojo_base::mojom::BigBufferSharedMemoryRegionDataView data, in COMPONENT_EXPORT()
31 mojo_base::internal::BigBufferSharedMemoryRegion* out); in COMPONENT_EXPORT()
36 UnionTraits<mojo_base::mojom::BigBufferDataView, mojo_base::BigBuffer> { in COMPONENT_EXPORT()
37 static mojo_base::mojom::BigBufferDataView::Tag GetTag( in COMPONENT_EXPORT()
38 const mojo_base::BigBuffer& buffer); in COMPONENT_EXPORT()
40 static const std::vector<uint8_t>& bytes(const mojo_base::BigBuffer& buffer); in COMPONENT_EXPORT()
[all …]
Dthread_priority_mojom_traits.cc10 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 …]
Dshared_memory_mojom_traits.cc13 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 …]
Dvalues_mojom_traits.cc14 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 …]
Dtext_direction_mojom_traits.cc10 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 …]
Dvalues_mojom_traits.h46 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 …]
Dtime_mojom_traits.cc9 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()
Dref_counted_memory_mojom_traits.cc12 mojo_base::BigBuffer StructTraits<mojo_base::mojom::RefCountedMemoryDataView,
15 return mojo_base::BigBuffer(base::make_span(in->front(), in->size())); in data()
19 bool StructTraits<mojo_base::mojom::RefCountedMemoryDataView,
26 void StructTraits<mojo_base::mojom::RefCountedMemoryDataView,
33 bool StructTraits<mojo_base::mojom::RefCountedMemoryDataView,
35 Read(mojo_base::mojom::RefCountedMemoryDataView data, in Read()
37 mojo_base::BigBuffer buffer; in Read()
Dstring16_mojom_traits.cc12 bool StructTraits<mojo_base::mojom::String16DataView, base::string16>::Read( in Read()
13 mojo_base::mojom::String16DataView data, in Read()
22 mojo_base::BigBuffer
23 StructTraits<mojo_base::mojom::BigString16DataView, base::string16>::data( in data()
26 return mojo_base::BigBuffer( in data()
31 bool StructTraits<mojo_base::mojom::BigString16DataView, base::string16>::Read( in Read()
32 mojo_base::mojom::BigString16DataView data, in Read()
34 mojo_base::BigBuffer buffer; in Read()
Dstring16_mojom_traits.h21 StructTraits<mojo_base::mojom::String16DataView, base::StringPiece16> { in COMPONENT_EXPORT()
30 StructTraits<mojo_base::mojom::String16DataView, base::string16> { in COMPONENT_EXPORT()
32 return StructTraits<mojo_base::mojom::String16DataView, in COMPONENT_EXPORT()
36 static bool Read(mojo_base::mojom::String16DataView data, in COMPONENT_EXPORT()
42 StructTraits<mojo_base::mojom::BigString16DataView, base::string16> { in COMPONENT_EXPORT()
43 static mojo_base::BigBuffer data(const base::string16& str); in COMPONENT_EXPORT()
45 static bool Read(mojo_base::mojom::BigString16DataView data, in COMPONENT_EXPORT()
Dbig_string_mojom_traits.cc12 mojo_base::BigBuffer StructTraits<mojo_base::mojom::BigStringDataView,
15 return mojo_base::BigBuffer( in data()
20 bool StructTraits<mojo_base::mojom::BigStringDataView, std::string>::Read( in Read()
21 mojo_base::mojom::BigStringDataView data, in Read()
23 mojo_base::BigBuffer buffer; in Read()
Dtime_mojom_traits.h16 StructTraits<mojo_base::mojom::TimeDataView, base::Time> { in COMPONENT_EXPORT()
19 static bool Read(mojo_base::mojom::TimeDataView data, base::Time* time); in COMPONENT_EXPORT()
24 StructTraits<mojo_base::mojom::TimeDeltaDataView, base::TimeDelta> { in COMPONENT_EXPORT()
27 static bool Read(mojo_base::mojom::TimeDeltaDataView data, in COMPONENT_EXPORT()
33 StructTraits<mojo_base::mojom::TimeTicksDataView, base::TimeTicks> { in COMPONENT_EXPORT()
36 static bool Read(mojo_base::mojom::TimeTicksDataView data, in COMPONENT_EXPORT()
Dshared_memory_mojom_traits.h20 StructTraits<mojo_base::mojom::ReadOnlySharedMemoryRegionDataView, in COMPONENT_EXPORT()
26 static bool Read(mojo_base::mojom::ReadOnlySharedMemoryRegionDataView data, in COMPONENT_EXPORT()
32 StructTraits<mojo_base::mojom::UnsafeSharedMemoryRegionDataView, in COMPONENT_EXPORT()
38 static bool Read(mojo_base::mojom::UnsafeSharedMemoryRegionDataView data, in COMPONENT_EXPORT()
44 StructTraits<mojo_base::mojom::WritableSharedMemoryRegionDataView, in COMPONENT_EXPORT()
50 static bool Read(mojo_base::mojom::WritableSharedMemoryRegionDataView data, in COMPONENT_EXPORT()
Dshared_memory.typemap18 …"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…
Dthread_priority_unittest.cc8 namespace mojo_base { namespace
19 mojo_base::mojom::ThreadPriority serialized_priority = in TEST()
20 mojo::EnumTraits<mojo_base::mojom::ThreadPriority, in TEST()
23 (mojo::EnumTraits<mojo_base::mojom::ThreadPriority, in TEST()
Dtext_direction_unittest.cc8 namespace mojo_base { namespace
19 mojo_base::mojom::TextDirection serialized_direction = in TEST()
20 mojo::EnumTraits<mojo_base::mojom::TextDirection, in TEST()
23 mojo_base::mojom::TextDirection, in TEST()
Dbig_string_mojom_traits.h19 StructTraits<mojo_base::mojom::BigStringDataView, std::string> { in COMPONENT_EXPORT()
20 static mojo_base::BigBuffer data(const std::string& str); in COMPONENT_EXPORT()
22 static bool Read(mojo_base::mojom::BigStringDataView data, std::string* out); in COMPONENT_EXPORT()
Dthread_priority_mojom_traits.h15 EnumTraits<mojo_base::mojom::ThreadPriority, base::ThreadPriority> { in COMPONENT_EXPORT()
16 static mojo_base::mojom::ThreadPriority ToMojom( in COMPONENT_EXPORT()
18 static bool FromMojom(mojo_base::mojom::ThreadPriority input, in COMPONENT_EXPORT()
Dtext_direction_mojom_traits.h16 EnumTraits<mojo_base::mojom::TextDirection, base::i18n::TextDirection> { in COMPONENT_EXPORT()
17 static mojo_base::mojom::TextDirection ToMojom( in COMPONENT_EXPORT()
19 static bool FromMojom(mojo_base::mojom::TextDirection input, in COMPONENT_EXPORT()
Dref_counted_memory_mojom_traits.h20 StructTraits<mojo_base::mojom::RefCountedMemoryDataView, in COMPONENT_EXPORT()
22 static mojo_base::BigBuffer data( in COMPONENT_EXPORT()
28 static bool Read(mojo_base::mojom::RefCountedMemoryDataView data, in COMPONENT_EXPORT()
Dfile_mojom_traits.cc11 mojo::ScopedHandle StructTraits<mojo_base::mojom::FileDataView, base::File>::fd( in fd()
18 bool StructTraits<mojo_base::mojom::FileDataView, base::File>::Read( in Read()
19 mojo_base::mojom::FileDataView data, in Read()
Dlogfont_win_mojom_traits.cc16 StructTraits<mojo_base::mojom::LOGFONTDataView, ::LOGFONT>::bytes( in bytes()
23 bool StructTraits<mojo_base::mojom::LOGFONTDataView, ::LOGFONT>::Read( in Read()
24 mojo_base::mojom::LOGFONTDataView data, in Read()
Dvalues.typemap13 "mojo_base.mojom.Value=base::Value[move_only]",
14 "mojo_base.mojom.DictionaryValue=base::Value[move_only]",
15 "mojo_base.mojom.ListValue=base::Value[move_only]",

1234