Lines Matching defs:string8
40 #include <utils/String8.h>
830 const String8 ResStringPool::string8ObjectAt(size_t idx) const
835 return String8(str, len);
840 return String8(str16, len);
842 return String8();
875 ALOGI("indexOfString UTF-8: %s", String8(str, strLen).string());
924 String8 str8(str, strLen);
929 ALOGI("Looking at %s, i=%d\n", String8(s).string(), i);
942 ALOGI("indexOfString UTF-16: %s", String8(str, strLen).string());
957 String8(s).string(), c, (int)l, (int)mid, (int)h);
978 ALOGI("Looking at %s, i=%d\n", String8(s).string(), i);
1354 String8 ns8, attr8;
1356 ns8 = String8(ns, nsLen);
1358 attr8 = String8(attr, attrLen);
1381 // String8(ns).string(), String8(curNs).string());
1394 String8(ns, nsLen).string(), nsLen,
1395 String8(attr, attrLen).string(), attrLen);
1403 String8(curNs, curNsLen).string(), curNsLen,
1404 String8(curAttr, curAttrLen).string(), curAttrLen);
1417 // String8(ns).string(), String8(curNs).string());
2758 void ResTable_config::appendDirLocale(String8& out) const {
2912 String8 ResTable_config::toString() const {
2913 String8 res;
4078 outName->type8 = entry.typeStr.string8(&outName->typeLen);
4079 outName->name8 = entry.keyStr.string8(&outName->nameLen);
4180 String8(entry.package->header->values.stringAt(outValue->data, &len)).string() :
4660 int index = atoi(String8(name + 7, nameLen - 7).string());
4726 String8(type, typeLen).string(),
4727 String8(name, nameLen).string(),
4728 String8(package, packageLen).string());
4741 printf("Skipping package group: %s\n", String8(group->name).string());
5187 //printf("Value for: %s\n", String8(s, len).string());
5242 //printf("Looking up ref: %s\n", String8(s, len).string());
5302 String8(package).string(), String8(type).string(),
5303 String8(name).string(), rid);
5321 String8(package).string(), String8(type).string(),
5322 String8(name).string(), rid);
5411 //printf("Color input=%s, output=0x%x\n", String8(s, len).string(), color);
5423 String8(*curTag).string(),
5424 String8(s, len).string());
5438 //printf("Looking up attr: %s\n", String8(s, len).string());
5451 // String8(package).string(), String8(type).string(),
5452 // String8(name).string());
5615 String8(s, len).string(),
5616 String8(rname.name, rname.nameLen).string(),
5659 //printf("Looking for: %s\n", String8(start, pos-start).string());
5668 String8(start,pos-start).string(),
5669 String8(rname.name, rname.nameLen).string(),
5994 static bool compareString8AndCString(const String8& str, const char* cStr) {
5998 void ResTable::getLocales(Vector<String8>* locales, bool includeSystemLocales,
6010 locales->insertAt(String8(locale), std::distance(beginIter, iter));
6021 const char* StringPoolRef::string8(size_t* outLen) const {
6614 ALOGV("Found lib entry %s with id %d\n", String8(tmpName).string(),
6901 String8* pTargetPath, String8* pOverlayPath)
6926 #define CHAR16_TO_CSTR(c16, len) (String8(String16(c16,len)).string())
6966 String8 ResTable::normalizeForOutput( const char *input )
6968 String8 ret;
7021 printf("(string8) \"%s\"\n", normalizeForOutput(str8).string());
7027 normalizeForOutput(String8(str16, len).string()).string());
7068 String8(pg->name).string());
7077 String8(refEntries.keyAt(refIndex)).string());
7092 pkg->package->id, String8(tmpName).string());
7118 String8 type8;
7119 String8 name8;
7121 type8 = String8(resName.type8, resName.typeLen);
7123 type8 = String8(resName.type, resName.typeLen);
7126 name8 = String8(resName.name8, resName.nameLen);
7128 name8 = String8(resName.name, resName.nameLen);
7152 String8 configStr = thisConfig.toString();
7204 String8 type8;
7205 String8 name8;
7207 type8 = String8(resName.type8, resName.typeLen);
7209 type8 = String8(resName.type, resName.typeLen);
7212 name8 = String8(resName.name8, resName.nameLen);
7214 name8 = String8(resName.name, resName.nameLen);