Home
last modified time | relevance | path

Searched refs:pathlen (Results 1 – 6 of 6) sorted by relevance

/system/core/libcutils/
Ddebugger.c23 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen) { in dump_tombstone() argument
42 if (pathbuf && pathlen) { in dump_tombstone()
43 ssize_t n = TEMP_FAILURE_RETRY(read(s, pathbuf, pathlen - 1)); in dump_tombstone()
/system/core/toolbox/
Dchmod.c22 int pathlen = strlen(path); in recurse_chmod() local
28 if (strlen(dp->d_name) + pathlen + 2/*NUL and slash*/ > PATH_MAX) { in recurse_chmod()
/system/core/include/cutils/
Ddebugger.h47 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen);
/system/core/sdcard/
Dsdcard.c218 ssize_t pathlen = 0; in get_node_path_locked() local
220 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 2); in get_node_path_locked()
221 if (pathlen < 0) { in get_node_path_locked()
224 buf[pathlen++] = '/'; in get_node_path_locked()
228 memcpy(buf + pathlen, name, namelen + 1); /* include trailing \0 */ in get_node_path_locked()
229 return pathlen + namelen; in get_node_path_locked()
243 size_t pathlen = strlen(path); in find_file_within() local
245 size_t childlen = pathlen + namelen + 1; in find_file_within()
252 memcpy(buf, path, pathlen); in find_file_within()
253 buf[pathlen] = '/'; in find_file_within()
[all …]
/system/core/adb/
Djdwp_service.c456 int pathlen = socknamelen; in jdwp_control_init() local
458 if (pathlen >= maxpath) { in jdwp_control_init()
460 pathlen+1-maxpath ); in jdwp_control_init()
475 addrlen = (pathlen + sizeof(addr.sun_family)); in jdwp_control_init()
/system/extras/tests/sdcard/
Dsdcard_perf_test.cpp622 int pathlen = strlen(path); in testTraverse() local
623 char* nameStart = filepath + pathlen; in testTraverse()
625 snprintf(nameStart, MAX_PATH - pathlen, "/file%d", j); in testTraverse()