Lines Matching refs:String8
72 //printf("%s starts with %s?\n", String8(namespaceUri).string(),
73 // String8(RESOURCES_PREFIX).string());
78 printf("Using default application package: %s -> %s\n", String8(namespaceUri).string(),
79 String8(appPackage).string());
94 //printf("namespace: %s\n", String8(String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize)).string());
195 SourcePos(String8(fileName), inXml->getLineNumber()).error(
247 const String8 element8(element16);
255 const String8 nspace(String16(ns, nslen));
267 SourcePos(String8(fileName), inXml->getLineNumber()).error(
277 SourcePos(String8(fileName), inXml->getLineNumber()).error(
284 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n",
285 errorMsg, String8(curString).string());
301 //printf("Span: %s\n", String8(span.name).string());
312 const String8 nspace(String16(ns, nslen));
319 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n",
320 errorMsg, String8(curString).string());
328 SourcePos(String8(fileName), inXml->getLineNumber()).error(
330 String8(inXml->getElementName(&len)).string(),
331 String8(endTag).string());
345 SourcePos(String8(fileName), inXml->getLineNumber()).error(
347 String8(inXml->getElementName(&len)).string(),
348 String8(spanTag).string());
369 String8(spanTag).string(), String8(*outString).string());
380 SourcePos(String8(fileName), inXml->getLineNumber()).error(
388 SourcePos(String8(fileName), inXml->getLineNumber()).error(
390 errorMsg, String8(curString).string());
406 String8 prefix;
407 String8 uri;
410 static String8 make_prefix(int depth)
412 String8 prefix;
420 static String8 build_namespace(const Vector<namespace_entry>& namespaces,
423 String8 str;
425 str = String8(ns);
448 String8 prefix = make_prefix(depth);
453 String8 elemNs = build_namespace(namespaces, ns16);
456 printf("%s <!-- %s -->\n", prefix.string(), String8(com16).string());
459 String8(block->getElementName(&len)).string(),
467 String8 ns = build_namespace(namespaces, ns16);
468 String8 name(block->getAttributeName(i, &len));
485 ResTable::normalizeForOutput(String8(block->getAttributeStringValue(i,
492 printf(" (Raw: \"%s\")", ResTable::normalizeForOutput(String8(val).string()).
509 ns.prefix = String8(prefix16);
513 ns.uri = String8(block->getNamespaceUri(&len));
526 String8 pr;
528 pr = String8(prefix16);
537 String8 uri = String8(block->getNamespaceUri(&len));
547 ResTable::normalizeForOutput(String8(block->getText(&len)).string()).string());
568 sp<AaptFile> rsc = new AaptFile(String8(), AaptGroupEntry(), String8());
638 XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace)
654 XMLNode::XMLNode(const String8& filename)
702 const String8& XMLNode::getFilename() const
881 String8(getElementName()).string(),
882 String8(mAttributes.itemAt(attrIdx).name).string(),
883 String8(mAttributes.itemAt(attrIdx).string).string(),
921 //printf("Removing whitespace in %s\n", String8(mElementName).string());
924 String8 tag(mElementName);
943 // String8(node->mChars).string());
987 AccessorCookie ac(SourcePos(mFilename, getStartLineNumber()), String8(e.name),
988 String8(e.string));
998 String8(e.name).string(), e.value.dataType,
999 String8(e.string).string());
1029 String8(getElementName()).string(),
1030 String8(e.name).string(),
1031 String8(e.string).string(),
1032 String8(e.ns).string(),
1034 String8(pkg).string());
1046 String8(e.name).string(), res);
1052 String8(e.name).string(), String8(pkg).string());
1151 String8 prefix;
1157 String8 elemNs(getNamespaceUri());
1162 elemNs.string(), String8(getElementName()).string());
1172 String8 attrNs(attr.ns);
1178 String8(attr.name).string(), attr.nameResId);
1180 printf("%s%s", attrNs.string(), String8(attr.name).string());
1182 printf("=%s", String8(attr.string).string());
1188 ? String8(getNamespacePrefix()).string() : "<DEF>",
1189 String8(getNamespaceUri()).string());
1191 printf("%s C: \"%s\"\n", prefix.string(), String8(getCData()).string());
1264 printf("CDATA: \"%s\"\n", String8(s, len).string());
1429 String8(attr.name).string(), id, SSIZE(idx));
1440 printf("String %s offset=0x%08zd\n", String8(attr.name).string(), SSIZE(idx));
1494 // printf("Flattening comment: %s\n", String8(mComment).string());