Lines Matching refs:leng
43 s->leng = 0; in Curl_dyn_init()
59 s->leng = s->allc = 0; in Curl_dyn_free()
68 size_t indx = s->leng; in dyn_nappend()
76 DEBUGASSERT(!s->leng || s->bufr); in dyn_nappend()
101 s->leng = s->allc = 0; in dyn_nappend()
110 s->leng = indx + len; in dyn_nappend()
111 s->bufr[s->leng] = 0; in dyn_nappend()
123 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_reset()
124 if(s->leng) in Curl_dyn_reset()
126 s->leng = 0; in Curl_dyn_reset()
138 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_tail()
139 if(trail > s->leng) in Curl_dyn_tail()
141 else if(trail == s->leng) in Curl_dyn_tail()
147 memmove(&s->bufr[0], &s->bufr[s->leng - trail], trail); in Curl_dyn_tail()
148 s->leng = trail; in Curl_dyn_tail()
149 s->bufr[s->leng] = 0; in Curl_dyn_tail()
163 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_addn()
175 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_add()
188 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_vaddf()
217 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_addf()
231 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_ptr()
242 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_uptr()
253 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_len()
254 return s->leng; in Curl_dyn_len()