/frameworks/base/include/utils/ |
H A D | ZipFileRO.h | 211 unsigned short nameLen; member in struct:android::ZipFileRO::HashEntry
|
H A D | BackupHelpers.h | 49 int nameLen; member in struct:android::FileState
|
H A D | ResourceTypes.h | 1754 size_t nameLen; member in struct:android::ResTable::resource_name 1899 uint32_t identifierForName(const char16_t* name, size_t nameLen, 1934 const char16_t* name, size_t nameLen, 1937 const char16_t* name, size_t nameLen,
|
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 282 jsize nameLen = env->GetStringLength(name); local 284 jint idx = (jint)st->indexOfAttribute(ns16, nsLen, name16, nameLen);
|
H A D | android_util_AssetManager.cpp | 583 jsize nameLen = env->GetStringLength(name); local 594 name16, nameLen, defType16, defTypeLen, defPackage16, defPackageLen); 636 str.append(name.name, name.nameLen); 696 return env->NewString((const jchar*)name.name, name.nameLen);
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_rights_manager.c | 58 int32_t nameLen; local 67 nameLen = strlen(DRM_UID_FILE_PATH); 68 nameLen = DRM_i18n_mbsToWcs(DRM_CHARSET_UTF8, 70 nameLen, 75 nameLen, 80 nameLen, 86 nameLen, 118 nameLen, 158 int32_t nameLen = 0; local 169 nameLen 256 int32_t nameLen = 0; local 385 int32_t nameLen = 0; local 421 int32_t nameLen = 0; local 446 int32_t nameLen = 0; local [all...] |
H A D | drm_file.c | 85 * @param nameLen number of unicode characters in name 90 getFileStat(const uint16_t *name, int32_t nameLen, struct stat *sbuf) argument 92 Trace("getFileStat: %.*S", nameLen, name); 94 if (convertFilename(name, nameLen, tmpPathBuf1) <= 0) 365 DRM_file_getFileLength(const uint16_t *name, int32_t nameLen) argument 369 if (getFileStat(name, nameLen, &sbuf)) 378 nameLen, name, (int32_t)sbuf.st_size); 388 DRM_file_delete(const uint16_t *name, int32_t nameLen) argument 390 Trace("DRM_file_delete: %.*S", nameLen, name); 392 if (convertFilename(name, nameLen, tmpPathBuf 466 DRM_file_exists(const uint16_t *name, int32_t nameLen) argument 491 DRM_file_open(const uint16_t *name, int32_t nameLen, int32_t mode, int32_t* handle) argument [all...] |
/frameworks/base/libs/utils/ |
H A D | BackupHelpers.cpp | 119 int nameBufSize = round_up(file.nameLen); 125 snapshot->add(String8(filename, file.nameLen), file); 177 int nameLen = r.s.nameLen = name.length(); local 186 amt = write(fd, name.string(), nameLen); 187 if (amt != nameLen) { 191 int paddingLen = ROUND_UP[nameLen % 4]; 707 states[0].nameLen = -12; 717 states[1].nameLen = -1; 727 states[2].nameLen [all...] |
H A D | ZipFileRO.cpp | 409 mHashTable[ent].nameLen = strLen; 427 int nameLen = strlen(fileName); local 428 unsigned int hash = computeHash(fileName, nameLen); 432 if (mHashTable[ent].nameLen == nameLen && 433 memcmp(mHashTable[ent].name, fileName, nameLen) == 0) 629 int nameLen = mHashTable[ent].nameLen; local 630 if (bufLen < nameLen+1) 631 return nameLen [all...] |
H A D | AssetManager.cpp | 1081 int nameLen; local 1084 nameLen = strlen(name); 1085 if (nameLen > exclExtLen && 1086 strcmp(name + (nameLen - exclExtLen), kExcludeExtension) == 0) 1088 String8 match(name, nameLen - exclExtLen);
|
H A D | ResourceTypes.cpp | 1880 dtohl(entry->key.index), &outName->nameLen); 2390 uint32_t ResTable::identifierForName(const char16_t* name, size_t nameLen, argument 2406 if (len != nameLen) { 2418 if (nameLen > 7) { 2422 int index = atoi(String8(name + 7, nameLen - 7).string()); 2442 const char16_t* const nameEnd = name+nameLen; 2473 nameLen = nameEnd-name; 2477 String8(name, nameLen).string(), 2496 const ssize_t ei = group->basePackage->keyStrings.indexOfString(name, nameLen); 2538 String8(name, nameLen) [all...] |
/frameworks/base/media/libdrm/mobile1/src/xml/ |
H A D | xml_tinyparser.c | 40 int32_t nameLen, valueLen; local 63 XML_DOM_getAttr(buffer, &name, &nameLen, &value, &valueLen)) 108 uint8_t *XML_DOM_getAttr(uint8_t *buffer, uint8_t **pName, int32_t *nameLen, argument 141 *nameLen = buffer - *pName; 142 if (*nameLen <= 0) { 716 int32_t nameLen, valueLen; local 730 XML_DOM_getAttr(pAttr, &pName, &nameLen, &pValue, 737 strncpy((char *)attr->name, (char *)pName, nameLen);
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 994 const size_t nameLen = file->getPath().length(); local 1021 if (nameLen > 6) { 1023 if (name[nameLen-5] == '9' && name[nameLen-6] == '.') {
|
H A D | ResourceTable.cpp | 103 size_t nameLen; member in struct:flag_entry 188 if (strzcmp16(cur->name, cur->nameLen, str, div-str) == 0) { 2184 uint32_t attrID, const char16_t* name, size_t nameLen, 2187 //printf("getAttributeEnum #%08x %s\n", attrID, String8(name, nameLen).string()); 2188 String16 nameStr(name, nameLen); 2193 //printf("Comparing %s to %s\n", String8(name, nameLen).string(), 2204 uint32_t attrID, const char16_t* name, size_t nameLen, 2210 //printf("getAttributeFlags #%08x %s\n", attrID, String8(name, nameLen).string()); 2211 String16 nameStr(name, nameLen); 2216 const char16_t* end = name + nameLen; 2183 getAttributeEnum( uint32_t attrID, const char16_t* name, size_t nameLen, Res_value* outValue) argument 2203 getAttributeFlags( uint32_t attrID, const char16_t* name, size_t nameLen, Res_value* outValue) argument [all...] |