Searched refs:pwdsize (Results 1 - 4 of 4) sorted by relevance

/ast/src/cmd/3d/
H A Dchdir3d.c65 sp = buf + state.pwdsize;
76 state.pwdsize = strcopy(state.pwd, buf) - state.pwd;
77 memcpy(state.envpwd + sizeof(var_pwd) - 1, state.pwd, state.pwdsize);
H A Dpathreal.c234 sp = state.path.name + state.pwdsize;
236 if (safe && state.pwdsize >= safesize && !strncmp(state.pwd, state.safe->service, safesize) && (!state.pwd[safesize] || state.pwd[safesize] == '/'))
292 len -= state.pwdsize;
H A Dinit.c1288 else n = state.pwdsize + fs->specialsize + 4;
1312 osiz = state.pwdsize;
1313 if ((state.pwdsize = strlen(s)) >= sizeof(state.pwdbuf))
1314 state.pwdsize = sizeof(state.pwdbuf) - 1;
1315 strncpy(state.pwd, s, state.pwdsize);
1316 state.pwd[state.pwdsize] = 0;
1317 state.pwdsize = pathcanon(state.pwd, sizeof(state.pwdbuf), 0) - state.pwd;
1324 memcpy(state.envpwd + sizeof(var_pwd) - 1, state.pwd, state.pwdsize);
1331 state.pwdsize = osiz;
1568 state.pwdsize
[all...]
H A D3d.h479 int pwdsize; member in struct:__anon7

Completed in 13 milliseconds