Lines Matching defs:tmpPathBuf1
43 static char tmpPathBuf1[MAX_FILENAME_LEN];
94 if (convertFilename(name, nameLen, tmpPathBuf1) <= 0)
98 else if (stat(tmpPathBuf1, sbuf) != 0)
100 Trace("getFileStat %s: stat() errno=%d", tmpPathBuf1, errno);
229 if (convertFilename(prefix, prefixLen, tmpPathBuf1) <= 0)
241 char *sep = strrchr(tmpPathBuf1, '/');
243 if (sep == NULL || ((sep != NULL) && (sep == tmpPathBuf1)))
253 *iteration = sep - tmpPathBuf1 + 1;
257 dir = opendir(tmpPathBuf1);
261 Trace("DRM_file_listOpen: opendir %s: errno=%d", tmpPathBuf1, errno);
265 Trace("DRM_file_listOpen: dir %s, filter %s", tmpPathBuf1, sep+1);
392 if (convertFilename(name, nameLen, tmpPathBuf1) <= 0)
400 if (stat(tmpPathBuf1, &sinfo) != 0){
407 if (rmdir(tmpPathBuf1) != 0){
418 if (unlink(tmpPathBuf1) != 0)
447 if (convertFilename(oldName, oldNameLen, tmpPathBuf1) <= 0 ||
452 else if (rename(tmpPathBuf1, tmpPathBuf2) != 0)
512 if (convertFilename(name, nameLen, tmpPathBuf1) <= 0)
518 if ((res = open(tmpPathBuf1, modes[mode], 0777)) == -1)
524 Trace("DRM_file_open: open '%s; returned %d", tmpPathBuf1, res);
681 if (convertFilename(name, nameChars, tmpPathBuf1) <= 0)
687 if (mkdir(tmpPathBuf1,0777) != 0)