Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 25 of 88) sorted by relevance

1234

/curl/docs/examples/
H A Dpostinmemory.c34 char *memory; member
44 char *ptr = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
51 mem->memory = ptr; in WriteMemoryCallback()
52 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
54 mem->memory[mem->size] = 0; in WriteMemoryCallback()
66 chunk.memory = malloc(1); /* grown as needed by realloc above */ in main()
103 printf("%s\n",chunk.memory); in main()
110 free(chunk.memory); in main()
H A Dgetinmemory.c37 char *memory; member
47 char *ptr = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
54 mem->memory = ptr; in WriteMemoryCallback()
55 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
57 mem->memory[mem->size] = 0; in WriteMemoryCallback()
69 chunk.memory = malloc(1); /* grown as needed by the realloc above */ in main()
112 free(chunk.memory); in main()
H A Dxmlstream.c44 char *memory; member
63 free(state->characters.memory); in startElement()
64 state->characters.memory = NULL; in startElement()
73 char *ptr = realloc(mem->memory, mem->size + len + 1); in characterDataHandler()
81 mem->memory = ptr; in characterDataHandler()
82 memcpy(&(mem->memory[mem->size]), s, len); in characterDataHandler()
84 mem->memory[mem->size] = 0; in characterDataHandler()
161 free(state.characters.memory); in main()
H A Dhttp2-pushinmemory.c36 char *memory; member
45 char *ptr = realloc(mem->memory, mem->size + realsize + 1); in write_cb()
52 mem->memory = ptr; in write_cb()
53 memcpy(&(mem->memory[mem->size]), contents, realsize); in write_cb()
55 mem->memory[mem->size] = 0; in write_cb()
66 chunk->memory = malloc(1); /* grown as needed with realloc */ in init_memory()
182 free(files[i].memory); in main()
H A Dcrawler.c60 } memory; typedef
65 memory *mem = (memory*) ctx; in grow_buffer()
87 memory *mem = malloc(sizeof(memory)); in make_handle()
120 size_t follow_links(CURLM *multi_handle, memory *mem, char *url) in follow_links()
201 memory *mem; in main()
/curl/tests/data/
H A Dtest11325 memory-includes
17 Verify memory #include files in libcurl's C source files
H A Dtest5094 memory callbacks
26 initialization with memory callbacks and actual usage
H A Dtest9623 curl memory tracking operational
H A Dtest133024 unit tests memory tracking operational
H A Dtest191924 # This created a memory leak in 7.83.1 and earlier
/curl/docs/libcurl/
H A Dcurl_free.md17 curl_free - reclaim memory that has been obtained through a libcurl call
29 curl_free reclaims memory that has been obtained through a libcurl call. Use
31 differences in memory management between your application and libcurl.
H A Dcurl_mime_data.md21 curl_mime_data - set a mime part's body data from memory
34 curl_mime_data(3) sets a mime part's body content from memory data.
50 Setting large data is memory consuming: one might consider using
H A Dcurl_global_cleanup.md40 thread in the program (i.e. a thread sharing the same memory) is running.
60 some rare circumstances a memory leak could occur unless you implement your own
H A Dcurl_global_init_mem.md17 curl_global_init_mem - global libcurl initialization with memory callbacks
36 memory functions.
/curl/docs/libcurl/opts/
H A DCURLOPT_PROGRESSDATA.md52 struct progress *memory = clientp;
53 printf("private: %p\n", memory->private);
H A DCURLOPT_XFERINFODATA.md55 struct progress *memory = clientp;
56 printf("private ptr: %p\n", memory->private);
H A DCURLOPT_WRITEFUNCTION.md86 struct memory {
94 struct memory *mem = (struct memory *)clientp;
98 return 0; /* out of memory */
110 struct memory chunk = {0};
H A DCURLOPT_HSTS_CTRL.md38 in an in-memory cache.
47 Enable the in-memory HSTS cache for this handle.
H A DCURLINFO_PRIMARY_IP.md35 get a pointer to a memory area that is reused at next request so you need to
38 The **ip** pointer is NULL or points to private memory. You MUST NOT free -
H A DCURLINFO_LOCAL_IP.md35 that you get a pointer to a memory area that is reused at next request so you
38 The **ip** pointer is NULL or points to private memory. You MUST NOT free - it
H A DCURLOPT_PROXY_SSLCERT_BLOB.md23 CURLOPT_PROXY_SSLCERT_BLOB - SSL proxy client certificate from memory blob
37 and size) about a memory block with binary data of the certificate used to
H A DCURLOPT_COOKIELIST.md19 CURLOPT_COOKIELIST - add to or manipulate cookies held in memory
55 erases all cookies held in memory
59 erases all session cookies held in memory
H A DCURLOPT_ISSUERCERT_BLOB.md21 CURLOPT_ISSUERCERT_BLOB - issuer SSL certificate from memory blob
35 and size) about a memory block with binary data of a CA certificate in PEM
H A DCURLOPT_PROXY_ISSUERCERT_BLOB.md22 CURLOPT_PROXY_ISSUERCERT_BLOB - proxy issuer SSL certificate from memory blob
36 size) about a memory block with binary data of a CA certificate in PEM
H A DCURLOPT_SSH_KEYFUNCTION.md78 host+key combo to the known_host pool kept in memory if it was not already
87 known_host pool kept in memory if it was not already present there. The adding
94 the host+key combo to the known_host pool kept in memory if it was not already

Completed in 26 milliseconds

1234