Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DOggExtractor.cpp1251 uint32_t typeLen; in extractAlbumArt() local
1267 typeLen = U32_AT(&flac[4]); in extractAlbumArt()
1268 if (typeLen > sizeof(type) - 1) { in extractAlbumArt()
1273 if (flacSize - 8 < typeLen) { in extractAlbumArt()
1277 memcpy(type, &flac[8], typeLen); in extractAlbumArt()
1278 type[typeLen] = '\0'; in extractAlbumArt()
1287 if (flacSize < 32 || flacSize - 32 < typeLen) { in extractAlbumArt()
1291 descLen = U32_AT(&flac[8 + typeLen]); in extractAlbumArt()
1292 if (flacSize - 32 - typeLen < descLen) { in extractAlbumArt()
1296 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); in extractAlbumArt()
[all …]
/frameworks/base/libs/androidfw/tests/
DSplit_test.cpp147 EXPECT_EQ(String16(baseName.type, baseName.typeLen), in TEST_F()
148 String16(frName.type, frName.typeLen)); in TEST_F()
247 EXPECT_EQ(String16("string"), String16(name.type, name.typeLen)); in TEST_F()
DIdmap_test.cpp104 EXPECT_EQ(String16("array"), String16(res_name.type, res_name.typeLen)); in TEST_F()
/frameworks/base/cmds/idmap/
Dinspect.cpp160 *type = String8(String16(data.type, data.typeLen)); in resource_metadata()
/frameworks/base/tools/aapt/
DAaptAssets.cpp402 size_t typeLen; in initFromDirName() local
404 typeLen = q - dir; in initFromDirName()
406 typeLen = strlen(dir); in initFromDirName()
409 String8 type(dir, typeLen); in initFromDirName()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp49 util::Utf16ToUtf8(StringPiece16(name_in.type, name_in.typeLen))); in ToResourceName()
51 type = ParseResourceType(StringPiece(name_in.type8, name_in.typeLen)); in ToResourceName()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1665 size_t typeLen; member
1827 const char16_t* type = 0, size_t typeLen = 0,
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp792 str.append(String16(name.type8, name.typeLen)); in android_content_AssetManager_getResourceName()
794 str.append(name.type, name.typeLen); in android_content_AssetManager_getResourceName()
850 return env->NewString((const jchar*)name.type, name.typeLen); in android_content_AssetManager_getResourceTypeName()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4102 outName->type8 = entry.typeStr.string8(&outName->typeLen); in getResourceName()
4109 outName->type = entry.typeStr.string16(&outName->typeLen); in getResourceName()
4648 const char16_t* type, size_t typeLen, in identifierForName() argument
4737 typeLen = typeEnd-name; in identifierForName()
4750 String8(type, typeLen).string(), in identifierForName()
4773 size_t targetTypeLen = typeLen; in identifierForName()
6834 const String16 overlayType(resName.type, resName.typeLen); in createIdmap()
7153 type8 = String8(resName.type8, resName.typeLen); in print()
7155 type8 = String8(resName.type, resName.typeLen); in print()
7239 type8 = String8(resName.type8, resName.typeLen); in print()
[all …]
/frameworks/base/tools/aapt2/flatten/
DTableFlattener_test.cpp131 << ":" << StringPiece16(actual_name.type, actual_name.typeLen) in Exists()