Lines Matching refs:symbol
55 static bool isValidSymbol(const StringPiece16& symbol) {
56 return sJavaIdentifiers.find(symbol) == sJavaIdentifiers.end();
63 static std::string transform(const StringPiece16& symbol) {
64 std::string output = util::utf16ToUtf8(symbol);
166 for (const Attribute::Symbol& symbol : attr->symbols) {
168 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>"
169 << "<td>" << std::hex << symbol.value << std::dec << "</td>"
170 << "<td>" << util::trimWhitespace(symbol.symbol.getComment()) << "</td></tr>";
192 std::unique_ptr<SymbolTable::Symbol> symbol;
244 // Look up the symbol so that we can write out in the comments what are possible
246 const SymbolTable::Symbol* symbol = mContext->getExternalSymbols()->findByReference(
248 if (symbol && symbol->attribute) {
249 // Copy the symbol data structure because the returned instance can be destroyed.
250 styleableAttr.symbol = util::make_unique<SymbolTable::Symbol>(*symbol);
277 if (!entry.symbol) {
282 !entry.symbol->isPublic) {
287 StringPiece16 attrCommentLine = entry.symbol->attribute->getComment();
319 if (!entry.symbol) {
324 !entry.symbol->isPublic) {
347 if (!styleableAttr.symbol) {
352 !styleableAttr.symbol->isPublic) {
358 if (styleableAttr.symbol->attribute && comment.empty()) {
359 comment = styleableAttr.symbol->attribute->getComment();
386 << "<p>This symbol is the offset where the "
395 addAttributeFormatDoc(attrProcessor, styleableAttr.symbol->attribute.get());
425 // Check that we want to emit this symbol.
439 err << "invalid symbol name '" << resourceName << "'";