Searched refs:bind (Results 1 - 25 of 1723) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-bind-receiver.js32 assertEquals(true, strict.bind(true)());
33 assertEquals(42, strict.bind(42)());
34 assertEquals("", strict.bind("")());
35 assertEquals(null, strict.bind(null)());
36 assertEquals(undefined, strict.bind(undefined)());
37 assertEquals(obj, strict.bind(obj)());
39 assertEquals(true, lenient.bind(true)() instanceof Boolean);
40 assertEquals(true, lenient.bind(42)() instanceof Number);
41 assertEquals(true, lenient.bind("")() instanceof String);
42 assertEquals(this, lenient.bind(nul
[all...]
H A Dregress-794.js31 assertFalse("prototype" in foo.bind());
H A Dregress-1419.js28 // Test that using bind several time does not change the length of existing
34 var f1 = function (x) {}.bind(foo);
39 // the object we bind to can be any object
40 f2.bind(foo);
H A Dregress-1650.js30 function g(f) { return f.call.apply(f.bind, arguments); }
46 assertSame(Fake.prototype.bind, this);
53 Fake.prototype.bind = function () {
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/Android.mk
19 test_name := utilities/function.objects/bind/func.bind/func.bind.bind/invoke_lvalue
23 test_name := utilities/function.objects/bind/func.bind/fun
[all...]
H A Dinvoke_int_0.pass.cpp13 // unspecified bind(Fn, Types...);
15 // unspecified bind(Fn, Types...);
44 test(std::bind(f), 1);
45 test(std::bind(&f), 1);
46 test(std::bind(A_int_0()), 4);
47 test_const(std::bind(A_int_0()), 5);
49 test(std::bind<int>(f), 1);
50 test(std::bind<int>(&f), 1);
51 test(std::bind<int>(A_int_0()), 4);
52 test_const(std::bind<in
[all...]
H A Dinvoke_void_0.pass.cpp13 // unspecified bind(Fn, Types...);
15 // unspecified bind(Fn, Types...);
50 test(std::bind(f));
51 test(std::bind(&f));
52 test(std::bind(A_int_0()));
53 test_const(std::bind(A_int_0()));
55 test(std::bind<void>(f));
56 test(std::bind<void>(&f));
57 test(std::bind<void>(A_int_0()));
58 test_const(std::bind<voi
[all...]
H A Dinvoke_rvalue.pass.cpp13 // unspecified bind(Fn, Types...);
15 // unspecified bind(Fn, Types...);
49 std::bind(f_void_1, _1)(2);
54 std::bind(f_void_1, 2)();
61 std::bind(fp, _1)(3);
67 std::bind(fp, 3)();
74 std::bind(a0, _1)(4);
80 std::bind(a0, 4)();
87 std::bind(fp, _1)(A_void_1());
91 std::bind(f
[all...]
H A Dinvoke_lvalue.pass.cpp13 // unspecified bind(Fn, Types...);
15 // unspecified bind(Fn, Types...);
50 std::bind(f_void_1, _1)(i);
56 std::bind(f_void_1, i)();
64 std::bind(fp, _1)(i);
71 std::bind(fp, i)();
79 std::bind(a0, _1)(i);
86 std::bind(a0, i)();
94 std::bind(fp, _1)(a);
98 std::bind(f
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Dfunction-bind.js28 // Tests the Function.prototype.bind (ES 15.3.4.5) method.
37 var f = foo.bind(foo);
41 f = foo.bind(foo, 1);
45 f = foo.bind(foo, 1, 2);
49 f = foo.bind(foo, 1, 2, 3);
55 f = foo.bind(foo, 1, 2, 3, 4, 5, 6, 7, 8, 9);
70 f = f_bound_this.bind(obj);
74 f = f_bound_this.bind(obj, 2);
82 f = foo.bind(foo);
86 f = foo.bind(fo
[all...]
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.isbind/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.isbind/Android.mk
19 test_name := utilities/function.objects/bind/func.bind/func.bind.isbind/is_bind_expression
23 test_name := utilities/function.objects/bind/func.bind/func.bind.isbind/is_placeholder
H A Dis_bind_expression.pass.cpp27 test<true>(std::bind(C()));
28 test<true>(std::bind(C(), std::placeholders::_2));
29 test<true>(std::bind<int>(C()));
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.place/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.place/Android.mk
19 test_name := utilities/function.objects/bind/func.bind/func.bind.place/placeholders
/external/libcxx/test/utilities/function.objects/bind/func.bind/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/function.objects/bind/func.bind/Android.mk
19 test_name := utilities/function.objects/bind/func.bind/nothing_to_do
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWrappedResourceRequest.h50 bind(resourceRequest);
55 bind(resourceRequest);
58 void bind(ResourceRequest& resourceRequest) function in class:blink::WrappedResourceRequest
64 void bind(const ResourceRequest& resourceRequest) function in class:blink::WrappedResourceRequest
66 bind(*const_cast<ResourceRequest*>(&resourceRequest));
H A DWrappedResourceResponse.h50 bind(resourceResponse);
55 bind(resourceResponse);
58 void bind(ResourceResponse& resourceResponse) function in class:blink::WrappedResourceResponse
64 void bind(const ResourceResponse& resourceResponse) function in class:blink::WrappedResourceResponse
66 bind(*const_cast<ResourceResponse*>(&resourceResponse));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DMessages.java37 public static String bind(String message) { method in class:Messages
38 return bind(message, null);
48 public static String bind(String message, Object binding) { method in class:Messages
49 return bind(message, new Object[] {binding});
60 public static String bind(String message, Object binding1, Object binding2) { method in class:Messages
61 return bind(message, new Object[] {binding1, binding2});
71 public static String bind(String message, Object[] bindings) { method in class:Messages
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
H A Dbind.c10 int bind(int fd, const struct sockaddr* addr, socklen_t len) { function
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/
H A DHeapSnapshotWorker.js37 addEventListener("message", dispatcher.dispatchMessage.bind(dispatcher), false);
/external/libcxx/test/utilities/function.objects/bind/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/function.objects/bind/Android.mk
19 test_name := utilities/function.objects/bind/nothing_to_do
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Drepeating_button.js62 this.addEventListener('mousedown', this.buttonDown_.bind(this));
63 this.addEventListener('mouseup', this.buttonUp_.bind(this));
64 this.addEventListener('mouseout', this.buttonUp_.bind(this));
65 this.addEventListener('touchstart', this.touchStart_.bind(this));
66 this.addEventListener('touchend', this.buttonUp_.bind(this));
67 this.addEventListener('touchcancel', this.buttonUp_.bind(this));
107 self.intervalCallbackId_ = setInterval(self.buttonHeld_.bind(self),
/external/chromium_org/chrome/browser/resources/app_list/
H A Dspeech_recognition_manager.js24 this.recognizer_.onresult = this.onRecognizerResult_.bind(this);
27 this.delegate_.onSpeechRecognitionStarted.bind(this.delegate_);
29 this.delegate_.onSpeechRecognitionEnded.bind(this.delegate_);
31 this.delegate_.onSpeechStarted.bind(this.delegate_);
33 this.delegate_.onSpeechEnded.bind(this.delegate_);
34 this.recognizer_.onerror = this.onRecognizerError_.bind(this);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DFunctionalTest.cpp44 Function<int()> returnFortyTwoFunction = bind(returnFortyTwo);
61 Function<int()> multiplyFourByTwoFunction = bind(multiplyByTwo, 4);
64 Function<double()> multiplyByOneAndAHalfFunction = bind(multiplyByOneAndAHalf, 3);
70 Function<int(int)> multiplyByTwoFunction = bind<int>(multiplyByTwo);
73 Function<double(double)> multiplyByOneAndAHalfFunction = bind<double>(multiplyByOneAndAHalf);
89 Function<int()> multiplyFourByTwoFunction = bind(multiply, 4, 2);
92 Function<int()> subtractTwoFromFourFunction = bind(subtract, 4, 2);
98 Function<int(int)> multiplyFourFunction = bind<int>(multiply, 4);
100 Function<int(int, int)> multiplyFunction = bind<int, int>(multiply);
103 Function<int(int)> subtractFromFourFunction = bind<in
[all...]
/external/chromium_org/third_party/webrtc/tools/rtcbot/test/
H A Dsimple_offer_answer.js15 createPeerConnection.bind(peer1),
16 createPeerConnection.bind(peer2) ],
52 test.wait( [ test.spawnBot.bind(test, "alice"),
53 test.spawnBot.bind(test, "bob") ],
/external/chromium_org/ui/keyboard/resources/
H A Dvoice_input.js10 this.recognition_.onstart = this.onStartHandler.bind(this);
11 this.recognition_.onresult = this.onResultHandler.bind(this);
12 this.recognition_.onerror = this.onErrorHandler.bind(this);
13 this.recognition_.onend = this.onEndHandler.bind(this);

Completed in 976 milliseconds

1234567891011>>