Home
last modified time | relevance | path

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

/system/netd/server/
DSoftapController.cpp142 std::string wbuf(StringPrintf("interface=%s\n" in setSoftap() local
160 … fbuf = StringPrintf("%swpa=3\nwpa_pairwise=TKIP CCMP\nwpa_psk=%s\n", wbuf.c_str(), psk_str); in setSoftap()
165 fbuf = StringPrintf("%swpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s\n", wbuf.c_str(), psk_str); in setSoftap()
167 fbuf = wbuf; in setSoftap()
171 fbuf = wbuf; in setSoftap()
174 fbuf = wbuf; in setSoftap()
/system/core/toolbox/upstream-netbsd/bin/dd/
Dmisc.c167 static char wbuf[128]; in buffer_write() local
174 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()
/system/core/adb/
Dsysdeps_win32.cpp2774 wchar_t* wbuf = _wgetcwd(nullptr, 0); in adb_getcwd() local
2775 if (wbuf == nullptr) { in adb_getcwd()
2780 const bool narrow_result = android::base::WideToUTF8(wbuf, &buf_utf8); in adb_getcwd()
2781 free(wbuf); in adb_getcwd()
2782 wbuf = nullptr; in adb_getcwd()