Home
last modified time | relevance | path

Searched refs:bind (Results 1 – 25 of 1912) sorted by relevance

12345678910>>...77

/external/chromium_org/v8/test/mjsunit/
Dfunction-bind.js37 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(foo).bind(not_foo).bind(not_foo).bind(not_foo);
91 f = foo.bind(foo, 1).bind(not_foo).bind(not_foo).bind(not_foo);
[all …]
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
DAndroid.mk17 test_makefile := external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/Andr…
19 test_name := utilities/function.objects/bind/func.bind/func.bind.bind/invoke_lvalue
23 test_name := utilities/function.objects/bind/func.bind/func.bind.bind/invoke_int_0
27 test_name := utilities/function.objects/bind/func.bind/func.bind.bind/copy
31 test_name := utilities/function.objects/bind/func.bind/func.bind.bind/invoke_rvalue
35 test_name := utilities/function.objects/bind/func.bind/func.bind.bind/invoke_void_0
39 test_name := utilities/function.objects/bind/func.bind/func.bind.bind/nested
Dinvoke_rvalue.pass.cpp49 std::bind(f_void_1, _1)(2); in test_void_1()
54 std::bind(f_void_1, 2)(); in test_void_1()
61 std::bind(fp, _1)(3); in test_void_1()
67 std::bind(fp, 3)(); in test_void_1()
74 std::bind(a0, _1)(4); in test_void_1()
80 std::bind(a0, 4)(); in test_void_1()
87 std::bind(fp, _1)(A_void_1()); in test_void_1()
91 std::bind(fp, _1)(&a); in test_void_1()
97 std::bind(fp, A_void_1())(); in test_void_1()
101 std::bind(fp, &a)(); in test_void_1()
[all …]
Dinvoke_lvalue.pass.cpp50 std::bind(f_void_1, _1)(i); in test_void_1()
56 std::bind(f_void_1, i)(); in test_void_1()
64 std::bind(fp, _1)(i); in test_void_1()
71 std::bind(fp, i)(); in test_void_1()
79 std::bind(a0, _1)(i); in test_void_1()
86 std::bind(a0, i)(); in test_void_1()
94 std::bind(fp, _1)(a); in test_void_1()
98 std::bind(fp, _1)(ap); in test_void_1()
105 std::bind(fp, a)(); in test_void_1()
109 std::bind(fp, ap)(); in test_void_1()
[all …]
Dinvoke_int_0.pass.cpp44 test(std::bind(f), 1); in main()
45 test(std::bind(&f), 1); in main()
46 test(std::bind(A_int_0()), 4); in main()
47 test_const(std::bind(A_int_0()), 5); in main()
49 test(std::bind<int>(f), 1); in main()
50 test(std::bind<int>(&f), 1); in main()
51 test(std::bind<int>(A_int_0()), 4); in main()
52 test_const(std::bind<int>(A_int_0()), 5); in main()
Dinvoke_void_0.pass.cpp50 test(std::bind(f)); in main()
51 test(std::bind(&f)); in main()
52 test(std::bind(A_int_0())); in main()
53 test_const(std::bind(A_int_0())); in main()
55 test(std::bind<void>(f)); in main()
56 test(std::bind<void>(&f)); in main()
57 test(std::bind<void>(A_int_0())); in main()
58 test_const(std::bind<void>(A_int_0())); in main()
/external/chromium_org/third_party/sqlite/src/test/
Dbind.test14 # $Id: bind.test,v 1.48 2009/07/22 07:27:57 danielk1977 Exp $
37 do_test bind-1.1 {
43 do_test bind-1.1.1 {
46 do_test bind-1.1.2 {
49 do_test bind-1.1.3 {
52 do_test bind-1.1.4 {
55 do_test bind-1.2 {
58 do_test bind-1.3 {
61 do_test bind-1.4 {
66 do_test bind-1.5 {
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/scheduler/
DSchedulerTest.cpp202 …Scheduler::shared()->postTask(FROM_HERE, WTF::bind(&SchedulerTest::appendToVectorReentrantTask, th… in appendToVectorReentrantTask()
211 …m_scheduler->postInputTask(FROM_HERE, WTF::bind(&SchedulerTest::appendToVectorReentrantInputTask, … in appendToVectorReentrantInputTask()
220 …m_scheduler->postCompositorTask(FROM_HERE, WTF::bind(&SchedulerTest::appendToVectorReentrantCompos… in appendToVectorReentrantCompositorTask()
250 m_scheduler->postTask(FROM_HERE, WTF::bind(&orderedTestTask, 1, &result)); in TEST_F()
251 m_scheduler->postTask(FROM_HERE, WTF::bind(&orderedTestTask, 2, &result)); in TEST_F()
252 m_scheduler->postTask(FROM_HERE, WTF::bind(&orderedTestTask, 3, &result)); in TEST_F()
253 m_scheduler->postTask(FROM_HERE, WTF::bind(&orderedTestTask, 4, &result)); in TEST_F()
261 m_scheduler->postTask(FROM_HERE, WTF::bind(&unorderedTestTask, 1, &result)); in TEST_F()
262 m_scheduler->postInputTask(FROM_HERE, WTF::bind(&unorderedTestTask, 2, &result)); in TEST_F()
263 m_scheduler->postCompositorTask(FROM_HERE, WTF::bind(&unorderedTestTask, 4, &result)); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/
DFunctionalTest.cpp44 Function<int()> returnFortyTwoFunction = bind(returnFortyTwo); in TEST()
61 Function<int()> multiplyFourByTwoFunction = bind(multiplyByTwo, 4); in TEST()
64 Function<double()> multiplyByOneAndAHalfFunction = bind(multiplyByOneAndAHalf, 3); in TEST()
70 Function<int(int)> multiplyByTwoFunction = bind<int>(multiplyByTwo); in TEST()
73 Function<double(double)> multiplyByOneAndAHalfFunction = bind<double>(multiplyByOneAndAHalf); in TEST()
89 Function<int()> multiplyFourByTwoFunction = bind(multiply, 4, 2); in TEST()
92 Function<int()> subtractTwoFromFourFunction = bind(subtract, 4, 2); in TEST()
98 Function<int(int)> multiplyFourFunction = bind<int>(multiply, 4); in TEST()
100 Function<int(int, int)> multiplyFunction = bind<int, int>(multiply); in TEST()
103 Function<int(int)> subtractFromFourFunction = bind<int>(subtract, 4); in TEST()
[all …]
/external/chromium_org/v8/test/mjsunit/regress/
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(null)());
[all …]
/external/clang/unittests/AST/
DDeclPrinterTest.cpp107 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches()
130 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches()
452 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
463 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
472 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
481 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
490 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
499 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
508 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
517 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
[all …]
/external/chromium_org/remoting/webapp/
Dcast_extension_handler.js76 window['__onGCastApiAvailable'] = that.onGCastApiAvailable.bind(that);
123 this.sendMessageSuccess.bind(this),
124 this.sendMessageFailure.bind(this));
155 this.sessionListener.bind(this),
156 this.receiverListener.bind(this),
160 apiConfig, this.onInitSuccess.bind(this), this.onInitError.bind(this));
193 this.onMediaDiscovered.bind(this, 'addMediaListener'));
194 this.session_.addUpdateListener(this.sessionUpdateListener.bind(this));
196 this.chromotingMessageListener.bind(this));
199 this.sendMessageSuccess.bind(this),
[all …]
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/www_content/js/
Dprocesses.js28 $('#device_tabs').on('tabsactivate', this.redrawPsStats_.bind(this));
29 $('#device_tabs').on('tabsactivate', this.redrawDevStats_.bind(this));
33 .click(this.snapshotSelectedProcess_.bind(this));
35 .click(this.dumpSelectedProcessMmaps_.bind(this));
37 .click(this.showTracingDialog_.bind(this));
41 buttons: {'Start': this.startTracingSelectedProcess_.bind(this)}});
48 this.psTable_, 'select', this.onPsTableRowSelect_.bind(this));
49 $('#ps-table').on('dblclick', this.snapshotSelectedProcess_.bind(this));
124 this.onStartTracerAjaxResponse_.bind(this),
132 this.pollTracerStatus_.bind(this),
[all …]
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.isbind/
DAndroid.mk17 test_makefile := external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.isbind/An…
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
/external/clang/test/SemaCXX/
Dmember-pointer.cpp187 template <class F> void bind(F f); // expected-note 12 {{candidate template ignored}}
203 bind(&nonstat); // expected-error {{no matching function for call}} in test()
204 bind(&A::nonstat); // expected-error {{no matching function for call}} in test()
206 bind(&mixed); // expected-error {{no matching function for call}} in test()
207 bind(&A::mixed); // expected-error {{no matching function for call}} in test()
209 bind(&stat); // expected-error {{no matching function for call}} in test()
210 bind(&A::stat); // expected-error {{no matching function for call}} in test()
254 bind(&nonstat); in test0a()
255 bind(&B::nonstat); in test0a()
257 bind(&mixed); in test0a()
[all …]
/external/chromium_org/ui/file_manager/gallery/js/
Dgallery_item.js111 }.bind(this));
220 tryNext.bind(null, tries - 1),
221 callback.bind(null, name + ext));
255 }.bind(this);
267 fileWriter.onwriteend = onSuccess.bind(null, fileEntry);
295 }.bind(this), onError);
296 }.bind(this);
300 getFile.bind(null, dir, false /* existing file */),
301 getFile.bind(null, dir, true /* create new file */));
312 }.bind(this));
[all …]
Dgallery.js136 }.bind(this));
137 }.bind(this));
212 this.onExternallyUnmountedBound_ = this.onExternallyUnmounted_.bind(this);
220 }.bind(this)).catch(function(error) {
269 this.keyDownBound_ = this.onKeyDown_.bind(this);
273 this.container_, Gallery.FADE_TIMEOUT, this.hasActiveTool.bind(this));
282 this.updateThumbnails_.bind(this));
325 content.addEventListener('click', this.onContentClick_.bind(this));
336 minimizeButton.addEventListener('click', this.onMinimize_.bind(this));
343 maximizeButton.addEventListener('click', this.onMaximize_.bind(this));
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/tests/
Dthis.js37 extensionServer.registerHandler("notify-" + this._type, this._dispatch.bind(this));
191 … var badMemberBinding1 = this.memberTwo.bind(null); // ERROR - Member not bound to |this| receiver.
192 … var badMemberBinding2 = this.memberTwo.bind(bar); // ERROR - Member not bound to |this| receiver.
193 var goodMemberBinding = this.memberTwo.bind(this);
211 callbackNoThis.bind(null, 1);
212 this.memberTwo(callbackWithThis.bind(this, 1));
213 this.memberTwo(callbackWithThis.bind(foo, 1));
215 this.memberTwo(callbackNoThis.bind(null));
225 callbackNoThis.bind(this); // ERROR - Function has no @this annotation.
228 …this.memberTwo(callbackWithThis.bind(null, 2)); // ERROR - Used as argument with no bound receiver…
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
DTransformController.js18 element.addEventListener("keydown", this._onKeyDown.bind(this), false);
19 element.addEventListener("keyup", this._onKeyUp.bind(this), false);
20 element.addEventListener("mousemove", this._onMouseMove.bind(this), false);
21 element.addEventListener("mousedown", this._onMouseDown.bind(this), false);
22 element.addEventListener("mouseup", this._onMouseUp.bind(this), false);
23 element.addEventListener("mousewheel", this._onMouseWheel.bind(this), false);
32 …panModeButton.addEventListener("click", this._setMode.bind(this, WebInspector.TransformController.…
36 …rotateModeButton.addEventListener("click", this._setMode.bind(this, WebInspector.TransformControll…
43 resetButton.addEventListener("click", this.resetAndNotify.bind(this, undefined));
100 …tcuts(WebInspector.ShortcutsScreen.LayersPanelShortcuts.ResetView, this.resetAndNotify.bind(this));
[all …]
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfile_manager.js766 group.add(this.getPreferences_.bind(this));
788 }.bind(this));
789 }.bind(this));
810 }.bind(this));
825 self.onResize_.bind(self));
830 this.onDirectoryChanged_.bind(this));
845 dm.addEventListener('scan-started', this.onScanStarted_.bind(this));
846 dm.addEventListener('scan-completed', this.onScanCompleted_.bind(this));
847 dm.addEventListener('scan-failed', this.onScanCancelled_.bind(this));
848 dm.addEventListener('scan-cancelled', this.onScanCancelled_.bind(this));
[all …]
Ddirectory_model.js37 this.rescanSoon.bind(this, true), 500);
41 this.onFilterChanged_.bind(this));
52 'splice', this.onVolumeInfoListUpdated_.bind(this));
57 this.onWatcherDirectoryChanged_.bind(this));
191 }.bind(this)).catch(function(error) {
195 }.bind(this));
322 }.bind(this), delay);
365 }).bind(this);
410 }.bind(this);
418 }.bind(this);
[all …]
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
Di915_parser.js23 I915Parser.prototype.gemObjectCreateEvent.bind(this));
25 I915Parser.prototype.gemObjectBindEvent.bind(this));
27 I915Parser.prototype.gemObjectBindEvent.bind(this));
29 I915Parser.prototype.gemObjectChangeDomainEvent.bind(this));
31 I915Parser.prototype.gemObjectPreadWriteEvent.bind(this));
33 I915Parser.prototype.gemObjectPreadWriteEvent.bind(this));
35 I915Parser.prototype.gemObjectFaultEvent.bind(this));
38 I915Parser.prototype.gemObjectDestroyEvent.bind(this));
40 I915Parser.prototype.gemObjectDestroyEvent.bind(this));
42 I915Parser.prototype.gemRingDispatchEvent.bind(this));
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/
DExtensionServer.js50 this._registerHandler(commands.AddAuditCategory, this._onAddAuditCategory.bind(this));
51 this._registerHandler(commands.AddAuditResult, this._onAddAuditResult.bind(this));
52 this._registerHandler(commands.AddConsoleMessage, this._onAddConsoleMessage.bind(this));
53 this._registerHandler(commands.AddRequestHeaders, this._onAddRequestHeaders.bind(this));
54 this._registerHandler(commands.ApplyStyleSheet, this._onApplyStyleSheet.bind(this));
55 this._registerHandler(commands.CreatePanel, this._onCreatePanel.bind(this));
56 this._registerHandler(commands.CreateSidebarPane, this._onCreateSidebarPane.bind(this));
57 this._registerHandler(commands.CreateStatusBarButton, this._onCreateStatusBarButton.bind(this));
58 …this._registerHandler(commands.EvaluateOnInspectedPage, this._onEvaluateOnInspectedPage.bind(this)…
59 this._registerHandler(commands.ForwardKeyboardEvent, this._onForwardKeyboardEvent.bind(this));
[all …]
/external/chromium_org/chrome/browser/resources/gaia_auth/
Dbackground.js40 chrome.runtime.onConnect.addListener(this.onConnect_.bind(this));
46 }.bind(this),
56 }.bind(this),
64 }.bind(this),
72 }.bind(this),
85 }.bind(this));
151 'initDesktopFlow', this.onInitDesktopFlow_.bind(this));
155 'setGaiaUrl', this.onSetGaiaUrl_.bind(this));
157 'setBlockInsecureContent', this.onSetBlockInsecureContent_.bind(this));
159 'resetAuth', this.onResetAuth_.bind(this));
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DMessages.java37 public static String bind(String message) { in bind() method in Messages
38 return bind(message, null); in bind()
48 public static String bind(String message, Object binding) { in bind() method in Messages
49 return bind(message, new Object[] {binding}); in bind()
60 public static String bind(String message, Object binding1, Object binding2) { in bind() method in Messages
61 return bind(message, new Object[] {binding1, binding2}); in bind()
71 public static String bind(String message, Object[] bindings) { in bind() method in Messages

12345678910>>...77