Home | History | Annotate | Download | only in coregrind

Lines Matching refs:tmpdir

182    const char *tmpdir;
184 tmpdir = getenv("TMPDIR");
185 if (tmpdir == NULL || *tmpdir == '\0')
186 tmpdir = VG_TMPDIR;
187 if (tmpdir == NULL || *tmpdir == '\0')
188 tmpdir = "/tmp"; /* fallback */
190 return tmpdir;
201 const char *tmpdir = vgdb_tmpdir();
202 prefix = vmalloc(strlen(tmpdir) + strlen("/vgdb-pipe") + 1);
203 strcpy(prefix, tmpdir);