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
H A Dtest55828 libtest memory tracking operational
/curl/docs/libcurl/
H A Dcurl_free.md16 curl_free - reclaim memory that has been obtained through a libcurl call
28 curl_free reclaims memory that has been obtained through a libcurl call. Use
30 differences in memory management between your application and libcurl.
H A Dcurl_mime_data.md20 curl_mime_data - set a mime part's body data from memory
33 curl_mime_data(3) sets a mime part's body content from memory data.
49 Setting large data is memory consuming: one might consider using
H A Dcurl_global_cleanup.md39 thread in the program (i.e. a thread sharing the same memory) is running.
59 some rare circumstances a memory leak could occur unless you implement your own
H A Dcurl_global_init_mem.md16 curl_global_init_mem - global libcurl initialization with memory callbacks
35 memory functions.
/curl/docs/libcurl/opts/
H A DCURLOPT_PROGRESSDATA.md49 struct progress *memory = clientp;
50 printf("private: %p\n", memory->private);
H A DCURLOPT_WRITEFUNCTION.md83 struct memory {
91 struct memory *mem = (struct memory *)clientp;
95 return 0; /* out of memory! */
107 struct memory chunk = {0};
H A DCURLOPT_XFERINFODATA.md52 struct progress *memory = clientp;
53 printf("private ptr: %p\n", memory->private);
H A DCURLINFO_LOCAL_IP.md33 enabled. Note that you get a pointer to a memory area that is reused at next
36 The **ip** pointer is NULL or points to private memory. You MUST NOT free -
H A DCURLINFO_PRIMARY_IP.md34 get a pointer to a memory area that is reused at next request so you need to
37 The **ip** pointer is NULL or points to private memory. You MUST NOT free -
H A DCURLOPT_HSTS_CTRL.md37 in an in-memory cache.
46 Enable the in-memory HSTS cache for this handle.
H A DCURLOPT_PROXY_SSLCERT_BLOB.md22 CURLOPT_PROXY_SSLCERT_BLOB - SSL proxy client certificate from memory blob
36 and size) about a memory block with binary data of the certificate used to
H A DCURLOPT_COOKIELIST.md18 CURLOPT_COOKIELIST - add to or manipulate cookies held in memory
54 erases all cookies held in memory
58 erases all session cookies held in memory
H A DCURLOPT_ISSUERCERT_BLOB.md20 CURLOPT_ISSUERCERT_BLOB - issuer SSL certificate from memory blob
34 and size) about a memory block with binary data of a CA certificate in PEM
H A DCURLOPT_SSH_KEYFUNCTION.md77 host+key combo to the known_host pool kept in memory if it was not already
86 known_host pool kept in memory if it was not already present there. The adding
93 the host+key combo to the known_host pool kept in memory if it was not already

Completed in 31 milliseconds

1234