Lines Matching refs:str

30 	string str;  member
40 command[i].str = "foobarbaz";
44 command[i].str = "foofoofoo";
48 command[i].str = "boofoofoo";
52 command[i].str = "foobarbaz";
56 command[i].str = "foobar";
60 command[i].str = "foobar";
64 command[i].str = "";
68 command[i].str = "foobar";
72 command[i].str = "";
76 command[i].str = "foo";
87 command[i + k].str = command[j].str;
93 command[i + k].str = command[j].str;
99 command[i + k].str = command[j].str;
105 command[i + k].str = command[j].str;
108 command[i + k].position = strlen(command[j].str) / 2;
111 command[i + k].str = command[j].str;
114 command[i + k].position = strlen(command[j].str);
117 command[i + k].str = command[j].str;
120 command[i + k].position = strlen(command[j].str) + 1;
123 command[i + k].str = command[j].str;
126 command[i + k].position = strlen(command[j].str) + 2;
129 command[i + k].str = command[j].str;
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);
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);
184 this->result = index(command[i].str,
187 printf("\tif (index(\"%s\", \"%s\", %d) != %d) {\n", command[i].str,
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);
203 this->result = rindex(command[i].str,
206 printf("\tif (rindex(\"%s\", \"%s\", %d) != %d) {\n", command[i].str,
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);