Lines Matching refs:String16
47 static const String16 RESOURCES_PREFIX(RESOURCES_ROOT_NAMESPACE);
48 static const String16 RESOURCES_PREFIX_AUTO_PACKAGE(RESOURCES_AUTO_PACKAGE_NAMESPACE);
49 static const String16 RESOURCES_PRV_PREFIX(RESOURCES_ROOT_PRV_NAMESPACE);
50 static const String16 RESOURCES_TOOLS_NAMESPACE("http://schemas.android.com/tools");
52 String16 getNamespaceResourcePackage(String16 appPackage, String16 namespaceUri, bool* outIsPublic) in getNamespaceResourcePackage()
69 return String16(); in getNamespaceResourcePackage()
75 return String16(namespaceUri, namespaceUri.size()-prefixSize, prefixSize); in getNamespaceResourcePackage()
80 String16 str16) in hasSubstitutionErrors()
186 const String16& endTag, in parseStyledString()
187 String16* outString, in parseStyledString()
193 String16 curString; in parseStyledString()
194 String16 rawString; in parseStyledString()
203 curString.append(String16(String8("["))); in parseStyledString()
207 String16 text(inXml->getText(&len)); in parseStyledString()
216 String16 pseudo; in parseStyledString()
233 const String16 element16(inXml->getElementName(&len)); in parseStyledString()
242 const String8 nspace(String16(ns, nslen)); in parseStyledString()
276 curString = String16(); in parseStyledString()
281 span.name.append(String16(";")); in parseStyledString()
284 span.name.append(String16("=")); in parseStyledString()
299 const String8 nspace(String16(ns, nslen)); in parseStyledString()
311 curString = String16(); in parseStyledString()
324 String16 spanTag; in parseStyledString()
378 curString.append(String16(String8(" "))); in parseStyledString()
380 curString.append(String16(String8("]"))); in parseStyledString()
630 XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace) in XMLNode()
663 const String16& XMLNode::getNamespacePrefix() const in getNamespacePrefix()
668 const String16& XMLNode::getNamespaceUri() const in getNamespaceUri()
673 const String16& XMLNode::getElementNamespace() const in getElementNamespace()
678 const String16& XMLNode::getElementName() const in getElementName()
699 const XMLNode::attribute_entry* XMLNode::getAttribute(const String16& ns, in getAttribute()
700 const String16& name) const in getAttribute()
712 XMLNode::attribute_entry* XMLNode::editAttribute(const String16& ns, in editAttribute()
713 const String16& name) in editAttribute()
725 const String16& XMLNode::getCData() const in getCData()
730 const String16& XMLNode::getComment() const in getComment()
745 sp<XMLNode> XMLNode::searchElement(const String16& tagNamespace, const String16& tagName) in searchElement()
763 sp<XMLNode> XMLNode::getChildElement(const String16& tagNamespace, const String16& tagName) in getChildElement()
799 status_t XMLNode::addAttribute(const String16& ns, const String16& name, in addAttribute()
800 const String16& value) in addAttribute()
862 status_t XMLNode::appendChars(const String16& chars) in appendChars()
872 status_t XMLNode::appendComment(const String16& comment) in appendComment()
875 mComment.append(String16("\n")); in appendComment()
923 node->mChars = String16(" "); in removeWhitespace()
939 String16 tmp(p, e-p+1); in removeWhitespace()
956 String16 defPackage(assets->getPackage()); in parseValues()
989 String16 attr("attr"); in assignResourceIds()
996 … String16 pkg(getNamespaceResourcePackage(String16(assets->getPackage()), e.ns, &nsIsPublic)); in assignResourceIds()
1180 static void splitName(const char* name, String16* outNs, String16* outName) in splitName()
1187 *outNs = String16(); in splitName()
1188 *outName = String16(name); in splitName()
1190 *outNs = String16(name, (p-name)); in splitName()
1191 *outName = String16(p+1); in splitName()
1201 String16(prefix != NULL ? prefix : ""), String16(uri)); in startNamespace()
1216 String16 ns16, name16; in startElement()
1222 st->pendingComment = String16(); in startElement()
1233 node->addAttribute(ns16, name16, String16(atts[i+1])); in startElement()
1261 node->appendChars(String16(s, len)); in characterData()
1273 st->pendingComment = String16(); in endElement()
1275 String16 ns16, name16; in endElement()
1291 LOG_ALWAYS_FATAL_IF(node->getNamespacePrefix() != String16(nonNullPrefix), in endNamespace()
1302 st->pendingComment.append(String16("\n")); in commentData()
1304 st->pendingComment.append(String16(comment)); in commentData()
1446 const String16 id16("id"); in flatten_node()
1447 const String16 class16("class"); in flatten_node()
1448 const String16 style16("style"); in flatten_node()