Home
last modified time | relevance | path

Searched refs:sizeleft (Results 1 – 5 of 5) sorted by relevance

/external/curl/tests/libtest/
Dlib1517.c30 size_t sizeleft; member
42 if(tocopy < 1 || !pooh->sizeleft) in read_callback()
45 if(pooh->sizeleft < tocopy) in read_callback()
46 tocopy = pooh->sizeleft; in read_callback()
50 pooh->sizeleft -= tocopy; /* less data left */ in read_callback()
62 pooh.sizeleft = strlen(data); in test()
88 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); in test()
Dlib554.c38 size_t sizeleft; member
56 if(pooh->sizeleft) { in read_callback()
59 pooh->sizeleft--; /* less data left */ in read_callback()
79 pooh.sizeleft = strlen(data); in once()
87 CURLFORM_CONTENTSLENGTH, (long)pooh.sizeleft, in once()
97 CURLFORM_CONTENTLEN, (curl_off_t)pooh.sizeleft, in once()
109 pooh2.sizeleft = strlen(data); in once()
116 CURLFORM_CONTENTSLENGTH, (long)pooh2.sizeleft, in once()
179 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); in once()
Dlib508.c30 size_t sizeleft; member
40 if(pooh->sizeleft) { in read_callback()
43 pooh->sizeleft--; /* less data left */ in read_callback()
58 pooh.sizeleft = strlen(data); in test()
83 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); in test()
Dlib1514.c35 size_t sizeleft; member
45 if(pooh->sizeleft) { in read_callback()
48 pooh->sizeleft--; /* less data left */ in read_callback()
/external/curl/docs/examples/
Dpost-callback.c35 long sizeleft; member
45 if(pooh->sizeleft) { in read_callback()
48 pooh->sizeleft--; /* less data left */ in read_callback()
63 pooh.sizeleft = (long)strlen(data); in main()
111 curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, pooh.sizeleft); in main()