Lines Matching refs:pooh
51 struct WriteThis *pooh = (struct WriteThis *)userp; in read_callback()
56 if(pooh->sizeleft) { in read_callback()
57 *(char *)ptr = pooh->readptr[0]; /* copy one single byte */ in read_callback()
58 pooh->readptr++; /* advance pointer */ in read_callback()
59 pooh->sizeleft--; /* less data left */ in read_callback()
75 struct WriteThis pooh; in once() local
78 pooh.readptr = data; in once()
79 pooh.sizeleft = strlen(data); in once()
86 CURLFORM_STREAM, &pooh, in once()
87 CURLFORM_CONTENTSLENGTH, (long)pooh.sizeleft, in once()
96 CURLFORM_STREAM, &pooh, in once()
97 CURLFORM_CONTENTLEN, (curl_off_t)pooh.sizeleft, in once()
181 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); in once()