Lines Matching refs:symbol
509 static void learn_symbol(const unsigned char *symbol, int len) in learn_symbol() argument
514 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++; in learn_symbol()
518 static void forget_symbol(const unsigned char *symbol, int len) in forget_symbol() argument
523 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--; in forget_symbol()
662 const char *symbol = sym_name(se); in may_be_linker_script_provide_symbol() local
668 if (symbol[0] != '_' || symbol[1] != '_') in may_be_linker_script_provide_symbol()
672 if (!memcmp(symbol + 2, "start_", 6)) in may_be_linker_script_provide_symbol()
676 if (!memcmp(symbol + 2, "stop_", 5)) in may_be_linker_script_provide_symbol()
680 if (!memcmp(symbol + 2, "end_", 4)) in may_be_linker_script_provide_symbol()
684 if (!memcmp(symbol + len - 6, "_start", 6)) in may_be_linker_script_provide_symbol()
688 if (!memcmp(symbol + len - 4, "_end", 4)) in may_be_linker_script_provide_symbol()