/frameworks/support/compat/java/android/support/v4/graphics/ |
H A D | TypefaceCompatUtil.java | 108 ByteBufferInputStream(ByteBuffer buf) { argument 109 mBuf = buf;
|
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | LogWriter.java | 55 @Override public void write(char[] buf, int offset, int count) { argument 57 char c = buf[offset + i];
|
/frameworks/rs/cpp/ |
H A D | RenderScript.cpp | 88 char buf[256]; local 89 android::renderscript::property_get(str, buf, "0"); 90 return atoi(buf);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuExecutable.cpp | 205 char buf[len + 1]; local 211 buf[i] = 'a' + r; 214 buf[i] = 'A' + (r - 26); 217 buf[i] = '0' + (r - 52); 220 buf[len] = '\0'; 221 return std::string(buf);
|
H A D | rsCpuIntrinsicBlur.cpp | 294 float4 *buf = &stackbuf[0]; local 323 buf = (float4 *) ((((intptr_t)cp->mScratch[info->lid]) + 15) & ~0xf); 325 float4 *fout = (float4 *)buf; 341 OneHU4(info, out, x1, buf, cp->mFp, cp->mIradius); 348 rsdIntrinsicBlurHFU4_K(out, buf - cp->mIradius, cp->mFp, 356 OneHU4(info, out, x1, buf, cp->mFp, cp->mIradius); 365 float buf[4 * 2048]; local 391 float *fout = (float *)buf; 408 OneHU1(info, out, x1, buf, cp->mFp, cp->mIradius); 418 // rsdIntrinsicBlurHFU1_K() processes each four float values in |buf| a [all...] |
H A D | rsCpuIntrinsicColorMatrix.cpp | 367 memcpy(buf, &_N_ColorMatrix_##x, _N_ColorMatrix_##x##_len); \ 368 buf += _N_ColorMatrix_##x##_len 371 static uint8_t * addBranch(uint8_t *buf, const uint8_t *target, uint32_t condition) { argument 372 size_t off = (target - buf - 8) >> 2; 379 ((uint32_t *)buf)[0] = op; 380 return buf + 4; 394 static uint8_t * addVMLAL_S16(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint32_t src_d2_s) { 397 ((uint32_t *)buf)[0] = op; 398 return buf + 4; 401 static uint8_t * addVMULL_S16(uint8_t *buf, uint32_ [all...] |
H A D | rsCpuScript.cpp | 161 char buf[PROP_VALUE_MAX]; local 162 android::renderscript::property_get("ro.debuggable", buf, ""); 163 return (buf[0] == '1'); 173 char buf[256]; local 175 ssize_t nread = read(FD, buf, sizeof(buf)); 181 checksum = adler32(checksum, (const unsigned char *) buf, nread); 182 if (static_cast<size_t>(nread) < sizeof(buf)) // EOF
|
H A D | rsCpuScript.h | 177 char buf[PROP_VALUE_MAX]; local 180 android::renderscript::property_get("debug.rs.precision", buf, ""); 181 if (buf[0] != '\0') { 186 android::renderscript::property_get("debug.rs.forcerecompile", buf, "0"); 187 if ((::strcmp(buf, "1") == 0) || (::strcmp(buf, "true") == 0)) {
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 156 char buf[256]; local 157 snprintf(buf, sizeof(buf), "Error: Call to unsupported function %s " 159 rsc->setError(RS_ERROR_FATAL_DRIVER, buf); 475 char buf[256]; local 477 snprintf(buf, sizeof(buf), "Out range ElementAt X %i of %i", x, t->getLODDimX(0)); 478 rsc->setError(RS_ERROR_FATAL_DEBUG, buf); 483 snprintf(buf, sizeof(buf), "Ou [all...] |
H A D | rsdShader.cpp | 258 char* buf = (char*) malloc(infoLen); local 259 if (buf) { 260 RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, nullptr, buf); 261 rsc->setError(RS_ERROR_FATAL_PROGRAM_LINK, buf); 262 free(buf);
|
H A D | rsdShaderCache.cpp | 163 char* buf = (char*) malloc(bufLength); local 164 if (buf) { 165 glGetProgramInfoLog(pgm, bufLength, nullptr, buf); 166 rsc->setError(RS_ERROR_FATAL_PROGRAM_LINK, buf); 167 free(buf);
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 199 char buf[1024]; local 200 snprintf(buf, sizeof(buf), 203 rsc->setError(RS_ERROR_BAD_VALUE, buf); 230 char buf[1024]; local 231 snprintf(buf, sizeof(buf), 234 rsc->setError(RS_ERROR_BAD_VALUE, buf); 250 char buf[1024]; local 251 snprintf(buf, sizeo 354 char buf[1024]; local [all...] |
H A D | rsContext.cpp | 202 char buf[PROP_VALUE_MAX]; local 203 property_get(str, buf, "0"); 204 return atoi(buf);
|
H A D | rsHidlAdaptation.cpp | 63 char buf[PROPERTY_VALUE_MAX]; local 64 property_get(str, buf, "0"); 65 return atoi(buf);
|
H A D | rsStream.cpp | 24 IStream::IStream(const uint8_t *buf, bool use64) { argument 25 mData = buf;
|
H A D | rsThreadIO.cpp | 79 uint32_t buf; local 81 data = &buf; 82 dataLen = sizeof(buf); 89 uint32_t buf; local 91 data = &buf; 92 dataLen = sizeof(buf); 105 uint8_t buf[2 * 1024]; local 106 const CoreCmdHeader *cmd = (const CoreCmdHeader *)&buf[0]; 107 const void * data = (const void *)&buf[sizeof(CoreCmdHeader)]; 134 r = mToCore.read(&buf[ [all...] |
H A D | rsType.cpp | 152 char buf[1024]; local 160 snprintf(buf, sizeof(buf), "%s element: ", prefix); 161 mElement->dumpLOGV(buf);
|
/frameworks/rs/rsov/driver/ |
H A D | rsovRuntimeStubs.cpp | 142 char buf[256]; local 143 snprintf(buf, sizeof(buf), 147 rsc->setError(RS_ERROR_FATAL_DRIVER, buf); 442 char buf[256]; local 444 snprintf(buf, sizeof(buf), "Out range ElementAt X %i of %i", x, 446 rsc->setError(RS_ERROR_FATAL_DEBUG, buf); 451 snprintf(buf, sizeof(buf), "Ou [all...] |
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 851 char buf[1024]; local 856 buf, sizeof(buf), 863 return _env->NewStringUTF(buf);
|
/frameworks/rs/tests/cpp_api/cpp-globalguard/ |
H A D | compute.cpp | 61 uint32_t* buf = new uint32_t[numElems]; local 63 buf[ct] = (uint32_t)ct; 66 ain->copy1DRangeFrom(0, numElems, buf); 70 aout->copy1DRangeTo(0, numElems, buf); 73 if (buf[ct] != ct * 2) { 74 printf("Mismatch at location %d: %u\n", ct, buf[ct]);
|
/frameworks/rs/tests/cpp_api/cppallocation/ |
H A D | compute.cpp | 38 uint32_t* buf = new uint32_t[numElems]; local 40 buf[ct] = (uint32_t)ct; 43 ain->copy1DRangeFrom(0, numElems, buf); 47 aout->copy1DRangeTo(0, numElems, buf); 50 if (buf[ct] != ct * 2) { 51 printf("Mismatch at location %d: %u\n", ct, buf[ct]);
|
/frameworks/rs/tests/cpp_api/cppbasic/ |
H A D | compute.cpp | 56 uint32_t *buf = new uint32_t[t->getCount()]; local 58 buf[ct] = ct | (ct << 16); 60 ain->copy1DRangeFrom(0, t->getCount(), buf); 61 delete [] buf; 85 int *buf = new int[t->getCount()]; local 87 buf[ct] = 5; 89 kern1_in->copy2DRangeFrom(0, 0, xDim, yDim, buf); 90 delete [] buf;
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
H A D | compute.cpp | 56 uint32_t *buf = new uint32_t[t->getCount()]; local 58 buf[ct] = ct | (ct << 16); 60 ain->copy1DRangeFrom(0, t->getCount(), buf); 61 delete [] buf; 85 int *buf = new int[t->getCount()]; local 87 buf[ct] = 5; 89 kern1_in->copy2DRangeFrom(0, 0, xDim, yDim, buf); 90 delete [] buf;
|
/frameworks/rs/tests/cpp_api/cppstrided/ |
H A D | compute.cpp | 40 uint32_t* buf = (uint32_t*) malloc(stride * numElems * sizeof(uint32_t)); local 41 if (!buf) { 48 *(buf+(stride*i)+ct) = (uint32_t)ct + (i * numElems); 52 ain->copy2DStridedFrom(buf, stride * sizeof(uint32_t)); 56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t)); 60 if (*(buf+(stride*i)+ct) != (uint32_t)(ct + (i * numElems)) * 2) { 61 printf("Mismatch at location %d, %d: %u\n", i, ct, *(buf+(stride*i)+ct));
|
/frameworks/rs/tests/cpp_api/latency/ |
H A D | latency.cpp | 68 uint32_t *buf = new uint32_t[numElems]; local 94 ain->copy1DFrom(buf); 96 aout->copy1DTo(buf);
|