Lines Matching refs:symbol
568 // Helper class for verifying the symbol table.
575 // Check that the symbol is actually a symbol.
2439 // predictable in the gaps in the symbol table, so lets make that Smi zero.
2442 // Allocate initial symbol table.
2519 // Allocate the hidden symbol which is used to identify the hidden properties
2669 Object* symbol;
2671 if (maybe_symbol->ToObject(&symbol)) {
2672 array->set(i, symbol);
2968 String* symbol;
2972 heap->symbol_table()->LookupTwoCharsSymbolIfExists(c1, c2, &symbol)) {
2973 return symbol;
3013 // dictionary. Check whether we already have the string in the symbol
3129 // dictionary. Check whether we already have the string in the symbol
4253 // If the string is in new space it cannot be used as a symbol.
4256 // Find the corresponding symbol map for strings.
5156 Object* symbol = NULL;
5159 symbol_table()->LookupSymbol(string, &symbol);
5165 ASSERT(symbol != NULL);
5166 return symbol;
5171 Object* symbol = NULL;
5174 symbol_table()->LookupAsciiSymbol(string, &symbol);
5180 ASSERT(symbol != NULL);
5181 return symbol;
5188 Object* symbol = NULL;
5194 &symbol);
5200 ASSERT(symbol != NULL);
5201 return symbol;
5206 Object* symbol = NULL;
5209 symbol_table()->LookupTwoByteSymbol(string, &symbol);
5215 ASSERT(symbol != NULL);
5216 return symbol;
5222 Object* symbol = NULL;
5225 symbol_table()->LookupString(string, &symbol);
5231 ASSERT(symbol != NULL);
5232 return symbol;
5236 bool Heap::LookupSymbolIfExists(String* string, String** symbol) {
5238 *symbol = string;
5241 return symbol_table()->LookupSymbolIfExists(string, symbol);
6816 String* symbol;
6817 if (HEAP->LookupSymbolIfExists(name, &symbol)) {
6818 int index = (Hash(map, symbol) & kHashMask);
6826 key.name = symbol;
6843 key.name = symbol;