Lines Matching refs:word

568 	char *word;  in timelib_lookup_relative_text()  local
577 word = timelib_calloc(1, end - begin + 1); in timelib_lookup_relative_text()
578 memcpy(word, begin, end - begin); in timelib_lookup_relative_text()
581 if (timelib_strcasecmp(word, tp->name) == 0) { in timelib_lookup_relative_text()
587 timelib_free(word); in timelib_lookup_relative_text()
601 char *word; in timelib_lookup_month() local
610 word = timelib_calloc(1, end - begin + 1); in timelib_lookup_month()
611 memcpy(word, begin, end - begin); in timelib_lookup_month()
614 if (timelib_strcasecmp(word, tp->name) == 0) { in timelib_lookup_month()
619 timelib_free(word); in timelib_lookup_month()
648 char *word; in timelib_lookup_relunit() local
657 word = timelib_calloc(1, end - begin + 1); in timelib_lookup_relunit()
658 memcpy(word, begin, end - begin); in timelib_lookup_relunit()
661 if (timelib_strcasecmp(word, tp->name) == 0) { in timelib_lookup_relunit()
667 timelib_free(word); in timelib_lookup_relunit()
714 static const timelib_tz_lookup_table* abbr_search(const char *word, timelib_long gmtoffset, int isd… in abbr_search() argument
720 if (timelib_strcasecmp("utc", word) == 0 || timelib_strcasecmp("gmt", word) == 0) { in abbr_search()
725 if (timelib_strcasecmp(word, tp->name) == 0) { in abbr_search()
754 char *word; in timelib_lookup_abbr() local
769 word = timelib_calloc(1, end - begin + 1); in timelib_lookup_abbr()
770 memcpy(word, begin, end - begin); in timelib_lookup_abbr()
772 if (end - begin < MAX_ABBR_LEN && (tp = abbr_search(word, -1, 0))) { in timelib_lookup_abbr()
781 *tz_abbr = word; in timelib_lookup_abbr()