Lines Matching full:xliff
7 int pseudolocalize_xliff(XLIFFFile* xliff, bool expand);
57 XLIFFFile* xliff = XLIFFFile::Parse("testdata/strip_xliff.xliff");
58 if (xliff == NULL) {
63 printf("XLIFF was [[%s]]\n", xliff->ToString().c_str());
66 xliff->Filter(return_false, NULL);
69 printf("XLIFF is [[%s]]\n", xliff->ToString().c_str());
71 set<StringResource> const& strings = xliff->GetStringResources();
88 XLIFFFile* xliff = XLIFFFile::Parse("testdata/strip_xliff.xliff");
89 if (xliff == NULL) {
95 printf("XLIFF was [[%s]]\n", xliff->ToString().c_str());
99 xliff->Filter(keep_this_trans_unit, &setting);
102 printf("XLIFF is [[%s]]\n", xliff->ToString().c_str());
104 set<StringResource> const& strings = xliff->GetStringResources();
169 XLIFFFile* xliff = XLIFFFile::Parse("testdata/pseudo.xliff");
170 if (xliff == NULL) {
175 printf("XLIFF was [[%s]]\n", xliff->ToString().c_str());
178 pseudolocalize_xliff(xliff, big);
179 string newString = xliff->ToString();
180 delete xliff;
183 printf("XLIFF is [[%s]]\n", newString.c_str());
187 fprintf(stderr, "xliff didn't translate as expected\n");