Lines Matching defs:str2
46 * >0 - if str1 version number is more recent than str2
47 * <0 - if str2 version number is more recent than str1
56 compare_dotted_version(const char *str1, const char *str2)
64 freeptr2 = verstr2 = xstrdup (str2);
89 str1, str2, retval);
101 * 2 - if the timestamp in str2 is more recent
104 compare_timestamps (const char *str1, const char *str2)
108 retval = strcmp (str1, str2);
109 grub_util_info("comparing timestamps %s %s returning %d", str1, str2, retval);
121 * <0 - if the version in str2 is more recent
124 compare_version (const char *str1, const char *str2)
131 freeptr2 = verstr2 = xstrdup(str2);