Searched refs:dirlen (Results 1 - 3 of 3) sorted by relevance
/ast/src/cmd/3d/ |
H A D | open3d.c | 35 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 D | path.c | 565 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 D | ls.c | 327 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