Lines Matching defs:str1
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)
63 freeptr1 = verstr1 = xstrdup (str1);
89 str1, str2, retval);
100 * 1 - if the timestamp in str1 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);
120 * >0 - if the version in str1 is more recent
124 compare_version (const char *str1, const char *str2)
130 freeptr1 = verstr1 = xstrdup(str1);