/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetActiveAttrib.cpp | 185 GLint len = 0; local 186 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len); 187 if (!len) { 190 char* buf = (char*) malloc(len); 233 (GLsizei)len, 281 GLint len = 0; local 282 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len); 283 if (!len) { 286 char* buf = (char*) malloc(len); 306 (GLsizei)len, [all...] |
H A D | glGetActiveUniform.cpp | 187 GLint len = 0; local 188 glGetProgramiv((GLuint)program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &len); 189 if (!len) { 192 char* buf = (char*) malloc(len); 236 (GLsizei)len, 281 GLint len = 0; local 282 glGetProgramiv((GLuint)program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &len); 283 if (!len) { 286 char* buf = (char*) malloc(len); 307 len, [all...] |
H A D | glGetTransformFeedbackVarying.cpp | 205 GLint len = 0; local 206 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len); 207 if (!len) { 210 char* buf = (char*) malloc(len); 253 (GLsizei)len, 301 GLint len = 0; local 302 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len); 303 if (!len) { 306 char* buf = (char*) malloc(len); 326 (GLsizei)len, [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | Utils.java | 64 int len = (mac & ~EUI48Mask) != 0 ? EUI64Length : EUI48Length; 67 for (int n = (len - 1)*Byte.SIZE; n >= 0; n -= Byte.SIZE) { 86 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length(); 87 if (!domain.get(n).regionMatches(0, expect, 0, len)) { 226 public static String bytesToBingoCard(ByteBuffer data, int len) { argument 228 dup.limit(dup.position() + len);
|
/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 | 198 size_t len = strlen((const char *) pDataLocator->mURI.URI); local 199 SLchar *myURI = (SLchar *) malloc(len + 1); 203 memcpy(myURI, pDataLocator->mURI.URI, len + 1); 206 if ('\0' != myURI[len]) { 502 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType); local 503 SLchar *myMIME = (SLchar *) malloc(len + 1); 507 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1); 509 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 | 358 size_t len = strlen(argv[1]); local 359 if ((!usemp4 && len >= 3 && !strcasecmp(".ts", &argv[1][len - 3])) || 360 (usemp4 && len >= 4 && 361 (!strcasecmp(".mp4", &argv[1][len - 4]) 362 || !strcasecmp(".3gp", &argv[1][len- 4]) 363 || !strcasecmp(".3g2", &argv[1][len- 4])))) {
|
/frameworks/av/media/libmedia/ |
H A D | IMediaSource.cpp | 174 int32_t len = reply.readInt32(); local 175 ALOGV("INLINE_BUFFER status %d and len %d", ret, len); 176 buf = new MediaBuffer(len); 177 reply.read(buf->data(), len); 334 uint32_t len; local 336 data.readUint32(&len) == NO_ERROR 337 && len == sizeof(opts) 338 && data.read((void *)&opts, len) == NO_ERROR;
|
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2Param.h | 352 inline static C2Param* From(void *addr, size_t len) { argument 354 if (len < sizeof(_mSize) + offsetof(C2Param, _mSize)) { 359 if (param->_mSize != len) {
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | transform.c | 439 Word16 len, /*!< Length of input vector */ 446 for(i=0; i<len; i++){ 438 getScalefactorOfShortVectorStride(const Word16 *vector, Word16 len, Word16 stride) argument
|
/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 | 568 int len = n / 2; local 572 if (len > 0) { 573 framedatacopy = new (std::nothrow) char16_t[len]; 577 for (int i = 0; i < len; i++) { 583 id->setTo(framedata, len); 590 int len = n / 2; local 595 if (len <= 1) { 598 framedatacopy = new (std::nothrow) char16_t[len]; 602 for (int i = 0; i < len; i++) { 608 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 | 56 size_t len = local 59 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { 60 value->setTo(&s[keyLen + 1], len - keyLen - 1);
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 248 size_t len = buffer->size(); local 250 while (len > 0) { 253 if (len < 16) { 259 len -= 16; 262 if (len < 4) { 268 len -= 4; 270 if (len < datalen) { 276 len -= datalen;
|