Lines Matching refs:current
117 char *current = result; in quoteArg() local
126 *(current++) = '"'; in quoteArg()
131 *(current++) = '\\'; // fallthrough in quoteArg()
133 *(current++) = *(arg++); in quoteArg()
136 *(current++) = '"'; in quoteArg()
137 *(current++) = '\0'; in quoteArg()
139 result = (char *)realloc(result, current-result); in quoteArg()
186 int current = 0; in sendDataLockedv() local
195 writev(mSocket, iov + current, iovcnt - current)); in sendDataLockedv()
199 while ((current < iovcnt) && (written >= iov[current].iov_len)) { in sendDataLockedv()
200 written -= iov[current].iov_len; in sendDataLockedv()
201 current++; in sendDataLockedv()
203 if (current == iovcnt) { in sendDataLockedv()
206 iov[current].iov_base = (char *)iov[current].iov_base + written; in sendDataLockedv()
207 iov[current].iov_len -= written; in sendDataLockedv()