Lines Matching refs:chain
1 /* Set up combined include path chain for the preprocessor.
65 /* Free an element of the include chain, possibly giving a reason. */
96 add_env_var_paths (const char *env_var, int chain)
120 add_path (path, chain, chain == SYSTEM, false);
124 /* Append the standard include chain defined in cppdefault.c. */
177 /* For each duplicate path in chain HEAD, keep just the first one.
178 Remove each path in chain HEAD that also exists in chain SYSTEM.
179 Set the NEXT pointer of the last path in the resulting chain to
181 removed. Return the head of the resulting chain. Any of HEAD,
220 /* Remove this one if it is in the system chain. */
229 /* Duplicate of something earlier in the same chain? */
237 /* Last in the chain and duplicate of JOIN? */
250 /* Remove this entry from the chain. */
273 resulting SYSTEM chain. */
323 /* Add P to the chain specified by CHAIN. */
326 add_cpp_dir_path (cpp_dir *p, int chain)
328 if (tails[chain])
329 tails[chain]->next = p;
331 heads[chain] = p;
332 tails[chain] = p;
335 /* Add PATH to the include chain CHAIN. PATH must be malloc-ed and
338 add_path (char *path, int chain, int cxx_aware, bool user_supplied_p)
355 if (chain == SYSTEM || chain == AFTER)
362 add_cpp_dir_path (p, chain);
365 /* Exported function to handle include chain merging, duplicate
384 include chain. */
390 /* Finally chain on the standard directories. */