/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicResize.cpp | 316 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local 318 if (!cp->mAlloc.get()) { 322 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 323 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 324 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; 325 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 327 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; 346 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { 347 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; 349 uint32_t xinc16 = rint(cp->scaleX * 0x10000) 383 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local 450 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local 517 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local 557 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local 597 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory1Test.java | 600 CertPath cp = certFs[i].generateCertPath(list); local 601 List<? extends Certificate> list1 = cp.getCertificates();
|
/ndk/build/core/ |
definitions-host.mk | 80 # Function : host-cp 83 # Usage : $(call host-cp,<src-file>,<dst-file>) 88 host-cp = copy /b/y $(subst /,\,"$1" "$2") > NUL 90 host-cp = cp -f $1 $2 158 host-copy-if-differ = $(HOST_CMP) -s $1 $2 > /dev/null 2>&1 || cp -f $1 $2
|
/ndk/sources/host-tools/nawk-20071023/ |
tran.c | 102 Cell *cp; local 107 cp = setsymtab("ARGV", "", 0.0, ARR, symtab); 109 cp->sval = (char *) ARGVtab; 122 Cell *cp; local 125 cp = setsymtab("ENVIRON", "", 0.0, ARR, symtab); 127 cp->sval = (char *) ENVtab; 159 Cell *cp, *temp; local 169 for (cp = tp->tab[i]; cp != NULL; cp = temp) 250 Cell *cp, *op, **np; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 241 double c[2],cp[2],r[2],rp[2],M[4],s,sp,sc; local 248 db_PointCentroid2D(cp,Xp,nr_points); 253 db_Zero2(cp); 264 rp[0]=(*temp_p++)-cp[0]; 265 rp[1]=(*temp_p++)-cp[1]; 326 t[0]=cp[0]-sc*(R[0]*c[0]+R[1]*c[1]); 327 t[1]=cp[1]-sc*(R[2]*c[0]+R[3]*c[1]);
|
db_utilities.h | 484 double sp,so,sk,om_sp2,om_so2,om_sk2,cp,co,ck,sp_so,cp_so; local 492 cp=(om_sp2>=0.0)?sqrt(om_sp2):1.0; 497 cp_so=cp*so; 498 R[0]=sp_so*sk+cp*ck; R[1]=co*sk; R[2]=cp_so*sk-sp*ck; 499 R[3]=sp_so*ck-cp*sk; R[4]=co*ck; R[5]=cp_so*ck+sp*sk; 500 R[6]=sp*co; R[7]= -so; R[8]=cp*co;
|
/system/core/libnetutils/ |
dhcpclient.c | 242 char *cp = buf; local 245 cp += snprintf(cp, buf_end - cp, " %02x ", array[i]);
|
/system/core/libutils/ |
String8.cpp | 536 const char* cp; local 539 cp = strrchr(buf, OS_PATH_SEPARATOR); 540 if (cp == NULL) 543 return String8(cp+1); 548 const char* cp; local 551 cp = strrchr(str, OS_PATH_SEPARATOR); 552 if (cp == NULL) 555 return String8(str, cp - str); 560 const char* cp; local 564 cp = strchr(buf, OS_PATH_SEPARATOR) [all...] |
/system/core/logcat/tests/ |
logcat_test.cpp | 62 while (char *cp = strrchr(buffer, '\n')) { 63 *cp = '\0'; 121 char *cp = buffer; local 122 if (*cp != '[') { 125 while (*++cp == ' ') { 128 char *ep = cp; 144 return cp; 258 char *cp; local 259 while ((cp = fgetLongTime(buffer, sizeof(buffer), fp))) { 262 first_timestamp = strdup(cp); [all...] |
/system/core/logd/ |
LogKlog.cpp | 332 const char *cp = now.strptime(*buf, "[ %s.%q]"); local 333 if (cp && (cp >= &(*buf)[len])) { 334 cp = NULL; 336 if (cp) { 340 len -= cp - *buf; 341 if (len && isspace(*cp)) { 342 ++cp; 345 *buf = cp; 352 if (((b = strnstr(cp, len, suspendStr)) 424 const char *cp = *buf; local 444 const char *cp = strnstr(buf, len, suspendStr); local 609 const char *bt, *et, *cp; local [all...] |
/system/core/logd/tests/ |
logd_test.cpp | 97 static char *find_benchmark_spam(char *cp) 110 benchmark = strstr(cp, signature); 114 cp = benchmark + sizeof(signature); 115 while (isspace(*cp)) { 116 ++cp; 118 benchmark = cp; 128 while (isdigit(*cp)) { 129 ++cp; 131 while (isspace(*cp)) { 132 ++cp; 167 char *cp = buf + len - 1; local 271 unsigned char *cp = reinterpret_cast<unsigned char *>(msg->msg()); local 434 char *cp = strstr(buffer, benchmarks[i]); local 500 char *cp = strchr(buffer, '\\n'); local [all...] |
/system/extras/f2fs_utils/ |
f2fs_sparseblock.c | 75 static void dbg_print_raw_ckpt_struct(struct f2fs_checkpoint *cp) 82 D_DISP_u64(cp, checkpoint_ver); 83 D_DISP_u64(cp, user_block_count); 84 D_DISP_u64(cp, valid_block_count); 85 D_DISP_u32(cp, rsvd_segment_count); 86 D_DISP_u32(cp, overprov_segment_count); 87 D_DISP_u32(cp, free_segment_count); 89 D_DISP_u32(cp, alloc_type[CURSEG_HOT_NODE]); 90 D_DISP_u32(cp, alloc_type[CURSEG_WARM_NODE]); 91 D_DISP_u32(cp, alloc_type[CURSEG_COLD_NODE]) 382 struct f2fs_checkpoint *cp = NULL; local [all...] |
/bionic/libc/dns/resolv/ |
res_send.c | 289 const u_char *cp = buf + HFIXEDSZ; local 296 n = dn_expand(buf, eom, cp, tname, sizeof tname); 299 cp += n; 300 if (cp + 2 * INT16SZ > eom) 302 ttype = ns_get16(cp); cp += INT16SZ; 303 tclass = ns_get16(cp); cp += INT16SZ; 326 const u_char *cp = buf1 + HFIXEDSZ; local 346 n = dn_expand(buf1, eom1, cp, tname, sizeof tname) 764 u_char *cp; local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
EnvironmentCheck.java | 590 String cp = System.getProperty("java.class.path"); local 592 h.put("java.class.path", cp); 594 Vector classpathJars = checkPathForJars(cp, jarNames); 642 * cp should be separated by the usual File.pathSeparator. We 647 * @param cp classpath to search 656 protected Vector checkPathForJars(String cp, String[] jars) 659 if ((null == cp) || (null == jars) || (0 == cp.length()) 664 StringTokenizer st = new StringTokenizer(cp, File.pathSeparator); [all...] |
/external/curl/lib/ |
easy.c | 157 UINT cp = GetACP(); local 159 if(!getenv("CHARSET") && cp > 0) { 160 snprintf(buf, sizeof(buf), "CHARSET=cp%u", cp);
|
ssh.c | 1198 const char *cp; local 3208 const char *cp = *cpp, *end; local [all...] |
/external/curl/packages/OS400/ |
os400sys.c | 134 char * cp; local 159 if((cp = realloc(buf->buf, size))) { 160 buf->buf = cp; 164 cp = buf->buf; 166 return cp; 244 char * cp; local 250 cp = Curl_thread_buffer(key, MAX_CONV_EXPANSION * i + 1); 252 if(cp) { 253 i = QadrtConvertE2A(cp, s, MAX_CONV_EXPANSION * i, i); 254 cp[i] = '\0' 1068 char * cp; local 1109 char * cp; local 1141 char * cp; local 1173 char * cp; local [all...] |
/external/dnsmasq/src/ |
rfc1035.c | 33 unsigned char *cp = (unsigned char *)name, *p = *pp, *p1 = NULL; local 38 *cp = 0; 56 if (cp != (unsigned char *)name) 57 cp--; 58 *cp = 0; /* terminate: lose final period */ 60 else if (*cp != 0) 109 if (cp - (unsigned char *)name + digs + 9 >= MAXDNAME) 114 *cp++ = '\\'; 115 *cp++ = '['; 116 *cp++ = 'x' 218 char *cp; local [all...] |
/external/e2fsprogs/e2fsck/ |
pass2.c | 662 char *cp = (char *) dirent; local 675 memmove(cp, cp+8, left); 676 memset(cp + left, 0, 8); [all...] |
/external/e2fsprogs/intl/ |
dcigettext.c | 597 char *cp = single_locale; local 599 *cp++ = *categoryvalue++; 600 *cp = '\0'; [all...] |
/external/elfutils/libcpu/ |
i386_data.h | 302 char *cp = tmpbuf; local 312 n = snprintf (cp, sizeof (tmpbuf), "%s0x%" PRIx32, 314 cp += n; 317 *cp++ = '('; 321 *cp++ = '%'; 322 cp = stpcpy (cp, 331 *cp++ = 'd'; 341 *cp++ = ','; 342 *cp++ = '%' 951 char *cp; local 1041 char *cp = stpcpy (bufp + *bufcntp, hiregs[modrm & 7]); local 1059 char *cp; local 1145 char *cp = &d->bufp[*bufcntp]; local 1270 char* cp = stpcpy (d->bufp + *bufcntp, rex_8bit[byte]); local [all...] |
/external/elfutils/libdw/ |
dwarf_getsrclines.c | 373 char *cp = new_file->info.name; local 381 cp = stpcpy (cp, dirarray[diridx].dir); 383 *cp++ = '/'; 384 strcpy (cp, fname); 553 char *cp = new_file->info.name; local 561 cp = stpcpy (cp, dirarray[diridx].dir); 562 *cp++ = '/'; 563 strcpy (cp, fname) [all...] |
/external/elfutils/src/ |
objdump.c | 311 char *cp = new_prefix; local 313 cp = stpcpy (cp, prefix); 314 cp = stpcpy (cp, fname); 315 stpcpy (cp, "["); 317 cp = new_suffix; 319 cp = stpcpy (cp, suffix); 320 stpcpy (cp, "]"); 586 unsigned char *cp = data->d_buf; local 778 char *cp = fullname; local [all...] |
/external/f2fs-tools/mkfs/ |
f2fs_format.c | 26 struct f2fs_checkpoint *cp; variable in typeref:struct:f2fs_checkpoint 62 #define set_cp_le64(member, val) (cp->member = cpu_to_le64(val)) 63 #define set_cp_le32(member, val) (cp->member = cpu_to_le32(val)) 64 #define set_cp_le16(member, val) (cp->member = cpu_to_le16(val)) 65 #define get_cp_le64(member) le64_to_cpu(cp->member) 66 #define get_cp_le32(member) le32_to_cpu(cp->member) 67 #define get_cp_le16(member) le16_to_cpu(cp->member) 71 typeof(cp->member) t; \ 81 typeof(cp->member) t; \ 245 * This number resizes NAT bitmap area in a CP page [all...] |
/external/fio/ |
parse.c | 458 char **cp = NULL; local 661 cp = td_var(data, o, o->off1); 662 *cp = strdup(ptr); 673 if (!vp->ival || vp->ival[0] == '\0' || !cp) 682 rest = strstr(*cp ?: ptr, ":"); 684 if (*cp) 695 if (ret && !*cp) 697 else if (ret && *cp)
|