Lines Matching refs:alloc_data
692 size_t alloc_data = 0, /* Bytes allocated */ in httpLoadCredentials() local
757 if (alloc_data == 0) in httpLoadCredentials()
760 alloc_data = 2048; in httpLoadCredentials()
765 else if ((num_data + strlen(line)) >= alloc_data) in httpLoadCredentials()
767 unsigned char *tdata = realloc(data, alloc_data + 1024); in httpLoadCredentials()
778 alloc_data += 1024; in httpLoadCredentials()
781 decoded = alloc_data - num_data; in httpLoadCredentials()
961 size_t alloc_data = 0, /* Bytes allocated */ in http_gnutls_load_crl() local
1004 if (alloc_data == 0) in http_gnutls_load_crl()
1007 alloc_data = 2048; in http_gnutls_load_crl()
1012 else if ((num_data + strlen(line)) >= alloc_data) in http_gnutls_load_crl()
1014 unsigned char *tdata = realloc(data, alloc_data + 1024); in http_gnutls_load_crl()
1021 alloc_data += 1024; in http_gnutls_load_crl()
1024 decoded = alloc_data - num_data; in http_gnutls_load_crl()