Lines Matching refs:other
186 static bool already_seen(const char *val, const char *one, const char **other,
194 if (!strcasecmp(other[i], val))
199 int expr__find_other(const char *p, const char *one, const char ***other,
206 *other = malloc((EXPR_MAX_OTHER + 1) * sizeof(char *));
207 if (!*other)
218 if (tok == ID && !already_seen(val.id, one, *other, num_other)) {
223 (*other)[num_other] = strdup(val.id);
224 if (!(*other)[num_other])
229 (*other)[num_other] = NULL;
233 free(*other);
234 *other = NULL;