Lines Matching defs:cmp
244 int32_t cmp = (*metadata)[mid]->compareTo(desired, foundCategory, foundUsage, foundRegion);
245 if (cmp < 0) {
247 } else if (cmp > 0) {
342 int32_t cmp = uprv_strcmp(category.data(), other.category.data());
343 if (cmp == 0) {
344 cmp = uprv_strcmp(usage.data(), other.usage.data());
346 if (cmp == 0) {
347 cmp = uprv_strcmp(region.data(), other.region.data());
349 return cmp;
354 int32_t cmp = uprv_strcmp(category.data(), other.category.data());
355 if (cmp == 0) {
357 cmp = uprv_strcmp(usage.data(), other.usage.data());
359 if (cmp == 0) {
361 cmp = uprv_strcmp(region.data(), other.region.data());
363 if (cmp == 0) {
366 return cmp;