/external/chromium_org/v8/src/platform/ |
socket.cc | 128 for (struct addrinfo* ai = info; ai != NULL; ai = ai->ai_next) { 132 native_handle_, ai->ai_addr, static_cast<int>(ai->ai_addrlen));
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAPrivateKeyImpl.java | 77 AlgorithmIdentifier ai = new AlgorithmIdentifier(AlgNameMapper local 82 pki = new PrivateKeyInfo(0, ai, ASN1Integer.getInstance().encode( 102 AlgorithmIdentifier ai; local 125 ai = privateKeyInfo.getAlgorithmIdentifier(); 128 .decode(ai.getParameters()); 141 alg = ai.getAlgorithm();
|
DSAPublicKeyImpl.java | 79 AlgorithmIdentifier ai = new AlgorithmIdentifier(AlgNameMapper local 85 spki = new SubjectPublicKeyInfo(ai, ASN1Integer.getInstance().encode( 104 AlgorithmIdentifier ai; local 127 ai = subjectPublicKeyInfo.getAlgorithmIdentifier(); 131 .decode(ai.getParameters()); 145 alg = ai.getAlgorithm();
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-1878.js | 35 var ai = natives.InternalArray(10000); 36 assertFalse(%HaveSameMap(ai, a)); 37 assertTrue(%HasFastObjectElements(ai)); 41 var ai = new natives.InternalArray(10000); 42 assertFalse(%HaveSameMap(ai, a)); 43 assertTrue(%HasFastObjectElements(ai));
|
/external/v8/test/mjsunit/regress/ |
regress-1878.js | 35 var ai = natives.InternalArray(10000); 36 assertFalse(%HaveSameMap(ai, a)); 37 assertTrue(%HasFastElements(ai)); 41 var ai = new natives.InternalArray(10000); 42 assertFalse(%HaveSameMap(ai, a)); 43 assertTrue(%HasFastElements(ai));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
SearchablesTest.java | 167 ActionKeyInfo ai = si.findActionKey(KeyEvent.KEYCODE_CALL); local 168 if (ai != null) { 169 assertEquals(ai.getKeyCode(), KeyEvent.KEYCODE_CALL); 171 boolean m1 = (ai.getQueryActionMsg() != null) && (ai.getQueryActionMsg().length() > 0); 172 boolean m2 = (ai.getSuggestActionMsg() != null) && (ai.getSuggestActionMsg().length() > 0); 173 boolean m3 = (ai.getSuggestActionMsgColumn() != null) && 174 (ai.getSuggestActionMsgColumn().length() > 0);
|
/external/clang/test/SemaCXX/ |
atomic-type.cxx | 27 void test_overloading(int i, float f, _Atomic(int) ai, _Atomic(float) af, 31 int& ir2 = ovl1(ai);
|
/external/iputils/ |
tracepath6.c | 382 struct addrinfo hints, *ai, *ai0; local 450 for (ai = ai0; ai; ai = ai->ai_next) { 452 if (family && ai->ai_family != family) 454 if (ai->ai_family != AF_INET6 && 455 ai->ai_family != AF_INET) 457 family = ai->ai_family; 458 fd = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
evp_asn1.c | 142 ASN1_INTEGER *ai=NULL; local 162 if ((ai=d2i_ASN1_INTEGER(NULL,&c.p,c.slen)) == NULL) goto err; 170 *num=ASN1_INTEGER_get(ai); 186 if (ai != NULL) M_ASN1_INTEGER_free(ai);
|
a_int.c | 404 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai) 409 if (ai == NULL) 412 ret=ai; 442 if (ret != ai) M_ASN1_INTEGER_free(ret); 446 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn) 450 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) 452 else if(ai->type == V_ASN1_NEG_INTEGER)
|
/external/openssl/crypto/asn1/ |
evp_asn1.c | 142 ASN1_INTEGER *ai=NULL; local 162 if ((ai=d2i_ASN1_INTEGER(NULL,&c.p,c.slen)) == NULL) goto err; 170 *num=ASN1_INTEGER_get(ai); 186 if (ai != NULL) M_ASN1_INTEGER_free(ai);
|
a_int.c | 404 ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai) 409 if (ai == NULL) 412 ret=ai; 442 if (ret != ai) M_ASN1_INTEGER_free(ret); 446 BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn) 450 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL) 452 else if(ai->type == V_ASN1_NEG_INTEGER)
|
/external/openssh/ |
audit-bsm.c | 130 struct addrinfo *ai; local 135 if ((r = getaddrinfo(host, NULL, NULL, &ai)) != 0) { 141 switch (ai->ai_family) { 143 in4 = (struct sockaddr_in *)ai->ai_addr; 149 in6 = (struct sockaddr_in6 *)ai->ai_addr; 156 host, ai->ai_family); 159 freeaddrinfo(ai);
|
addrmatch.c | 209 struct addrinfo hints, *ai; local 214 if (p == NULL || getaddrinfo(p, NULL, &hints, &ai) != 0) 217 if (ai == NULL || ai->ai_addr == NULL) 221 addr_sa_to_xaddr(ai->ai_addr, ai->ai_addrlen, n) == -1) { 222 freeaddrinfo(ai); 226 freeaddrinfo(ai);
|
/external/chromium_org/third_party/flot/ |
excanvas.min.js | 1 if(!document.createElement("canvas").getContext){(function(){var ab=Math;var n=ab.round;var l=ab.sin;var A=ab.cos;var H=ab.abs;var N=ab.sqrt;var d=10;var f=d/2;var z=+navigator.userAgent.match(/MSIE ([\d.]+)?/)[1];function y(){return this.context_||(this.context_=new D(this))}var t=Array.prototype.slice;function g(j,m,p){var i=t.call(arguments,2);return function(){return j.apply(m,i.concat(t.call(arguments)))}}function af(i){return String(i).replace(/&/g,"&").replace(/"/g,""")}function Y(m,j,i){if(!m.namespaces[j]){m.namespaces.add(j,i,"#default#VML")}}function R(j){Y(j,"g_vml_","urn:schemas-microsoft-com:vml");Y(j,"g_o_","urn:schemas-microsoft-com:office:office");if(!j.styleSheets.ex_canvas_){var i=j.createStyleSheet();i.owningElement.id="ex_canvas_";i.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}}R(document);var e={init:function(i){var j=i||document;j.createElement("canvas");j.attachEvent("onreadystatechange",g(this.init_,this,j))},init_:function(p){var m=p.getElementsByTagName("canvas");for(var j=0;j<m.length;j++){this.initElement(m[j])}},initElement:function(j){if(!j.getContext){j.getContext=y;R(j.ownerDocument);j.innerHTML="";j.attachEvent("onpropertychange",x);j.attachEvent("onresize",W);var i=j.attributes;if(i.width&&i.width.specified){j.style.width=i.width.nodeValue+"px"}else{j.width=j.clientWidth}if(i.height&&i.height.specified){j.style.height=i.height.nodeValue+"px"}else{j.height=j.clientHeight}}return j}};function x(j){var i=j.srcElement;switch(j.propertyName){case"width":i.getContext().clearRect();i.style.width=i.attributes.width.nodeValue+"px";i.firstChild.style.width=i.clientWidth+"px";break;case"height":i.getContext().clearRect();i.style.height=i.attributes.height.nodeValue+"px";i.firstChild.style.height=i.clientHeight+"px";break}}function W(j){var i=j.srcElement;if(i.firstChild){i.firstChild.style.width=i.clientWidth+"px";i.firstChild.style.height=i.clientHeight+"px"}}e.init();var k=[];for(var ae=0;ae<16;ae++){for(var ad=0;ad<16;ad++){k[ae*16+ad]=ae.toString(16)+ad.toString(16)}}function B(){return[[1,0,0],[0,1,0],[0,0,1]]}function J(p,m){var j=B();for(var i=0;i<3;i++){for(var ah=0;ah<3;ah++){var Z=0;for(var ag=0;ag<3;ag++){Z+=p[i][ag]*m[ag][ah]}j[i][ah]=Z}}return j}function v(j,i){i.fillStyle=j.fillStyle;i.lineCap=j.lineCap;i.lineJoin=j.lineJoin;i.lineWidth=j.lineWidth;i.miterLimit=j.miterLimit;i.shadowBlur=j.shadowBlur;i.shadowColor=j.shadowColor;i.shadowOffsetX=j.shadowOffsetX;i.shadowOffsetY=j.shadowOffsetY;i.strokeStyle=j.strokeStyle;i.globalAlpha=j.globalAlpha;i.font=j.font;i.textAlign=j.textAlign;i.textBaseline=j.textBaseline;i.arcScaleX_=j.arcScaleX_;i.arcScaleY_=j.arcScaleY_;i.lineScale_=j.lineScale_}var b={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",grey:"#808080",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",oldlace:"#FDF5E6",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",whitesmoke:"#F5F5F5",yellowgreen:"#9ACD32"};function M(j){var p=j.indexOf("(",3);var i=j.indexOf(")",p+1);var m=j.substring(p+1,i).split(",");if(m.length!=4||j.charAt(3)!="a"){m[3]=1}return m}function c(i){return parseFloat(i)/100}function r(j,m,i){return Math.min(i,Math.max(m,j))}function I(ag){var i,ai,aj,ah,ak,Z;ah=parseFloat(ag[0])/360%360;if(ah<0){ah++}ak=r(c(ag[1]),0,1);Z=r(c(ag[2]),0,1);if(ak==0){i=ai=aj=Z}else{var j=Z<0.5?Z*(1+ak):Z+ak-Z*ak;var m=2*Z-j;i=a(m,j,ah+1/3);ai=a(m,j,ah);aj=a(m,j,ah-1/3)}return"#"+k[Math.floor(i*255)]+k[Math.floor(ai*255)]+k[Math.floor(aj*255)]}function a(j,i,m){if(m<0){m++}if(m>1){m--}if(6*m<1){return j+(i-j)*6*m}else{if(2*m<1){return i}else{if(3*m<2){return j+(i-j)*(2/3-m)*6}else{return j}}}}var C={};function F(j){if(j in C){return C[j]}var ag,Z=1;j=String(j);if(j.charAt(0)=="#"){ag=j}else{if(/^rgb/.test(j)){var p=M(j);var ag="#",ah;for(var m=0;m<3;m++){if(p[m].indexOf("%")!=-1){ah=Math.floor(c(p[m])*255)}else{ah=+p[m]}ag+=k[r(ah,0,255)]}Z=+p[3]}else{if(/^hsl/.test(j)){var p=M(j);ag=I(p);Z=p[3]}else{ag=b[j]||j}}}return C[j]={color:ag,alpha:Z}}var o={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"};var L={};function E(i){if(L[i]){return L[i]}var p=document.createElement("div");var m=p.style;try{m.font=i}catch(j){}return L[i]={style:m.fontStyle||o.style,variant:m.fontVariant||o.variant,weight:m.fontWeight||o.weight,size:m.fontSize||o.size,family:m.fontFamily||o.family}}function u(m,j){var i={};for(var ah in m){i[ah]=m[ah]}var ag=parseFloat(j.currentStyle.fontSize),Z=parseFloat(m.size);if(typeof m.size=="number"){i.size=m.size}else{if(m.size.indexOf("px")!=-1){i.size=Z}else{if(m.size.indexOf("em")!=-1){i.size=ag*Z}else{if(m.size.indexOf("%")!=-1){i.size=(ag/100)*Z}else{if(m.size.indexOf("pt")!=-1){i.size=Z/0.75}else{i.size=ag}}}}}i.size*=0.981;return i}function ac(i){return i.style+" "+i.variant+" "+i.weight+" "+i.size+"px "+i.family}var s={butt:"flat",round:"round"};function S(i){return s[i]||"square"}function D(i){this.m_=B();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle="#000";this.fillStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=d*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=i;var m="width:"+i.clientWidth+"px;height:"+i.clientHeight+"px;overflow:hidden;position:absolute";var j=i.ownerDocument.createElement("div");j.style.cssText=m;i.appendChild(j);var p=j.cloneNode(false);p.style.backgroundColor="red";p.style.filter="alpha(opacity=0)";i.appendChild(p);this.element_=j;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1}var q=D.prototype;q.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=null}this.element_.innerHTML=""};q.beginPath=function(){this.currentPath_=[]};q.moveTo=function(j,i){var m=V(this,j,i);this.currentPath_.push({type:"moveTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};q.lineTo=function(j,i){var m=V(this,j,i);this.currentPath_.push({type:"lineTo",x:m.x,y:m.y});this.currentX_=m.x;this.currentY_=m.y};q.bezierCurveTo=function(m,j,ak,aj,ai,ag){var i=V(this,ai,ag);var ah=V(this,m,j);var Z=V(this,ak,aj);K(this,ah,Z,i)};function K(i,Z,m,j){i.currentPath_.push({type:"bezierCurveTo",cp1x:Z.x,cp1y:Z.y,cp2x:m.x,cp2y:m.y,x:j.x,y:j.y});i.currentX_=j.x;i.currentY_=j.y}q.quadraticCurveTo=function(ai,m,j,i){var ah=V(this,ai,m);var ag=V(this,j,i);var aj={x:this.currentX_+2/3*(ah.x-this.currentX_),y:this.currentY_+2/3*(ah.y-this.currentY_)};var Z={x:aj.x+(ag.x-this.currentX_)/3,y:aj.y+(ag.y-this.currentY_)/3};K(this,aj,Z,ag)};q.arc=function(al,aj,ak,ag,j,m){ak*=d;var ap=m?"at":"wa";var am=al+A(ag)*ak-f;var ao=aj+l(ag)*ak-f;var i=al+A(j)*ak-f;var an=aj+l(j)*ak-f;if(am==i&&!m){am+=0.125}var Z=V(this,al,aj);var ai=V(this,am,ao);var ah=V(this,i,an);this.currentPath_.push({type:ap,x:Z.x,y:Z.y,radius:ak,xStart:ai.x,yStart:ai.y,xEnd:ah.x,yEnd:ah.y})};q.rect=function(m,j,i,p){this.moveTo(m,j);this.lineTo(m+i,j); (…) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
imports.h | 356 int ai, bi; local 361 __asm__ ("fstps %0" : "=m" (ai) : "t" (af) : "st"); 363 return (ai - bi) >> 1; 369 int ai, bi; local 375 u.f = (float) af; ai = u.i; 377 return (ai - bi) >> 1; 403 int ai, bi; local 408 __asm__ ("fstps %0" : "=m" (ai) : "t" (af) : "st"); 410 return (ai - bi + 1) >> 1; 416 int ai, bi local [all...] |
/external/ipsec-tools/src/racoon/ |
kmpstat.c | 212 struct addrinfo hint, *ai; local 220 error = getaddrinfo(name, port, &hint, &ai); 226 return ai->ai_addr;
|
/external/mesa3d/src/mesa/main/ |
imports.h | 356 int ai, bi; local 361 __asm__ ("fstps %0" : "=m" (ai) : "t" (af) : "st"); 363 return (ai - bi) >> 1; 369 int ai, bi; local 375 u.f = (float) af; ai = u.i; 377 return (ai - bi) >> 1; 403 int ai, bi; local 408 __asm__ ("fstps %0" : "=m" (ai) : "t" (af) : "st"); 410 return (ai - bi + 1) >> 1; 416 int ai, bi local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
AlgorithmIdentifier.java | 121 @Override public boolean equals(Object ai) { 122 if (!(ai instanceof AlgorithmIdentifier)) { 125 AlgorithmIdentifier algid = (AlgorithmIdentifier) ai;
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
AttributesImplTest.java | 50 AttributesImpl ai = new AttributesImpl(empty); local 51 assertEquals(0, ai.getLength()); 54 ai = new AttributesImpl(multi); 55 assertEquals(5, ai.getLength()); 59 ai = new AttributesImpl(null); 60 assertEquals(0, ai.getLength()); 68 AttributesImpl ai = new AttributesImpl(empty); local 69 assertEquals(0, ai.getLength()); 71 ai = new AttributesImpl(multi); 72 assertEquals(5, ai.getLength()) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiScanModeActivity.java | 48 ApplicationInfo ai; local 52 ai = pm.getApplicationInfo(mApp, 0); 53 mApp = (String)pm.getApplicationLabel(ai);
|
/external/clang/utils/TableGen/ |
ClangAttrEmitter.cpp | 909 std::vector<Argument*>::iterator ai, ae; local 1030 std::vector<Argument*>::iterator ai, ae; local 1155 std::vector<Record*>::iterator i = Attrs.begin(), e = Attrs.end(), ai, ae; local 1198 std::vector<Record*>::iterator i = Attrs.begin(), e = Attrs.end(), ai, ae; local 1373 std::vector<Argument*>::iterator ai, ae; local [all...] |
/external/chromium/net/base/ |
host_port_pair.h | 27 static HostPortPair FromAddrInfo(const struct addrinfo* ai);
|
/packages/apps/Settings/src/com/android/settings/ |
AppPicker.java | 91 ApplicationInfo ai = pkgs.get(i); local 92 if (ai.uid == Process.SYSTEM_UID) { 98 if ((ai.flags&ApplicationInfo.FLAG_DEBUGGABLE) == 0 103 info.info = ai;
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
WalkerFactory.java | 989 StepPattern ai = null; local 1168 AxesWalker ai = null; local [all...] |