/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
gbemu.js | 24 function setupGameboy() { 38 function runGameboy() { 52 function tearDownGameboy() { 66 function GameBoyContext() { 67 this.createBuffer = function() { 70 this.createImageData = function (w, h) { 75 this.putImageData = function (buffer, x, y) { 82 this.drawImage = function () { } 85 function GameBoyCanvas() { 86 this.getContext = function() { [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/js/metadata/ |
metadata_cache.js | 30 * cache.get([entry1, entry2], 'drive|filesystem', function(metadata) { 41 * cache.get(entry, 'thumbnail', function(thumbnail) { 51 function MetadataCache() { 114 MetadataCache.createFull = function() { 128 MetadataCache.cloneMetadata = function(metadata) { 154 MetadataCache.prototype.isInitialized = function() { 167 * @param {function(Object)} callback The metadata is passed to callback. 169 MetadataCache.prototype.get = function(items, type, callback) { 184 var onOneItem = function(index, value) { 203 * @param {function(Object)} callback The callback [all...] |
/external/chromium_org/remoting/webapp/ |
oauth2.js | 27 remoting.OAuth2 = function() { 54 remoting.OAuth2.prototype.getRedirectUri_ = function() { 61 remoting.OAuth2.prototype.getClientId_ = function() { 68 remoting.OAuth2.prototype.getClientSecret_ = function() { 75 remoting.OAuth2.prototype.getOAuth2AuthEndpoint_ = function() { 80 remoting.OAuth2.prototype.isAuthenticated = function() { 92 remoting.OAuth2.prototype.clear = function() { 108 remoting.OAuth2.prototype.setRefreshToken_ = function(token) { 125 remoting.OAuth2.prototype.exportRefreshToken = function() { 134 remoting.OAuth2.prototype.getRefreshToken_ = function() { [all...] |
/external/ceres-solver/internal/ceres/ |
line_search.h | 55 // While finding the exact minimum of a one dimensionl function is 62 class Function; 74 function(NULL) {} 77 // function. 86 // which decreases the value of the objective function 147 // The one dimensional function that the line search algorithm 149 Function* function; member in struct:ceres::internal::LineSearch::Options 152 // An object used by the line search to access the function values 153 // and gradient of the one dimensional function being optimized [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_debugger_api.cc | 44 void SendMessageToBackend(SendRequestDebuggerFunction* function, 178 SendRequestDebuggerFunction* function, 183 pending_requests_[request_id] = function; 234 SendRequestDebuggerFunction* function = pending_requests_[id]; local 235 if (!function) 238 function->SendResponseBody(dictionary);
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
tabs_test.cc | 43 scoped_refptr<WindowsGetFunction> function = new WindowsGetFunction(); local 45 function->set_extension(extension.get()); 48 function.get(), 60 function = new WindowsGetFunction(); 61 function->set_extension(extension.get()); 64 function.get(), 76 function = new WindowsGetFunction(); 77 function->set_extension(extension.get()); 80 function.get(), 102 function = new WindowsGetFunction() 144 scoped_refptr<WindowsGetCurrentFunction> function = local 185 scoped_refptr<WindowsGetAllFunction> function = new WindowsGetAllFunction(); local 299 scoped_refptr<WindowsCreateFunction> function = new WindowsCreateFunction(); local 340 scoped_refptr<WindowsCreateFunction> function = new WindowsCreateFunction(); local 371 scoped_refptr<WindowsCreateFunction> function = new WindowsCreateFunction(); local 400 scoped_refptr<TabsQueryFunction> function = new TabsQueryFunction(); local 467 scoped_refptr<WindowsUpdateFunction> function = new WindowsUpdateFunction(); local [all...] |
/external/chromium_org/chrome/browser/extensions/api/webstore_private/ |
webstore_private_apitest.cc | 260 // Tests using the iconUrl parameter to the install function. 319 scoped_refptr<WebstorePrivateGetWebGLStatusFunction> function = local 322 function.get(), kEmptyArgs, browser())); 332 // Tests getWebGLStatus function when WebGL is allowed. 338 // Tests getWebGLStatus function when WebGL is blacklisted.
|
/external/chromium_org/chrome/browser/extensions/ |
extension_function_dispatcher.cc | 278 scoped_refptr<ExtensionFunction> function( 285 if (!function.get()) { 295 function->AsIOThreadExtensionFunction(); 302 function->set_include_incognito( 305 if (!CheckPermissions(function.get(), extension, params, callback)) { 316 function.get(), 324 function->Run(); 331 function->OnQuotaExceeded(violation_error); 380 scoped_refptr<ExtensionFunction> function( 388 if (!function.get()) 531 ExtensionFunction* function = local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
popup.js | 5 function pointInElement(p, elem) { 12 function setLastOpened() { 17 function loadI18nMessages() { 18 function setProperty(selector, prop, msg) { 63 function getTextWidth(s) { 69 function formatDateTime(date) { 86 function formatBytes(n) { 102 function formatTimeLeft(openWhenComplete, ms) { 123 function binarySearch(array, target, cmp) { 139 function arrayFrom(seq) [all...] |
/external/chromium_org/chrome/test/base/ |
v8_unit_test.cc | 106 v8::Handle<v8::Function> function = 107 v8::Handle<v8::Function>::Cast(functionProperty); 119 v8::Handle<v8::Value> result = function->Call(context->Global(), 3, args); 242 v8::Handle<v8::Function> function = local 243 v8::Handle<v8::Function>::Cast(functionProperty); 246 v8::Handle<v8::Value> result = function->Call(context->Global(), 0, NULL);
|
/external/chromium_org/chrome/test/chromedriver/ |
commands_unittest.cc | 277 std::string function; local 279 function = webdriver::atoms::asString(webdriver::atoms::FIND_ELEMENT); 281 function = webdriver::atoms::asString(webdriver::atoms::FIND_ELEMENTS); 282 EXPECT_EQ(function, function_); 291 const std::string& function, 320 function_ = function; 503 const std::string& function,
|
/external/chromium_org/content/app/ |
content_main_runner.cc | 328 // flag. This struct is used to build a table of (flag, main function) pairs. 331 int (*function)(const MainFunctionParams&); member in struct:content::MainFunction 336 // subprocesses that are launched via the zygote. This function 361 // This function call can return multiple times, once per fork(). 391 return kMainFunctions[i].function(main_params); 443 return kMainFunctions[i].function(main_function_params); 533 // implement this EnableTerminationOnOutOfMemory() function. Whateverz. 692 // TODO(evanm): move this to some shared subprocess-init function.
|
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/ |
nacl_io_demo.c | 37 HandleFunc function; member in struct:__anon10862 156 * function, param1, param2, param3, etc. 160 * "function\1first parameter\1second parameter" 163 * char* function; 165 * int num_params = ParseMessage(msg, &function, ¶ms, 4); 169 * @param[out] out_function The function name. 181 /* Parse the message: function\1param1\1param2\1param3,... */ 189 *separator = 0; /* NULL-terminate function. */ 206 * Given a function name, look up its handler function 229 HandleFunc function; local [all...] |
/external/chromium_org/remoting/host/plugin/ |
host_plugin.cc | 178 base::TimeDelta delay, void(function)(void*), void* data) OVERRIDE { 180 g_npnetscape_funcs->pluginthreadasynccall(instance_, function, data); 185 DelayedTask task = {function, data}; 208 task.function(task.data); 217 void (*function)(void*); member in struct:__anon12170::HostNPPlugin::DelayedTask
|
/external/chromium_org/sandbox/win/src/ |
interception.cc | 61 // Magic constant that identifies that this function is not to be patched. 77 InterceptionData function; local 78 function.type = interception_type; 79 function.id = id; 80 function.dll = dll_name; 81 function.function = function_name; 82 function.interceptor_address = replacement_code_address; 84 interceptions_.push_back(function); 92 InterceptionData function; local 278 FunctionInfo* function = reinterpret_cast<FunctionInfo*>(*buffer); local [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/resources/ |
runner.js | 12 (function () { 28 PerfTestRunner.resetRandomSeed = function() { 32 PerfTestRunner.random = Math.random = function() { 33 // Robert Jenkins' 32 bit integer hash function. 45 PerfTestRunner.now = window.performance && window.performance.now ? function () { return window.performance.now(); } : Date.now; 47 PerfTestRunner.logInfo = function (text) { 52 PerfTestRunner.loadFile = function (path) { 59 PerfTestRunner.computeStatistics = function (times, unit) { 63 data.sort(function(a,b){return a-b;}); 90 PerfTestRunner.logStatistics = function (values, unit, title) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
NPV8Object.cpp | 258 // Call the function object. 259 v8::Handle<v8::Function> function = v8::Handle<v8::Function>::Cast(functionObject); local 261 v8::Local<v8::Value> resultObject = frame->script()->callFunction(function, v8Object, argumentCount, argv.get()); 299 // Lookup the function object and call it. 305 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(functionObject); local 306 if (!function->IsNull()) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8InjectedScriptHostCustom.cpp | 191 v8::Handle<v8::Function> function = v8::Handle<v8::Function>::Cast(value); 192 int lineNumber = function->GetScriptLineNumber(); 193 int columnNumber = function->GetScriptColumnNumber(); 198 location->Set(v8::String::NewSymbol("scriptId"), function->GetScriptId()->ToString()); 203 v8::Handle<v8::Value> name = function->GetName(); 207 v8::Handle<v8::Value> inferredName = function->GetInferredName(); 213 v8::Handle<v8::Value> scopes = debugServer.functionScopes(function); 247 v8::Local<v8::Object> function; local 418 v8::Handle<v8::Function> function = v8::Handle<v8::Function>::Cast(args[0]); local [all...] |
V8WindowCustom.cpp | 92 v8::Handle<v8::Value> function = args[0]; local 94 if (!function->IsFunction()) { 95 if (function->IsString()) { 96 functionString = toWebCoreString(function); 98 v8::Handle<v8::Value> v8String = function->ToString(); 117 if (function->IsFunction()) { 130 action = adoptPtr(new ScheduledAction(imp->frame()->script()->currentWorldContext(), v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), args.GetIsolate())); 259 // This function has variable arguments and can be: 291 // fix this by calling toString function on the receiver [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
CanvasProfileView.js | 36 WebInspector.CanvasProfileView = function(profile) 97 dispose: function() 116 elementsToRestoreScrollPositionsFor: function() 125 * @param {function(this:WebInspector.CanvasProfileView)} clickCallback 127 _createControlButton: function(parent, className, title, clickCallback) 138 _onReplayContextChanged: function() 144 function didReceiveResourceState(error, resourceState) 171 _onReplayStepClick: function(forward) 186 _onReplayDrawingCallClick: function(forward) 210 _onReplayFirstStepClick: function() [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextEncodingRegistry.cpp | 97 NewTextCodecFunction function; member in struct:WTF::TextCodecFactory 99 TextCodecFactory(NewTextCodecFunction f = 0, const void* d = 0) : function(f), additionalData(d) { } 108 // this function is called on the main thread for any page before 172 static void addToTextCodecMap(const char* name, NewTextCodecFunction function, const void* additionalData) 176 textCodecMap->add(atomicName, TextCodecFactory(function, additionalData)); 226 // We must not use atomicCanonicalTextEncodingName() because this function is called in it. 292 ASSERT(factory.function); 293 return factory.function(encoding, factory.additionalData);
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
timeline_explorer.js | 46 function generatePage(historyInstance) 80 function handleValidHashParameter(historyInstance, key, value) 85 function() { return value in currentBuilders(); }); 109 function initCurrentBuilderTestResults() 114 function shouldShowBlinkRevisionsOnly() 119 function updateTimelineForBuilder() 167 clickCallback: function(event, date) { 170 drawCallback: function(dygraph, isInitial) { 177 xValueParser: function(input) { return input.getTime(); } 188 function selectBuild(resultsForBuilder, builder, dygraph, index [all...] |
/external/chromium_org/third_party/angle_dx11/src/compiler/ |
ValidateLimitations.cpp | 441 TFunction* function = static_cast<TFunction*>(symbol); local 444 const TParameter& param = function->getParam(*i); 448 "Loop index cannot be used as argument to a function out or inout parameter",
|
/external/chromium_org/third_party/flot/ |
jquery.flot.navigate.min.js | 0 (function(i){i.fn.drag=function(j,k,l){if(k){this.bind("dragstart",j)}if(l){this.bind("dragend",l)}return !j?this.trigger("drag"):this.bind("drag",k?k:j)};var d=i.event,c=d.special,h=c.drag={not:":input",distance:0,which:1,dragging:false,setup:function(j){j=i.extend({distance:h.distance,which:h.which,not:h.not},j||{});j.distance=e(j.distance);d.add(this,"mousedown",f,j);if(this.attachEvent){this.attachEvent("ondragstart",a)}},teardown:function(){d.remove(this,"mousedown",f);if(this===h.dragging){h.dragging=h.proxy=false}g(this,true);if(this.detachEvent){this.detachEvent("ondragstart",a)}}};c.dragstart=c.dragend={setup:function(){},teardown:function(){}};function f(j){var k=this,l,m=j.data||{};if(m.elem){k=j.dragTarget=m.elem;j.dragProxy=h.proxy||k;j.cursorOffsetX=m.pageX-m.left;j.cursorOffsetY=m.pageY-m.top;j.offsetX=j.pageX-j.cursorOffsetX;j.offsetY=j.pageY-j.cursorOffsetY}else{if(h.dragging||(m.which>0&&j.which!=m.which)||i(j.target).is(m.not)){return}}switch(j.type){case"mousedown":i.extend(m,i(k).offset(),{elem:k,target:j.target,pageX:j.pageX,pageY:j.pageY});d.add(document,"mousemove mouseup",f,m);g(k,false);h.dragging=null;return false;case !h.dragging&&"mousemove":if(e(j.pageX-m.pageX)+e(j.pageY-m.pageY)<m.distance){break}j.target=m.target;l=b(j,"dragstart",k);if(l!==false){h.dragging=k;h.proxy=j.dragProxy=i(l||k)[0]}case"mousemove":if(h.dragging){l=b(j,"drag",k);if(c.drop){c.drop.allowed=(l!==false);c.drop.handler(j)}if(l!==false){break}j.type="mouseup"}case"mouseup":d.remove(document,"mousemove mouseup",f);if(h.dragging){if(c.drop){c.drop.handler(j)}b(j,"dragend",k)}g(k,true);h.dragging=h.proxy=m.elem=false;break}return true}function b(m,k,j){m.type=k;var l=i.event.handle.call(j,m);return l===false?false:l||m.result}function e(j){return Math.pow(j,2)}function a(){return(h.dragging===false)}function g(j,k){if(!j){return}j.unselectable=k?"off":"on";j.onselec (…) [all...] |
/external/chromium_org/third_party/jstemplate/ |
jstemplate_compiled.js | 0 (function(){var i=null;function k(){return Function.prototype.call.apply(Array.prototype.slice,arguments)}function l(a,b){var c=k(arguments,2);return function(){return b.apply(a,c)}}function m(a,b){var c=new n(b);for(c.f=[a];c.f.length;){var e=c,d=c.f.shift();e.g(d);for(d=d.firstChild;d;d=d.nextSibling)d.nodeType==1&&e.f.push(d)}}function n(a){this.g=a}function o(a){a.style.display=""}function p(a){a.style.display="none"};var q=":",r=/\s*;\s*/;function s(){this.i.apply(this,arguments)}s.prototype.i=function(a,b){if(!this.a)this.a={};if(b){var c=this (…) [all...] |