Searched refs:dirlen (Results 1 - 3 of 3) sorted by relevance

/ast/src/cmd/3d/
H A Dopen3d.c35 int dirlen; local
54 memcpy(buf, path, dirlen = cp - path);
55 memcpy(buf + dirlen, state.opaque, 4);
57 strcpy(buf + dirlen + 4, cp);
62 buf[dirlen + namlen + 4] = 0;
65 buf[dirlen + 3] = 0;
90 buf[dirlen + 3] = '.';
91 buf[dirlen + 4] = 0;
99 buf[dirlen + 3] = 0;
100 buf[dirlen
[all...]
/ast/src/cmd/ksh93/sh/
H A Dpath.c565 int len=strlen(name)+1,dirlen=0; local
570 dirlen = strlen(pwd)+1;
572 path = (char*)malloc(len+dirlen);
573 if(dirlen)
575 memcpy((void*)path,(void*)pwd,dirlen);
576 path[dirlen-1] = '/';
578 memcpy((void*)&path[dirlen],(void*)name,len);
/ast/src/cmd/std/
H A Dls.c327 int dirlen; /* pr() dirlen */ member in struct:__anon231
798 * parent directory name is dirnam of dirlen chars
835 * directory name is dirnam of dirlen chars
1178 list.dirlen = ftw->namelen;
1179 list.dirnam = ftw->path + ftw->pathlen - list.dirlen;
1183 list.dirlen = ftw->pathlen;

Completed in 19 milliseconds