Home
last modified time | relevance | path

Searched refs:pathbuf (Results 1 – 3 of 3) sorted by relevance

/system/core/libcutils/
Ddebugger.c102 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()
124 memcpy(pathbuf, buffer, n + 1); in dump_tombstone_timeout()
/system/core/include/cutils/
Ddebugger.h53 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/
Dusb_linux.cpp212 char pathbuf[128]; in find_usb_device() local
267 snprintf(pathbuf, sizeof(pathbuf), "/sys/dev/char/%d:%d", in find_usb_device()
269 ssize_t link_len = readlink(pathbuf, link, sizeof(link) - 1); in find_usb_device()
274 snprintf(pathbuf, sizeof(pathbuf), in find_usb_device()
276 devpath = pathbuf; in find_usb_device()