Home
last modified time | relevance | path

Searched refs:nwrite (Results 1 – 6 of 6) sorted by relevance

/external/libevent/
Devmap.c60 ev_uint16_t nwrite; member
256 entry->nwrite = 0; in evmap_io_init()
268 int nread, nwrite, retval = 0; in evmap_io_add() local
287 nwrite = ctx->nwrite; in evmap_io_add()
291 if (nwrite) in evmap_io_add()
299 if (++nwrite == 1) in evmap_io_add()
302 if (EVUTIL_UNLIKELY(nread > 0xffff || nwrite > 0xffff)) { in evmap_io_add()
327 ctx->nwrite = (ev_uint16_t) nwrite; in evmap_io_add()
341 int nread, nwrite, retval = 0; in evmap_io_del() local
357 nwrite = ctx->nwrite; in evmap_io_del()
[all …]
/external/curl/tests/server/
Dsockfilt.c396 ssize_t nwrite = 0; in fullwrite() local
399 wc = write(filedes, (unsigned char *)buffer + nwrite, nbytes - nwrite); in fullwrite()
421 nwrite += wc; in fullwrite()
423 } while((size_t)nwrite < nbytes); in fullwrite()
426 logmsg("wrote %zd bytes", nwrite); in fullwrite()
428 return nwrite; in fullwrite()
457 ssize_t nwrite = fullwrite(fileno(stdout), buffer, nbytes); in write_stdout() local
458 if(nwrite != (ssize_t)nbytes) { in write_stdout()
/external/libchrome/base/message_loop/
Dmessage_pump_libevent.cc297 int nwrite = HANDLE_EINTR(write(wakeup_pipe_in_, &buf, 1)); in ScheduleWork() local
298 DCHECK(nwrite == 1 || errno == EAGAIN) in ScheduleWork()
299 << "[nwrite:" << nwrite << "] [errno:" << errno << "]"; in ScheduleWork()
/external/curl/lib/
Dssh.c3000 ssize_t nwrite; in scp_send() local
3004 nwrite = (ssize_t) in scp_send()
3007 ssh_block2waitfor(conn, (nwrite == LIBSSH2_ERROR_EAGAIN)?TRUE:FALSE); in scp_send()
3009 if(nwrite == LIBSSH2_ERROR_EAGAIN) { in scp_send()
3011 nwrite = 0; in scp_send()
3013 else if(nwrite < LIBSSH2_ERROR_NONE) { in scp_send()
3014 *err = libssh2_session_error_to_CURLE((int)nwrite); in scp_send()
3015 nwrite = -1; in scp_send()
3018 return nwrite; in scp_send()
3142 ssize_t nwrite; /* libssh2_sftp_write() used to return size_t in 0.14 in sftp_send() local
[all …]
Dfile.c308 size_t nwrite; in file_upload() local
386 nwrite = write(fd, buf2, nread); in file_upload()
387 if(nwrite != nread) { in file_upload()
/external/owasp/sanitizer/src/tests/org/owasp/html/
Dhtmllexergolden1.txt119 SERVERCODE [<% # some php code here\nwrite("<pre>$horriblySyntacticConstruct1</pre>\\n\\n");\n%>] …