alen 545 lib/strutil.h int filenvercmp (char const *a, ssize_t alen, char const *b, ssize_t blen); alen 195 lib/strutil/filevercmp.c filenvercmp (const char *a, ssize_t alen, const char *b, ssize_t blen) alen 203 lib/strutil/filevercmp.c aempty = alen < 0 ? a[0] == '\0' : alen == 0; alen 221 lib/strutil/filevercmp.c adot = alen < 0 ? a[1] == '\0' : alen == 1; alen 229 lib/strutil/filevercmp.c adotdot = a[1] == '.' && (alen < 0 ? a[2] == '\0' : alen == 2); alen 240 lib/strutil/filevercmp.c aprefixlen = file_prefixlen (a, &alen); alen 244 lib/strutil/filevercmp.c one_pass_only = aprefixlen == alen && bprefixlen == blen; alen 250 lib/strutil/filevercmp.c return (result != 0 || one_pass_only ? result : verrevcmp (a, alen, b, blen)); alen 68 tests/lib/strutil/filevercmp.c size_t alen, blen; alen 74 tests/lib/strutil/filevercmp.c alen = strlen (a); alen 77 tests/lib/strutil/filevercmp.c ck_assert_int_le (alen + blen, sizeof (buffer)); alen 78 tests/lib/strutil/filevercmp.c memcpy (buffer, a, alen); alen 79 tests/lib/strutil/filevercmp.c memcpy (buffer + alen, b, blen); alen 81 tests/lib/strutil/filevercmp.c for (i = 0; i < alen + blen; i++) alen 85 tests/lib/strutil/filevercmp.c nresult = filenvercmp (buffer, alen, buffer + alen, blen);