Lines Matching full:cwd
114 char cwd[PATH_MAX + 1]; in main() local
120 if (getcwd(cwd, sizeof cwd - 1) == NULL) in main()
122 clen = strlen(cwd); in main()
123 cwd[clen++] = '/'; in main()
124 cwd[clen] = '\0'; in main()
138 /* start of the page, prefixed with the cwd */ in main()
139 try_mkstemp(p, cwd, i); in main()
140 /* how about at the end of the page, prefixed with cwd? */ in main()
141 try_mkstemp(p + pg - clen - i - 1, cwd, i); in main()
148 /* start of the page, prefixed with the cwd */ in main()
149 try_mkstemps(p, cwd, i, ""); in main()
150 /* how about at the end of the page, prefixed with cwd? */ in main()
151 try_mkstemps(p + pg - clen - i - 1, cwd, i, ""); in main()
158 /* start of the page, prefixed with the cwd */ in main()
159 try_mkstemps(p, cwd, i, SUFFIX); in main()
160 /* how about at the end of the page, prefixed with cwd? */ in main()
161 try_mkstemps(p + pg - clen - i - SLEN - 1, cwd, i, SUFFIX); in main()