/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_rights_manager.c | 58 int32_t nameLen; in drm_writeToUidTxt() local 67 nameLen = strlen(DRM_UID_FILE_PATH); in drm_writeToUidTxt() 68 nameLen = DRM_i18n_mbsToWcs(DRM_CHARSET_UTF8, in drm_writeToUidTxt() 70 nameLen, in drm_writeToUidTxt() 75 nameLen, in drm_writeToUidTxt() 80 nameLen, in drm_writeToUidTxt() 86 nameLen, in drm_writeToUidTxt() 118 nameLen, in drm_writeToUidTxt() 158 int32_t nameLen = 0; in drm_readFromUidTxt() local 169 nameLen = strlen(DRM_UID_FILE_PATH); in drm_readFromUidTxt() [all …]
|
D | drm_file.c | 90 getFileStat(const uint16_t *name, int32_t nameLen, struct stat *sbuf) in getFileStat() argument 92 Trace("getFileStat: %.*S", nameLen, name); in getFileStat() 94 if (convertFilename(name, nameLen, tmpPathBuf1) <= 0) in getFileStat() 365 DRM_file_getFileLength(const uint16_t *name, int32_t nameLen) in DRM_file_getFileLength() argument 369 if (getFileStat(name, nameLen, &sbuf)) in DRM_file_getFileLength() 378 nameLen, name, (int32_t)sbuf.st_size); in DRM_file_getFileLength() 388 DRM_file_delete(const uint16_t *name, int32_t nameLen) in DRM_file_delete() argument 390 Trace("DRM_file_delete: %.*S", nameLen, name); in DRM_file_delete() 392 if (convertFilename(name, nameLen, tmpPathBuf1) <= 0) in DRM_file_delete() 466 DRM_file_exists(const uint16_t *name, int32_t nameLen) in DRM_file_exists() argument [all …]
|
/frameworks/base/core/jni/ |
D | android_os_Debug.cpp | 123 int len, nameLen; in read_mapinfo() local 160 nameLen = strlen(name); in read_mapinfo() 172 } else if (nameLen > 3 && strcmp(name+nameLen-3, ".so") == 0) { in read_mapinfo() 174 } else if (nameLen > 4 && strcmp(name+nameLen-4, ".jar") == 0) { in read_mapinfo() 176 } else if (nameLen > 4 && strcmp(name+nameLen-4, ".apk") == 0) { in read_mapinfo() 178 } else if (nameLen > 4 && strcmp(name+nameLen-4, ".ttf") == 0) { in read_mapinfo() 180 } else if (nameLen > 4 && strcmp(name+nameLen-4, ".dex") == 0) { in read_mapinfo() 182 } else if (nameLen > 0) { in read_mapinfo()
|
D | android_util_XmlBlock.cpp | 272 jsize nameLen = env->GetStringLength(name); in android_content_XmlBlock_nativeGetAttributeIndex() local 274 jint idx = (jint)st->indexOfAttribute(ns16, nsLen, name16, nameLen); in android_content_XmlBlock_nativeGetAttributeIndex()
|
D | android_util_AssetManager.cpp | 616 str.append(name.name, name.nameLen); in android_content_AssetManager_getResourceName() 676 return env->NewString((const jchar*)name.name, name.nameLen); in android_content_AssetManager_getResourceEntryName()
|
/frameworks/native/libs/utils/ |
D | ZipFileRO.cpp | 428 mHashTable[ent].nameLen = strLen; in addToHash() 446 int nameLen = strlen(fileName); in findEntryByName() local 447 unsigned int hash = computeHash(fileName, nameLen); in findEntryByName() 451 if (mHashTable[ent].nameLen == nameLen && in findEntryByName() 452 memcmp(mHashTable[ent].name, fileName, nameLen) == 0) in findEntryByName() 648 int nameLen = mHashTable[ent].nameLen; in getEntryFileName() local 649 if (bufLen < nameLen+1) in getEntryFileName() 650 return nameLen+1; in getEntryFileName() 652 memcpy(buffer, mHashTable[ent].name, nameLen); in getEntryFileName() 653 buffer[nameLen] = '\0'; in getEntryFileName()
|
/frameworks/base/media/libdrm/mobile1/src/xml/ |
D | xml_tinyparser.c | 40 int32_t nameLen, valueLen; in xml_goto_tagend() local 63 XML_DOM_getAttr(buffer, &name, &nameLen, &value, &valueLen)) in xml_goto_tagend() 108 uint8_t *XML_DOM_getAttr(uint8_t *buffer, uint8_t **pName, int32_t *nameLen, in XML_DOM_getAttr() argument 141 *nameLen = buffer - *pName; in XML_DOM_getAttr() 142 if (*nameLen <= 0) { in XML_DOM_getAttr() 716 int32_t nameLen, valueLen; in xml_tree_fillnode() local 730 XML_DOM_getAttr(pAttr, &pName, &nameLen, &pValue, in xml_tree_fillnode() 737 strncpy((char *)attr->name, (char *)pName, nameLen); in xml_tree_fillnode()
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 119 int nameBufSize = round_up(file.nameLen); in read_snapshot_file() 125 snapshot->add(String8(filename, file.nameLen), file); in read_snapshot_file() 177 int nameLen = r.s.nameLen = name.length(); in write_snapshot_file() local 186 amt = write(fd, name.string(), nameLen); in write_snapshot_file() 187 if (amt != nameLen) { in write_snapshot_file() 191 int paddingLen = ROUND_UP[nameLen % 4]; in write_snapshot_file() 984 states[0].nameLen = -12; in backup_helper_test_four() 994 states[1].nameLen = -1; in backup_helper_test_four() 1004 states[2].nameLen = 0; in backup_helper_test_four() 1014 states[3].nameLen = 0; in backup_helper_test_four() [all …]
|
D | ResourceTypes.cpp | 2982 dtohl(entry->key.index), &outName->nameLen); in getResourceName() 3561 uint32_t ResTable::identifierForName(const char16_t* name, size_t nameLen, in identifierForName() argument 3577 if (len != nameLen) { in identifierForName() 3592 if (nameLen > 7) { in identifierForName() 3596 int index = atoi(String8(name + 7, nameLen - 7).string()); in identifierForName() 3621 const char16_t* const nameEnd = name+nameLen; in identifierForName() 3658 nameLen = nameEnd-name; in identifierForName() 3662 String8(name, nameLen).string(), in identifierForName() 3681 const ssize_t ei = group->basePackage->keyStrings.indexOfString(name, nameLen); in identifierForName() 3723 String8(name, nameLen).string()); in identifierForName() [all …]
|
D | AssetManager.cpp | 1334 int nameLen; in scanAndMergeDirLocked() local 1337 nameLen = strlen(name); in scanAndMergeDirLocked() 1338 if (nameLen > exclExtLen && in scanAndMergeDirLocked() 1339 strcmp(name + (nameLen - exclExtLen), kExcludeExtension) == 0) in scanAndMergeDirLocked() 1341 String8 match(name, nameLen - exclExtLen); in scanAndMergeDirLocked()
|
/frameworks/native/opengl/libs/EGL/ |
D | trace.cpp | 185 int nameLen = strlen(name); in TraceGL() local 188 if (nameLen == 14 && strcmp(name, "glShaderSource") == 0) { in TraceGL() 204 if (nameLen == 12 && strncmp(name, "glUniform", 9) == 0 && name[11] == 'v') { in TraceGL() 220 if (nameLen == 18 && strncmp(name, "glUniformMatrix", 15) == 0 in TraceGL()
|
/frameworks/native/include/utils/ |
D | ZipFileRO.h | 227 unsigned short nameLen; member
|
/frameworks/base/include/androidfw/ |
D | BackupHelpers.h | 49 int nameLen; member
|
D | ResourceTypes.h | 1298 size_t nameLen; member 1445 uint32_t identifierForName(const char16_t* name, size_t nameLen, 1481 const char16_t* name, size_t nameLen, 1484 const char16_t* name, size_t nameLen,
|
/frameworks/base/media/java/android/media/ |
D | TimedText.java | 599 int nameLen = parcel.readInt(); in readFont() local 602 final String name = new String(text, 0, nameLen); in readFont()
|
/frameworks/wilhelm/tests/sandbox/ |
D | reverb.c | 150 unsigned nameLen = strlen(name); in printEnvNames() local 151 if (lineLen + (needSpace ? 1 : 0) + nameLen > 72) { in printEnvNames() 162 lineLen += nameLen; in printEnvNames()
|
/frameworks/base/media/libdrm/mobile1/include/xml/ |
D | xml_tinyParser.h | 79 uint8_t *XML_DOM_getAttr(uint8_t *buffer, uint8_t **pName, int32_t *nameLen,
|
/frameworks/base/cmds/installd/ |
D | utils.c | 444 size_t nameLen = strlen(name); in _add_cache_dir_t() local 445 cache_dir_t* dir = (cache_dir_t*)_cache_malloc(cache, sizeof(cache_dir_t)+nameLen+1); in _add_cache_dir_t() 478 size_t nameLen = strlen(name); in _add_cache_file_t() local 479 cache_file_t* file = (cache_file_t*)_cache_malloc(cache, sizeof(cache_file_t)+nameLen+1); in _add_cache_file_t()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 1154 const size_t nameLen = file->getPath().length(); in preProcessImage() local 1181 if (nameLen > 6) { in preProcessImage() 1183 if (name[nameLen-5] == '9' && name[nameLen-6] == '.') { in preProcessImage()
|
D | ResourceTable.h | 243 const char16_t* name, size_t nameLen, 246 const char16_t* name, size_t nameLen,
|
D | ResourceTable.cpp | 105 size_t nameLen; member 190 if (strzcmp16(cur->name, cur->nameLen, str, div-str) == 0) { in parse_flags() 2278 uint32_t attrID, const char16_t* name, size_t nameLen, in getAttributeEnum() argument 2282 String16 nameStr(name, nameLen); in getAttributeEnum() 2298 uint32_t attrID, const char16_t* name, size_t nameLen, in getAttributeFlags() argument 2305 String16 nameStr(name, nameLen); in getAttributeFlags() 2310 const char16_t* end = name + nameLen; in getAttributeFlags()
|