Home | History | Annotate | Download | only in common

Lines Matching refs:OTHER

29         OTHER,
40 * or "other" to a category enum. Returns NONE for an unrecognized
47 * or "other" to a category enum. Returns NONE for urecongized
73 * Other category is maps to a copy of the default value.
80 * Other category is mapped to otherVariant.
86 PluralMap(const PluralMap<T> &other) : fOtherVariant(other.fOtherVariant) {
89 fVariants[i] = other.fVariants[i] ?
90 new T(*other.fVariants[i]) : NULL;
94 PluralMap<T> &operator=(const PluralMap<T> &other) {
95 if (this == &other) {
99 if (fVariants[i] != NULL && other.fVariants[i] != NULL) {
100 *fVariants[i] = *other.fVariants[i];
104 } else if (other.fVariants[i] != NULL) {
105 fVariants[i] = new T(*other.fVariants[i]);
120 * Removes all mappings and makes 'other' point to the default value.
159 * Returns the 'other' variant.
160 * Same as calling get(OTHER).
163 return get(OTHER);
169 * back to returning the value for the 'other' category.
197 * that caller can safely modify. If the value was defaulting to the 'other'
203 * or memory could not be allocated, or any other error happens.
224 * returned pointer if it was defaulting to the 'other' variant