Home | History | Annotate | Download | only in i18n

Lines Matching refs:trans

54     trans(0), count(0), numAnonymousRBTs(0)  {
71 trans(0), numAnonymousRBTs(0) {
81 trans(0), numAnonymousRBTs(0) {
98 trans(0), numAnonymousRBTs(anonymousRBTs)
112 trans(0), numAnonymousRBTs(0)
125 trans(0), numAnonymousRBTs(anonymousRBTs)
132 * constructors. Before calling init(), set trans and filter to NULL.
150 // assert(trans == 0);
177 * constructors. Before calling init(), set trans and filter to NULL.
192 // assert(trans == 0);
197 trans = (Transliterator **)uprv_malloc(count * sizeof(Transliterator *));
199 if (trans == 0) {
205 if (U_FAILURE(status) || trans == 0) {
206 // assert(trans == 0);
215 trans[i] = (Transliterator*) list.elementAt(j);
226 newID.append(trans[i]->getID());
255 Transliterator(t), trans(0), count(0), numAnonymousRBTs(-1) {
267 if (trans != 0) {
269 delete trans[i];
271 uprv_free(trans);
273 trans = 0;
286 if (trans != NULL) {
288 delete trans[i];
289 trans[i] = 0;
293 if (trans != NULL) {
294 uprv_free(trans);
296 trans = (Transliterator **)uprv_malloc(t.count * sizeof(Transliterator *));
299 if (trans != NULL) {
301 trans[i] = t.trans[i]->clone();
302 if (trans[i] == NULL) {
309 // if memory allocation failed delete backwards trans array
313 uprv_free(trans[n]);
314 trans[n] = NULL;
342 return *trans[index];
373 // First free trans[] and set count to zero. Once this is done,
374 // orphan the filter. Set up the new trans[].
376 trans = adoptedTransliterators;
379 setID(joinIDs(trans, count));
414 if (trans[i]->getID().startsWith(PASS_STRING, 5)) {
415 trans[i]->toRules(rule, escapeUnprintable);
416 if (numAnonymousRBTs > 1 && i > 0 && trans[i - 1]->getID().startsWith(PASS_STRING, 5))
423 } else if (trans[i]->getID().indexOf(ID_DELIM) >= 0) {
424 trans[i]->toRules(rule, escapeUnprintable);
428 trans[i]->Transliterator::toRules(rule, escapeUnprintable);
444 result.addAll(trans[i]->getSourceSet(set));
467 result.addAll(trans[i]->getTargetSet(set));
560 trans[i]->filteredTransliterate(text, index, incremental);
602 int32_t len = trans[i]->getMaximumContextLength();