Lines Matching refs:str

32 	string str;
42 command[i].str = "foobarbaz";
46 command[i].str = "foofoofoo";
50 command[i].str = "boofoofoo";
54 command[i].str = "foobarbaz";
58 command[i].str = "foobar";
62 command[i].str = "foobar";
66 command[i].str = "";
70 command[i].str = "foobar";
74 command[i].str = "";
78 command[i].str = "foo";
89 command[i + k].str = command[j].str;
95 command[i + k].str = command[j].str;
101 command[i + k].str = command[j].str;
107 command[i + k].str = command[j].str;
110 command[i + k].position = strlen(command[j].str) / 2;
113 command[i + k].str = command[j].str;
116 command[i + k].position = strlen(command[j].str);
119 command[i + k].str = command[j].str;
122 command[i + k].position = strlen(command[j].str) + 1;
125 command[i + k].str = command[j].str;
128 command[i + k].position = strlen(command[j].str) + 2;
131 command[i + k].str = command[j].str;
150 this->result = index(command[i].str, command[i].substr);
153 command[i].str, command[i].substr, this->result);
155 command[i].str, command[i].substr);
157 command[i].str, command[i].substr);
159 command[i].str, command[i].substr);
168 this->result = rindex(command[i].str, command[i].substr);
171 command[i].str, command[i].substr, this->result);
173 command[i].str, command[i].substr);
175 command[i].str, command[i].substr);
177 command[i].str, command[i].substr);
186 this->result = index(command[i].str,
189 printf("\tif (index(\"%s\", \"%s\", %d) != %d) {\n", command[i].str,
192 command[i].str, command[i].substr, command[i].position);
194 command[i].str, command[i].substr, command[i].position);
196 command[i].str, command[i].substr, command[i].position);
205 this->result = rindex(command[i].str,
208 printf("\tif (rindex(\"%s\", \"%s\", %d) != %d) {\n", command[i].str,
211 command[i].str, command[i].substr, command[i].position);
213 command[i].str, command[i].substr, command[i].position);
215 command[i].str, command[i].substr, command[i].position);