Lines Matching defs:keyword
432 // The keyword is empty until we need to match against a non-explicit, not-"other" value.
433 // Then we get the keyword from the selector.
435 // or if the only non-explicit keyword is "other".)
436 UnicodeString keyword;
439 // to avoid matching the keyword again (duplicates are allowed)
445 // We remember the first matching-keyword sub-message if we have not seen
449 // We avoid matching the keyword twice by also setting haveKeywordMatch=true
450 // at the first keyword match.
471 // plural keyword like "few" or "other"
476 if(0 == keyword.compare(other)) {
478 // and the selected keyword is also "other".
484 if(keyword.isEmpty()) {
485 keyword=selector.select(context, number-offset, ec);
486 if(msgStart!=0 && (0 == keyword.compare(other))) {
490 // Skip keyword matching but do getLimitPartIndex().
493 if(!haveKeywordMatch && pattern.partSubstringMatches(*part, keyword)) {
494 // keyword matches
496 // Do not match this keyword again.
521 // The keyword is null until we need to match against a non-explicit, not-"other" value.
522 // Then we get the keyword from the selector.
524 // or if the only non-explicit keyword is "other".)
525 UnicodeString keyword;
568 keyword = pattern.tempSubString(partStart->getLimit(), partLimit->getIndex() - partStart->getLimit());
574 result.setString(keyword);