Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 9 of 9) sorted by relevance

/curl/lib/
H A Dgetenv.c43 DWORD bufsize; in GetEnv()
55 bufsize = rc; in GetEnv()
59 rc = GetEnvironmentVariableA(variable, buf, bufsize); in GetEnv()
60 if(!rc || rc == bufsize || rc > max) { in GetEnv()
66 if(rc < bufsize) in GetEnv()
H A Dmime.c762 char *buffer, size_t bufsize, in readback_bytes() argument
781 if(sz > bufsize) in readback_bytes()
782 sz = bufsize; in readback_bytes()
830 sz = part->readfunc(buffer, 1, bufsize, part->arg); in read_part_content()
856 size_t bufsize, bool *hasread) in read_encoded_part_content() argument
866 sz = part->encoder->encodefunc(buffer, bufsize, ateof, part); in read_encoded_part_content()
878 bufsize -= sz; in read_encoded_part_content()
922 while(bufsize) { in readback_part()
946 sz = readback_bytes(&part->state, buffer, bufsize, in readback_part()
966 sz = read_part_content(part, buffer, bufsize, hasread); in readback_part()
[all …]
H A Dhostip.h195 char *buf, size_t bufsize);
H A Dhostip.c135 size_t bufsize) in Curl_printable_address() argument
137 DEBUGASSERT(bufsize); in Curl_printable_address()
144 (void)Curl_inet_ntop(ai->ai_family, (const void *)ipaddr4, buf, bufsize); in Curl_printable_address()
151 (void)Curl_inet_ntop(ai->ai_family, (const void *)ipaddr6, buf, bufsize); in Curl_printable_address()
/curl/tests/server/
H A Dgetpart.c110 static int readline(char **buffer, size_t *bufsize, size_t *length, in readline() argument
120 *bufsize = 128; in readline()
124 int bytestoread = curlx_uztosi(*bufsize - offset); in readline()
133 if(*length < *bufsize - 1) in readline()
136 newptr = realloc(*buffer, *bufsize * 2); in readline()
139 memset(&newptr[*bufsize], 0, *bufsize); in readline()
141 *bufsize *= 2; in readline()
289 size_t bufsize = 0; in getpart() local
313 while((error = readline(&buffer, &bufsize, &datalen, stream)) == GPE_OK) { in getpart()
H A Dtftpd.c103 size_t bufsize; /* size of the data in buffer */ member
1088 test->bufsize = count; /* set total count */ in validate_access()
1146 test->bufsize = count; /* set total count */ in validate_access()
/curl/lib/vquic/
H A Dvquic.c544 int bufsize = (int)sizeof(buf); in recvfrom_packets() local
554 while((nread = recvfrom(qctx->sockfd, (char *)buf, bufsize, 0, in recvfrom_packets()
/curl/lib/vtls/
H A Dmbedtls.c484 const size_t bufsize = 16384; in mbed_dump_cert_info()
485 char *p, *buffer = malloc(bufsize); in mbed_dump_cert_info()
487 if(buffer && mbedtls_x509_crt_info(buffer, bufsize, " ", crt) > 0) { in mbed_dump_cert_info()
/curl/m4/
H A Dcurl-functions.m44282 dnl char *strerror_r(int errnum, char *workbuf, size_t bufsize);
4290 dnl int strerror_r(int errnum, char *resultbuf, size_t bufsize);
4361 char *strerror_r(int errnum, char *workbuf, $arg3 bufsize);
4422 int strerror_r(int errnum, char *resultbuf, $arg3 bufsize);

Completed in 45 milliseconds