Lines Matching defs:path
114 * build mac. path (backwards) by traversing the directory tree
116 * The old way: dir and path refer to an app, path is a mac format
120 * The new way: dir and path refer to an app, path is a mac format
121 * pathname. makemacpath() builds a cname. (zero is a path separator
127 makemacpath(const struct vol *vol, char *mpath, int mpathlen, struct dir *dir, char *path)
132 p -= strlen( path );
133 memcpy( p, path, strlen( path ));
152 char *path = name;
157 /* Create list for path elements, request 16 list elements for now*/
165 /* construct path, copy already found uname to path element list*/
166 if ((bstrListPush(pathlist, bfromcstr(path))) != BSTR_OK) {
179 if ((path = utompath(vol, uname, cnid, utf8_encoding())) == NULL) {
204 struct path *path;
231 if (NULL == ( path = cname( vol, dir, &ibuf )) ) {
234 if ( path_isadir(path) ) {
251 mp = makemacpath( vol, mpath, AFPOBJ_TMPSIZ, curdir, path->m_name );
291 struct path *path;
314 if (NULL == ( path = cname( vol, dir, &ibuf )) ) {
317 if ( path_isadir(path) ) {
334 mp = makemacpath( vol, mpath, AFPOBJ_TMPSIZ, curdir, path->m_name );
365 struct path *path;
467 *q++ = 2; /* long path type */
472 if (( path = cname( vol, vol->v_root, &q )) == NULL ) {
477 if ( path_isadir(path) || path->st_errno ) {
482 if ( getfilparams(vol, bitmap, path, curdir, rbuf + sizeof( bitmap ) +