/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | util.c | 48 int dirlen = 0; local 54 dirlen = strlen(dir); 56 if (pathlen > 0 && dirlen > 0) { 58 int len = pathlen + dirlen + 2; 68 } else if (dirlen > 0) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_io.c | 53 #define GETDIR (dir = getdir(), dirlen = strlen(dir) + sizeof(PATH_SEPARATOR) - 1) 82 size_t dirlen; local 93 if (!(d->fn = malloc(strlen(*fn) + dirlen + 1))) 106 if (!(d->fn = malloc(30 + dirlen))) 132 (void) strcpy(*fn, d->fn + dirlen); 205 size_t dirlen; local 213 if (!(d->fn = malloc(strlen(fn) + dirlen + 1)))
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_handle.c | 515 size_t dirlen, filelen, len; local 517 dirlen = strlen(inputdir); 519 len = dirlen + 1 + filelen + 1; 521 (void) memcpy(filename, inputdir, dirlen); 522 *(filename + dirlen) = '/'; 523 (void) memcpy(filename + dirlen + 1, file, filelen); 524 *(filename + dirlen + 1 + filelen) = '\0';
|
H A D | msgfmt.c | 223 size_t dirlen, filelen, len; local 225 dirlen = strlen(inputdir); 227 len = dirlen + 1 + filelen + 1; 229 (void) memcpy(filename, inputdir, dirlen); 230 *(filename + dirlen) = '/'; 231 (void) memcpy(filename + dirlen + 1, file, filelen); 232 *(filename + dirlen + 1 + filelen) = '\0';
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | cache_a.out.c | 382 int dirlen = strlen(&AP(dbp)[dbp->db_name]); local 398 calloc((dirlen + strlen(tp) + 2), 1)); 399 lop->lo_minor += dirlen + 1; 401 &AP(dbp)[dbp->db_name], dirlen); 402 cp = strncpy(cp + dirlen, MSG_ORIG(MSG_STR_SLASH),
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nlspath_checks.c | 55 size_t dirlen; member in struct:trusted_systemdirs 133 if (strncmp(p->dir, path, p->dirlen) == 0) {
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr2.c | 210 int dirlen, 228 rplen = dirlen; 241 bcopy(dirnm, p, dirlen); 242 p += dirlen; 207 smbfs_node_findcreate( smbmntinfo_t *mi, const char *dirnm, int dirlen, const char *name, int nmlen, char sep, struct smbfattr *fap) argument
|
H A D | smbfs_subr.h | 264 const char *dir, int dirlen,
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_lib.c | 620 int dirlen = strlen(dir); local 623 if ((dirlen + filelen + 1) >= PATH_MAX) { 627 if (*dir == '\0' || *name == '\0' || dir[dirlen - 1] == '/' || 635 if ((dirlen > 0) && (dir[dirlen - 1] == '/') && (*name == '/'))
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | mount_nfs.c | 583 int len, dirlen; local 620 dirlen = strlen(dir); 633 if (len > bestlen && len <= dirlen &&
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | path.c | 608 int len=strlen(name)+1,dirlen=0; local 613 dirlen = strlen(pwd)+1; 615 path = (char*)malloc(len+dirlen); 616 if(dirlen) 618 memcpy((void*)path,(void*)pwd,dirlen); 619 path[dirlen-1] = '/'; 621 memcpy((void*)&path[dirlen],(void*)name,len);
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | pcache.c | 620 int dirlen = strlen(pc->path->name); local 621 if(dirlen < FS_DIR_SEP_LEN || 622 strncmp(pc->path->name + dirlen - FS_DIR_SEP_LEN, FS_DIR_SEP,
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 3482 int dirlen; local 3486 dirlen = strlen(dir); 3487 if (dir[dirlen-1] == ' ') 3488 dirlen--; 3490 if (dirlen == strlen(fsname) && 3491 strncmp(fsname, dir, dirlen) == 0) {
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_state.c | 973 size_t dirlen; local 982 dirlen = strlen(dss_path) + strlen(NFS4_DSS_STATE_LEAF) + 2; 983 dir = kmem_alloc(dirlen, KM_SLEEP); 988 kmem_free(dir, dirlen);
|