Lines Matching refs:command

34 } command[int];  variable
40 command[i].str = "foobarbaz";
41 command[i].substr = "barbaz";
44 command[i].str = "foofoofoo";
45 command[i].substr = "foo";
48 command[i].str = "boofoofoo";
49 command[i].substr = "foo";
52 command[i].str = "foobarbaz";
53 command[i].substr = "barbazzy";
56 command[i].str = "foobar";
57 command[i].substr = "foobar";
60 command[i].str = "foobar";
61 command[i].substr = "foobarbaz";
64 command[i].str = "";
65 command[i].substr = "foobar";
68 command[i].str = "foobar";
69 command[i].substr = "";
72 command[i].str = "";
73 command[i].substr = "";
76 command[i].str = "foo";
77 command[i].substr = "";
87 command[i + k].str = command[j].str;
88 command[i + k].substr = command[j].substr;
89 command[i + k].haspos = 1;
90 command[i + k].position = -400;
93 command[i + k].str = command[j].str;
94 command[i + k].substr = command[j].substr;
95 command[i + k].haspos = 1;
96 command[i + k].position = -1;
99 command[i + k].str = command[j].str;
100 command[i + k].substr = command[j].substr;
101 command[i + k].haspos = 1;
102 command[i + k].position = 0;
105 command[i + k].str = command[j].str;
106 command[i + k].substr = command[j].substr;
107 command[i + k].haspos = 1;
108 command[i + k].position = strlen(command[j].str) / 2;
111 command[i + k].str = command[j].str;
112 command[i + k].substr = command[j].substr;
113 command[i + k].haspos = 1;
114 command[i + k].position = strlen(command[j].str);
117 command[i + k].str = command[j].str;
118 command[i + k].substr = command[j].substr;
119 command[i + k].haspos = 1;
120 command[i + k].position = strlen(command[j].str) + 1;
123 command[i + k].str = command[j].str;
124 command[i + k].substr = command[j].substr;
125 command[i + k].haspos = 1;
126 command[i + k].position = strlen(command[j].str) + 2;
129 command[i + k].str = command[j].str;
130 command[i + k].substr = command[j].substr;
131 command[i + k].haspos = 1;
132 command[i + k].position = 400;
146 /end != 0 && i < end && !command[i].haspos/
148 this->result = index(command[i].str, command[i].substr);
151 command[i].str, command[i].substr, this->result);
153 command[i].str, command[i].substr);
155 command[i].str, command[i].substr);
157 command[i].str, command[i].substr);
164 /end != 0 && i < end && !command[i].haspos/
166 this->result = rindex(command[i].str, command[i].substr);
169 command[i].str, command[i].substr, this->result);
171 command[i].str, command[i].substr);
173 command[i].str, command[i].substr);
175 command[i].str, command[i].substr);
182 /end != 0 && i < end && command[i].haspos/
184 this->result = index(command[i].str,
185 command[i].substr, command[i].position);
187 printf("\tif (index(\"%s\", \"%s\", %d) != %d) {\n", command[i].str,
188 command[i].substr, command[i].position, this->result);
190 command[i].str, command[i].substr, command[i].position);
192 command[i].str, command[i].substr, command[i].position);
194 command[i].str, command[i].substr, command[i].position);
201 /end != 0 && i < end && command[i].haspos/
203 this->result = rindex(command[i].str,
204 command[i].substr, command[i].position);
206 printf("\tif (rindex(\"%s\", \"%s\", %d) != %d) {\n", command[i].str,
207 command[i].substr, command[i].position, this->result);
209 command[i].str, command[i].substr, command[i].position);
211 command[i].str, command[i].substr, command[i].position);
213 command[i].str, command[i].substr, command[i].position);