/art/test/072-precise-gc/src/ |
Main.java | 45 String str8 = generateString("String", 8); local 57 wrefs[8] = new WeakReference(str8); 78 String str8; local 109 str8 = generateString("String", 8); 111 System.out.println(str0+str1+str2+str3+str4+str5+str6+str7+str8+str9);
|
/external/webrtc/webrtc/base/ |
macutils.h | 27 bool ToUtf8(const CFStringRef str16, std::string* str8); 28 bool ToUtf16(const std::string& str8, CFStringRef* str16);
|
macutils.cc | 23 bool ToUtf8(const CFStringRef str16, std::string* str8) { 24 if ((NULL == str16) || (NULL == str8)) { 34 str8->assign(buffer.get()); 38 bool ToUtf16(const std::string& str8, CFStringRef* str16) { 43 reinterpret_cast<const UInt8*>(str8.data()), 44 str8.length(), kCFStringEncodingUTF8,
|
/external/skia/tools/viewer/sk_app/win/ |
main_win.cpp | 21 char* str8 = (char*)sk_malloc_throw(size + 1); local 22 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); 23 str8[size] = '\0'; 24 return str8;
|
/frameworks/av/media/libmedia/ |
AudioParameter.cpp | 122 String8 str8 = String8(str); local 123 return add(key, str8); 133 String8 str8 = String8(str); local 134 return add(key, str8); 162 String8 str8; local 163 status_t result = get(key, str8); 167 if (sscanf(str8.string(), "%d", &val) == 1) { 178 String8 str8; local 179 status_t result = get(key, str8); 183 if (sscanf(str8.string(), "%f", &val) == 1) [all...] |
/external/skia/src/views/win/ |
skia_win.cpp | 46 char* str8 = (char*) sk_malloc_throw(size+1); local 47 WideCharToMultiByte(CP_UTF8, 0, str, wcslen(str), str8, size, NULL, NULL); 48 str8[size] = '\0'; 49 return str8;
|
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 32 const char *str8(const uint16_t *x, size_t x_len) function 120 return check_mac_perms_from_lookup(spid, uid, perm, str8(name, name_len)) ? 1 : 0; 132 return check_mac_perms_from_lookup(spid, uid, perm, str8(name, name_len)) ? 1 : 0; 164 ALOGI("service '%s' died\n", str8(si->name, si->len)); 208 //ALOGI("add_service('%s',%x,%s) uid=%d\n", str8(s, len), handle, 216 str8(s, len), handle, uid); 224 str8(s, len), handle, uid); 232 str8(s, len), handle, uid); 284 fprintf(stderr,"invalid id %s\n", str8(s, len));
|
/frameworks/base/core/jni/ |
android_util_StringBlock.cpp | 84 const char* str8 = osb->string8At(idx, &len); local 85 if (str8 != NULL) { 86 return env->NewStringUTF(str8);
|
android_util_Process.cpp | 695 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); local 696 //ALOGI("String at %d: %p = %s", i, obj, str8); 697 if (str8 == NULL) { 701 fields.add(String8(str8)); 702 env->ReleaseStringUTFChars((jstring)obj, str8); 1130 const char* str8 = env->GetStringUTFChars((jstring)obj, NULL); local [all...] |
android_util_AssetManager.cpp | 1492 const char* str8 = pool->string8At(value.data, &strLen); local [all...] |
/frameworks/av/cmds/screenrecord/ |
TextRenderer.h | 99 float computeScaledStringWidth(const String8& str8) const;
|
TextRenderer.cpp | 149 float TextRenderer::computeScaledStringWidth(const String8& str8) const { 156 const char* str = str8.string(); 182 float x, float y, const String8& str8) const { 183 ALOGV("drawString %.3f,%.3f '%s' (scale=%.3f)", x, y, str8.string(),mScale); 189 const char* str = str8.string();
|
/external/llvm/unittests/Support/ |
YAMLIOTest.cpp | 505 llvm::StringRef str8; member in struct:StringTypes 534 io.mapRequired("str8", st.str8); 565 map.str8 = "FALSE"; [all...] |
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | 924 String8 str8(str, strLen); 925 const size_t str8Len = str8.size(); 931 if (s && str8Len == len && memcmp(s, str8.string(), str8Len) == 0) { 7018 const char* str8 = pkg->header->values.string8At( local [all...] |
/external/v8/benchmarks/ |
regexp.js | 204 var str8 = ';;jvaqbj.IjPurpxZbhfrCbfvgvbaNQ_VQ=shapgvba(r){vs(!r)ine r=jvaqbj.rirag;ine c=-1;vs(jvaqbj.IjNqNQ_VQ)c=jvaqbj.IjNqNQ_VQ.EbyybssCnary;ine bo=IjTrgBow("IjCnayNQ_VQ_"+c);vs(bo&&bo.fglyr.ivfvovyvgl=="ivfvoyr"){ine fns=IjFns?8:0;ine pheK=r.pyvragK+IjBOFpe("U")+fns,pheL=r.pyvragL+IjBOFpe("I")+fns;ine y=IjBOEC(NQ_VQ,bo,"Y"),g=IjBOEC(NQ_VQ,bo,"G");ine e=y+jvaqbj.IjNqNQ_VQ.Cnaryf[c].Jvqgu,o=g+jvaqbj.IjNqNQ_VQ.Cnaryf[c].Urvtug;vs((pheK<y)||(pheK>e)||(pheL<g)||(pheL>o)){vs(jvaqbj.IjBaEbyybssNQ_VQ)IjBaEbyybssNQ_VQ(c);ryfr IjPybfrNq(NQ_VQ,c,gehr,"");}ryfr erghea;}IjPnapryZbhfrYvfgrareNQ_VQ();};;jvaqbj.IjFrgEbyybssCnaryNQ_VQ=shapgvba(c){ine z="zbhfrzbir",q=qbphzrag,s=IjPurpxZbhfrCbfvgvbaNQ_VQ;c=IjTc(NQ_VQ,c);vs(jvaqbj.IjNqNQ_VQ&&jvaqbj.IjNqNQ_VQ.EbyybssCnary>-1)IjPnapryZbhfrYvfgrareNQ_VQ();vs(jvaqbj.IjNqNQ_VQ)jvaqbj.IjNqNQ_VQ.EbyybssCnary=c;gel{vs(q.nqqRiragYvfgrare)q.nqqRiragYvfgrare(z,s,snyfr);ryfr vs(q.nggnpuRirag)q.nggnpuRirag("ba"+z,s);}pngpu(r){}};;jvaqbj.IjPnapryZbhfrYvfgrareNQ_VQ=shapgvba(){ine z="zbhfrzbir",q=qbphzrag,s=IjPurpxZbhfrCbfvgvbaNQ_VQ;vs(jvaqbj.IjNqNQ_VQ)jvaqbj.IjNqNQ_VQ.EbyybssCnary=-1;gel{vs(q.erzbirRiragYvfgrare)q.erzbirRiragYvfgrare(z,s,snyfr);ryfr vs(q.qrgnpuRirag)q.qrgnpuRirag("ba"+z,s);}pngpu(r){}};;jvaqbj.IjNqNQ_VQ.IjTc=shapgvba(n,c){ine nq=jvaqbj.IjNqNQ_VQ;vs(vfAnA(c)){sbe(ine v=0;v<nq.Cnaryf.yratgu;v++)vs(nq.Cnaryf[v].Anzr==c)erghea v;erghea 0;}erghea c;};;jvaqbj.IjNqNQ_VQ.IjTpy=shapgvba(n,c,p){ine cn=jvaqbj.IjNqNQ_VQ.Cnaryf[IjTc(n,c)];vs(!cn)erghea 0;vs(vfAnA(p)){sbe(ine v=0;v<cn.Pyvpxguehf.yratgu;v++)vs(cn.Pyvpxguehf[v].Anzr==p)erghea v;erghea 0;}erghea p;};;jvaqbj.IjNqNQ_VQ.IjGenpr=shapgvba(n,f){gel{vs(jvaqbj["Ij"+"QtQ"])jvaqbj["Ij"+"QtQ"](n,1,f);}pngpu(r){}};;jvaqbj.IjNqNQ_VQ.IjYvzvg1=shapgvba(n,f){ine nq=jvaqbj.IjNqNQ_VQ,vh=f.fcyvg("/");sbe(ine v=0,p=0;v<vh.yratgu;v++){vs(vh[v].yratgu>0){vs(nq.FzV.yratgu>0)nq.FzV+="/";nq.FzV+=vh[v];nq.FtZ[nq.FtZ.yratgu]=snyfr;}}};;jvaqbj.IjNqNQ_VQ.IjYvzvg0=shapgvba(n,f){ine nq=jvaqbj.IjNqNQ_VQ,vh=f.fcyvg("/");sbe(ine v=0;v<vh.yratgu;v++){vs(vh[v].yratgu>0){vs(nq.OvC.yratgu>0)nq.OvC+="/";nq.OvC+=vh[v];}}};;jvaqbj.IjNqNQ_VQ.IjRVST=shapgvba(n,c){jvaqbj["IjCnayNQ_VQ_"+c+"_Bow"]=IjTrgBow("IjCnayNQ_VQ_"+c+"_Bow");vs(jvaqbj["IjCnayNQ_VQ_"+c+"_Bow"]==ahyy)frgGvzrbhg("IjRVST(NQ_VQ,"+c+")",jvaqbj.IjNqNQ_VQ.rvsg);};;jvaqbj.IjNqNQ_VQ.IjNavzSHC=shapgvba(n,c){ine nq=jvaqbj.IjNqNQ_VQ;vs(c>nq.Cnaryf.yratgu)erghea;ine cna=nq.Cnaryf[c],nn=gehr,on=gehr,yn=gehr,en=gehr,cn=nq.Cnaryf[0],sf=nq.ShF,j=cn.Jvqgu,u=cn.Urvtug;vs(j=="100%"){j=sf;en=snyfr;yn=snyfr;}vs(u=="100%"){u=sf;nn=snyfr;on=snyfr;}vs(cn.YnY=="Y")yn=snyfr;vs(cn.YnY=="E")en=snyfr;vs(cn.GnY=="G")nn=snyfr;vs(cn.GnY=="O")on=snyfr;ine k=0,l=0;fjvgpu(nq.NshP%8){pnfr 0:oernx;pnfr 1:vs(nn)l=-sf;oernx;pnfr 2:k=j-sf;oernx;pnfr 3:vs(en)k=j;oernx;pnfr 4:k=j-sf;l=u-sf;oernx;pnfr 5:k=j-sf;vs(on)l=u;oernx;pnfr 6:l=u-sf;oernx;pnfr 7:vs(yn)k=-sf;l=u-sf;oernx;}vs(nq.NshP++ <nq.NshG)frgGvzrbhg(("IjNavzSHC(NQ_VQ,"+c+")"),nq.NshC);ryfr{k=-1000;l=k;}cna.YrsgBssfrg=k;cna.GbcBssfrg=l;IjNhErcb(n,c);};;jvaqbj.IjNqNQ_VQ.IjTrgErnyCbfvgvba=shapgvba(n,b,j){erghea IjBOEC.nccyl(guvf,nethzragf);};;jvaqbj.IjNqNQ_VQ.IjPnapryGvzrbhg=shapgvba(n,c){c=IjTc(n,c);ine cay=jvaqbj.IjNqNQ_VQ.Cnaryf[c];vs(cay&&cay.UgU!=""){pyrneGvzrbhg(cay.UgU);}};;jvaqbj.IjNqNQ_VQ.IjPnapryNyyGvzrbhgf=shapgvba(n){vs(jvaqbj.IjNqNQ_VQ.YbpxGvzrbhgPunatrf)erghea;sbe(ine c=0;c<jvaqbj.IjNqNQ_VQ.bac;c++)IjPnapryGvzrbhg(n,c);};;jvaqbj.IjNqNQ_VQ.IjFgnegGvzrbhg=shapgvba(n,c,bG){c=IjTc(n,c);ine cay=jvaqbj.IjNqNQ_VQ.Cnaryf[c];vs(cay&&((cay.UvqrGvzrbhgInyhr>0)||(nethzragf.yratgu==3&&bG>0))){pyrneGvzrbhg(cay.UgU);cay.UgU=frgGvzrbhg(cay.UvqrNpgvba,(nethzragf.yratgu==3?bG:cay.UvqrGvzrbhgInyhr));}};;jvaqbj.IjNqNQ_VQ.IjErfrgGvzrbhg=shapgvba(n,c,bG){c=IjTc(n,c);IjPnapryGvzrbhg(n,c);riny("IjFgnegGvzrbhg(NQ_VQ,c"+(nethzragf.yratgu==3?",bG":"")+")");};;jvaqbj.IjNqNQ_VQ.IjErfrgNyyGvzrbhgf=shapgvba(n){sbe(ine c=0;c<jvaqbj.IjNqNQ_VQ.bac;c++)IjErfrgGvzrbhg(n,c);};;jvaqbj.IjNqNQ_VQ.IjQrgnpure=shapgvba(n,rig,sap){gel{vs(IjQVR5)riny("jvaqbj.qrgnpuRirag(\'ba"+rig+"\',"+sap+"NQ_VQ)");ryfr vs(!IjQVRZnp)riny("jvaqbj.erzbir'; 230 var s49 = computeInputVariants(str8, 70); [all...] |