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

/frameworks/base/tools/aapt/
H A DMain.cpp326 const char* cp = argv[0] +1; local
328 while (*cp != '\0') {
329 switch (*cp) {
539 if (strcmp(cp, "-debug-mode") == 0) {
541 } else if (strcmp(cp, "-min-sdk-version") == 0) {
550 } else if (strcmp(cp, "-target-sdk-version") == 0) {
559 } else if (strcmp(cp, "-max-sdk-version") == 0) {
568 } else if (strcmp(cp, "-max-res-version") == 0) {
577 } else if (strcmp(cp, "-version-code") == 0) {
586 } else if (strcmp(cp, "
[all...]
H A DAaptAssets.cpp39 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 Dbyte_swapper.h32 char *cp = reinterpret_cast<char *>(&word); local
33 return cp[0] != 0;
/frameworks/base/core/java/android/text/method/
H A DWordIterator.java355 private static boolean isPunctuation(int cp) { argument
356 final int type = Character.getType(cp);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicLUT.cpp53 RsdCpuScriptIntrinsicLUT *cp = (RsdCpuScriptIntrinsicLUT *)info->usr; local
60 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr;
H A DrsCpuIntrinsic3DLUT.cpp57 RsdCpuScriptIntrinsic3DLUT *cp = (RsdCpuScriptIntrinsic3DLUT *)info->usr; local
64 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr;
67 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimX - 1),
68 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimY - 1),
69 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimZ - 1),
74 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride;
75 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
H A DrsCpuIntrinsicConvolve3x3.cpp182 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local
184 if (!cp->mAlloc.get()) {
188 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
189 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
201 ConvolveOneU4(info, 0, out, py0, py1, py2, cp->mFp);
211 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len);
219 ConvolveOneU4(info, x1, out, py0, py1, py2, cp->mFp);
229 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local
231 if (!cp->mAlloc.get()) {
235 const uchar *pin = (const uchar *)cp
274 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local
319 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local
364 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local
408 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; local
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp346 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local
347 if (!cp->alloc.get()) {
351 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
352 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride;
371 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp);
381 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len);
390 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len);
397 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp);
406 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local
407 if (!cp
455 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local
504 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local
553 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local
602 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; local
[all...]
H A DrsCpuIntrinsicHistogram.cpp167 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local
169 int * sums = &cp->mSums[256 * 4 * info->lid];
184 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local
186 int * sums = &cp->mSums[256 * 4 * info->lid];
200 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local
202 int * sums = &cp->mSums[256 * 2 * info->lid];
215 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local
217 int * sums = &cp->mSums[256 * info->lid];
220 int t = (cp->mDotI[0] * in[0]) +
221 (cp
233 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local
250 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local
266 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local
281 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; local
[all...]
H A DrsCpuIntrinsicYuvToRGB.cpp101 RsdCpuScriptIntrinsicYuvToRGB *cp = (RsdCpuScriptIntrinsicYuvToRGB *)info->usr; local
102 if (!cp->alloc.get()) {
106 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr;
112 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride;
115 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) {
124 size_t cstep = cp->alloc->mHal.drvState.yuv.step;
126 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr;
127 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride;
130 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr;
131 const size_t strideV = cp
[all...]
H A DrsCpuIntrinsicBlur.cpp295 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)info->usr; local
296 if (!cp->mAlloc.get()) {
300 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
301 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
311 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius);
317 if ((info->dim.x > cp->mScratchSize[info->lid]) || !cp->mScratch[info->lid]) {
319 cp
366 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)info->usr; local
[all...]
H A DrsCpuIntrinsicResize.cpp309 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local
311 if (!cp->mAlloc.get()) {
315 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr;
316 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY;
317 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX;
318 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride;
320 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f;
339 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) {
340 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f;
342 uint32_t xinc16 = rint(cp
376 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local
443 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local
510 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local
550 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local
590 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; local
[all...]
/frameworks/av/camera/
H A DICamera.cpp357 sp<IGraphicBufferProducer> cp = local
359 reply->writeInt32(setPreviewCallbackTarget(cp));
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DSubscriptionControllerMock.java119 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String cp){ argument
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h566 T cp = std::cos(pitch); local
574 r[0][0] = cp * cy;
575 r[0][1] = cp * sy;
579 r[1][2] = cp * sr;
582 r[2][2] = cp * cr;
/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);
470 const GLvoid* cp = c->arrays.color.element( local
[all...]
/frameworks/av/media/extractors/mkv/
H A DMatroskaExtractor.cpp182 const mkvparser::CuePoint* cp = mCuePoints.itemAt(0); local
184 if (timeNs <= cp->GetTime(mExtractor->mSegment)) {
185 return cp->Find(track);
207 cp = mCuePoints.itemAt(lo - 1);
208 if (cp->GetTime(mExtractor->mSegment) > timeNs) {
212 return cp->Find(track);
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1257 const char* cp; local
1260 cp = nameBuf + dirNameLen;
1262 cp++; // advance past the '/'
1264 nextSlash = strchr(cp, '/');
1278 String8 subdirName(cp, nextSlash - cp);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp189 uint32_t cp = decodeUtf16(chars, len, iter); local
190 hb_script_t current_script = hb_unicode_script(getUnicodeFunctions(), cp);
194 cp = decodeUtf16(chars, len, iter);
195 const hb_script_t script = hb_unicode_script(getUnicodeFunctions(), cp);
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp590 char *cp, *buffer = NULL; local
607 for (cp = buffer, i = 0; i < (sizeof(fields) / sizeof(fields[0])); ++i) {
608 fields[i] = strtoull(cp, &cp, 10);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java503 * @param cp is the connection parameters
505 private void onConnect(ConnectionParams cp) { argument
509 if (cp.mApnContext != null) cp.mApnContext.requestLog("DataConnection.onConnect");
518 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
533 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
534 msg.obj = cp;
536 DataProfile dp = DcTracker.createDataProfile(mApnSetting, cp.mProfileId);
550 ServiceState.rilRadioTechnologyToAccessNetworkType(cp.mRilRat), dp, isModemRoaming,
552 TelephonyMetrics.getInstance().writeSetupDataCall(mPhone.getPhoneId(), cp
621 notifyConnectCompleted(ConnectionParams cp, DcFailCause cause, boolean sendAll) argument
746 onSetupConnectionCompleted(@ataServiceCallback.ResultCode int resultCode, DataCallResponse response, ConnectionParams cp) argument
1167 initConnection(ConnectionParams cp) argument
1447 setEnterNotificationParams(ConnectionParams cp, DcFailCause cause) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp436 uint32_t cp = cu; local
451 cp = U16_GET_SUPPLEMENTARY(cu, cu2);
455 ((0xFE00 <= cp && cp <= 0xFE0F) || (0xE0100 <= cp && cp <= 0xE01EF))) {
456 bool hasVS = MinikinUtils::hasVariationSelector(typeface, prevCp, cp);
466 prevCp = cp;
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 184 milliseconds