Searched refs:nbytes (Results 1 - 17 of 17) sorted by relevance

/httpd/server/
H A Dutil_md5.c154 apr_size_t nbytes; local
158 nbytes = sizeof(buf);
159 while (apr_file_read(infile, buf, &nbytes) == APR_SUCCESS) {
160 apr_md5_update(&context, buf, nbytes);
161 nbytes = sizeof(buf);
H A Dconnection.c153 apr_size_t nbytes; local
174 nbytes = sizeof(dummybuf);
175 if (apr_socket_recv(csd, dummybuf, &nbytes) || nbytes == 0)
H A Dprotocol.c1561 apr_size_t *nbytes)
1573 *nbytes = 0; /* no way to tell how many were actually sent */
1576 *nbytes = len;
H A Dutil.c3118 apr_size_t nbytes = 1; local
3140 for (k = 0; apr_file_read(fp, &c, &nbytes) == APR_SUCCESS
3141 && nbytes == 1 && (k < MAX_STRING_LEN-1) ; ) {
/httpd/modules/arch/netware/
H A Dlibprews.c41 size_t nbytes, size_t *bytesRead, void *buffer ),
32 _NonAppStart( void *NLMHandle, void *errorScreen, const char *cmdLine, const char *loadDirPath, size_t uninitializedDataLength, void *NLMFileHandle, int (*readRoutineP)( int conn, void *fileHandle, size_t offset, size_t nbytes, size_t *bytesRead, void *buffer ), size_t customDataOffset, size_t customDataSize, int messageCount, const char **messages ) argument
/httpd/modules/debugging/
H A Dmod_dumpio.c71 apr_size_t nbytes; local
72 apr_status_t rv = apr_bucket_read(b, &buf, &nbytes, APR_BLOCK_READ);
76 while (nbytes)
78 apr_size_t logbytes = nbytes;
81 nbytes -= logbytes;
H A Dmod_firehose.c194 apr_size_t nbytes, offset = 0; local
196 rv = apr_bucket_read(b, &buf, &nbytes, APR_BLOCK_READ);
199 while (nbytes > 0) {
202 apr_size_t body_len = nbytes < BODY_LEN ? nbytes : BODY_LEN;
253 nbytes -= vec[1].iov_len;
/httpd/os/netware/
H A Dutil_nw.c80 size_t nbytes, size_t *bytesRead, void *buffer ),
71 _NonAppStart( void *NLMHandle, void *errorScreen, const char *cmdLine, const char *loadDirPath, size_t uninitializedDataLength, void *NLMFileHandle, int (*readRoutineP)( int conn, void *fileHandle, size_t offset, size_t nbytes, size_t *bytesRead, void *buffer ), size_t customDataOffset, size_t customDataSize, int messageCount, const char **messages ) argument
/httpd/modules/proxy/
H A Dmod_proxy_connect.c210 apr_size_t nbytes; local
379 nbytes = apr_snprintf(buffer, sizeof(buffer),
381 ap_xlate_proto_to_ascii(buffer, nbytes);
382 ap_fwrite(c->output_filters, bb, buffer, nbytes);
383 nbytes = apr_snprintf(buffer, sizeof(buffer),
386 ap_xlate_proto_to_ascii(buffer, nbytes);
387 ap_fwrite(c->output_filters, bb, buffer, nbytes);
H A Dproxy_util.c2558 apr_size_t nbytes; local
2572 nbytes = apr_snprintf(buffer, sizeof(buffer),
2577 nbytes += apr_snprintf(buffer + nbytes, sizeof(buffer) - nbytes,
2582 nbytes += apr_snprintf(buffer + nbytes, sizeof(buffer) - nbytes,
2585 ap_xlate_proto_to_ascii(buffer, nbytes);
2586 apr_socket_send(backend->sock, buffer, &nbytes);
[all...]
/httpd/modules/slotmem/
H A Dmod_slotmem_shm.c145 apr_size_t nbytes; local
168 nbytes = (slotmem->desc.size * slotmem->desc.num) +
170 apr_md5(digest, slotmem->persist, nbytes);
171 rv = apr_file_write_full(fp, slotmem->persist, nbytes, NULL);
187 apr_size_t nbytes = size; local
201 rv = apr_file_read(fp, ptr, &nbytes);
202 if ((rv == APR_SUCCESS || rv == APR_EOF) && nbytes == size) {
214 apr_md5(digest2, ptr, nbytes);
227 else if (nbytes != size) {
230 size, nbytes);
[all...]
/httpd/modules/metadata/
H A Dmod_mime_magic.c826 apr_size_t nbytes = 0; /* number of bytes read from a datafile */ local
854 nbytes = sizeof(buf) - 1;
855 if ((result = apr_file_read(fd, (char *) buf, &nbytes)) != APR_SUCCESS) {
861 if (nbytes == 0) {
865 buf[nbytes++] = '\0'; /* null-terminate it */
866 result = tryit(r, buf, nbytes, 1);
1495 /* ARGSUSED1 *//* nbytes passed for regularity, maybe need later */
1496 static int softmagic(request_rec *r, unsigned char *buf, apr_size_t nbytes) argument
1498 if (match(r, buf, nbytes))
1530 static int match(request_rec *r, unsigned char *s, apr_size_t nbytes) argument
1785 mget(request_rec *r, union VALUETYPE *p, unsigned char *s, struct magic *m, apr_size_t nbytes) argument
1972 ascmagic(request_rec *r, unsigned char *buf, apr_size_t nbytes) argument
2082 zmagic(request_rec *r, unsigned char *buf, apr_size_t nbytes) argument
2224 is_tar(unsigned char *buf, apr_size_t nbytes) argument
[all...]
/httpd/modules/ssl/
H A Dssl_ct_util.c195 apr_size_t nbytes; local
224 nbytes = (apr_size_t)finfo.size;
225 *contents = apr_palloc(p, nbytes);
226 rv = apr_file_read_full(f, *contents, nbytes, contents_size);
428 apr_size_t nbytes; local
434 nbytes = sizeof(vals);
435 rv = apr_file_write(f, vals, &nbytes);
447 apr_size_t nbytes; local
454 nbytes = sizeof(vals);
455 rv = apr_file_write(f, vals, &nbytes);
[all...]
H A Dssl_util.c99 apr_size_t nbytes = 1; local
106 for (k = 0; apr_file_read(fp, &c, &nbytes) == APR_SUCCESS
107 && nbytes == 1 && (k < MAX_STRING_LEN-1) ; ) {
/httpd/include/
H A Dhttp_protocol.h264 * @param nbytes Amount of data actually sent
267 apr_size_t length, apr_size_t *nbytes);
/httpd/modules/mappers/
H A Dmod_rewrite.c1418 apr_size_t i, nbytes, combined_len = 0; local
1457 nbytes = strlen(key);
1459 apr_file_write_full(fpin, key, nbytes, NULL);
1460 nbytes = 1;
1461 apr_file_write_full(fpin, "\n", nbytes, NULL);
1470 apr_file_writev_full(fpin, iova, niov, &nbytes);
1476 nbytes = 1;
1477 apr_file_read(fpout, &c, &nbytes);
1480 while (nbytes == 1 && (i < REWRITE_PRG_MAP_BUF)) {
1509 apr_file_read(fpout, &c, &nbytes);
[all...]
/httpd/server/mpm/event/
H A Devent.c1633 apr_size_t nbytes; local
1640 nbytes = sizeof(dummybuf);
1641 rv = apr_socket_recv(csd, dummybuf, &nbytes);

Completed in 1916 milliseconds