Searched refs:hooks (Results 1 - 25 of 89) sorted by relevance

1234

/external/chromium_org/ppapi/native_client/src/untrusted/irt_stub/
H A Dthread_creator.h17 void __nacl_register_thread_creator(const struct nacl_irt_ppapihook *hooks);
H A Dppapi_plugin_start.c62 struct nacl_irt_ppapihook hooks; local
63 if (sizeof(hooks) != query_func(NACL_IRT_PPAPIHOOK_v0_1,
64 &hooks, sizeof(hooks)))
65 fatal_error("PpapiPluginStart: PPAPI hooks not found\n");
67 __nacl_register_thread_creator(&hooks);
69 return hooks.ppapi_start(funcs);
H A Dthread_creator.c49 void __nacl_register_thread_creator(const struct nacl_irt_ppapihook *hooks) { argument
50 hooks->ppapi_register_thread_creator(&thread_funcs);
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
H A Dps_main.cc29 * the user's main code in the case that the PPAPI hooks are not found.
35 struct nacl_irt_ppapihook hooks; local
36 if (nacl_interface_query(NACL_IRT_PPAPIHOOK_v0_1, &hooks, sizeof(hooks)) ==
37 sizeof(hooks)) {
/external/chromium_org/native_client_sdk/src/libraries/ppapi_stub/
H A Dppapi_main.c88 void __nacl_register_thread_creator(const struct nacl_irt_ppapihook *hooks) { argument
89 hooks->ppapi_register_thread_creator(&thread_funcs);
93 struct nacl_irt_ppapihook hooks; local
94 if (sizeof(hooks) != __nacl_irt_query(NACL_IRT_PPAPIHOOK_v0_1,
95 &hooks, sizeof(hooks))) {
96 fatal_error("PpapiPluginStart: PPAPI hooks not found\n");
99 __nacl_register_thread_creator(&hooks);
100 return hooks.ppapi_start(funcs);
/external/dhcpcd/dhcpcd-hooks/
H A DMakefile5 SCRIPTSDIR= ${LIBEXECDIR}/dhcpcd-hooks
17 ${INSTALL} -d /tmp/${DISTPREFIX}/dhcpcd-hooks
18 ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} /tmp/${DISTPREFIX}/dhcpcd-hooks
/external/chromium_org/chrome/app/
H A Dclose_handle_hook_win.cc31 // Keeps track of all the hooks needed to intercept CloseHandle.
102 CloseHandleHooks* hooks = g_hooks.Pointer(); local
103 hooks->AddIATPatch(L"chrome.exe");
104 hooks->AddIATPatch(GetModuleName(GetChromeDLLModule()));
/external/dhcpcd/
H A DMakefile15 SCRIPT= ${LIBEXECDIR}/dhcpcd-run-hooks
16 HOOKDIR= ${LIBEXECDIR}/dhcpcd-hooks
19 MAN8= dhcpcd.8 dhcpcd-run-hooks.8
20 CLEANFILES= dhcpcd.conf.5 dhcpcd.8 dhcpcd-run-hooks.8
22 SCRIPTS= dhcpcd-run-hooks
24 CLEANFILES+= dhcpcd-run-hooks
30 SUBDIRS= dhcpcd-hooks
125 cd dhcpcd-hooks; ${MAKE} DISTPREFIX=${DISTPREFIX} $@
H A Ddhcpcd-run-hooks4 # Handy variables and functions for our hooks to use
18 /system/etc/dhcpcd/dhcpcd-hooks/* \
H A DAndroid.mk5 hooks_dir := dhcpcd-hooks
33 LOCAL_MODULE := dhcpcd-run-hooks
/external/chromium_org/ppapi/tests/
H A Dtest_audio.cc27 void GetNaClIrtPpapiHook(struct nacl_irt_ppapihook* hooks) { argument
28 nacl_interface_query(NACL_IRT_PPAPIHOOK_v0_1, hooks, sizeof(*hooks));
58 nacl_irt_ppapihook hooks; local
59 GetNaClIrtPpapiHook(&hooks);
61 hooks.ppapi_register_thread_creator(&thread_functions);
67 // hooks.ppapi_register_thread_creator with default PP_ThreadFunctions
69 nacl_irt_ppapihook hooks = { NULL, ThreadFunctionsGetter }; local
70 __nacl_register_thread_creator(&hooks);
78 GetNaClIrtPpapiHook(&hooks);
87 nacl_irt_ppapihook hooks; local
[all...]
/external/chromium_org/third_party/flot/
H A Djquery.flot.crosshair.min.js59 */(function(e){function n(e){function n(n){if(t.locked)return;t.x!=-1&&(t.x=-1,e.triggerRedrawOverlay())}function r(n){if(t.locked)return;if(e.getSelection&&e.getSelection()){t.x=-1;return}var r=e.offset();t.x=Math.max(0,Math.min(n.pageX-r.left,e.width())),t.y=Math.max(0,Math.min(n.pageY-r.top,e.height())),e.triggerRedrawOverlay()}var t={x:-1,y:-1,locked:!1};e.setCrosshair=function(r){if(!r)t.x=-1;else{var i=e.p2c(r);t.x=Math.max(0,Math.min(i.left,e.width())),t.y=Math.max(0,Math.min(i.top,e.height()))}e.triggerRedrawOverlay()},e.clearCrosshair=e.setCrosshair,e.lockCrosshair=function(r){r&&e.setCrosshair(r),t.locked=!0},e.unlockCrosshair=function(){t.locked=!1},e.hooks.bindEvents.push(function(e,t){if(!e.getOptions().crosshair.mode)return;t.mouseout(n),t.mousemove(r)}),e.hooks.drawOverlay.push(function(e,n){var r=e.getOptions().crosshair;if(!r.mode)return;var i=e.getPlotOffset();n.save(),n.translate(i.left,i.top);if(t.x!=-1){var s=e.getOptions().crosshair.lineWidth%2===0?0:.5;n.strokeStyle=r.color,n.lineWidth=r.lineWidth,n.lineJoin="round",n.beginPath();if(r.mode.indexOf("x")!=-1){var o=Math.round(t.x)+s;n.moveTo(o,0),n.lineTo(o,e.height())}if(r.mode.indexOf("y")!=-1){var u=Math.round(t.y)+s;n.moveTo(0,u),n.lineTo(e.width(),u)}n.stroke()}n.restore()}),e.hooks.shutdown.push(function(e,t){t.unbind("mouseout",n),t.unbind("mousemove",r)})}var t={crosshair:{mod (…)
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||clearTimeout(s)},add:function(t){function s(t,i,s){var o=e(this),u=e.data(this,a);u.w=i!==n?i:o.width(),u.h=s!==n?s:o.height(),r.apply(this,arguments)}if(!i[l]&&this[o])return!1;var r;if(e.isFunction(t))return r=t,s;r=t.handler,t.handler=s}}})(jQuery,this),function(e){function n(e){function t(){var t=e.getPlaceholder();if(t.width()==0||t.height()==0)return;e.resize(),e.setupGrid(),e.draw()}function n(e,n){e.getPlaceholder().resize(t)}function r(e,n){e.getPlaceholder().unbind("resize",t)}e.hooks.bindEvents.push(n),e.hooks.shutdown.push(r)}var t={};e.plot.plugins.push({init:n,options:t,name:"resize",version:"1.0"})}(jQu (…)
H A Djquery.flot.categories.min.js44 */(function(e){function n(e,t,n,r){var i=t.xaxis.options.mode=="categories",s=t.yaxis.options.mode=="categories";if(!i&&!s)return;var o=r.format;if(!o){var u=t;o=[],o.push({x:!0,number:!0,required:!0}),o.push({y:!0,number:!0,required:!0});if(u.bars.show||u.lines.show&&u.lines.fill){var a=!!(u.bars.show&&u.bars.zero||u.lines.show&&u.lines.zero);o.push({y:!0,number:!0,required:!1,defaultValue:0,autoscale:a}),u.bars.horizontal&&(delete o[o.length-1].y,o[o.length-1].x=!0)}r.format=o}for(var f=0;f<o.length;++f)o[f].x&&i&&(o[f].number=!1),o[f].y&&s&&(o[f].number=!1)}function r(e){var t=-1;for(var n in e)e[n]>t&&(t=e[n]);return t+1}function i(e){var t=[];for(var n in e.categories){var r=e.categories[n];r>=e.min&&r<=e.max&&t.push([r,n])}return t.sort(function(e,t){return e[0]-t[0]}),t}function s(t,n,r){if(t[n].options.mode!="categories")return;if(!t[n].categories){var s={},u=t[n].options.categories||{};if(e.isArray(u))for(var a=0;a<u.length;++a)s[u[a]]=a;else for(var f in u)s[f]=u[f];t[n].categories=s}t[n].options.ticks||(t[n].options.ticks=i),o(r,n,t[n].categories)}function o(e,t,n){var i=e.points,s=e.pointsize,o=e.format,u=t.charAt(0),a=r(n);for(var f=0;f<i.length;f+=s){if(i[f]==null)continue;for(var l=0;l<s;++l){var c=i[f+l];if(c==null||!o[l][u])continue;c in n||(n[c]=a,++a),i[f+l]=n[c]}}}function u(e,t,n){s(t,"xaxis",n),s(t,"yaxis",n)}function a(e){e.hooks.processRawData.push(n),e.hooks.processDatapoints.push(u)}var t={xaxis:{categories:null},yaxis:{categories:null}};e.plot.plugins.p (…)
H A Djquery.flot.symbol.min.js14 */(function(e){function t(e,t,n){var r={square:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI)/2;e.rect(t-s,n-s,s+s,s+s)},diamond:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI/2);e.moveTo(t-s,n),e.lineTo(t,n-s),e.lineTo(t+s,n),e.lineTo(t,n+s),e.lineTo(t-s,n)},triangle:function(e,t,n,r,i){var s=r*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3)),o=s*Math.sin(Math.PI/3);e.moveTo(t-s/2,n+o/2),e.lineTo(t+s/2,n+o/2),i||(e.lineTo(t,n-o/2),e.lineTo(t-s/2,n+o/2))},cross:function(e,t,n,r,i){var s=r*Math.sqrt(Math.PI)/2;e.moveTo(t-s,n-s),e.lineTo(t+s,n+s),e.moveTo(t-s,n+s),e.lineTo(t+s,n-s)}},i=t.points.symbol;r[i]&&(t.points.symbol=r[i])}function n(e){e.hooks.processDatapoints.push(t)}e.plot.plugins.push({init:n,name:"symbols",version:"1.0"})})(jQuery)
H A Djquery.flot.selection.min.js79 */(function(e){function t(t){function s(e){n.active&&(h(e),t.getPlaceholder().trigger("plotselecting",[a()]))}function o(t){if(t.which!=1)return;document.body.focus(),document.onselectstart!==undefined&&r.onselectstart==null&&(r.onselectstart=document.onselectstart,document.onselectstart=function(){return!1}),document.ondrag!==undefined&&r.ondrag==null&&(r.ondrag=document.ondrag,document.ondrag=function(){return!1}),c(n.first,t),n.active=!0,i=function(e){u(e)},e(document).one("mouseup",i)}function u(e){return i=null,document.onselectstart!==undefined&&(document.onselectstart=r.onselectstart),document.ondrag!==undefined&&(document.ondrag=r.ondrag),n.active=!1,h(e),m()?f():(t.getPlaceholder().trigger("plotunselected",[]),t.getPlaceholder().trigger("plotselecting",[null])),!1}function a(){if(!m())return null;if(!n.show)return null;var r={},i=n.first,s=n.second;return e.each(t.getAxes(),function(e,t){if(t.used){var n=t.c2p(i[t.direction]),o=t.c2p(s[t.direction]);r[e]={from:Math.min(n,o),to:Math.max(n,o)}}}),r}function f(){var e=a();t.getPlaceholder().trigger("plotselected",[e]),e.xaxis&&e.yaxis&&t.getPlaceholder().trigger("selected",[{x1:e.xaxis.from,y1:e.yaxis.from,x2:e.xaxis.to,y2:e.yaxis.to}])}function l(e,t,n){return t<e?e:t>n?n:t}function c(e,r){var i=t.getOptions(),s=t.getPlaceholder().offset(),o=t.getPlotOffset();e.x=l(0,r.pageX-s.left-o.left,t.width()),e.y=l(0,r.pageY-s.top-o.top,t.height()),i.selection.mode=="y"&&(e.x=e==n.first?0:t.width()),i.selection.mode=="x"&&(e.y=e==n.first?0:t.height())}function h(e){if(e.pageX==null)return;c(n.second,e),m()?(n.show=!0,t.triggerRedrawOverlay()):p(!0)}function p(e){n.show&&(n.show=!1,t.triggerRedrawOverlay(),e||t.getPlaceholder().trigger("plotunselected",[]))}function d(e,n){var r,i,s,o,u=t.getAxes();for(var a in u){r=u[a];if(r.direction==n){o=n+r.n+"axis",!e[o]&&r.n==1&&(o=n+"axis");if(e[o]){i=e[o].from,s=e[o].to;break}}}e[o]||(r=n=="x"?t.getXAxes()[0]:t.getYAxes()[0],i=e[n+"1"],s=e[n+"2"]);if(i!=null&&s!=null&&i>s){var f=i;i=s,s=f}return{from:i,to:s,axis:r}}function v(e,r){var i,s,o=t.getOptions();o.selection.mode=="y"?(n.first.x=0,n.second.x=t.width()):(s=d(e,"x"),n.first.x=s.axis.p2c(s.from),n.second.x=s.axis.p2c(s.to)),o.selection.mode=="x"?(n.first.y=0,n.second.y=t.height()):(s=d(e,"y"),n.first.y=s.axis.p2c(s.from),n.second.y=s.axis.p2c(s.to)),n.show=!0,t.triggerRedrawOverlay(),!r&&m()&&f()}function m(){var e=t.getOptions().selection.minSize;return Math.abs(n.second.x-n.first.x)>=e&&Math.abs(n.second.y-n.first.y)>=e}var n={first:{x:-1,y:-1},second:{x:-1,y:-1},show:!1,active:!1},r={},i=null;t.clearSelection=p,t.setSelection=v,t.getSelection=a,t.hooks.bindEvents.push(function(e,t){var n=e.getOptions();n.selection.mode!=null&&(t.mousemove(s),t.mousedown(o))}),t.hooks.drawOverlay.push(function(t,r){if(n.show&&m()){var i=t.getPlotOffset(),s=t.getOptions();r.save(),r.translate(i.left,i.top);var o=e.color.parse(s.selection.color);r.strokeStyle=o.scale("a",.8).toString(),r.lineWidth=1,r.lineJoin=s.selection.shape,r.fillStyle=o.scale("a",.4).toString();var u=Math.min(n.first.x,n.second.x)+.5,a=Math.min(n.first.y,n.second.y)+.5,f=Math.abs(n.second.x-n.first.x)-1,l=Math.abs(n.second.y-n.first.y)-1;r.fillRect(u,a,f,l),r.strokeRect(u,a,f,l),r.restore()}}),t.hooks.shutdown.push(function(t,n){n.unbind("mousemove",s),n.unbind("mousedown",o),i&&e(document).unbind( (…)
H A Djquery.flot.image.min.js53 */(function(e){function n(e,t,n){var r=e.getPlotOffset();if(!n.images||!n.images.show)return;var i=n.datapoints.points,s=n.datapoints.pointsize;for(var o=0;o<i.length;o+=s){var u=i[o],a=i[o+1],f=i[o+2],l=i[o+3],c=i[o+4],h=n.xaxis,p=n.yaxis,d;if(!u||u.width<=0||u.height<=0)continue;a>l&&(d=l,l=a,a=d),f>c&&(d=c,c=f,f=d),n.images.anchor=="center"&&(d=.5*(l-a)/(u.width-1),a-=d,l+=d,d=.5*(c-f)/(u.height-1),f-=d,c+=d);if(a==l||f==c||a>=h.max||l<=h.min||f>=p.max||c<=p.min)continue;var v=0,m=0,g=u.width,y=u.height;a<h.min&&(v+=(g-v)*(h.min-a)/(l-a),a=h.min),l>h.max&&(g+=(g-v)*(h.max-l)/(l-a),l=h.max),f<p.min&&(y+=(m-y)*(p.min-f)/(c-f),f=p.min),c>p.max&&(m+=(m-y)*(p.max-c)/(c-f),c=p.max),a=h.p2c(a),l=h.p2c(l),f=p.p2c(f),c=p.p2c(c),a>l&&(d=l,l=a,a=d),f>c&&(d=c,c=f,f=d),d=t.globalAlpha,t.globalAlpha*=n.images.alpha,t.drawImage(u,v,m,g-v,y-m,a+r.left,f+r.top,l-a,c-f),t.globalAlpha=d}}function r(e,t,n,r){if(!t.images.show)return;r.format=[{required:!0},{x:!0,number:!0,required:!0},{y:!0,number:!0,required:!0},{x:!0,number:!0,required:!0},{y:!0,number:!0,required:!0}]}function i(e){e.hooks.processRawData.push(r),e.hooks.drawSeries.push(n)}var t={series:{images:{show:!1,alpha:1,anchor:"corner"}}};e.plot.image={},e.plo (…)
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
H A Dextutil.h158 XExtensionHooks* /* hooks */,
189 #define XEXT_GENERATE_FIND_DISPLAY(proc,extinfo,extname,hooks,nev,data) \
195 dpyinfo = XextAddDisplay (extinfo,dpy,extname,hooks,nev,data); \
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
H A Dclike.js22 hooks = parserConfig.hooks || {},
30 if (hooks[ch]) {
31 var result = hooks[ch](stream, state);
279 hooks: {"#": cppHook},
292 hooks: {
310 hooks: {
333 hooks: {
374 hooks: {
435 hooks
[all...]
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
H A Dclike.js19 hooks = parserConfig.hooks || {},
27 if (hooks[ch]) {
28 var result = hooks[ch](stream, state);
276 hooks: {"#": cppHook},
289 hooks: {
307 hooks: {
330 hooks: {
371 hooks: {
432 hooks
[all...]
/external/elfutils/0.153/libebl/
H A DMakefile.am58 noinst_HEADERS = libeblP.h ebl-hooks.h
/external/skia/experimental/webtry/res/js/cm/
H A Dclike.js19 hooks = parserConfig.hooks || {},
27 if (hooks[ch]) {
28 var result = hooks[ch](stream, state);
276 hooks: {"#": cppHook},
289 hooks: {
307 hooks: {
330 hooks: {
371 hooks: {
432 hooks
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmalloc_hook.cc94 // These hooks are installed in MallocHook as the only initial hooks. The first
96 // definition below) and then redispatch to any malloc hooks installed by
103 // RemoveInitialHooksAndCallInitializers via one of the initial hooks. A
109 // which point there could be no initial hooks and the subsequent hooks that
112 // will not get reported to some hooks set by the initializers called from
136 // hooks. It removes all initial hooks and initializes all other clients that
138 // may assume that the initial malloc hooks hav
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dmalloc_hook.cc94 // These hooks are installed in MallocHook as the only initial hooks. The first
96 // definition below) and then redispatch to any malloc hooks installed by
103 // RemoveInitialHooksAndCallInitializers via one of the initial hooks. A
109 // which point there could be no initial hooks and the subsequent hooks that
112 // will not get reported to some hooks set by the initializers called from
136 // hooks. It removes all initial hooks and initializes all other clients that
138 // may assume that the initial malloc hooks hav
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A Ddebug.rb8 Adds debugging event hooks to TreeAdaptor objects

Completed in 5006 milliseconds

1234