Searched refs:InterfacePtrInfo (Results 1 – 16 of 16) sorted by relevance
/external/libchrome/mojo/public/cpp/bindings/ |
D | interface_ptr_info.h | 20 class InterfacePtrInfo { 22 InterfacePtrInfo() : version_(0u) {} in InterfacePtrInfo() function 23 InterfacePtrInfo(std::nullptr_t) : InterfacePtrInfo() {} in InterfacePtrInfo() function 25 InterfacePtrInfo(ScopedMessagePipeHandle handle, uint32_t version) in InterfacePtrInfo() function 28 InterfacePtrInfo(InterfacePtrInfo&& other) in InterfacePtrInfo() function 33 ~InterfacePtrInfo() {} in ~InterfacePtrInfo() 35 InterfacePtrInfo& operator=(InterfacePtrInfo&& other) { 63 DISALLOW_COPY_AND_ASSIGN(InterfacePtrInfo);
|
D | interface_ptr.h | 43 using PtrInfoType = InterfacePtrInfo<Interface>; 85 void Bind(InterfacePtrInfo<Interface> info, 184 InterfacePtrInfo<Interface> PassInterface() { in PassInterface() 221 InterfacePtrInfo<Interface> info,
|
D | interface_request.h | 139 ptr->Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0), 0u), 147 InterfaceRequest<Interface> MakeRequest(InterfacePtrInfo<Interface>* ptr_info) { in MakeRequest() 158 InterfacePtrInfo<Interface> proxy_info) { in FuseInterface()
|
D | thread_safe_interface_ptr.h | 325 void BindOnTaskRunner(InterfacePtrInfo<InterfaceType> ptr_info) { in BindOnTaskRunner()
|
D | README.md | 187 type, which is a generated alias for `mojo::InterfacePtrInfo<Logger>`. This is 194 which returns a new `InterfacePtrInfo<T>`. Conversely, an `InterfacePtr<T>` may 195 bind (and thus take ownership of) an `InterfacePtrInfo<T>` so that interface
|
/external/libchrome/mojo/public/js/ |
D | interface_types.js | 15 function InterfacePtrInfo(handle, version) { class 20 InterfacePtrInfo.prototype.isValid = function() { class 24 InterfacePtrInfo.prototype.close = function() { 87 mojo.InterfacePtrInfo = InterfacePtrInfo;
|
D | bindings.js | 21 if (output instanceof mojo.InterfacePtrInfo) { 30 output.ptr.bind(new mojo.InterfacePtrInfo(pipe.handle0, 0)); 59 if (ptrInfoOrHandle instanceof mojo.InterfacePtrInfo) { 113 result = new mojo.InterfacePtrInfo( 118 result = new mojo.InterfacePtrInfo(this.handle_, this.version);
|
D | README.md | 74 * `mojo.InterfacePtrInfo` and `mojo.InterfaceRequest` encapsulate two ends of a 78 an `InterfacePtrInfo`; provides methods to send interface calls using the 79 message pipe handle from the `InterfacePtrInfo`. 118 example, binding/extracting `InterfacePtrInfo`, setting connection error 127 could be an `InterfacePtrInfo` or an interface pointer) with one end of the
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | interface_serialization.h | 83 InterfacePtrInfo<T> info = input.PassInterface(); 90 output->Bind(InterfacePtrInfo<T>( 98 struct Serializer<InterfacePtrDataView<Base>, InterfacePtrInfo<T>> { 101 static void Serialize(InterfacePtrInfo<T>& input, 108 InterfacePtrInfo<T>* output, 110 *output = InterfacePtrInfo<T>(
|
D | interface_ptr_state.h | 145 void Bind(InterfacePtrInfo<Interface> info, in Bind() 154 InterfacePtrInfo<Interface> PassInterface() { in PassInterface() 156 return InterfacePtrInfo<Interface>(PassMessagePipe(), version()); in PassInterface()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | e2e_perftest.cc | 144 service.Bind(InterfacePtrInfo<test::EchoService>( in RunTests()
|
D | interface_ptr_unittest.cc | 307 InterfacePtrInfo<math::Calculator>(std::move(pipe.handle0), 0u)); in TEST_P() 325 ptr.Bind(InterfacePtrInfo<math::Calculator>()); in TEST_P() 606 calc.Bind(InterfacePtrInfo<math::Calculator>(std::move(pipe.handle1), 0u)); in TEST()
|
D | sync_method_unittest.cc | 1145 interface_ptr.Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0), 0u)); in TYPED_TEST() 1195 InterfacePtrInfo<InterfaceType>(std::move(pipe.handle0), 0u)); in SEQUENCED_TASK_RUNNER_TYPED_TEST_F()
|
D | validation_unittest.cc | 453 InterfacePtrInfo<IntegrationTestInterface>(testee_endpoint(), 0u)); in TEST_F()
|
/external/libchrome/mojo/public/js/lib/ |
D | codec.js | 969 var interfacePtrInfo = new mojo.InterfacePtrInfo( 978 val ? val.ptr.passInterface() : new mojo.InterfacePtrInfo(null, 0);
|
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/ |
D | module.h.tmpl | 135 using {{interface.name}}PtrInfo = mojo::InterfacePtrInfo<{{interface.name}}>;
|