Lines Matching defs:symbol
1 /* Generate assembler source containing symbol information
12 * map char code 0xF7 to represent "write_" and then in every symbol where
162 /* include the type field in the symbol name, so that it gets
287 /* uncompress a compressed symbol. When this function is called, the best table
364 /* There cannot be any symbol of length zero. */
367 "unexpected zero symbol length\n");
374 "unexpected huge symbol length\n");
394 * Now that we wrote out the compressed symbol name, restore the
436 "relative symbol value %#llx out of range\n",
464 /* count all the possible tokens in a symbol */
465 static void learn_symbol(const unsigned char *symbol, int len)
470 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++;
473 /* decrease the count for all the possible tokens in a symbol */
474 static void forget_symbol(const unsigned char *symbol, int len)
479 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--;
515 /* find the token on the symbol */
519 /* decrease the counts for this symbol's tokens */
534 /* find the token on the symbol */
541 /* increase the counts for this symbol's new tokens */
568 /* using the '\0' symbol last allows compress_symbols to use standard
615 /* guess for "linker script provide" symbol */
618 const char *symbol = sym_name(se);
624 if (symbol[0] != '_' || symbol[1] != '_')
628 if (!memcmp(symbol + 2, "start_", 6))
632 if (!memcmp(symbol + 2, "stop_", 5))
636 if (!memcmp(symbol + 2, "end_", 4))
640 if (!memcmp(symbol + len - 6, "_start", 6))
644 if (!memcmp(symbol + len - 4, "_end", 4))