Lines Matching refs:tmpbuf
451 char* tmpbuf;
454 tmpbuf = uv__malloc(len + 1);
455 if (tmpbuf == NULL) {
460 rlen = readlink(path, tmpbuf, len);
462 uv__free(tmpbuf);
466 if (rlen < 3 || strncmp("/$", tmpbuf, 2) != 0) {
468 memcpy(buf, tmpbuf, rlen);
469 uv__free(tmpbuf);
477 tmpbuf[rlen] = '\0';
478 delimiter = strchr(tmpbuf + 2, '/');
481 delimiter = strchr(tmpbuf + 2, '\0');
486 if (realpath(tmpbuf, realpathstr) == NULL) {
487 uv__free(tmpbuf);
500 uv__free(tmpbuf);
508 uv__free(tmpbuf);