/external/skia/src/views/ |
SkEvent.cpp | 20 void SkEvent::initialize(const char* type, size_t typeLen) { 22 setType(type, typeLen); 103 bool SkEvent::isType(const char type[], size_t typeLen) const 105 if (typeLen == 0) 106 typeLen = strlen(type); 110 return len == typeLen && strncmp(chars, type, typeLen) == 0; 112 return strncmp(fType, type, typeLen) == 0 && fType[typeLen] == 0; 115 void SkEvent::setType(const char type[], size_t typeLen) [all...] |
/frameworks/base/media/libstagefright/ |
OggExtractor.cpp | 909 uint32_t typeLen; 925 typeLen = U32_AT(&flac[4]); 926 if (typeLen + 1 > sizeof(type)) { 930 if (flacSize < 8 + typeLen) { 934 memcpy(type, &flac[8], typeLen); 935 type[typeLen] = '\0'; 944 descLen = U32_AT(&flac[8 + typeLen]); 946 if (flacSize < 32 + typeLen + descLen) { 950 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); 952 if (flacSize < 32 + typeLen + descLen + dataLen) [all...] |
/external/icu4c/common/ |
uloc_tag.c | 698 const char* type, int32_t typeLen, 731 if (typeLen < 0) { 732 typeLen = (int32_t)uprv_strlen(type); 734 if (typeLen >= sizeof(typeBuf)) { 741 for (i = 0; i < typeLen; i++) { 748 typeBuf[typeLen] = 0; 791 if (_isLDMLType(type, typeLen)) { 792 uprv_memcpy(bcpTypeBuf, type, typeLen); 793 resultLen = typeLen; [all...] |
/external/skia/include/views/ |
SkEvent.h | 248 void initialize(const char* type, size_t typeLen);
|
/dalvik/vm/analysis/ |
CodeVerify.cpp | 719 int typeLen = endp - sig; 720 char typeStr[typeLen+1]; /* +1 for the '\0' */ 721 memcpy(typeStr, sig, typeLen); 722 typeStr[typeLen] = '\0'; 759 int typeLen = endp - sig +1; 760 char typeStr[typeLen+1]; 761 memcpy(typeStr, sig, typeLen); 762 typeStr[typeLen] = '\0'; [all...] |
/frameworks/base/include/utils/ |
ResourceTypes.h | [all...] |
/frameworks/base/libs/utils/ |
ResourceTypes.cpp | [all...] |
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 609 str.append(name.type, name.typeLen); 656 return env->NewString((const jchar*)name.type, name.typeLen); [all...] |