Lines Matching refs:argc
39 int argc = 0; in BeginTransfer() local
42 char **argv = Base::SplitCommandToArgs(command.c_str(), &argc); in BeginTransfer()
43 if (argc < CMD_ARG1_COUNT || argv == nullptr) { in BeginTransfer()
50 if (!SetMasterParameters(context, command.c_str(), argc, argv)) { in BeginTransfer()
68 bool HdcFile::SetMasterParameters(CtxFile *context, const char *command, int argc, char **argv) in SetMasterParameters() argument
77 for (int i = 0; i < argc; i++) { in SetMasterParameters()
104 if (argc == srcArgvIndex) { in SetMasterParameters()
108 context->remotePath = argv[argc - 1]; in SetMasterParameters()
109 context->localPath = argv[argc - 2]; in SetMasterParameters()
112 if ((srcArgvIndex + 1) == argc) { in SetMasterParameters()
118 if ((srcArgvIndex + 1) == argc) { in SetMasterParameters()
120 context->localPath = argv[argc - 1]; in SetMasterParameters()