Lines Matching defs:sym
122 OSSymbol *insertSymbol(OSSymbol *sym);
123 void removeSymbol(OSSymbol *sym);
291 OSSymbol *OSSymbolPool::insertSymbol(OSSymbol *sym)
293 const char *cString = sym->string;
303 thisBucket->symbolP = (OSSymbol **) sym;
306 return sym;
319 list[0] = sym;
326 return sym;
341 list[0] = sym;
348 return sym;
351 void OSSymbolPool::removeSymbol(OSSymbol *sym)
357 hashSymbol(sym->string, &hash, &inLen); inLen++;
368 if (probeSymbol == sym) {
380 if (probeSymbol == sym) {
391 if (probeSymbol == sym) {
405 if (probeSymbol == sym) {
583 OSSymbol * sym;
586 if ((sym = OSDynamicCast(OSSymbol, obj)))
587 return isEqualTo(sym);