Home
last modified time | relevance | path

Searched refs:bind (Results 1 – 25 of 1902) 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/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/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));
109 this.onStartTracerAjaxResponse_.bind(this),
117 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/file_manager/foreground/js/photo/
Dgallery.js43 this.onExternallyUnmountedBound_ = this.onExternallyUnmounted_.bind(this);
106 this.keyDownBound_ = this.onKeyDown_.bind(this);
110 this.container_, Gallery.FADE_TIMEOUT, this.hasActiveTool.bind(this));
119 this.updateThumbnails_.bind(this));
162 content.addEventListener('click', this.onContentClick_.bind(this));
170 backButton.addEventListener('click', this.onBack_.bind(this));
178 minimizeButton.addEventListener('click', this.onMinimize_.bind(this));
185 maximizeButton.addEventListener('click', this.onMaximize_.bind(this));
192 closeButton.addEventListener('click', this.onClose_.bind(this));
201 this.onFilenameEditBlur_.bind(this));
[all …]
Dslide_mode.js40 this.onSelectionBound_ = this.onSelection_.bind(this);
41 this.onSpliceBound_ = this.onSplice_.bind(this);
42 this.onContentBound_ = this.onContentChange_.bind(this);
87 window.addEventListener('resize', this.onResize_.bind(this), false);
98 this.imageContainer_.addEventListener('click', this.onClick_.bind(this));
100 this.document_.addEventListener('click', this.onDocumentClick_.bind(this));
120 }.bind(this));
122 this.onOverwriteOriginalClick_.bind(this));
139 bubbleClose.addEventListener('click', this.onCloseBubble_.bind(this));
147 this.showErrorBanner_.bind(this, 'GALLERY_VIDEO_ERROR'),
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
DTransformController.js15 element.addEventListener("mousemove", this._onMouseMove.bind(this), false);
16 element.addEventListener("mousedown", this._onMouseDown.bind(this), false);
17 element.addEventListener("mouseup", this._onMouseUp.bind(this), false);
18 element.addEventListener("mousewheel", this._onMouseWheel.bind(this), false);
35 …gate(WebInspector.ShortcutsScreen.LayersPanelShortcuts.ResetView, this._resetAndNotify.bind(this));
37 …nspector.ShortcutsScreen.LayersPanelShortcuts.ZoomIn, this._onKeyboardZoom.bind(this, zoomFactor));
38 …pector.ShortcutsScreen.LayersPanelShortcuts.ZoomOut, this._onKeyboardZoom.bind(this, 1 / zoomFacto…
40 …gate(WebInspector.ShortcutsScreen.LayersPanelShortcuts.PanUp, this._onPan.bind(this, 0, -panDistan…
41 …te(WebInspector.ShortcutsScreen.LayersPanelShortcuts.PanDown, this._onPan.bind(this, 0, panDistanc…
42 …te(WebInspector.ShortcutsScreen.LayersPanelShortcuts.PanLeft, this._onPan.bind(this, -panDistanceI…
[all …]
/external/chromium_org/ui/file_manager/gallery/js/
Dgallery.js54 this.onExternallyUnmountedBound_ = this.onExternallyUnmounted_.bind(this);
102 this.keyDownBound_ = this.onKeyDown_.bind(this);
106 this.container_, Gallery.FADE_TIMEOUT, this.hasActiveTool.bind(this));
115 this.updateThumbnails_.bind(this));
158 content.addEventListener('click', this.onContentClick_.bind(this));
169 minimizeButton.addEventListener('click', this.onMinimize_.bind(this));
176 maximizeButton.addEventListener('click', this.onMaximize_.bind(this));
183 closeButton.addEventListener('click', this.onClose_.bind(this));
192 this.onFilenameEditBlur_.bind(this));
195 this.onFilenameFocus_.bind(this));
[all …]
Dslide_mode.js40 this.onSelectionBound_ = this.onSelection_.bind(this);
41 this.onSpliceBound_ = this.onSplice_.bind(this);
42 this.onContentBound_ = this.onContentChange_.bind(this);
87 window.addEventListener('resize', this.onResize_.bind(this), false);
98 this.imageContainer_.addEventListener('click', this.onClick_.bind(this));
100 this.document_.addEventListener('click', this.onDocumentClick_.bind(this));
120 }.bind(this));
122 this.onOverwriteOriginalClick_.bind(this));
139 bubbleClose.addEventListener('click', this.onCloseBubble_.bind(this));
147 this.showErrorBanner_.bind(this, 'GALLERY_VIDEO_ERROR'),
[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/Tools/GardeningServer/scripts/
Dcontrollers.js117 $(this._view).bind('next', this.onNext.bind(this));
118 $(this._view).bind('previous', this.onPrevious.bind(this));
119 $(this._view).bind('rebaseline', this.onRebaseline.bind(this));
120 $(this._view).bind('expectfailure', this.onUpdateExpectations.bind(this));
135 }.bind(this));
164 $(listItem).bind('examine', function() {
166 }.bind(this));
167 }.bind(this));
203 $(failure).bind('examine', function() {
205 }.bind(this));
[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()
80 Function<int ()> multiplyFourByTwoFunction = bind(multiply, 4, 2); in TEST()
83 Function<int ()> subtractTwoFromFourFunction = bind(subtract, 4, 2); in TEST()
104 Function<int ()> function1 = bind(&A::f, &a); in TEST()
107 Function<int ()> function2 = bind(&A::addF, &a, 15); in TEST()
142 Function<int ()> multiplyFiveByTwoFunction = bind(multiplyNumberByTwo, five); in TEST()
145 Function<int ()> multiplyFourByTwoFunction = bind(multiplyNumberByTwo, Number::create(4)); in TEST()
149 Function<int ()> multiplySixByTwoFunction = bind(multiplyNumberByTwo, six.release()); in TEST()
/external/chromium_org/chrome/browser/resources/gaia_auth/
Dbackground.js38 chrome.runtime.onConnect.addListener(this.onConnect_.bind(this));
44 }.bind(this),
54 }.bind(this),
62 }.bind(this),
70 }.bind(this),
83 }.bind(this));
152 'initDesktopFlow', this.onInitDesktopFlow_.bind(this));
156 'setGaiaUrl', this.onSetGaiaUrl_.bind(this));
158 'setBlockInsecureContent', this.onSetBlockInsecureContent_.bind(this));
160 'resetAuth', this.onResetAuth_.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/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
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dfile_transfer_controller.js45 }.bind(this));
47 this.onSelectionChanged_.bind(this));
98 list.addEventListener('dragstart', this.onDragStart_.bind(this, list));
99 list.addEventListener('dragend', this.onDragEnd_.bind(this, list));
100 list.addEventListener('touchstart', this.onTouchStart_.bind(this));
102 'touchend', this.onTouchEnd_.bind(this), true);
104 'touchcancel', this.onTouchEnd_.bind(this), true);
116 list.addEventListener('dragover', this.onDragOver_.bind(this,
119 this.onDragEnterFileList_.bind(this, list));
120 list.addEventListener('dragleave', this.onDragLeave_.bind(this, list));
[all …]
Dfile_manager.js214 group.add(this.getPreferences_.bind(this));
232 }.bind(this));
233 }.bind(this));
254 }.bind(this));
269 self.onResize_.bind(self));
274 this.onDirectoryChanged_.bind(this));
282 dm.addEventListener('scan-started', this.onScanStarted_.bind(this));
283 dm.addEventListener('scan-completed', this.onScanCompleted_.bind(this));
284 dm.addEventListener('scan-failed', this.onScanCancelled_.bind(this));
285 dm.addEventListener('scan-cancelled', this.onScanCancelled_.bind(this));
[all …]

12345678910>>...77