dirlen 1234 libltdl/ltdl.c size_t dirlen = (1+ base_name) - canonical; dirlen 1236 libltdl/ltdl.c dir = MALLOC (char, 1+ dirlen); dirlen 1243 libltdl/ltdl.c strlcpy (dir, canonical, dirlen); dirlen 1244 libltdl/ltdl.c dir[dirlen] = LT_EOS_CHAR; dirlen 52 maint/gnulib/lib/filenamecat-lgpl.c size_t dirlen = dirbase - dir + dirbaselen; dirlen 58 maint/gnulib/lib/filenamecat-lgpl.c if (! ISSLASH (dir[dirlen - 1]) && ! ISSLASH (*base)) dirlen 71 maint/gnulib/lib/filenamecat-lgpl.c char *p_concat = malloc (dirlen + (sep != '\0') + baselen + 1); dirlen 78 maint/gnulib/lib/filenamecat-lgpl.c p = mempcpy (p_concat, dir, dirlen); dirlen 306 maint/gnulib/lib/glob.c size_t dirlen; dirlen 507 maint/gnulib/lib/glob.c dirlen = strlen (pattern); dirlen 524 maint/gnulib/lib/glob.c dirlen = 0; dirlen 533 maint/gnulib/lib/glob.c dirlen = 1; dirlen 539 maint/gnulib/lib/glob.c dirlen = filename - pattern; dirlen 546 maint/gnulib/lib/glob.c ++dirlen; dirlen 547 maint/gnulib/lib/glob.c drive_spec = __alloca (dirlen + 1); dirlen 548 maint/gnulib/lib/glob.c *((char *) mempcpy (drive_spec, pattern, dirlen)) = '\0'; dirlen 559 maint/gnulib/lib/glob.c if (glob_use_alloca (alloca_used, dirlen + 1)) dirlen 560 maint/gnulib/lib/glob.c newp = alloca_account (dirlen + 1, alloca_used); dirlen 563 maint/gnulib/lib/glob.c newp = malloc (dirlen + 1); dirlen 568 maint/gnulib/lib/glob.c *((char *) mempcpy (newp, pattern, dirlen)) = '\0'; dirlen 573 maint/gnulib/lib/glob.c bool drive_root = (dirlen > 1 dirlen 574 maint/gnulib/lib/glob.c && (dirname[dirlen - 1] == ':' dirlen 575 maint/gnulib/lib/glob.c || (dirlen > 2 && dirname[dirlen - 2] == ':' dirlen 576 maint/gnulib/lib/glob.c && dirname[dirlen - 1] == '/'))); dirlen 581 maint/gnulib/lib/glob.c if (filename[0] == '\0' && dirlen > 1 && !drive_root) dirlen 585 maint/gnulib/lib/glob.c if (!(flags & GLOB_NOESCAPE) && dirname[dirlen - 1] == '\\') dirlen 589 maint/gnulib/lib/glob.c char *p = (char *) &dirname[dirlen - 1]; dirlen 592 maint/gnulib/lib/glob.c if ((&dirname[dirlen] - p) & 1) dirlen 594 maint/gnulib/lib/glob.c *(char *) &dirname[--dirlen] = '\0'; dirlen 710 maint/gnulib/lib/glob.c dirlen = strlen (dirname); dirlen 717 maint/gnulib/lib/glob.c int use_alloca = glob_use_alloca (alloca_used, home_len + dirlen); dirlen 719 maint/gnulib/lib/glob.c newp = alloca_account (home_len + dirlen, alloca_used); dirlen 722 maint/gnulib/lib/glob.c newp = malloc (home_len + dirlen); dirlen 733 maint/gnulib/lib/glob.c &dirname[1], dirlen); dirlen 739 maint/gnulib/lib/glob.c dirlen += home_len - 1; dirlen 875 maint/gnulib/lib/glob.c dirlen = home_len + rest_len; dirlen 935 maint/gnulib/lib/glob.c pglob->gl_pathv[newcount] = malloc (dirlen + 2); dirlen 938 maint/gnulib/lib/glob.c p = mempcpy (pglob->gl_pathv[newcount], dirname, dirlen); dirlen 975 maint/gnulib/lib/glob.c if (!(flags & GLOB_NOESCAPE) && dirlen > 0 && dirname[dirlen - 1] == '\\') dirlen 979 maint/gnulib/lib/glob.c char *p = (char *) &dirname[dirlen - 1]; dirlen 982 maint/gnulib/lib/glob.c if ((&dirname[dirlen] - p) & 1) dirlen 983 maint/gnulib/lib/glob.c *(char *) &dirname[--dirlen] = '\0'; dirlen 1120 maint/gnulib/lib/glob.c --dirlen; dirlen 1147 maint/gnulib/lib/glob.c if (dirlen > 0) dirlen 1229 maint/gnulib/lib/glob.c size_t dirlen = strlen (dirname); dirlen 1232 maint/gnulib/lib/glob.c if (dirlen == 1 && dirname[0] == '/') dirlen 1235 maint/gnulib/lib/glob.c dirlen = 0; dirlen 1238 maint/gnulib/lib/glob.c if (dirlen > 1) dirlen 1240 maint/gnulib/lib/glob.c if (dirname[dirlen - 1] == '/' && dirname[dirlen - 2] == ':') dirlen 1242 maint/gnulib/lib/glob.c --dirlen; dirlen 1243 maint/gnulib/lib/glob.c else if (dirname[dirlen - 1] == ':') dirlen 1246 maint/gnulib/lib/glob.c --dirlen; dirlen 1255 maint/gnulib/lib/glob.c char *new = malloc (dirlen + 1 + eltlen); dirlen 1264 maint/gnulib/lib/glob.c char *endp = mempcpy (new, dirname, dirlen); dirlen 1284 maint/gnulib/lib/glob.c size_t dirlen = strlen (directory); dirlen 1319 maint/gnulib/lib/glob.c = (! size_add_wrapv (dirlen + 1, patlen + 1, &fullsize) dirlen 1331 maint/gnulib/lib/glob.c mempcpy (mempcpy (mempcpy (fullname, directory, dirlen), dirlen 47 maint/gnulib/lib/openat-proc.c int dirlen; dirlen 107 maint/gnulib/lib/openat-proc.c dirlen = sprintf (result, PROC_SELF_FD_FORMAT, fd); dirlen 119 maint/gnulib/lib/openat-proc.c dirlen = strlen (dir); dirlen 120 maint/gnulib/lib/openat-proc.c bufsize = dirlen + 1 + strlen (file) + 1; /* 1 for '/', 1 for null */ dirlen 129 maint/gnulib/lib/openat-proc.c result[dirlen++] = '/'; dirlen 133 maint/gnulib/lib/openat-proc.c strcpy (result + dirlen, file); dirlen 140 maint/gnulib/tests/test-dirname.c int dirlen = dir_len (t->name); dirlen 148 maint/gnulib/tests/test-dirname.c && (dirlen == strlen (dir) dirlen 149 maint/gnulib/tests/test-dirname.c || (dirlen + 1 == strlen (dir) && dir[dirlen] == '.')))) dirlen 154 maint/gnulib/tests/test-dirname.c t->name, dir, dirlen,