Home
last modified time | relevance | path

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

/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp410 uint32_t typeLen; in extractAlbumArt() local
428 typeLen = U32_AT(&flac[4]); in extractAlbumArt()
429 if (typeLen > sizeof(type) - 1) { in extractAlbumArt()
435 if (flacSize - 8 < typeLen) { in extractAlbumArt()
440 memcpy(type, &flac[8], typeLen); in extractAlbumArt()
441 type[typeLen] = '\0'; in extractAlbumArt()
451 if (flacSize < 32 || flacSize - 32 < typeLen) { in extractAlbumArt()
456 descLen = U32_AT(&flac[8 + typeLen]); in extractAlbumArt()
457 if (flacSize - 32 - typeLen < descLen) { in extractAlbumArt()
462 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()
/frameworks/base/tools/aapt/
DAaptAssets.cpp403 size_t typeLen; in initFromDirName() local
405 typeLen = q - dir; in initFromDirName()
407 typeLen = strlen(dir); in initFromDirName()
410 String8 type(dir, typeLen); in initFromDirName()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1986 size_t typeLen; member
2160 const char16_t* type = 0, size_t typeLen = 0,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4552 outName->type8 = UnpackOptionalString(entry.typeStr.string8(), &outName->typeLen); in getResourceName()
4559 outName->type = UnpackOptionalString(entry.typeStr.string16(), &outName->typeLen); in getResourceName()
5093 const char16_t* type, size_t typeLen, in identifierForName() argument
5182 typeLen = typeEnd-name; in identifierForName()
5195 String8(type, typeLen).c_str(), in identifierForName()
5218 size_t targetTypeLen = typeLen; in identifierForName()
7458 current_res.typeLen, in createIdmap()
7773 type8 = String8(resName.type8, resName.typeLen); in print()
7775 type8 = String8(resName.type, resName.typeLen); in print()
7869 type8 = String8(resName.type8, resName.typeLen); in print()
[all …]
/frameworks/base/tools/aapt2/
DResourceUtils.cpp71 ToResourceNamedType(name_in.type, name_in.name8, name_in.typeLen); in ToResourceName()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp131 << StringPiece16(actual_name.type, actual_name.typeLen) << "/" in Exists()