Home
last modified time | relevance | path

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

/system/netd/server/
DSoftapController.cpp120 char *wbuf = NULL; in setSoftap() local
138 asprintf(&wbuf, "interface=%s\ndriver=nl80211\nctrl_interface=" in setSoftap()
146 asprintf(&fbuf, "%swpa=3\nwpa_pairwise=TKIP CCMP\nwpa_psk=%s\n", wbuf, psk_str); in setSoftap()
149 asprintf(&fbuf, "%swpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s\n", wbuf, psk_str); in setSoftap()
151 asprintf(&fbuf, "%s", wbuf); in setSoftap()
155 asprintf(&fbuf, "%s", wbuf); in setSoftap()
158 asprintf(&fbuf, "%s", wbuf); in setSoftap()
164 free(wbuf); in setSoftap()
172 free(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()