Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp239 uint32_t typeLen; in extractAlbumArt() local
257 typeLen = U32_AT(&flac[4]); in extractAlbumArt()
258 if (typeLen > sizeof(type) - 1) { in extractAlbumArt()
264 if (flacSize - 8 < typeLen) { in extractAlbumArt()
269 memcpy(type, &flac[8], typeLen); in extractAlbumArt()
270 type[typeLen] = '\0'; in extractAlbumArt()
280 if (flacSize < 32 || flacSize - 32 < typeLen) { in extractAlbumArt()
285 descLen = U32_AT(&flac[8 + typeLen]); in extractAlbumArt()
286 if (flacSize - 32 - typeLen < descLen) { in extractAlbumArt()
291 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.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.h1775 size_t typeLen; member
1949 const char16_t* type = 0, size_t typeLen = 0,
/frameworks/base/tools/aapt2/
DResourceUtils.cpp57 util::Utf16ToUtf8(StringPiece16(name_in.type, name_in.typeLen))); in ToResourceName()
59 type = ParseResourceType(StringPiece(name_in.type8, name_in.typeLen)); in ToResourceName()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4305 outName->type8 = entry.typeStr.string8(&outName->typeLen); in getResourceName()
4312 outName->type = entry.typeStr.string16(&outName->typeLen); in getResourceName()
4851 const char16_t* type, size_t typeLen, in identifierForName() argument
4940 typeLen = typeEnd-name; in identifierForName()
4953 String8(type, typeLen).string(), in identifierForName()
4976 size_t targetTypeLen = typeLen; in identifierForName()
7180 current_res.typeLen, in createIdmap()
7495 type8 = String8(resName.type8, resName.typeLen); in print()
7497 type8 = String8(resName.type, resName.typeLen); in print()
7582 type8 = String8(resName.type8, resName.typeLen); in print()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp129 << StringPiece16(actual_name.type, actual_name.typeLen) << "/" in Exists()