Home | History | Annotate | Download | only in aapt2

Lines Matching refs:symbol

445                                    const Symbol& symbol, IDiagnostics* diag) {
446 return SetSymbolStateImpl(name, res_id, symbol, ValidateName, diag);
451 const Symbol& symbol,
453 return SetSymbolStateImpl(name, res_id, symbol, SkipValidateName, diag);
457 const Symbol& symbol, NameValidator name_validator,
463 diag->Error(DiagMessage(symbol.source) << "resource '" << name << "' has invalid entry name '"
471 diag->Error(DiagMessage(symbol.source)
480 diag->Error(DiagMessage(symbol.source)
489 diag->Error(DiagMessage(symbol.source)
503 if (symbol.state == SymbolState::kPublic) {
507 if (symbol.allow_new) {
508 // This symbol can be added as a new resource when merging (if it belongs to an overlay).
512 if (symbol.state == SymbolState::kUndefined &&
514 // We can't undefine a symbol (remove its visibility). Ignore.
518 if (symbol.state == SymbolState::kPrivate &&
524 // This symbol definition takes precedence, replace.
525 entry->symbol_status.state = symbol.state;
526 entry->symbol_status.source = symbol.source;
527 entry->symbol_status.comment = symbol.comment;