Lines Matching refs:Item
608 const String16 item16("item");
823 const String16 item16("item");
1343 "Tag <item> 'format' attribute value \"%s\" not valid\n",
1350 "A 'type' attribute is required for <item>\n");
1513 "Found tag %s where item is expected\n",
1568 "Tag <%s> can not appear inside <%s>, only <item>\n",
1602 "Illegal 'quantity' attribute is <item> inside <plurals>\n");
1607 "A 'quantity' attribute is required for <item> inside <plurals>\n");
1616 "A 'name' attribute is required for <item>\n");
1729 "Found text \"%s\" where item tag is expected\n",
2147 const Item& formatItem = entry->getBag().valueAt(idx);
3087 // the item at t->getOrderedConfigs().itemAt(i).
3463 ResourceTable::Item::Item(const SourcePos& _sourcePos,
3514 sourcePos.error("Resource entry %s is already defined as a single item.\n"
3527 Item item(sourcePos, false, value, style);
3534 const Item& item(mBag.valueAt(0));
3538 item.sourcePos.file.string(), item.sourcePos.line);
3551 mItem = item;
3566 Item item(sourcePos, isId, value, style, format);
3574 const Item& item(mBag.valueAt(origKey));
3575 sourcePos.error("Resource entry %s already has bag item %s.\n"
3578 item.sourcePos.file.string(), item.sourcePos.line);
3583 mBag.replaceValueFor(key, item);
3586 mBag.add(key, item);
3620 const Item& it = mBag.valueAt(i);
3640 // const Item& item(mBag.valueAt(i));
3642 // item.sourcePos.file.string(), item.sourcePos.line);
3674 mPos.error("Error retrieving parent for item: %s '%s'.\n",
3682 Item& it = mBag.editValueAt(i);
3701 Item& it = mItem;
3713 Item& it = mBag.editValueAt(i);
3723 mPos.error("Error: entry %s is not a single item or a bag.\n",
3733 Item& it = mItem;
3740 Item& it = mBag.editValueAt(i);
3746 mPos.error("Error: entry %s is not a single item or a bag.\n",
3774 const Item& it = mItem;
3782 printf("Writing item (%s): type=%d, data=0x%x, res0=0x%x\n",
3796 KeyedVector<uint32_t, const Item*> items;
3798 const Item& it = mBag.valueAt(i);
3815 const Item& it = *items.valueAt(i);
4402 const ResourceTable::Item* ResourceTable::getItem(uint32_t resID, uint32_t attrID) const
4411 const Item& it = e->getBag().valueAt(i);
4428 const Item* item = getItem(resID, attrID);
4431 if (item != NULL) {
4432 if (item->evaluating) {
4437 if (&e->getBag().valueAt(i) == item) {
4446 item->evaluating = true;
4447 res = stringToValue(outValue, NULL, item->value, false, false, item->bagKeyId);
4458 item->evaluating = false;
4663 const KeyedVector<String16, Item>& bag = e->getBag();
4830 CompileResourceWorkItem item;
4831 item.resourceName = resourceName;
4832 item.resPath = resPath;
4833 item.file = newFile;
4834 item.xmlRoot = root->clone();
4835 item.needsCompiling = true;
4836 mWorkQueue.push(item);
4960 CompileResourceWorkItem item;
4961 item.resourceName = resourceName;
4962 item.resPath = resPath;
4963 item.file = newFile;
4964 item.xmlRoot = newRoot;
4965 item.needsCompiling = false; // This step occurs after we parse/assign, so we don't need
4967 mWorkQueue.push(item);