Searched refs:teardown (Results 1 - 25 of 49) sorted by relevance

12

/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DModelLoaderFactory.java26 public void teardown(); method in interface:ModelLoaderFactory
/external/chromium-trace/trace-viewer/src/base/unittest/
H A Dassertions_test.js29 teardown(function() {
/external/chromium-trace/trace-viewer/src/ui/
H A Dfilter_control_test.js16 teardown(function() {
/external/chromium_org/third_party/libwebp/dec/
H A Ddecode_vp8.h33 // /* customize io's functions (setup()/put()/teardown()) if needed. */
73 // returned, teardown() will NOT be called. But if the setup succeeded
74 // and true is returned, then teardown() will always be called afterward.
79 VP8IoTeardownHook teardown; member in struct:VP8Io
119 VP8IoTeardownHook teardown,
H A Didec.c278 if (io->teardown != NULL) {
279 io->teardown(io);
426 // Note: past this point, teardown() must always be called
838 VP8IoTeardownHook teardown,
846 idec->io_.teardown = teardown;
835 WebPISetIOHooks(WebPIDecoder* const idec, VP8IoPutHook put, VP8IoSetupHook setup, VP8IoTeardownHook teardown, void* user_data) argument
/external/webp/src/dec/
H A Ddecode_vp8.h33 // /* customize io's functions (setup()/put()/teardown()) if needed. */
73 // returned, teardown() will NOT be called. But if the setup succeeded
74 // and true is returned, then teardown() will always be called afterward.
79 VP8IoTeardownHook teardown; member in struct:VP8Io
119 VP8IoTeardownHook teardown,
/external/chromium_org/third_party/WebKit/Tools/qunit/test/
H A Dtest.js1 test("module without setup/teardown (default)", function() {
33 module("setup/teardown test", {
38 teardown: function() {
43 test("module with setup/teardown", function() {
48 module("setup/teardown test 2");
50 test("module without setup/teardown", function() {
58 module("teardown and stop", {
59 teardown: function() {
60 equal(state, "done", "Test teardown.");
64 test("teardown mus
[all...]
/external/expat/tests/
H A Dminicheck.c49 tcase_teardown_function teardown)
53 tc->teardown = teardown;
138 /* teardown */
139 if (tc->teardown != NULL) {
144 tc->teardown();
47 tcase_add_checked_fixture(TCase *tc, tcase_setup_function setup, tcase_teardown_function teardown) argument
H A Dminicheck.h58 tcase_teardown_function teardown; member in struct:TCase
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/
H A DStreamUrlLoader.java22 public void teardown() { } method in class:StreamUrlLoader.Factory
H A DStreamFileLoader.java26 public void teardown() { } method in class:StreamFileLoader.Factory
H A DStreamResourceLoader.java26 public void teardown() { } method in class:StreamResourceLoader.Factory
H A DStreamStringLoader.java26 public void teardown() { } method in class:StreamStringLoader.Factory
H A DStreamUriLoader.java31 public void teardown() { } method in class:StreamUriLoader.Factory
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/
H A Ddromaeorunner.js30 DRT.teardown(event.data);
46 teardown: function(data) {
44 teardown: function(data) { method
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
H A Dbitvect_test.c147 void (*teardown)(void))
153 if (teardown)
154 teardown();
146 runtest_(const char *testname, int (*testfunc)(void), void (*setup)(void), void (*teardown)(void)) argument
H A Dfloatnum_test.c415 void (*teardown)(void))
421 if (teardown)
422 teardown();
414 runtest_(const char *testname, int (*testfunc)(void), void (*setup)(void), void (*teardown)(void)) argument
/external/glide/library/src/main/java/com/bumptech/glide/load/model/file_descriptor/
H A DFileDescriptorFileLoader.java27 public void teardown() { method in class:FileDescriptorFileLoader.Factory
H A DFileDescriptorResourceLoader.java27 public void teardown() { } method in class:FileDescriptorResourceLoader.Factory
H A DFileDescriptorStringLoader.java27 public void teardown() { } method in class:FileDescriptorStringLoader.Factory
H A DFileDescriptorUriLoader.java28 public void teardown() { } method in class:FileDescriptorUriLoader.Factory
/external/glide/library/src/main/java/com/bumptech/glide/volley/
H A DVolleyUrlLoader.java41 public void teardown() { } method in class:VolleyUrlLoader.Factory
/external/cmockery/cmockery_0_1_2/src/google/
H A Dcmockery.h208 #define unit_test_teardown(test, teardown) \
209 { #test "_" #teardown, teardown, UNIT_TEST_FUNCTION_TYPE_TEARDOWN }
212 * and a teardown function. Either setup or teardown can be NULL.
214 #define unit_test_setup_teardown(test, setup, teardown) \
217 unit_test_teardown(test, teardown)
280 // Function prototype for setup, test and teardown functions.
294 * NOTE: Every setup function must be paired with a teardown function. It's
/external/chromium_org/third_party/flot/
H A Djquery.flot.resize.min.js19 */(function(e,t,n){function c(){s=t[o](function(){r.each(function(){var t=e(this),n=t.width(),r=t.height(),i=e.data(this,a);(n!==i.w||r!==i.h)&&t.trigger(u,[i.w=n,i.h=r])}),c()},i[f])}var r=e([]),i=e.resize=e.extend(e.resize,{}),s,o="setTimeout",u="resize",a=u+"-special-event",f="delay",l="throttleWindow";i[f]=250,i[l]=!0,e.event.special[u]={setup:function(){if(!i[l]&&this[o])return!1;var t=e(this);r=r.add(t),e.data(this,a,{w:t.width(),h:t.height()}),r.length===1&&c()},teardown:function(){if(!i[l]&&this[o])return!1;var t=e(this);r=r.not(t),t.removeData(a),r.length||clearTime (…)
H A Djquery.flot.navigate.min.js86 */(function(e){function t(i){var l,h=this,p=i.data||{};if(p.elem)h=i.dragTarget=p.elem,i.dragProxy=a.proxy||h,i.cursorOffsetX=p.pageX-p.left,i.cursorOffsetY=p.pageY-p.top,i.offsetX=i.pageX-i.cursorOffsetX,i.offsetY=i.pageY-i.cursorOffsetY;else if(a.dragging||p.which>0&&i.which!=p.which||e(i.target).is(p.not))return;switch(i.type){case"mousedown":return e.extend(p,e(h).offset(),{elem:h,target:i.target,pageX:i.pageX,pageY:i.pageY}),o.add(document,"mousemove mouseup",t,p),s(h,!1),a.dragging=null,!1;case!a.dragging&&"mousemove":if(r(i.pageX-p.pageX)+r(i.pageY-p.pageY)<p.distance)break;i.target=p.target,l=n(i,"dragstart",h),l!==!1&&(a.dragging=h,a.proxy=i.dragProxy=e(l||h)[0]);case"mousemove":if(a.dragging){if(l=n(i,"drag",h),u.drop&&(u.drop.allowed=l!==!1,u.drop.handler(i)),l!==!1)break;i.type="mouseup"};case"mouseup":o.remove(document,"mousemove mouseup",t),a.dragging&&(u.drop&&u.drop.handler(i),n(i,"dragend",h)),s(h,!0),a.dragging=a.proxy=p.elem=!1}return!0}function n(t,n,r){t.type=n;var i=e.event.dispatch.call(r,t);return i===!1?!1:i||t.result}function r(e){return Math.pow(e,2)}function i(){return a.dragging===!1}function s(e,t){e&&(e.unselectable=t?"off":"on",e.onselectstart=function(){return t},e.style&&(e.style.MozUserSelect=t?"":"none"))}e.fn.drag=function(e,t,n){return t&&this.bind("dragstart",e),n&&this.bind("dragend",n),e?this.bind("drag",t?t:e):this.trigger("drag")};var o=e.event,u=o.special,a=u.drag={not:":input",distance:0,which:1,dragging:!1,setup:function(n){n=e.extend({distance:a.distance,which:a.which,not:a.not},n||{}),n.distance=r(n.distance),o.add(this,"mousedown",t,n),this.attachEvent&&this.attachEvent("ondragstart",i)},teardown:function(){o.remove(this,"mousedown",t),this===a.dragging&&(a.dragging=a.proxy=!1),s(this,!0),this.detachEvent&&this.detachEvent("ondragstart",i)}};u.dragstart=u.dragend={setup:function(){},teardown:function(){}}})(jQuery),function(e){function t(t){var n=t||window.event,r=[].slice.call(arguments,1),i=0,s=0,o=0,t=e.event.fix(n);return t.type="mousewheel",n.wheelDelta&&(i=n.wheelDelta/120),n.detail&&(i=-n.detail/3),o=i,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(o=0,s=-1*i),void 0!==n.wheelDeltaY&&(o=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(s=-1*n.wheelDeltaX/120),r.unshift(t,i,s,o),(e.event.dispatch||e.event.handle).apply(this,r)}var n=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var r=n.length;r;)e.event.fixHooks[n[--r]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=n.length;e;)this.addEventListener(n[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=n.length;e;)this.removeEventListener(n[--e],t,!1) (…)

Completed in 746 milliseconds

12