Home | History | Annotate | Download | only in androidfw

Lines Matching defs:bag

3336      * This includes the bag caches and filtered types.
3463 const bag_entry* bag;
3466 const ssize_t N = mTable.getBagLocked(resID, &bag, &bagTypeSpecFlags);
3484 const bag_entry* end = bag + N;
3485 while (bag < end) {
3486 const uint32_t attrRes = bag->map.name.ident;
3495 bag++;
3511 bag++;
3532 bag++;
3538 attrRes, bag->map.value.dataType, bag->map.value.data,
3543 curEntry->stringBlock = bag->stringBlock;
3545 curEntry->value = bag->map.value;
3548 bag++;
4252 void ResTable::unlockBag(const bag_entry* /*bag*/) const
4280 ALOGW("Invalid package identifier when getting bag for resource number 0x%08x", resID);
4284 ALOGW("No type identifier when getting bag for resource number 0x%08x", resID);
4288 //printf("Get bag: id=0x%08x, p=%d, t=%d\n", resID, p, t);
4291 ALOGW("Bad identifier when getting bag for resource number 0x%08x", resID);
4308 // First see if we've already computed this bag...
4320 ALOGI("Found existing bag for: 0x%x\n", resID);
4324 ALOGW("Attempt to retrieve bag 0x%08x which is invalid or in a cycle.",
4330 // Bag not found, we need to compute it!
4341 ALOGI("Building bag: %x\n", resID);
4344 // Now collect all bag attributes
4364 ALOGI("Creating new bag, entrySize=0x%08x, parent=0x%08x\n", entrySize, parent);
4379 ALOGE("Failed resolving bag parent id 0x%08x", parent);
4395 ALOGI("Initialized new bag with %zd inherited attributes.\n", NP);
4399 ALOGI("Initialized new bag with no inherited attributes.\n");
4506 ALOGE("Reference item(0x%08x) in bag could not be resolved.", cur->map.value.data);
5193 const bag_entry* bag;
5194 ssize_t cnt = p >= 0 ? lockBag(attrID, &bag) : -1;
5195 //printf("For attr 0x%08x got bag of %d\n", attrID, cnt);
5198 //printf("Entry 0x%08x = 0x%08x\n", bag->map.name.ident, bag->map.value.data);
5199 switch (bag->map.name.ident) {
5201 attrType = bag->map.value.data;
5204 attrMin = bag->map.value.data;
5207 attrMax = bag->map.value.data;
5210 l10nReq = bag->map.value.data;
5213 bag++;
5216 unlockBag(bag);
5603 const bag_entry* bag;
5604 ssize_t cnt = p >= 0 ? lockBag(attrID, &bag) : -1;
5609 if (!Res_INTERNALID(bag->map.name.ident)) {
5610 //printf("Trying attr #%08x\n", bag->map.name.ident);
5611 if (getResourceName(bag->map.name.ident, false, &rname)) {
5616 bag->map.name.ident);
5619 outValue->dataType = bag->map.value.dataType;
5620 outValue->data = bag
5621 unlockBag(bag);
5627 bag++;
5630 unlockBag(bag);
5642 const bag_entry* bag;
5643 ssize_t cnt = p >= 0 ? lockBag(attrID, &bag) : -1;
5659 const bag_entry* bagi = bag;
5686 unlockBag(bag);
7254 printf("<bag>");