/frameworks/rs/cpp/ |
H A D | Element.cpp | 436 size_t len = strlen(s1); local 437 if (strlen(s2) >= len) { 438 if (!memcmp(s1, s2, len)) {
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic3DLUT.cpp | 81 int32_t len = x2 - x1; local 82 if(len > 0) { 83 rsdIntrinsic3DLUT_K(out, in, len, 86 x1 += len; 87 out += len; 88 in += len;
|
H A D | rsCpuIntrinsicConvolve3x3.cpp | 209 int32_t len = (x2 - x1 - 1) >> 1; local 210 if(len > 0) { 211 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); 212 x1 += len << 1; 213 out += len << 1; 255 int32_t len = (x2 - x1 - 1) >> 1; 256 if(len > 0) { 257 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); 258 x1 += len << 1; 259 out += len << [all...] |
H A D | rsCpuIntrinsicConvolve5x5.cpp | 380 uint32_t len = (x2 - x1 - 3) >> 2; local 381 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); 382 out += len << 2; 383 x1 += len << 2; 389 uint32_t len = (x2 - x1 - 3) >> 1; local 390 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); 391 out += len << 1; 392 x1 += len << 1; 438 uint32_t len = (x2 - x1 - 3) >> 1; 439 rsdIntrinsicConvolve5x5_K(out, py0, py1, py2, py3, py4, cp->ip, len); [all...] |
H A D | rsCpuIntrinsicYuvToRGB.cpp | 161 int32_t len = x2 - x1; local 164 x1 += len; 165 out += len; 173 x1 += len; 174 out += len; 177 x1 += len; 178 out += len;
|
/frameworks/rs/driver/runtime/ |
H A D | rs_quaternion.c | 86 const float len = x*x + y*y + z*z; local 87 if (len != 1) { 88 const float recipLen = 1.f / sqrt(len); 98 const float len = rsQuaternionDot(q, q); local 99 if (len != 1) { 100 const float recipLen = 1.f / sqrt(len);
|
/frameworks/rs/ |
H A D | rsFileA3D.cpp | 144 size_t len; local 147 len = fread(magicString, 1, 12, f); 148 if ((len != 12) || 155 len = fread(&headerSize, 1, sizeof(headerSize), f); 156 if (len != sizeof(headerSize) || headerSize == 0) { 165 len = fread(headerData, 1, headerSize, f); 166 if (len != headerSize) { 178 len = fread(&mDataSize, 1, sizeof(mDataSize), f); 179 if (len != sizeof(mDataSize) || mDataSize == 0) { 191 len [all...] |
H A D | rsMatrix4x4.cpp | 213 const float len = x*x + y*y + z*z; local 214 if (len != 1) { 215 const float recipLen = 1.f / sqrtf(len);
|
H A D | rsScriptC.cpp | 241 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument 255 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len);
|
H A D | rsType.cpp | 226 const RsTypeCreateParams *params, size_t len) { 377 RsType rsi_TypeCreate2(Context *rsc, const RsTypeCreateParams *p, size_t len) { argument 379 return Type::getType(rsc, e, p, len); 225 getTypeRef(Context *rsc, const Element *e, const RsTypeCreateParams *params, size_t len) argument
|
/frameworks/wilhelm/src/ |
H A D | data.cpp | 196 size_t len = strlen((const char *) pDataLocator->mURI.URI); local 197 SLchar *myURI = (SLchar *) malloc(len + 1); 201 memcpy(myURI, pDataLocator->mURI.URI, len + 1); 204 if ('\0' != myURI[len]) { 500 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType); local 501 SLchar *myMIME = (SLchar *) malloc(len + 1); 505 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1); 507 if ('\0' != myMIME[len]) {
|
/frameworks/av/camera/ |
H A D | VendorTagDescriptor.cpp | 66 size_t len = mReverseMapping.size(); local 67 for (size_t i = 0; i < len; ++i) { 89 size_t len = mReverseMapping.size(); 90 for (size_t i = 0; i < len; ++i) { 95 len = src.mReverseMapping.size(); 97 for (size_t i = 0; i < len; ++i) {
|
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 361 size_t len = strlen(argv[1]); local 362 if ((!usemp4 && len >= 3 && !strcasecmp(".ts", &argv[1][len - 3])) || 363 (usemp4 && len >= 4 && 364 (!strcasecmp(".mp4", &argv[1][len - 4]) 365 || !strcasecmp(".3gp", &argv[1][len- 4]) 366 || !strcasecmp(".3g2", &argv[1][len- 4])))) {
|
/frameworks/av/media/extractors/aac/ |
H A D | AACExtractor.cpp | 351 size_t len = local 357 len += 10; 359 pos += len;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaSource.cpp | 176 int32_t len = reply.readInt32(); local 177 ALOGV("INLINE_BUFFER status %d and len %d", ret, len); 178 buf = new MediaBuffer(len); 179 reply.read(buf->data(), len); 331 uint32_t len; local 333 data.readUint32(&len) == NO_ERROR 334 && len == sizeof(opts) 335 && data.read((void *)&opts, len) == NO_ERROR;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_decode.cpp | 469 PV_BitstreamFlushBits(stream, PV_TMNMVtab0[code].len + 1); 477 PV_BitstreamFlushBits(stream, PV_TMNMVtab1[code].len + 1); 490 PV_BitstreamFlushBits(stream, PV_TMNMVtab2[code].len + 1); 523 PV_BitstreamFlushBits(stream, PV_MCBPCtabintra[code].len); 552 PV_BitstreamFlushBits(stream, PV_MCBPCtab[code].len); 574 PV_BitstreamFlushBits(stream, PV_MCBPCtab[code >> 4].len); 579 PV_BitstreamFlushBits(stream, PV_MCBPCtab1[code - 8].len); 609 PV_BitstreamFlushBits(stream, PV_CBPYtab[code].len); 871 PV_BitstreamFlushBits(stream, tab->len + 1); 872 pTcoef->sign = (code >> (12 - tab->len)) 1475 int count, len, num[2] = {0, 0} /* 01/30/01 */; local 1558 int count, len, num[2] = {0, 0} /* 01/30/01 */; local [all...] |
/frameworks/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 587 int len = n / 2; local 591 if (len > 0) { 592 framedatacopy = new (std::nothrow) char16_t[len]; 596 for (int i = 0; i < len; i++) { 602 id->setTo(framedata, len); 609 int len = n / 2; local 610 if (len == 0) { 617 if (len <= 1) { 620 framedatacopy = new (std::nothrow) char16_t[len]; 624 for (int i = 0; i < len; [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 47 size_t len = local 50 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { 51 value->setTo(&s[keyLen + 1], len - keyLen - 1);
|
H A D | APacketSource.cpp | 55 size_t len = local 58 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { 59 value->setTo(&s[keyLen + 1], len - keyLen - 1);
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 419 size_t len = 0; local 429 len = sizeof(short); 437 len = sizeof(int); 445 len = sizeof(float); 458 len = sizeof(bool); 460 len = strnlen(node->value, EFFECT_STRING_LEN_MAX); 461 if (*curSize + len + 1 > *totSize) { 462 *totSize = *curSize + len + 1; 465 len = 0; 466 ALOGE("%s realloc error for string len [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 49 static TypedArray obtain(Resources res, int len) { argument 60 attrs.resize(len); 88 private void resize(int len) { argument 89 mLength = len; 90 final int dataLen = len * STYLE_NUM_ENTRIES; 91 final int indicesLen = len + 1;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 166 private void escapeAndAppendString(char[] buf, int start, int len) throws IOException { argument 169 int end = start+len; 392 public XmlSerializer text(char[] buf, int start, int len) throws IOException, argument 398 escapeAndAppendString(buf, start, len); 400 mLineStart = buf[start+len-1] == '\n';
|
/frameworks/base/core/jni/ |
H A D | android_database_CursorWindow.cpp | 304 const char* str, size_t len) { 305 ssize_t size = utf8_to_utf16_length(reinterpret_cast<const uint8_t*>(str), len); 313 utf8_to_utf16_no_null_terminator(reinterpret_cast<const uint8_t*>(str), len, local 432 jsize len = env->GetArrayLength(valueObj); local 435 status_t status = window->putBlob(row, column, value, len); 443 LOG_WINDOW("%d,%d is BLOB with %u bytes", row, column, len); 303 fillCharArrayBufferUTF(JNIEnv* env, jobject bufferObj, const char* str, size_t len) argument
|
/frameworks/base/libs/hwui/ |
H A D | Matrix.cpp | 513 float len; local 514 len = data[mat4::kScaleX] * data[mat4::kScaleX] + data[mat4::kSkewX] * data[mat4::kSkewX]; 515 sx = copysignf(sqrtf(len), data[mat4::kScaleX]); 516 len = data[mat4::kScaleY] * data[mat4::kScaleY] + data[mat4::kSkewY] * data[mat4::kSkewY]; 517 sy = copysignf(sqrtf(len), data[mat4::kScaleY]);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | FieldPacker.java | 31 public FieldPacker(int len) { argument 33 mLen = len; 34 mData = new byte[len];
|