/httpd/server/ |
H A D | util_md5.c | 154 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 D | connection.c | 153 apr_size_t nbytes; local 174 nbytes = sizeof(dummybuf); 175 if (apr_socket_recv(csd, dummybuf, &nbytes) || nbytes == 0)
|
H A D | protocol.c | 1561 apr_size_t *nbytes) 1573 *nbytes = 0; /* no way to tell how many were actually sent */ 1576 *nbytes = len;
|
H A D | util.c | 3118 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 D | libprews.c | 41 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 D | mod_dumpio.c | 71 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 D | mod_firehose.c | 194 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 D | util_nw.c | 80 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 D | mod_proxy_connect.c | 210 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 D | proxy_util.c | 2558 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 D | mod_slotmem_shm.c | 145 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 D | mod_mime_magic.c | 826 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 D | ssl_ct_util.c | 195 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 D | ssl_util.c | 99 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 D | http_protocol.h | 264 * @param nbytes Amount of data actually sent 267 apr_size_t length, apr_size_t *nbytes);
|
/httpd/modules/mappers/ |
H A D | mod_rewrite.c | 1418 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 D | event.c | 1633 apr_size_t nbytes; local 1640 nbytes = sizeof(dummybuf); 1641 rv = apr_socket_recv(csd, dummybuf, &nbytes);
|