Home
last modified time | relevance | path

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

/third_party/toybox/porting/liteos_a/lib/
Ddirtree.c40 int len = 0, linklen = 0, statless = 0; in dirtree_add_node() local
51 if (0>(linklen = readlinkat(fd, name, libbuf, 4095))) goto error; in dirtree_add_node()
52 libbuf[linklen++]=0; in dirtree_add_node()
58 dt = xmalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node()
65 if (linklen) dt->symlink = memcpy(len+(char *)dt, libbuf, linklen); in dirtree_add_node()
/third_party/toybox/lib/
Ddirtree.c32 int len = 0, linklen = 0, statless = 0; in dirtree_add_node() local
43 if (0>(linklen = readlinkat(fd, name, libbuf, 4095))) goto error; in dirtree_add_node()
44 libbuf[linklen++]=0; in dirtree_add_node()
50 dt = xmalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node()
57 if (linklen) dt->symlink = memcpy(len+(char *)dt, libbuf, linklen); in dirtree_add_node()
/third_party/libfuse/test/
Dtest_syscalls.c1324 int linklen = strlen(testfile); in test_symlink() local
1349 if (res != linklen) { in test_symlink()
1350 ERROR("short readlink: %u instead of %u", res, linklen); in test_symlink()
1353 if (memcmp(buf, testfile, linklen) != 0) { in test_symlink()
/third_party/python/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()