Home
last modified time | relevance | path

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

/external/toybox/lib/
Ddirtree.c32 int len = 0, linklen = 0; in dirtree_add_node() local
41 if (0>(linklen = readlinkat(fd, name, libbuf, 4095))) goto error; in dirtree_add_node()
42 libbuf[linklen++]=0; in dirtree_add_node()
46 dt = xzalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node()
52 if (linklen) dt->symlink = memcpy(len+(char *)dt, libbuf, linklen); in dirtree_add_node()
/external/python/cpython2/Modules/
Dgetpath.c486 int linklen = readlink(progpath, tmpbuffer, MAXPATHLEN); in calculate_path() local
487 while (linklen != -1) { in calculate_path()
489 tmpbuffer[linklen] = '\0'; in calculate_path()
499 linklen = readlink(argv0_path, tmpbuffer, MAXPATHLEN); in calculate_path()
/external/python/cpython3/Modules/
Dgetpath.c713 int linklen = _Py_wreadlink(program_full_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path() local
714 while (linklen != -1) { in calculate_argv0_path()
725 linklen = _Py_wreadlink(calculate->argv0_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path()
/external/jemalloc/src/
Djemalloc.c990 ssize_t linklen = 0; local
1005 linklen = readlink(linkname, buf, sizeof(buf) - 1);
1006 if (linklen == -1) {
1008 linklen = 0;
1013 buf[linklen] = '\0';
/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';