Searched refs:pooh (Results 1 - 6 of 6) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/libtest/
H A Dlib1514.c40 struct WriteThis *pooh = (struct WriteThis *)userp; local
45 if(pooh->sizeleft) {
46 *(char *)ptr = pooh->readptr[0]; /* copy one single byte */
47 pooh->readptr++; /* advance pointer */
48 pooh->sizeleft--; /* less data left */
60 struct WriteThis pooh = { data, sizeof(data)-1 }; local
70 easy_setopt(curl, CURLOPT_READDATA, &pooh);
H A Dlib508.c35 struct WriteThis *pooh = (struct WriteThis *)userp; local
40 if(pooh->sizeleft) {
41 *(char *)ptr = pooh->readptr[0]; /* copy one single byte */
42 pooh->readptr++; /* advance pointer */
43 pooh->sizeleft--; /* less data left */
55 struct WriteThis pooh; local
57 pooh.readptr = data;
58 pooh.sizeleft = strlen(data);
83 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft);
89 test_setopt(curl, CURLOPT_INFILE, &pooh);
[all...]
H A Dlib554.c51 struct WriteThis *pooh = (struct WriteThis *)userp;
56 if(pooh->sizeleft) {
57 *(char *)ptr = pooh->readptr[0]; /* copy one single byte */
58 pooh->readptr++; /* advance pointer */
59 pooh->sizeleft--; /* less data left */
75 struct WriteThis pooh; local
83 pooh.readptr = data;
84 pooh.sizeleft = strlen(data);
90 CURLFORM_STREAM, &pooh,
91 CURLFORM_CONTENTSLENGTH, (long)pooh
[all...]
H A Dlib510.c41 struct WriteThis *pooh = (struct WriteThis *)userp; local
47 data = post[pooh->counter];
52 pooh->counter++; /* advance pointer */
63 struct WriteThis pooh; local
64 pooh.counter = 0;
100 test_setopt(curl, CURLOPT_INFILE, &pooh);
H A Dlib579.c70 struct WriteThis *pooh = (struct WriteThis *)userp; local
76 data = post[pooh->counter];
81 pooh->counter++; /* advance pointer */
92 struct WriteThis pooh; local
93 pooh.counter = 0;
129 test_setopt(curl, CURLOPT_INFILE, &pooh);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/docs/examples/
H A Dpost-callback.c38 struct WriteThis *pooh = (struct WriteThis *)userp; local
43 if(pooh->sizeleft) {
44 *(char *)ptr = pooh->readptr[0]; /* copy one single byte */
45 pooh->readptr++; /* advance pointer */
46 pooh->sizeleft--; /* less data left */
58 struct WriteThis pooh; local
60 pooh.readptr = data;
61 pooh.sizeleft = (long)strlen(data);
85 curl_easy_setopt(curl, CURLOPT_READDATA, &pooh);
109 curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, pooh
[all...]

Completed in 72 milliseconds