| /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
| 15.1.2.5-3.js | 24 ECMA Section: 15.1.2.5 Function properties of the global object 32 The unescape function computes a new version of a string value in which 34 function is replaced with the character that it represents. 36 When the unescape function is called with one argument string, the 83 function getTestCases() { 130 function getNextNonHexCharCode( n ) { 142 function ToUnicodeString( n ) { 151 function ToHexString( n ) { 197 function test() {
|
| /external/webkit/Source/WebCore/bindings/v8/custom/ |
| V8WorkerContextCustom.cpp | 58 v8::Handle<v8::Value> function = args[0]; 67 if (function->IsString()) { 68 WTF::String stringFunction = toWebCoreString(function); 70 } else if (function->IsFunction()) { 79 ScheduledAction* action = new ScheduledAction(v8Context, v8::Handle<v8::Function>::Cast(function), paramCount, params);
|
| /external/webkit/Source/WebCore/inspector/ |
| InspectorFrontendHost.cpp | 96 ScriptFunctionCall function(m_webInspector, "contextMenuItemSelected"); 97 function.appendArgument(itemNumber); 98 function.call(); 105 ScriptFunctionCall function(m_webInspector, "contextMenuCleared"); 106 function.call();
|
| /external/webkit/Tools/DumpRenderTree/android/ |
| get_layout_tests_dir_contents.php | 32 function getAbsolutePath($relPath) { 37 function getFilesAsArray($relPath) { 41 function isIgnored($basename) { 45 function getAllFilesUnderAsArray($relPath, $recurse, $mode) { 74 function main() {
|
| /external/chromium/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
| sample.js | 5 // A generic onclick callback function.
6 function genericOnClick(info, tab) {
34 function radioOnClick(info, tab) {
47 function checkboxOnClick(info, tab) {
65 chrome.contextMenus.create({"title": "Oops", "parentId":999}, function() {
|
| /external/v8/test/mjsunit/compiler/ |
| regress-closures-with-eval.js | 31 function withEval(expr, filter) { 32 function walk(v) { 44 function makeTagInfoJSON(n) { 53 withEval(expr, function(a) { return a; }); 56 withEval(expr, function(a) { return a; })
|
| regress-stacktrace-methods.js | 31 function Hest() {} 32 function Svin() {} 34 Svin.prototype.two = function() { /* xxxxxxx */ o.three(); } 36 Hest.prototype.one = function(x) { x.two(); } 38 Hest.prototype.three = function() { if (v == 42) throw new Error("urg"); }
|
| /external/v8/test/mjsunit/ |
| debug-sourceinfo.js | 30 function a() { b(); };
31 function b() {
34 function c(x) {
41 function d(x) {
62 // This is the number of comment lines above the first test function.
75 // of characters before 'function a(...'.
152 // Test first position in function a().
157 // Test first position in function b().
162 // Test first position in function c().
167 // Test first position in function d(). [all...] |
| global-load-from-nested-eval.js | 33 function test(source) { 39 function testWith(source) { 47 function testEval(source) { 49 function f() { 57 function testEvalDontShadow(source) {
|
| negate.js | 31 function testmulneg(a, b) { 43 var x = { valueOf: function() { return 2; } }; 44 var y = { valueOf: function() { return 3; } }; 51 var v = { valueOf: function() { z+=2; return z; } }; 52 var w = { valueOf: function() { z+=3; return z; } };
|
| scope-calls-eval.js | 28 // Tests if the information about eval calls in a function is 32 function f1() { 34 function g() { 50 function f2() { 52 function g() {
|
| with-function-expression.js | 28 var source = "(function x() { with({}) { return '' + x; } })()"; 33 // Check that the return value is a function. Use regexp to avoid 34 // depending on the exact printing of the function. 35 var regexp = /function/; 36 var res = assertTrue(eval(source).match(regexp) == 'function');
|
| const-redecl.js | 31 function CheckException(e) { 43 function TestLocal(s,e) { 45 return eval("(function(){" + s + ";return " + e + "})")(); 55 function TestGlobal(s,e) { 83 function TestContext(s,e) { 96 function TestAll(expected,s,opt_e) { 107 function TestConflict(def0, def1) { 146 TestConflict("const x", "function x() { }"); 147 TestConflict("const x = 0", "function x() { }"); 148 TestConflict("const x = undefined", "function x() { }") [all...] |
| string-replace.js | 32 function replaceTest(result, subject, pattern, replacement) { 124 replaceTest("0axbxcx", short, "x", function r(m, i, s) { 134 replaceTest("0axbxcx", short, /x/, function r(m, i, s) { 144 replaceTest("0a1b2c3", short, /x/g, function r(m, i, s) { 154 replaceTest("0a1b2cx", short, /(x)(?=(.))/g, function r(m, c1, c2, i, s) { 184 replaceTest("string 42", "string x", /x/g, function() { return 42; }); 185 replaceTest("string 42", "string x", /x/, function() { return 42; }); 186 replaceTest("string 42", "string x", /[xy]/g, function() { return 42; }); 187 replaceTest("string 42", "string x", /[xy]/, function() { return 42; }); 188 replaceTest("string true", "string x", /x/g, function() { return true; }) [all...] |
| /external/v8/test/mjsunit/regress/ |
| regress-1146.js | 29 function F() {} 31 function f(i) { return a[i](); } 33 a.first = function() { return 11; } 34 a[0] = function() { return 22; } 36 a[obj] = function() { return 33; }
|
| regress-1650.js | 30 function g(f) { return f.call.apply(f.bind, arguments); } 34 function t() { } 41 function Fake() {} 45 Fake.prototype.call = function () { 53 Fake.prototype.bind = function () {
|
| regress-1973.js | 31 function TestAccessorWrapping(primitive) { 36 get: function() { "use strict"; assertSame(strict_type, typeof this); }, 37 set: function() { "use strict"; assertSame(strict_type, typeof this); } 43 get: function() { assertSame(sloppy_type, typeof this); }, 44 set: function() { assertSame(sloppy_type, typeof this); }
|
| /external/webkit/LayoutTests/fast/dom/DOMImplementation/script-tests/ |
| createDocumentType-err.js | 3 function stringForExceptionCode(c) 18 function assertEquals(actual, expect, m) 52 function sourceify(v) 64 function sourceifyArgs(args) 73 function runTests(tests, createFunctionName)
|
| /build/tools/droiddoc/templates-pdk/assets/ |
| android-developer-reference.js | 10 function toggleApiLevelSelector(checkbox) { 26 function buildApiLevelSelector() { 58 function changeApiLevel() { 87 function toggleVisisbleApis(selectedLevel, context) { 89 apis.each(function(i) { 117 function new_node(me, mom, text, link, children_data, api_level) 143 node.expand_toggle.onclick = function() { 183 node.get_children_ul = function() { 196 function expand_node(me, node) 215 function get_node(me, mom [all...] |
| /external/doclava/res/assets/templates/assets/ |
| doclava-developer-reference.js | 11 function toggleApiLevelSelector(checkbox) { 27 function buildApiLevelSelector() { 53 function changeApiLevel() { 82 function toggleVisisbleApis(selectedLevel, context) { 84 apis.each(function(i) { 98 function new_node(me, mom, text, link, children_data, api_level) 124 node.expand_toggle.onclick = function() { 164 node.get_children_ul = function() { 177 function expand_node(me, node) 196 function get_node(me, mom [all...] |
| /external/v8/src/ |
| regexp.js | 35 function DoConstructRegExp(object, pattern, flags) { 81 // Call internal function to compile the pattern. 86 function RegExpConstructor(pattern, flags) { 90 // RegExp : Called as function; see ECMA-262, section 15.10.3.1. 102 function RegExpCompile(pattern, flags) { 123 function DoRegExpExec(regexp, string, index) { 130 function BuildResultFromMatchInfo(lastMatchInfo, s) { 160 function RegExpExecNoTests(regexp, string, start) { 171 function RegExpExec(string) { 220 function RegExpTest(string) [all...] |
| string.js | 35 // Set the String function and constructor. 36 %SetCode($String, function(x) { 48 function StringToString() { 57 function StringValueOf() { 66 function StringCharAt(pos) { 80 function StringCharCodeAt(pos) { 94 function StringConcat() { 118 function StringIndexOf(pattern /* position */) { // length == 1 137 function StringLastIndexOf(pat /* position */) { // length == 1 168 // This function is implementation specific. For now, we do no [all...] |
| /external/zlib/src/contrib/delphi/ |
| ZLib.pas | 19 TAlloc = function (AppData: Pointer; Items, Size: Integer): Pointer; cdecl; 87 function GetCompressionRate: Single; 91 function Read(var Buffer; Count: Longint): Longint; override; 92 function Write(const Buffer; Count: Longint): Longint; override; 93 function Seek(Offset: Longint; Origin: Word): Longint; override; 120 function Read(var Buffer; Count: Longint): Longint; override; 121 function Write(const Buffer; Count: Longint): Longint; override; 122 function Seek(Offset: Longint; Origin: Word): Longint; override; 218 function _malloc(Size: Integer): Pointer; cdecl; 241 function deflateInit_(var strm: TZStreamRec; level: Integer; version: PChar [all...] |
| /external/chromium/chrome/browser/resources/ntp/ |
| drag_drop_controller.js | 35 function DragAndDropController(delegate) { 51 enableHandlers_: function() { 63 disableHandlers_: function() { 69 isDragging: function() { 73 distance_: function(p1, p2) { 81 getCoordinates_: function(xy) { 98 handleMouseDown_: function(e) { 116 handleMouseMove_: function(e) { 129 handleMouseUp_: function() { 133 handleScroll_: function(e) [all...] |
| /external/chromium/chrome/browser/resources/ |
| print_preview_animations.js | 25 function showTransientScrollbars(el) { 33 window.setTimeout(function() { hideTransientScrollbars(el) }, 42 function hideTransientScrollbars(el) { 52 function handleTransientMouseMove(event) { 66 function updateTransientScrollbars(el) { 117 function updateAllTransientScrollbars() { 127 function handleTransientScroll(event) { 144 function addTransientScrollbars(scrollableEl) { 185 function addAnimation(code) { 206 function handleZippyClickEl(el) [all...] |