Lines Matching refs:result
119 char *result;
123 result = strchr(test_string, test_string[i]);
124 if (result - test_string != i)
128 result = strchr(empty_string, '\0');
129 if (result != empty_string)
132 result = strchr(empty_string, 'a');
133 if (result)
136 result = strchr(test_string, 'z');
137 if (result)
147 char *result;
152 result = strnchr(test_string, j, test_string[i]);
154 if (!result)
158 if (result - test_string != i)
163 result = strnchr(empty_string, 0, '\0');
164 if (result)
167 result = strnchr(empty_string, 1, '\0');
168 if (result != empty_string)
171 result = strnchr(empty_string, 1, 'a');
172 if (result)
175 result = strnchr(NULL, 0, '\0');
176 if (result)