Lines Matching refs:strncmp
101 if (strncmp(cmd, "add", strlen(cmd)) != 0) in runcmdshell()
116 if (strncmp(cmd, "cd", strlen(cmd)) != 0) in runcmdshell()
137 if (strncmp(cmd, "delete", strlen(cmd)) != 0) in runcmdshell()
153 if (strncmp(cmd, "extract", strlen(cmd)) != 0) in runcmdshell()
167 if (strncmp(cmd, "help", strlen(cmd)) != 0) in runcmdshell()
195 if ((strncmp(cmd, "ls", strlen(cmd)) != 0) && in runcmdshell()
196 (strncmp(cmd, "marked", strlen(cmd)) != 0)) in runcmdshell()
211 if (strncmp(cmd, "pwd", strlen(cmd)) == 0) { in runcmdshell()
217 } else if (strncmp(cmd, "paginate", strlen(cmd)) == 0) { in runcmdshell()
253 if (strncmp(cmd, "quit", strlen(cmd)) != 0) in runcmdshell()
258 if (strncmp(cmd, "xit", strlen(cmd)) != 0) in runcmdshell()
266 if (strncmp(cmd, "verbose", strlen(cmd)) != 0) in runcmdshell()
282 if (strncmp(cmd, "setmodes", strlen(cmd)) == 0) { in runcmdshell()
284 } else if (strncmp(cmd, "setpager", strlen(cmd)) == 0) { in runcmdshell()
294 if (strncmp(cmd, "what", strlen(cmd)) != 0) in runcmdshell()
302 if (strncmp(cmd, "Debug", strlen(cmd)) != 0) in runcmdshell()
541 if (strcmp(rawname, ".") == 0 || strncmp(rawname, "./", 2) == 0)
588 if (np - cp == 2 && strncmp(cp, "..", 2) == 0) {
667 if (strncmp(name, basename, strlen(basename)) == 0)