Lines Matching defs:str
67 char *str;
162 char *str;
183 if ((str = iscmd(s, "expect ")) != NULL) {
185 c->str = str;
186 } else if ((str = iscmd(s, "send ")) != NULL) {
188 c->str = str;
189 } else if ((str = iscmd(s, "password ")) != NULL) {
191 c->str = str;
216 printf("[expecting %s]", c->str);
222 if (c->str[len] != in) {
227 if (c->str[len] == '\0')
233 c->str, c->lineno);
236 alarmset, c->str, c->lineno);
239 c->str, c->lineno);
244 const char *msg = (c->type == CMD_PASSWORD) ? "****" : c->str;
249 len = strlen(c->str);
252 if (c->str[i] == '\\' && i < len - 1) {
255 switch(c->str[i]) {
261 c->str[i], c->lineno);
266 if (net_write(master, &c->str[i], 1) != 1)