Lines Matching +defs:symbol +defs:name
21 Except as contained in this notice, the name of The Open Group shall not be
34 static struct symtab **slookup(const char *symbol, struct inclist *file);
195 * separate the name of a single symbol.
226 * Separate the name of the include file.
271 fdefined(const char *symbol, struct inclist *file, struct inclist **srcfile)
278 debug(2, ("Looking for %s in %s\n", symbol, file->i_file));
280 if ((val = slookup(symbol, file)))
282 symbol, file->i_file, (*val)->s_value));
289 val = fdefined(symbol, *ip, srcfile);
305 isdefined(const char *symbol, struct inclist *file, struct inclist **srcfile)
309 if ((val = slookup(symbol, &maininclist))) {
310 debug(1, ("%s defined on command line\n", symbol));
315 if ((val = fdefined(symbol, file, srcfile)))
317 debug(1, ("%s not defined in %s\n", symbol, file->i_file));
335 define2(const char *name, const char *val, struct inclist *file)
362 s1 = name;
374 /* If name > i_defs[middle] ... */
385 /* Search is done. If we found an exact match to the symbol name,
389 name, (*sp)->s_value, val, file->i_file));
407 debug(1, ("defining %s to %s in file %s\n", name, val, file->i_file));
408 stab->s_name = strdup(name);
420 /* Separate symbol name and its value */
436 slookup(const char *symbol, struct inclist *file)
453 s1 = symbol;
464 /* If symbol > i_defs[middle] ... */
537 undefine(const char *symbol, struct inclist *file)
542 while ((ptr = isdefined(symbol, file, &srcfile)) != NULL) {