Searched refs:wbuf (Results 1 - 25 of 26) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/pwrite/
H A Dpwrite04.c70 char *wbuf[NBUFS]; local
82 init_buffers(wbuf);
93 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) {
113 if ((nbytes = pwrite(fd, wbuf[2], K1, K2)) != K1) {
134 if ((nbytes = write(fd, wbuf[3], K1)) != K1) {
148 if ((nbytes = pwrite(fd, wbuf[1], K1, K1)) != K1) {
187 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) {
218 * init_buffers() allocates wbuf[] array
220 * wbuf[0] has 0's, wbuf[
222 init_buffers(char *wbuf[]) argument
[all...]
/external/ltp/testcases/kernel/syscalls/write/
H A Dwrite03.c73 char wbuf[BUFSIZ], rbuf[BUFSIZ]; local
97 (void)memset(wbuf, '0', 100);
99 if (write(fd, wbuf, 100) == -1) {
120 if (memcmp(wbuf, rbuf, 100) == 0) {
H A Dwrite04.c76 char wbuf[17 * PIPE_SIZE_TEST]; local
118 (void)memset((void *)wbuf, 'A', 17 * PIPE_SIZE_TEST);
158 cnt = write(wfd, wbuf, 17 * PIPE_SIZE_TEST);
173 cnt = write(wfd, wbuf, 8 * PIPE_SIZE_TEST);
/external/ltp/testcases/kernel/syscalls/exit/
H A Dexit02.c70 char wbuf[BUFSIZ], rbuf[BUFSIZ]; local
91 strcpy(wbuf, "abcd");
92 len = strlen(wbuf);
106 if (write(filed, wbuf, len) != len) {
162 } else if (strncmp(rbuf, wbuf, len) != 0) {
/external/ltp/testcases/kernel/fs/doio/
H A Dwrite_log.c197 char wbuf[WLOG_REC_MAX_SIZE + 2]; local
207 reclen = wlog_rec_pack(wrec, wbuf, (offset < 0));
216 wbuf[reclen] = reclen / 256;
217 wbuf[reclen + 1] = reclen % 256;
220 if (write(wfile->w_afd, wbuf, reclen) == -1) {
223 wfile->w_file, wbuf, reclen, strerror(errno));
241 if ((write(wfile->w_rfd, wbuf, reclen)) == -1) {
244 wfile->w_file, wbuf, reclen,
369 * Copy the record into wbuf so that it is word
/external/ltp/testcases/kernel/fs/fs-bench/
H A Dcreate-files.c15 char wbuf[MAXFSIZE]; variable
112 if (write(fd, wbuf, randomsize) < 0) {
H A Drandom-access-del-create.c98 char wbuf[MAXFSIZE]; local
106 if (write(fd, wbuf, randomsize) < 0) {
H A Drandom-del-create.c96 char wbuf[MAXFSIZE]; local
104 if (write(fd, wbuf, randomsize) < 0) {
/external/curl/lib/
H A Dstrerror.c646 wchar_t wbuf[256]; local
647 wbuf[0] = L'\0';
650 LANG_NEUTRAL, wbuf, sizeof(wbuf)/sizeof(wchar_t), NULL);
651 wcstombs(buf, wbuf, max);
1016 wchar_t wbuf[256]; local
1017 wbuf[0] = L'\0';
1022 wbuf, sizeof(wbuf)/sizeof(wchar_t), NULL)) {
1023 wcstombs(msgbuf, wbuf, sizeo
[all...]
/external/opencv/ml/src/
H A Dmlann_mlp.cpp95 layer_sizes = wbuf = 0;
108 layer_sizes = wbuf = 0;
126 cvReleaseMat( &wbuf );
253 CV_CALL( wbuf = cvCreateMat( 1, buf_sz, CV_64F ));
256 weights[0] = wbuf->data.db;
903 CV_CALL( dw = cvCreateMat( wbuf->rows, wbuf->cols, wbuf->type ));
1084 CV_CALL( dw = cvCreateMat( wbuf->rows, wbuf
[all...]
/external/libcxx/src/
H A Dlocale.cpp4943 wchar_t wbuf[100]; local
4944 wchar_t* wbb = wbuf;
4947 size_t j = __libcpp_mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_);
5117 wchar_t wbuf[100]; local
5127 size_t j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_);
5130 wbe = wbuf + j;
5131 __weeks_[i].assign(wbuf, wbe);
5135 j = __libcpp_mbsrtowcs_l(wbuf, &bb, countof(wbuf),
5950 wchar_t wbuf[100]; local
6016 wchar_t wbuf[100]; local
[all...]
/external/mdnsresponder/mDNSWindows/
H A DmDNSWin32.h39 WSABUF wbuf; member in struct:Overlapped
H A DmDNSWin32.c1349 sock->overlapped.wbuf.buf = ( char* ) sock->eptr;
1350 sock->overlapped.wbuf.len = ( ULONG) ( sock->ebuf - sock->eptr );
1352 err = WSARecv( sock->fd, &sock->overlapped.wbuf, 1, &bytesReceived, &flags, &sock->overlapped.data, ( LPWSAOVERLAPPED_COMPLETION_ROUTINE ) TCPEndRecv );
3183 sock->overlapped.wbuf.buf = (char *) &sock->packet;
3184 sock->overlapped.wbuf.len = (u_long) sizeof( sock->packet );
3200 sock->wmsg.lpBuffers = &sock->overlapped.wbuf;
3222 err = WSARecvFrom( sock->fd, &sock->overlapped.wbuf, 1, NULL, &flags, ( LPSOCKADDR ) &sock->srcAddr, &sock->srcAddrLen, &sock->overlapped.data, ( LPWSAOVERLAPPED_COMPLETION_ROUTINE ) UDPEndRecv );
/external/ltp/testcases/kernel/fs/scsi/ltpfs/
H A Dmain.c36 char wbuf[MAXFSIZE]; variable
348 if (write(fileHandle, wbuf, randomsize) < 0) {
/external/libusb/libusb/
H A Dcore.c2323 WCHAR wbuf[USBI_MAX_LOG_LEN]; local
2324 MultiByteToWideChar(CP_UTF8, 0, str, -1, wbuf, sizeof(wbuf));
2325 OutputDebugStringW(wbuf);
/external/libedit/src/
H A Dreadline.c1942 char *wbuf; local
1954 if ((wbuf = strdup(buf)) != NULL)
1955 wbuf[count] = '\0';
1957 wbuf = NULL;
1958 (*(void (*)(const char *))rl_linefunc)(wbuf);
/external/libvncserver/libvncserver/
H A Drfbserver.c3405 char *wbuf = buf; local
3413 wbuf = (char *) malloc(sz_rfbSetColourMapEntriesMsg + nColours * 3 * 2);
3416 scme = (rfbSetColourMapEntriesMsg *)wbuf;
3417 rgb = (uint16_t *)(&wbuf[sz_rfbSetColourMapEntriesMsg]);
3443 if (rfbWriteExact(cl, wbuf, len) < 0) {
3446 if (wbuf != buf) free(wbuf);
3453 if (wbuf != buf) free(wbuf);
/external/mksh/src/
H A Dedit.c973 static char *wbuf[2]; /* window buffers */ variable
3555 wbuf[0] = aresize(wbuf[0], wbuf_len, AEDIT);
3556 wbuf[1] = aresize(wbuf[1], wbuf_len, AEDIT);
3559 memset(wbuf[0], ' ', wbuf_len);
3560 memset(wbuf[1], ' ', wbuf_len);
5099 memset(wbuf[win], ' ', wbuf_len);
5117 display(wbuf[1 - win], wbuf[wi
[all...]
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_registrar.c1575 struct wpabuf *wbuf; local
1576 wbuf = wpabuf_alloc(200);
1577 if (wbuf == NULL)
1579 if (wps_build_credential(wbuf, cred)) {
1580 wpabuf_clear_free(wbuf);
1584 wpabuf_put_be16(msg, wpabuf_len(wbuf));
1585 wpabuf_put_buf(msg, wbuf);
1586 wpabuf_clear_free(wbuf);
/external/wpa_supplicant_8/src/wps/
H A Dwps_registrar.c1575 struct wpabuf *wbuf; local
1576 wbuf = wpabuf_alloc(200);
1577 if (wbuf == NULL)
1579 if (wps_build_credential(wbuf, cred)) {
1580 wpabuf_clear_free(wbuf);
1584 wpabuf_put_be16(msg, wpabuf_len(wbuf));
1585 wpabuf_put_buf(msg, wbuf);
1586 wpabuf_clear_free(wbuf);
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_registrar.c1575 struct wpabuf *wbuf; local
1576 wbuf = wpabuf_alloc(200);
1577 if (wbuf == NULL)
1579 if (wps_build_credential(wbuf, cred)) {
1580 wpabuf_clear_free(wbuf);
1584 wpabuf_put_be16(msg, wpabuf_len(wbuf));
1585 wpabuf_put_buf(msg, wbuf);
1586 wpabuf_clear_free(wbuf);
/external/python/cpython2/Modules/
H A Dposixmodule.c2217 wchar_t wbuf[1026]; local
2218 wchar_t *wbuf2 = wbuf;
2221 len = GetCurrentDirectoryW(sizeof wbuf/ sizeof wbuf[0], wbuf);
2225 if (len >= sizeof wbuf/ sizeof wbuf[0]) {
2236 if (wbuf2 != wbuf) free(wbuf2);
2240 if (wbuf2 != wbuf) free(wbuf2);
/external/opencv/ml/include/
H A Dml.h1233 CvMat* wbuf; member in class:CvANN_MLP
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_openssl.c453 unsigned short wbuf[255]; local
454 MultiByteToWideChar(CP_ACP, 0, name + 7, -1, wbuf, 255);
458 wbuf, NULL);
/external/wpa_supplicant_8/src/crypto/
H A Dtls_openssl.c453 unsigned short wbuf[255]; local
454 MultiByteToWideChar(CP_ACP, 0, name + 7, -1, wbuf, 255);
458 wbuf, NULL);

Completed in 2077 milliseconds

12