Lines Matching refs:trans
56 trans(0), count(0), numAnonymousRBTs(0) {
73 trans(0), numAnonymousRBTs(0) {
83 trans(0), numAnonymousRBTs(0) {
100 trans(0), numAnonymousRBTs(anonymousRBTs)
114 trans(0), numAnonymousRBTs(0)
127 trans(0), numAnonymousRBTs(anonymousRBTs)
134 * constructors. Before calling init(), set trans and filter to NULL.
152 // assert(trans == 0);
179 * constructors. Before calling init(), set trans and filter to NULL.
194 // assert(trans == 0);
199 trans = (Transliterator **)uprv_malloc(count * sizeof(Transliterator *));
201 if (trans == 0) {
207 if (U_FAILURE(status) || trans == 0) {
208 // assert(trans == 0);
217 trans[i] = (Transliterator*) list.elementAt(j);
228 newID.append(trans[i]->getID());
257 Transliterator(t), trans(0), count(0), numAnonymousRBTs(-1) {
269 if (trans != 0) {
271 delete trans[i];
273 uprv_free(trans);
275 trans = 0;
288 if (trans != NULL) {
290 delete trans[i];
291 trans[i] = 0;
295 if (trans != NULL) {
296 uprv_free(trans);
298 trans = (Transliterator **)uprv_malloc(t.count * sizeof(Transliterator *));
301 if (trans != NULL) {
303 trans[i] = t.trans[i]->clone();
304 if (trans[i] == NULL) {
311 // if memory allocation failed delete backwards trans array
315 uprv_free(trans[n]);
316 trans[n] = NULL;
344 return *trans[index];
375 // First free trans[] and set count to zero. Once this is done,
376 // orphan the filter. Set up the new trans[].
378 trans = adoptedTransliterators;
381 setID(joinIDs(trans, count));
416 if (trans[i]->getID().startsWith(PASS_STRING)) {
417 trans[i]->toRules(rule, escapeUnprintable);
418 if (numAnonymousRBTs > 1 && i > 0 && trans[i - 1]->getID().startsWith(PASS_STRING))
425 } else if (trans[i]->getID().indexOf(ID_DELIM) >= 0) {
426 trans[i]->toRules(rule, escapeUnprintable);
430 trans[i]->Transliterator::toRules(rule, escapeUnprintable);
446 result.addAll(trans[i]->getSourceSet(set));
469 result.addAll(trans[i]->getTargetSet(set));
562 trans[i]->filteredTransliterate(text, index, incremental);
604 int32_t len = trans[i]->getMaximumContextLength();