Lines Matching defs:symbol

1 /* Generate assembler source containing symbol information
13 * map char code 0xF7 to represent "write_" and then in every symbol where
172 /* include the type field in the symbol name, so that it gets
250 /* When valid symbol is not registered, exit to error */
252 fprintf(stderr, "No valid symbol.\n");
310 /* uncompress a compressed symbol. When this function is called, the best table
424 /* There cannot be any symbol of length zero. */
427 "unexpected zero symbol length\n");
434 "unexpected huge symbol length\n");
457 * Now that we wrote out the compressed symbol names, restore the
516 "%s symbol value %#llx out of range in relative mode\n",
553 /* count all the possible tokens in a symbol */
554 static void learn_symbol(const unsigned char *symbol, int len)
559 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++;
562 /* decrease the count for all the possible tokens in a symbol */
563 static void forget_symbol(const unsigned char *symbol, int len)
568 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--;
604 /* find the token on the symbol */
608 /* decrease the counts for this symbol's tokens */
623 /* find the token on the symbol */
630 /* increase the counts for this symbol's new tokens */
657 /* using the '\0' symbol last allows compress_symbols to use standard
704 /* guess for "linker script provide" symbol */
707 const char *symbol = sym_name(se);
713 if (symbol[0] != '_' || symbol[1] != '_')
717 if (!memcmp(symbol + 2, "start_", 6))
721 if (!memcmp(symbol + 2, "stop_", 5))
725 if (!memcmp(symbol + 2, "end_", 4))
729 if (!memcmp(symbol + len - 6, "_start", 6))
733 if (!memcmp(symbol + len - 4, "_end", 4))
794 /* find the minimum non-absolute symbol address */
803 * Take the first non-absolute symbol value.