/frameworks/base/tools/aapt/ |
H A D | Main.cpp | 273 const char* cp = argv[0] +1; local 275 while (*cp != '\0') { 276 switch (*cp) { 475 if (strcmp(cp, "-debug-mode") == 0) { 477 } else if (strcmp(cp, "-min-sdk-version") == 0) { 486 } else if (strcmp(cp, "-target-sdk-version") == 0) { 495 } else if (strcmp(cp, "-max-sdk-version") == 0) { 504 } else if (strcmp(cp, "-max-res-version") == 0) { 513 } else if (strcmp(cp, "-version-code") == 0) { 522 } else if (strcmp(cp, " [all...] |
H A D | AaptAssets.cpp | 39 const char* cp = fileName; local 42 while (*cp != '\0') { 43 if ((*cp & 0x80) != 0) 45 if (*cp < 0x20 || *cp >= 0x7f) 47 if (strchr(kInvalidChars, *cp) != NULL) 49 cp++;
|
/frameworks/av/media/libeffects/loudness/common/core/ |
H A D | byte_swapper.h | 32 char *cp = reinterpret_cast<char *>(&word); local 33 return cp[0] != 0;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicLUT.cpp | 59 RsdCpuScriptIntrinsicLUT *cp = (RsdCpuScriptIntrinsicLUT *)p->usr; local 66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
|
H A D | rsCpuIntrinsic3DLUT.cpp | 63 RsdCpuScriptIntrinsic3DLUT *cp = (RsdCpuScriptIntrinsic3DLUT *)p->usr; local 70 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; 73 cp->mLUT->mHal.drvState.lod[0].dimX - 1, 74 cp->mLUT->mHal.drvState.lod[0].dimY - 1, 75 cp->mLUT->mHal.drvState.lod[0].dimZ - 1, 80 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride; 81 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
|
H A D | rsCpuIntrinsicConvolve3x3.cpp | 189 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)p->usr; local 191 if (!cp->mAlloc.get()) { 195 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 196 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 208 ConvolveOneU4(p, 0, out, py0, py1, py2, cp->mFp); 218 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); 226 ConvolveOneU4(p, x1, out, py0, py1, py2, cp->mFp); 236 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)p->usr; local 238 if (!cp->mAlloc.get()) { 242 const uchar *pin = (const uchar *)cp 281 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)p->usr; local 326 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)p->usr; local 371 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)p->usr; local 415 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)p->usr; local [all...] |
H A D | rsCpuIntrinsicConvolve5x5.cpp | 352 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local 353 if (!cp->alloc.get()) { 357 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 358 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; 377 OneU4(p, x1, out, py0, py1, py2, py3, py4, cp->mFp); 385 rsdIntrinsicConvolve5x5_K(out, py0, py1, py2, py3, py4, cp->mIp, len); 392 OneU4(p, x1, out, py0, py1, py2, py3, py4, cp->mFp); 401 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local 402 if (!cp->alloc.get()) { 406 const uchar *pin = (const uchar *)cp 450 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local 499 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local 548 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local 597 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local [all...] |
H A D | rsCpuIntrinsicHistogram.cpp | 167 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)p->usr; local 169 int * sums = &cp->mSums[256 * 4 * p->lid]; 184 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)p->usr; local 186 int * sums = &cp->mSums[256 * 4 * p->lid]; 200 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)p->usr; local 202 int * sums = &cp->mSums[256 * 2 * p->lid]; 215 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)p->usr; local 217 int * sums = &cp->mSums[256 * p->lid]; 220 int t = (cp->mDotI[0] * in[0]) + 221 (cp 233 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)p->usr; local 250 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)p->usr; local 266 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)p->usr; local 281 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)p->usr; local [all...] |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 116 RsdCpuScriptIntrinsicYuvToRGB *cp = (RsdCpuScriptIntrinsicYuvToRGB *)p->usr; local 117 if (!cp->alloc.get()) { 121 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 127 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride; 130 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { 139 size_t cstep = cp->alloc->mHal.drvState.yuv.step; 141 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; 142 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride; 145 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr; 146 const size_t strideV = cp [all...] |
H A D | rsCpuIntrinsicBlend.cpp | 109 RsdCpuScriptIntrinsicBlend *cp = (RsdCpuScriptIntrinsicBlend *)p->usr; local
|
H A D | rsCpuIntrinsicBlur.cpp | 278 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)p->usr; local 279 if (!cp->mAlloc.get()) { 283 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 284 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 291 if ((p->dimX > cp->mScratchSize[p->lid]) || !cp->mScratch[p->lid]) { 293 cp->mScratch[p->lid] = realloc(cp->mScratch[p->lid], (p->dimX + 1) * 16); 294 cp->mScratchSize[p->lid] = p->dimX; 297 buf = (float4 *) ((((intptr_t)cp 339 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)p->usr; local [all...] |
/frameworks/rs/ |
H A D | rsCppUtils.h | 83 const char* cp; local 86 cp = strrchr(str, OS_PATH_SEPARATOR); 87 if (cp == NULL) 90 return String8(str, cp - str);
|
/frameworks/av/camera/ |
H A D | ICamera.cpp | 306 sp<IGraphicBufferProducer> cp = local 308 reply->writeInt32(setPreviewCallbackTarget(cp));
|
/frameworks/native/opengl/libagl/ |
H A D | light.cpp | 310 const GLvoid* cp = c->arrays.color.element( local 312 c->arrays.color.fetch(c, v->color.v, cp);
|
H A D | primitives.cpp | 78 const GLvoid* cp = c->arrays.color.element( local 80 c->arrays.color.fetch(c, v0->color.v, cp); 84 const GLvoid* cp = c->arrays.color.element( local 86 c->arrays.color.fetch(c, v1->color.v, cp); 90 const GLvoid* cp = c->arrays.color.element( local 92 c->arrays.color.fetch(c, v2->color.v, cp); 101 const GLvoid* cp = c->arrays.color.element( local 103 c->arrays.color.fetch(c, v2->color.v, cp); 137 const GLvoid* cp = c->arrays.color.element( local 139 c->arrays.color.fetch(c, v->color.v, cp); 469 const GLvoid* cp = c->arrays.color.element( local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.cpp | 583 const uint32_t cp = utf16_to_code_point(chars, len, iter); local 584 const hb_script_t script = code_point_to_script(cp); 626 const uint32_t cp = utf16_to_code_point_prev(chars, len, iter); local 627 const hb_script_t script = code_point_to_script(cp);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DataConnection.java | 399 * @param cp is the connection parameters 401 private void onConnect(ConnectionParams cp) { argument 421 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp); 437 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp); 438 msg.obj = cp; 454 Integer.toString(cp.mRilRat + 2), 455 Integer.toString(cp.mProfileId), 515 * @param cp is the ConnectionParams 519 private void notifyConnectCompleted(ConnectionParams cp, DcFailCause cause, boolean sendAll) { argument 522 if (cp ! 727 initConnection(ConnectionParams cp) argument 949 setEnterNotificationParams(ConnectionParams cp, DcFailCause cause) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 1505 const char* cp; local 1508 cp = nameBuf + dirNameLen; 1510 cp++; // advance past the '/' 1512 nextSlash = strchr(cp, '/'); 1526 String8 subdirName(cp, nextSlash - cp);
|