| /external/v8/test/mjsunit/ |
| keyed-ic.js | 33 var runTest = function() { 38 var f = function() {}; 40 function prototypeTest(change_index) { 65 runTest = function() { 72 function arrayLengthTest(change_index) { 93 runTest = function() { 100 function stringLengthTest(change_index) { 121 runTest = function() { 128 function fieldTest(change_index) { 150 runTest = function() { [all...] |
| regexp-capture-3.js | 28 function oneMatch(re) { 29 "abcd".replace(re, function() { }); 45 "abcdabcd".replace(/b/g, function() { }); 57 function captureMatch(re) { 58 "abcd".replace(re, function() { }); 76 "abcdabcd".replace(/(b)(c)/g, function() { }); 91 function Override() { 95 "abcdabcd".replace(/(b)(c)/g, function() { }); 99 function TestOverride(input, expect, property, re_src) { 103 function OverrideCase(fn) [all...] |
| /external/v8/test/mjsunit/regress/ |
| regress-1624.js | 57 // Test non-global direct strict eval in non-strict function. 60 (function() { 67 // Test non-global indirect strict eval in non-strict function. 70 (function() { 77 // Test non-global direct non-strict eval in non-strict function. 78 // Expects function environment. 80 (function() { 87 // Test non-global indirect non-strict eval in non-strict function. 90 (function() { 97 // Test non-global direct strict eval in strict function [all...] |
| /external/okhttp/website/static/ |
| prettify.js | 0 !function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; 2 (function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a= 3 b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a<f;++a){var h=b[a];if(/\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),l;a+2<f&&"-"===b[a+1]?(l=d(b[a+2]),a+=2):l=h;e.push([h,l]);l<65||h>122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=f[1]+1?f[1]=Math.max(f[1],h[1]):b.push(f=h);for(a=0;a<b.length;++a)h=b[a],c.push(g(h[0])), 4 h[1]>h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(g(h[1])));c.push("]");return c.join("")}function s(e){for(var a=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),c=a.length,d=[],f=0,h=0;f<c;++f){var l=a[f];l==="("?++h:"\\"===l.charAt(0)&&(l=+l.substring(1))&&(l<=h?d[l]=-1:a[f]=g(l))}for(f=1;f<d.length;++f)-1===d[f]&&(d[f]=++x);for(h=f=0;f<c;++f)l=a[f],l==="("?(++h,d[h]||(a[f]="(?:")):"\\"===l.charAt(0)&&(l=+l.substring(1))&&l<=h&& 5 (a[f]="\\"+d[l]);for(f=0;f<c;++f)"^"===a[f]&&"^"!==a[f+1]&&(a[f]="");if(e.ignoreCase&&m)for(f=0;f<c;++f)l=a[f],e=l.charAt(0),l.length>=2&&e==="["?a[f]=b(l):e!=="\\"&&(a[f]=l.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var x=0,m=!1,j=!1,k=0,c=a.length;k<c;++k){var i=a[k];if(i.ignoreCase)j=!0;else if(/[a-z]/i.test(i.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){m=!0;j=!1;break}}for(var r={b:8,t:9,n:10,v:11, 6 f:12,r:13},n=[],k=0,c=a.length;k<c;++k){i=a[k];if(i.global||i.multiline)throw Error(""+i);n.push("(?:"+s(i)+")")}return RegExp(n.join("|"),j?"gi":"g")}function T(a,d){function g(a){var c=a.nodeType;if(c==1){if(!b.test(a.className)){for(c=a.firstChild;c;c=c.n (…) [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
| math.h | 51 so we can easily declare each function as both `name' and `__name', 54 #define __MATHCALL(function,suffix, args) \ 55 __MATHDECL (_Mdouble_,function,suffix, args) 56 #define __MATHDECL(type, function,suffix, args) \ 57 __MATHDECL_1(type, function,suffix, args); \ 58 __MATHDECL_1(type, __CONCAT(__,function),suffix, args) 59 #define __MATHCALLX(function,suffix, args, attrib) \ 60 __MATHDECLX (_Mdouble_,function,suffix, args, attrib) 61 #define __MATHDECLX(type, function,suffix, args, attrib) \ 62 __MATHDECL_1(type, function,suffix, args) __attribute__ (attrib); [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
| math.h | 51 so we can easily declare each function as both `name' and `__name', 54 #define __MATHCALL(function,suffix, args) \ 55 __MATHDECL (_Mdouble_,function,suffix, args) 56 #define __MATHDECL(type, function,suffix, args) \ 57 __MATHDECL_1(type, function,suffix, args); \ 58 __MATHDECL_1(type, __CONCAT(__,function),suffix, args) 59 #define __MATHCALLX(function,suffix, args, attrib) \ 60 __MATHDECLX (_Mdouble_,function,suffix, args, attrib) 61 #define __MATHDECLX(type, function,suffix, args, attrib) \ 62 __MATHDECL_1(type, function,suffix, args) __attribute__ (attrib); [all...] |
| /frameworks/base/core/java/android/hardware/usb/ |
| UsbManager.java | 59 * adb function is enabled 61 * RNDIS ethernet function is enabled 63 * MTP function is enabled 65 * PTP function is enabled 67 * accessory function is enabled 69 * audio source function is enabled 71 * MIDI function is enabled 170 * A placeholder indicating that no USB function is being specified. 171 * Used to distinguish between selecting no function vs. the default function i [all...] |
| /external/v8/test/mjsunit/harmony/ |
| typedarrays.js | 30 function TestByteLength(param, expectedByteLength) { 35 function TestArrayBufferCreation() { 44 assertThrows(function() { new ArrayBuffer(-10); }, RangeError); 45 assertThrows(function() { new ArrayBuffer(-2.567); }, RangeError); 48 assertThrows(function() { 59 function TestByteLengthNotWritable() { 63 assertThrows(function() { "use strict"; ab.byteLength = 42; }, TypeError); 68 function TestSlice(expectedResultLen, initialLen, start, end) { 82 function TestArrayBufferSlice() { 120 function TestTypedArray(constr, elementSize, typicalElement) [all...] |
| /cts/suite/cts/deviceTests/browserbench/assets/octane/ |
| crypto.js | 58 function BigInteger(a,b,c) { 67 function nbi() { return new BigInteger(null); } 77 function am1(i,x,w,j,c,n) { 91 function am2(i,x,w,j,c,n) { 108 function am3(i,x,w,j,c,n) { 126 function am4(i,x,w,j,c,n) { 147 setupEngine = function(fn, bits) { 173 function int2char(n) { return BI_RM.charAt(n); } 174 function intAt(s,i) { 180 function bnpCopyTo(r) [all...] |
| /external/libvncserver/webclients/novnc/include/web-socket-js/ |
| swfobject.js | 4 var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()} (…) [all...] |
| /external/pcre/dist/ |
| pcregexp.pas | 78 function Search(AStr: Pchar; ALen : longint) : boolean; virtual; 79 function SearchNext( AStr: Pchar; ALen : longint) : boolean; virtual; 80 function SearchOfs ( AStr: Pchar; ALen, AOfs : longint) : boolean; virtual; 81 function MatchSub(ANom: integer; var Pos, Len : longint) : boolean; virtual; 82 function MatchFull(var Pos, Len : longint) : boolean; virtual; 83 function GetSubStr(ANom: integer; AStr: Pchar) : string; virtual; 84 function GetFullStr(AStr: Pchar) : string; virtual; 85 function GetReplStr(AStr: Pchar; const ARepl: string) : string; virtual; 86 function GetPreSubStr(AStr: Pchar) : string; virtual; 87 function GetPostSubStr(AStr: Pchar) : string; virtual [all...] |
| /external/v8/benchmarks/ |
| crypto.js | 58 function BigInteger(a,b,c) { 67 function nbi() { return new BigInteger(null); } 77 function am1(i,x,w,j,c,n) { 91 function am2(i,x,w,j,c,n) { 108 function am3(i,x,w,j,c,n) { 126 function am4(i,x,w,j,c,n) { 147 setupEngine = function(fn, bits) { 173 function int2char(n) { return BI_RM.charAt(n); } 174 function intAt(s,i) { 180 function bnpCopyTo(r) [all...] |
| /external/skia/src/pdf/ |
| SkPDFShader.cpp | 51 @param result The result ps function. 104 /* Generate Type 4 function code to map t=[0,1) to the passed gradient, 212 * Returns PS function code that applies inverse perspective 214 * The function assumes that the stack has at least two elements, 261 SkString function("{"); 263 function.append(apply_perspective_to_coordinates(perspectiveRemover)); 265 function.append("pop\n"); // Just ditch the y value. 266 tileModeCode(info.fTileMode, &function); 267 gradientFunctionCode(info, &function); 268 function.append("}") [all...] |
| /external/v8/test/mjsunit/es6/ |
| symbols.js | 37 function isValidSymbolString(s) { 43 function TestNew() { 44 function indirectSymbol() { return Symbol() } 45 function indirect() { return indirectSymbol() } 59 assertThrows(function () { Symbol(Symbol()) }, TypeError) 60 assertThrows(function () { new Symbol(66) }, TypeError) 65 function TestType() { 77 function TestPrototype() { 88 function TestConstructor() { 89 assertSame(Function.prototype, Symbol.__proto__ [all...] |
| /external/v8/test/perf-test/Collections/ |
| base.js | 8 performance.now = (function() { 21 // A benchmark has a name (string) and a function that will be run to 26 function Benchmark(name, doWarmup, doDeterministic, deterministicIterations, 33 this.Setup = setup ? setup : function() { }; 34 this.TearDown = tearDown ? tearDown : function() { }; 44 function BenchmarkResult(benchmark, time, latency) { 53 BenchmarkResult.prototype.valueOf = function() { 62 function BenchmarkSuite(name, reference, benchmarks) { 88 // Override the alert function to throw an exception instead. 89 alert = function(s) [all...] |
| /external/v8/src/ |
| v8natives.js | 10 // var $Function = global.Function; 21 // Helper function used to install functions on objects. 22 function InstallFunctions(object, attributes, functions) { 38 // Helper function to install a getter-only accessor property. 39 function InstallGetter(object, name, getter) { 47 // Helper function to install a getter/setter accessor property. 48 function InstallGetterSetter(object, name, getter, setter) { 59 // Helper function for installing constant properties on objects. 60 function InstallConstants(object, constants) [all...] |
| /art/runtime/arch/mips64/ |
| asm_support_mips64.S | 30 // Declare a function called name, sets up $gp. 33 .type \name, %function 35 // Cache alignment for function entry. 48 // Declare a function called name, doesn't set up $gp. 50 .type \name, %function 52 // Cache alignment for function entry.
|
| /bionic/libc/bionic/ |
| NetdClient.cpp | 28 static void netdClientInitFunction(void* handle, const char* symbol, FunctionType* function) { 32 initFunction(function);
|
| /external/boringssl/linux-x86_64/crypto/bn/ |
| rsaz-avx2.S | 6 .type rsaz_avx2_eligible,@function 24 .type rsaz_1024_sqr_avx2,@function
|
| /external/chromium-trace/trace-viewer/tracing/third_party/vinn/vinn/test_data/ |
| error.js | 5 function maybeRaiseException() {
|
| /external/clang/test/CXX/temp/temp.spec/ |
| no-body.cpp | 31 template void g0(int) { } // expected-error {{function cannot be defined in an explicit instantiation; if this declaration is meant to be a function definition, remove the 'template' keyword}} 39 template<> void f0<int>(int) { } // expected-error {{no function template matches function template specialization 'f0'}} 52 expected-error {{no function template matches function template specialization 'f1'}}
|
| /external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/ |
| swap.pass.cpp | 12 // class function<R(ArgTypes...)> 15 // void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&); 64 std::function<int(int)> f1 = A(1); 65 std::function<int(int)> f2 = A(2); 79 std::function<int(int)> f1 = A(1); 80 std::function<int(int)> f2 = g; 94 std::function<int(int)> f1 = g; 95 std::function<int(int)> f2 = A(1); 109 std::function<int(int)> f1 = g [all...] |
| /external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| alloc_rfunction.pass.cpp | 12 // class function<R(ArgTypes...)> 14 // template<class A> function(allocator_arg_t, const A&, function&&); 54 std::function<int(int)> f = A(); 59 std::function<int(int)> f2(std::allocator_arg, test_allocator<A>(), std::move(f));
|
| nullptr_t_assign.pass.cpp | 12 // class function<R(ArgTypes...)> 14 // function& operator=(nullptr_t); 54 std::function<int(int)> f = A(); 64 std::function<int(int)> f = g;
|
| /external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/ |
| swap.pass.cpp | 12 // class function<R(ArgTypes...)> 14 // void swap(function& other); 61 std::function<int(int)> f1 = A(1); 62 std::function<int(int)> f2 = A(2); 76 std::function<int(int)> f1 = A(1); 77 std::function<int(int)> f2 = g; 91 std::function<int(int)> f1 = g; 92 std::function<int(int)> f2 = A(1); 106 std::function<int(int)> f1 = g; 107 std::function<int(int)> f2 = h [all...] |