Searched refs:pathlen (Results 1 – 6 of 6) sorted by relevance
/system/core/libcutils/ |
D | debugger.c | 102 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen) { in dump_tombstone() argument 103 return dump_tombstone_timeout(tid, pathbuf, pathlen, 0); in dump_tombstone() 106 int dump_tombstone_timeout(pid_t tid, char* pathbuf, size_t pathlen, int timeout_secs) { in dump_tombstone_timeout() argument 119 if (pathbuf && pathlen) { in dump_tombstone_timeout() 120 if (n >= (ssize_t) pathlen) { in dump_tombstone_timeout() 121 n = pathlen - 1; in dump_tombstone_timeout()
|
/system/core/fingerprintd/ |
D | FingerprintDaemonProxy.cpp | 166 ssize_t pathlen) { in setActiveGroup() argument 167 if (pathlen >= PATH_MAX || pathlen <= 0) { in setActiveGroup() 168 ALOGE("Bad path length: %zd", pathlen); in setActiveGroup() 173 memcpy(path_name, path, pathlen); in setActiveGroup() 174 path_name[pathlen] = '\0'; in setActiveGroup() 175 ALOG(LOG_VERBOSE, LOG_TAG, "setActiveGroup(%d, %s, %zu)", groupId, path_name, pathlen); in setActiveGroup()
|
/system/core/include/cutils/ |
D | debugger.h | 53 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen); 61 int dump_tombstone_timeout(pid_t tid, char* pathbuf, size_t pathlen, int timeout_secs);
|
/system/core/adb/ |
D | jdwp_service.cpp | 476 int pathlen = socknamelen; in jdwp_control_init() local 478 if (pathlen >= maxpath) { in jdwp_control_init() 480 pathlen+1-maxpath ); in jdwp_control_init() 495 addrlen = (pathlen + sizeof(addr.sun_family)); in jdwp_control_init()
|
/system/extras/tests/sdcard/ |
D | sdcard_perf_test.cpp | 622 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()
|
/system/core/sdcard/ |
D | sdcard.c | 338 ssize_t pathlen = 0; in get_node_path_locked() local 340 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 1); in get_node_path_locked() 341 if (pathlen < 0) { in get_node_path_locked() 344 buf[pathlen++] = '/'; in get_node_path_locked() 347 memcpy(buf + pathlen, name, namelen + 1); /* include trailing \0 */ in get_node_path_locked() 348 return pathlen + namelen; in get_node_path_locked() 362 size_t pathlen = strlen(path); in find_file_within() local 364 size_t childlen = pathlen + namelen + 1; in find_file_within() 371 memcpy(buf, path, pathlen); in find_file_within() 372 buf[pathlen] = '/'; in find_file_within() [all …]
|