Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/tools/aapt/
DMain.cpp309 const char* cp = argv[0] +1; in main() local
311 while (*cp != '\0') { in main()
312 switch (*cp) { in main()
522 if (strcmp(cp, "-debug-mode") == 0) { in main()
524 } else if (strcmp(cp, "-min-sdk-version") == 0) { in main()
533 } else if (strcmp(cp, "-target-sdk-version") == 0) { in main()
542 } else if (strcmp(cp, "-max-sdk-version") == 0) { in main()
551 } else if (strcmp(cp, "-max-res-version") == 0) { in main()
560 } else if (strcmp(cp, "-version-code") == 0) { in main()
569 } else if (strcmp(cp, "-version-name") == 0) { in main()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp295 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)info->usr; in kernelU4() local
296 if (!cp->mAlloc.get()) { in kernelU4()
300 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
301 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()
311 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); in kernelU4()
317 if ((info->dim.x > cp->mScratchSize[info->lid]) || !cp->mScratch[info->lid]) { in kernelU4()
319 cp->mScratch[info->lid] = realloc(cp->mScratch[info->lid], (info->dim.x + 1) * 16); in kernelU4()
320 cp->mScratchSize[info->lid] = info->dim.x; in kernelU4()
323 buf = (float4 *) ((((intptr_t)cp->mScratch[info->lid]) + 15) & ~0xf); in kernelU4()
327 if ((y > cp->mIradius) && (y < ((int)info->dim.y - cp->mIradius))) { in kernelU4()
[all …]
DrsCpuIntrinsicHistogram.cpp167 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U4() local
169 int * sums = &cp->mSums[256 * 4 * info->lid]; in kernelP1U4()
184 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U3() local
186 int * sums = &cp->mSums[256 * 4 * info->lid]; in kernelP1U3()
200 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U2() local
202 int * sums = &cp->mSums[256 * 2 * info->lid]; in kernelP1U2()
215 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1L4() local
217 int * sums = &cp->mSums[256 * info->lid]; in kernelP1L4()
220 int t = (cp->mDotI[0] * in[0]) + in kernelP1L4()
221 (cp->mDotI[1] * in[1]) + in kernelP1L4()
[all …]
DrsCpuIntrinsicConvolve3x3.cpp182 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; in kernelU4() local
184 if (!cp->mAlloc.get()) { in kernelU4()
188 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
189 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()
201 ConvolveOneU4(info, 0, out, py0, py1, py2, cp->mFp); in kernelU4()
211 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU4()
219 ConvolveOneU4(info, x1, out, py0, py1, py2, cp->mFp); in kernelU4()
229 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; in kernelU2() local
231 if (!cp->mAlloc.get()) { in kernelU2()
235 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2()
[all …]
DrsCpuIntrinsicResize.cpp309 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelU4() local
311 if (!cp->mAlloc.get()) { in kernelU4()
315 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
316 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU4()
317 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU4()
318 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4()
320 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU4()
339 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU4()
340 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4()
342 uint32_t xinc16 = rint(cp->scaleX * 0x10000); in kernelU4()
[all …]
DrsCpuIntrinsicConvolve5x5.cpp346 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU4() local
347 if (!cp->alloc.get()) { in kernelU4()
351 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU4()
352 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; in kernelU4()
371 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU4()
381 …olve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); in kernelU4()
390 …olve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); in kernelU4()
397 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU4()
406 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU2() local
407 if (!cp->alloc.get()) { in kernelU2()
[all …]
DrsCpuIntrinsicYuvToRGB.cpp101 RsdCpuScriptIntrinsicYuvToRGB *cp = (RsdCpuScriptIntrinsicYuvToRGB *)info->usr; in kernel() local
102 if (!cp->alloc.get()) { in kernel()
106 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernel()
112 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride; in kernel()
115 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { in kernel()
124 size_t cstep = cp->alloc->mHal.drvState.yuv.step; in kernel()
126 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; in kernel()
127 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride; in kernel()
130 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr; in kernel()
131 const size_t strideV = cp->alloc->mHal.drvState.lod[2].stride; in kernel()
[all …]
DrsCpuIntrinsic3DLUT.cpp57 RsdCpuScriptIntrinsic3DLUT *cp = (RsdCpuScriptIntrinsic3DLUT *)info->usr; in kernel() local
64 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; in kernel()
67 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimX - 1), in kernel()
68 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimY - 1), in kernel()
69 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimZ - 1), in kernel()
74 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride; in kernel()
75 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY; in kernel()
DrsCpuIntrinsicColorMatrix.cpp885 RsdCpuScriptIntrinsicColorMatrix *cp = (RsdCpuScriptIntrinsicColorMatrix *)info->usr; in kernel() local
894 uint32_t vsin = cp->mLastKey.u.inVecSize; in kernel()
895 uint32_t vsout = cp->mLastKey.u.outVecSize; in kernel()
896 bool floatIn = !!cp->mLastKey.u.inType; in kernel()
897 bool floatOut = !!cp->mLastKey.u.outType; in kernel()
904 if((cp->mOptKernel != nullptr) && (len >= 4)) { in kernel()
907 cp->mOptKernel(out, in, cp->ip, len >> 2); in kernel()
917 … if (cp->mLastKey.u.inType == RS_TYPE_FLOAT_32 || cp->mLastKey.u.outType == RS_TYPE_FLOAT_32) { in kernel()
924 rsdIntrinsicColorMatrix_int_K(out, in, len, &cp->mFnTab, cp->ip, cp->ipa); in kernel()
934 One(info, out, in, cp->tmpFp, cp->tmpFpa, vsin, vsout, floatIn, floatOut); in kernel()
DrsCpuIntrinsicLUT.cpp53 RsdCpuScriptIntrinsicLUT *cp = (RsdCpuScriptIntrinsicLUT *)info->usr; in kernel() local
60 const uchar *tr = (const uchar *)cp->lut->mHal.drvState.lod[0].mallocPtr; in kernel()
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java210 for (int cp, i = start, end = start + count; in checkRtl()
212 i += Character.charCount(cp)) { in checkRtl()
213 cp = Character.codePointAt(cs, i); in checkRtl()
214 if (0x2066 <= cp && cp <= 0x2068) { // Opening isolates in checkRtl()
216 } else if (cp == 0x2069) { // POP DIRECTIONAL ISOLATE (PDI) in checkRtl()
220 result = isRtlCodePoint(cp); in checkRtl()
245 for (int cp, i = start, end = start + count; i < end; i += Character.charCount(cp)) { in checkRtl()
246 cp = Character.codePointAt(cs, i); in checkRtl()
247 if (0x2066 <= cp && cp <= 0x2068) { // Opening isolates in checkRtl()
249 } else if (cp == 0x2069) { // POP DIRECTIONAL ISOLATE (PDI) in checkRtl()
[all …]
DInputFilter.java80 for (int i = 0, cp; i < length; i += Character.charCount(cp)) { in filter()
83 cp = Character.codePointAt(wrapper, i); in filter()
84 if (Character.isLowerCase(cp) || Character.isTitleCase(cp)) { in filter()
/frameworks/base/packages/CtsShim/build/
DREADME13 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \
15 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \
17 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \
19 $ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \
21 $ cp $OUT/system/app/CtsShim/CtsShim.apk \
27 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \
29 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \
31 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \
33 $ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \
35 $ cp $OUT/system/app/CtsShim/CtsShim.apk \
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java433 private void onConnect(ConnectionParams cp) { in onConnect() argument
437 if (cp.mApnContext != null) cp.mApnContext.requestLog("DataConnection.onConnect"); in onConnect()
446 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp); in onConnect()
462 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp); in onConnect()
463 msg.obj = cp; in onConnect()
465 DataProfile dp = new DataProfile(mApnSetting, cp.mProfileId); in onConnect()
478 mPhone.mCi.setupDataCall(cp.mRilRat, dp, isModemRoaming, allowRoaming, msg); in onConnect()
511 for (ConnectionParams cp : mApnContexts.values()) { in notifyAllWithEvent()
512 ApnContext apnContext = cp.mApnContext; in notifyAllWithEvent()
516 new Pair<ApnContext, Integer>(apnContext, cp.mConnectionGeneration); in notifyAllWithEvent()
[all …]
/frameworks/rs/
Dupdate_rs_prebuilts.sh196 cp $obj_lib_dir/${name}_intermediates/$file $a || exit 4
201cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit…
207 cp $obj_static_lib_dir/${name}_intermediates/$file $a || exit 4
213 cp $MY_ANDROID_DIR/$RENDERSCRIPT_V8_JAR renderscript/lib/javalib.jar
218 cp $MY_ANDROID_DIR/external/clang/lib/Headers/*.h renderscript/clang-include
219 cp $MY_ANDROID_DIR/frameworks/rs/script_api/include/* renderscript/include
239 cp $ANDROID_HOST_OUT/bin/$a tools/$SHORT_OSNAME/bin
244 cp $HOST_LIB64_DIR/$a tools/$SHORT_OSNAME/lib64
249 cp $HOST_LIB_DIR/$a tools/$SHORT_OSNAME/lib
/frameworks/rs/tests/java_api/SSHealingBrush/
Dcnb2 cp -r /media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/res/* res/
3 cp -r '/media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/java/rs' src/
4 cp /media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/rs/* src/rs/example…
/frameworks/native/opengl/tools/glgen/
Dgen46 cp static/egl/*.java out/android/opengl/
49 cp stubs/jsr239/GLHeader.java-if $GLFILE
121 cp out/com_google_android_gles_jni_GLImpl.cpp generated/C
122 cp -r out/com generated
123 cp -r out/javax generated
125 cp out/android_opengl_*.cpp generated/C
127 cp -r out/android/opengl generated/android
/frameworks/layoutlib/bridge/
Dupdate_nav_icons.sh42 cp -v "$FB/packages/SystemUI/res/drawable-$density/$icon" "$destination"
49 cp -v "$FB/packages/SystemUI/res/drawable-ldrtl-$density/$icon" "$destination"
/frameworks/base/native/
Dcopy-to-ndk.sh37 cp $src $NDK_PLATFORMS/$CURR_PLATFORM/include/android/$i
46 cp $SRC_LIB_ANDROID $DST_LIB_ANDROID
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java135 final IConditionProvider cp = mConditionProviders.findConditionProvider(rule.component); in evaluateRule() local
136 if (DEBUG) Log.d(TAG, "Ensure external rule exists: " + (cp != null) + " for " + id); in evaluateRule()
137 if (cp != null) { in evaluateRule()
138 mConditionProviders.ensureRecordExists(rule.component, id, cp); in evaluateRule()
/frameworks/wilhelm/tools/hashgen/
DMakefile4 cp IID_to_MPH.c ../../src/autogen
51 cp frag2.c $@
/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp370 for (uint32_t cp = startCp; cp <= startCp + rangeLength; ++cp) { in getVSCoverage() local
374 if (baseCoverage.get(cp)) { in getVSCoverage()
375 if (!addRange(rangesFromDefaultUVSTable, cp, cp + 1 /* exclusive */)) { in getVSCoverage()
/frameworks/av/media/libeffects/loudness/common/core/
Dbyte_swapper.h32 char *cp = reinterpret_cast<char *>(&word); in IsLittleEndian() local
33 return cp[0] != 0; in IsLittleEndian()
/frameworks/base/cmds/uiautomator/library/
DAndroid.mk121 $(hide) cp $< $(PRIVATE_API_DIR)/current.txt
123 $(hide) cp $(PRIVATE_REMOVED_API_FILE) $(PRIVATE_API_DIR)/removed.txt
/frameworks/native/opengl/libagl/
Dprimitives.cpp78 const GLvoid* cp = c->arrays.color.element( in lightTriangleDarkSmooth() local
80 c->arrays.color.fetch(c, v0->color.v, cp); in lightTriangleDarkSmooth()
84 const GLvoid* cp = c->arrays.color.element( in lightTriangleDarkSmooth() local
86 c->arrays.color.fetch(c, v1->color.v, cp); in lightTriangleDarkSmooth()
90 const GLvoid* cp = c->arrays.color.element( in lightTriangleDarkSmooth() local
92 c->arrays.color.fetch(c, v2->color.v, cp); in lightTriangleDarkSmooth()
101 const GLvoid* cp = c->arrays.color.element( in lightTriangleDarkFlat() local
103 c->arrays.color.fetch(c, v2->color.v, cp); in lightTriangleDarkFlat()
137 const GLvoid* cp = c->arrays.color.element( in lightVertexDarkSmoothFog() local
139 c->arrays.color.fetch(c, v->color.v, cp); in lightVertexDarkSmoothFog()
[all …]

12