Searched refs:shiftLen (Results 1 – 2 of 2) sorted by relevance
114 UINT32 shiftLen; in PreHandleCmdline() local128 shiftLen = strlen(shiftStr); in PreHandleCmdline()129 if ((ret != SH_OK) || (shiftLen == 0)) { in PreHandleCmdline()134 *outputlen = shiftLen; in PreHandleCmdline()
492 unsigned int shiftLen, execLen, newLen; in PreHandleCmdline() local510 shiftLen = strlen(shiftStr); in PreHandleCmdline()511 if ((ret != SH_OK) || (shiftLen == 0)) { in PreHandleCmdline()516 *outputlen = shiftLen; in PreHandleCmdline()519 if ((shiftLen > removeLen) && (shiftStr[0] == '.') && (shiftStr[1] == '/')) { in PreHandleCmdline()521 … newLen = execLen + shiftLen - removeLen; /* i.e., newLen - execLen == shiftLen - removeLen */ in PreHandleCmdline()536 … err = memcpy_s(newCmd + execLen, newLen - execLen, shiftStr + removeLen, shiftLen - removeLen); in PreHandleCmdline()