Searched defs:cp (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/tools/aapt/
H A DMain.cpp294 const char* cp = argv[0] +1; local
296 while (*cp != '\0') {
297 switch (*cp) {
496 if (strcmp(cp, "-debug-mode") == 0) {
498 } else if (strcmp(cp, "-min-sdk-version") == 0) {
507 } else if (strcmp(cp, "-target-sdk-version") == 0) {
516 } else if (strcmp(cp, "-max-sdk-version") == 0) {
525 } else if (strcmp(cp, "-max-res-version") == 0) {
534 } else if (strcmp(cp, "-version-code") == 0) {
543 } else if (strcmp(cp, "
[all...]
H A DAaptAssets.cpp40 const char* cp = fileName; local
43 while (*cp != '\0') {
44 if ((*cp & 0x80) != 0)
46 if (*cp < 0x20 || *cp >= 0x7f)
48 if (strchr(kInvalidChars, *cp) != NULL)
50 cp++;
/frameworks/av/media/libeffects/loudness/common/core/
H A Dbyte_swapper.h32 char *cp = reinterpret_cast<char *>(&word); local
33 return cp[0] != 0;
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicLUT.cpp59 RsdCpuScriptIntrinsicLUT *cp = (RsdCpuScriptIntrinsicLUT *)p->usr; local
66 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
H A DrsCpuIntrinsic3DLUT.cpp64 RsdCpuScriptIntrinsic3DLUT *cp = (RsdCpuScriptIntrinsic3DLUT *)p->usr; local
71 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr;
74 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimX - 1),
75 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimY - 1),
76 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimZ - 1),
81 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride;
82 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
H A DrsCpuIntrinsicConvolve3x3.cpp189 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 DrsCpuIntrinsicConvolve5x5.cpp352 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);
387 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len);
396 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len);
403 OneU4(p, x1, out, py0, py1, py2, py3, py4, cp->mFp);
412 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local
413 if (!cp
461 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local
510 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local
559 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local
608 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)p->usr; local
[all...]
H A DrsCpuIntrinsicHistogram.cpp167 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 DrsCpuIntrinsicYuvToRGB.cpp107 RsdCpuScriptIntrinsicYuvToRGB *cp = (RsdCpuScriptIntrinsicYuvToRGB *)p->usr; local
108 if (!cp->alloc.get()) {
112 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
118 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride;
121 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) {
130 size_t cstep = cp->alloc->mHal.drvState.yuv.step;
132 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr;
133 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride;
136 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr;
137 const size_t strideV = cp
[all...]
H A DrsCpuIntrinsicBlend.cpp116 RsdCpuScriptIntrinsicBlend *cp = (RsdCpuScriptIntrinsicBlend *)p->usr; local
H A DrsCpuIntrinsicBlur.cpp287 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)p->usr; local
288 if (!cp->mAlloc.get()) {
292 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
293 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
302 stride, x1, p->y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius);
308 if ((p->dimX > cp->mScratchSize[p->lid]) || !cp->mScratch[p->lid]) {
310 cp
357 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)p->usr; local
[all...]
H A DrsCpuIntrinsicResize.cpp181 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)p->usr; local
183 if (!cp->mAlloc.get()) {
187 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
188 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
189 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
190 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
192 float yf = (p->y + 0.5f) * cp->scaleY - 0.5f;
211 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
221 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)p->usr; local
223 if (!cp
261 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)p->usr; local
[all...]
/frameworks/rs/
H A DrsCppUtils.h83 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 DICamera.cpp306 sp<IGraphicBufferProducer> cp = local
308 reply->writeInt32(setPreviewCallbackTarget(cp));
/frameworks/native/opengl/libagl/
H A Dlight.cpp310 const GLvoid* cp = c->arrays.color.element( local
312 c->arrays.color.fetch(c, v->color.v, cp);
H A Dprimitives.cpp78 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/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp173 const mkvparser::CuePoint* cp = mCuePoints.itemAt(0); local
175 if (timeNs <= cp->GetTime(mExtractor->mSegment)) {
176 return cp->Find(track);
198 cp = mCuePoints.itemAt(lo - 1);
199 if (cp->GetTime(mExtractor->mSegment) > timeNs) {
203 return cp->Find(track);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1553 const char* cp; local
1556 cp = nameBuf + dirNameLen;
1558 cp++; // advance past the '/'
1560 nextSlash = strchr(cp, '/');
1574 String8 subdirName(cp, nextSlash - cp);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp441 uint32_t cp = decodeUtf16(chars, len, iter); local
442 hb_script_t current_script = codePointToScript(cp);
447 cp = decodeUtf16(chars, len, iter);
448 const hb_script_t script = codePointToScript(cp);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java502 * @param cp is the connection parameters
504 private void onConnect(ConnectionParams cp) { argument
526 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
542 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
543 msg.obj = cp;
559 Integer.toString(cp.mRilRat + 2),
560 Integer.toString(cp.mProfileId),
622 * @param cp is the ConnectionParams
626 private void notifyConnectCompleted(ConnectionParams cp, DcFailCause cause, boolean sendAll) { argument
629 if (cp !
1004 initConnection(ConnectionParams cp) argument
1256 setEnterNotificationParams(ConnectionParams cp, DcFailCause cause) argument
[all...]

Completed in 390 milliseconds