Home
last modified time | relevance | path

Searched refs:linklen (Results 1 – 4 of 4) sorted by relevance

/external/toybox/lib/
Ddirtree.c32 int len = 0, linklen = 0, statless = 0; in dirtree_add_node() local
48 if (0>(linklen = readlinkat(fd, name, libbuf, 4095))) goto error; in dirtree_add_node()
49 libbuf[linklen++]=0; in dirtree_add_node()
55 dt = xmalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node()
62 if (linklen) dt->symlink = memcpy(len+(char *)dt, libbuf, linklen); in dirtree_add_node()
/external/python/cpython2/Modules/
Dgetpath.c487 int linklen = readlink(progpath, tmpbuffer, MAXPATHLEN); in calculate_path() local
488 while (linklen != -1) { in calculate_path()
490 tmpbuffer[linklen] = '\0'; in calculate_path()
500 linklen = readlink(argv0_path, tmpbuffer, MAXPATHLEN); in calculate_path()
/external/jemalloc_new/src/
Djemalloc.c905 ssize_t linklen = 0; local
920 linklen = readlink(linkname, buf, sizeof(buf) - 1);
921 if (linklen == -1) {
923 linklen = 0;
928 buf[linklen] = '\0';
/external/python/cpython3/Modules/
Dgetpath.c1056 int linklen = _Py_wreadlink(*path_p, new_path, new_path_len); in resolve_symlinks() local
1057 if (linklen == -1) { in resolve_symlinks()