Home
last modified time | relevance | path

Searched refs:isHandle (Results 1 – 6 of 6) sorted by relevance

/external/libmojo/mojo/public/js/
Dcore_unittests.js182 expect(core.isHandle(123).toBeFalsy);
183 expect(core.isHandle("123").toBeFalsy);
184 expect(core.isHandle({}).toBeFalsy);
185 expect(core.isHandle([]).toBeFalsy);
186 expect(core.isHandle(undefined).toBeFalsy);
187 expect(core.isHandle(pipe).toBeFalsy);
188 expect(core.isHandle(pipe.handle0)).toBeTruthy();
189 expect(core.isHandle(pipe.handle1)).toBeTruthy();
190 expect(core.isHandle(null)).toBeTruthy();
194 expect(core.isHandle(pipe.consumerHandle)).toBeTruthy();
[all …]
Dconnection.js126 if (!core.isHandle(handle))
141 if (!core.isHandle(handle))
Dcore.js238 function isHandle(value) { [native code] } function
Dconnector.js13 if (!core.isHandle(handle))
Drouter.js17 if (!core.isHandle(handle))
/external/libmojo/mojo/edk/js/tests/
Dsample_service_tests.js79 expect(core.isHandle(port)).toBeTruthy();
174 expect(core.isHandle(foo.source)).toBeTruthy();