Home
last modified time | relevance | path

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

/external/curl/docs/examples/
Dftpuploadfrommem.c43 size_t sizeleft; member
54 if(upload->sizeleft) { in read_callback()
56 if(copylen > upload->sizeleft) in read_callback()
57 copylen = upload->sizeleft; in read_callback()
60 upload->sizeleft -= copylen; in read_callback()
75 upload.sizeleft = strlen(data); in main()
110 (curl_off_t)upload.sizeleft); in main()
Dpost-callback.c41 size_t sizeleft; member
49 if(wt->sizeleft) { in read_callback()
51 size_t copy_this_much = wt->sizeleft; in read_callback()
57 wt->sizeleft -= copy_this_much; in read_callback()
72 wt.sizeleft = strlen(data); in main()
120 curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)wt.sizeleft); in main()
/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()
181 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()
84 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); in test()
Dlib667.c36 curl_off_t sizeleft; member
47 eof = pooh->sizeleft <= 0; in read_callback()
49 pooh->sizeleft--; in read_callback()
92 pooh.sizeleft = (curl_off_t) strlen(data); in test()
Dlib1514.c35 size_t sizeleft; member
45 if(pooh->sizeleft) { in read_callback()
48 pooh->sizeleft--; /* less data left */ in read_callback()
Dlib654.c36 curl_off_t sizeleft; member
55 eof = pooh->sizeleft <= 0; in read_callback()
57 pooh->sizeleft--; in read_callback()
102 pooh.sizeleft = (curl_off_t) strlen(data); in test()
Dlib643.c36 curl_off_t sizeleft; member
65 eof = pooh->sizeleft <= 0; in read_callback()
67 pooh->sizeleft--; in read_callback()
95 pooh.sizeleft = datasize; in once()
150 pooh2.sizeleft = datasize; in once()
Dlib668.c36 curl_off_t sizeleft; member
86 pooh1.sizeleft = (curl_off_t) strlen(data); in test()
/external/dtc/
Dflattree.c807 int sizeleft; in dt_from_blob() local
850 sizeleft = totalsize - sizeof(magic) - sizeof(totalsize); in dt_from_blob()
853 while (sizeleft) { in dt_from_blob()
858 rc = fread(p, 1, sizeleft, f); in dt_from_blob()
863 sizeleft -= rc; in dt_from_blob()