Home
last modified time | relevance | path

Searched refs:typeLen (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/
DOggExtractor.cpp958 uint32_t typeLen; in extractAlbumArt() local
974 typeLen = U32_AT(&flac[4]); in extractAlbumArt()
975 if (typeLen + 1 > sizeof(type)) { in extractAlbumArt()
979 if (flacSize < 8 + typeLen) { in extractAlbumArt()
983 memcpy(type, &flac[8], typeLen); in extractAlbumArt()
984 type[typeLen] = '\0'; in extractAlbumArt()
993 descLen = U32_AT(&flac[8 + typeLen]); in extractAlbumArt()
995 if (flacSize < 32 + typeLen + descLen) { in extractAlbumArt()
999 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); in extractAlbumArt()
1001 if (flacSize < 32 + typeLen + descLen + dataLen) { in extractAlbumArt()
[all …]
/frameworks/base/libs/androidfw/tests/
DSplit_test.cpp138 String16(baseName.type, baseName.typeLen), in TEST()
139 String16(frName.type, frName.typeLen)); in TEST()
227 String16(name.type, name.typeLen)); in TEST()
DIdmap_test.cpp111 EXPECT_EQ(String16("array"), String16(resName.type, resName.typeLen)); in TEST_F()
/frameworks/base/cmds/idmap/
Dinspect.cpp159 *type = String8(String16(data.type, data.typeLen)); in resource_metadata()
/frameworks/base/tools/aapt/
DAaptAssets.cpp426 size_t typeLen; in initFromDirName() local
428 typeLen = q - dir; in initFromDirName()
430 typeLen = strlen(dir); in initFromDirName()
433 String8 type(dir, typeLen); in initFromDirName()
/frameworks/base/include/androidfw/
DResourceTypes.h1536 size_t typeLen; member
1690 const char16_t* type = 0, size_t typeLen = 0,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3589 outName->type8 = entry.typeStr.string8(&outName->typeLen); in getResourceName()
3596 outName->type = entry.typeStr.string16(&outName->typeLen); in getResourceName()
4073 const char16_t* type, size_t typeLen, in identifierForName() argument
4160 typeLen = typeEnd-name; in identifierForName()
4172 String8(type, typeLen).string(), in identifierForName()
4192 size_t targetTypeLen = typeLen; in identifierForName()
6091 const String16 overlayType(resName.type, resName.typeLen); in createIdmap()
6408 type8 = String8(resName.type8, resName.typeLen); in print()
6410 type8 = String8(resName.type, resName.typeLen); in print()
6470 type8 = String8(resName.type8, resName.typeLen); in print()
[all …]
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp699 str.append(String16(name.type8, name.typeLen)); in android_content_AssetManager_getResourceName()
701 str.append(name.type, name.typeLen); in android_content_AssetManager_getResourceName()
757 return env->NewString((const jchar*)name.type, name.typeLen); in android_content_AssetManager_getResourceTypeName()