Lines Matching refs:controlBufIndex
138 int controlBufIndex;
483 ret->controlBufIndex = 0;
514 ctxt->controlBufIndex = -1;
570 if ((ctxt->controlBufIndex < 0) || (ctxt->controlBufIndex > FTP_BUF_SIZE)) {
573 "xmlNanoFTPGetMore : controlBufIndex = %d\n",
574 ctxt->controlBufIndex);
587 if (ctxt->controlBufIndex > ctxt->controlBufUsed) {
590 "xmlNanoFTPGetMore : controlBufIndex > controlBufUsed %d > %d\n",
591 ctxt->controlBufIndex, ctxt->controlBufUsed);
599 if (ctxt->controlBufIndex > 0) {
600 memmove(&ctxt->controlBuf[0], &ctxt->controlBuf[ctxt->controlBufIndex],
601 ctxt->controlBufUsed - ctxt->controlBufIndex);
602 ctxt->controlBufUsed -= ctxt->controlBufIndex;
603 ctxt->controlBufIndex = 0;
617 if ((len = recv(ctxt->controlFd, &ctxt->controlBuf[ctxt->controlBufIndex],
653 * Assumes everything up to controlBuf[controlBufIndex] has been read
663 ptr = &ctxt->controlBuf[ctxt->controlBufIndex];
688 ctxt->controlBufIndex = ctxt->controlBufUsed;
695 ctxt->controlBufIndex = ptr - ctxt->controlBuf;
697 ptr = &ctxt->controlBuf[ctxt->controlBufIndex];