Lines Matching refs:items
393 #define TZ_NITEMS 4 /* number of items (fields) */
412 char *items[TZ_NITEMS];
445 items[itemIndex] = start;
462 if (noMapID || strcmp(mapID, items[TZ_MAPID]) == 0) {
464 * When there's no mapID, we need to scan items until the
470 if (strcmp(items[TZ_WIN_NAME], tzName) == 0) {
474 javaTZName = _strdup(items[TZ_JAVA_NAME]);
480 if (*items[TZ_REGION] == '\0') {
481 strncpy(bestMatch, items[TZ_JAVA_NAME], MAX_ZONE_CHAR);
482 } else if (country != NULL && strcmp(items[TZ_REGION], country) == 0) {
484 javaTZName = _strdup(items[TZ_JAVA_NAME]);
487 strncpy(bestMatch, items[TZ_JAVA_NAME], MAX_ZONE_CHAR);