Lines Matching refs:postsiz
171 int postsiz; /* state.path post index */
294 if ((state->postsiz + len) > state->pathsiz && !(state->path = newof(state->path, char, state->pathsiz = roundof(state->postsiz + len, PATH_CHUNK), 0)))
298 s = state->path + state->postsiz;
330 memcpy(state->path + state->postsiz, base, len);
332 state->path[state->postsiz] = 0;
370 memcpy(state->path + state->postsiz, base, len);
387 state->path[state->postsiz++] = '/';
413 memcpy(state->path + state->postsiz, base, len);
968 state->postsiz = strlen(file);
969 if (state->pathsiz < roundof(state->postsiz + 2, PATH_CHUNK) && !(state->path = newof(state->path, char, state->pathsiz = roundof(state->postsiz + 2, PATH_CHUNK), 0)))
971 memcpy(state->path, file, state->postsiz + 1);
972 if (state->directory && state->path[state->postsiz - 1] != '/')
973 state->path[state->postsiz++] = '/';