Home
last modified time | relevance | path

Searched refs:altSource (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/localize/
DXLIFFFile.cpp129 XMLNode* altSource = get_unique_node(altTrans, XLIFF_XMLNS, "source", false); in Parse() local
130 if (altSource != NULL) { in Parse()
131 XMLNode* node = altSource->Clone(); in Parse()
133 result->AddStringResource(StringResource(altSource->Position(), in Parse()
242 if (tu.altSource.id != "") { in Filter()
243 m_strings.erase(tu.altSource); in Filter()
321 return &g.altSource; in find_string_res()
537 if (transUnit.altSource.id != "" || transUnit.altTarget.id != "" in ToXMLNode()
557 if (transUnit.altSource.id != "") { in ToXMLNode()
559 create_string_node(transUnit.altSource, "source")); in ToXMLNode()
DXLIFFFile.h29 StringResource altSource; member
Dlocalize.cpp186 if (unit.altTarget.id == "" || unit.altSource.id == "") { in keep_this_trans_unit()
190 != unit.altSource.value->ContentsToString(XLIFF_NAMESPACES); in keep_this_trans_unit()