Searched refs:wbuf (Results 1 – 2 of 2) sorted by relevance
167 static char wbuf[128]; in buffer_write() local174 wbuf[cnt++] = str[i]; in buffer_write()176 if (cnt >= sizeof(wbuf)) { in buffer_write()177 (void)write(STDERR_FILENO, wbuf, cnt); in buffer_write()183 (void)write(STDERR_FILENO, wbuf, cnt); in buffer_write()
2671 wchar_t* wbuf = _wgetcwd(nullptr, 0); in adb_getcwd() local2672 if (wbuf == nullptr) { in adb_getcwd()2677 const bool narrow_result = android::base::WideToUTF8(wbuf, &buf_utf8); in adb_getcwd()2678 free(wbuf); in adb_getcwd()2679 wbuf = nullptr; in adb_getcwd()