Home | History | Annotate | Download | only in utils

Lines Matching refs:ResTable_map

2249         const ResTable_map* map;
2258 if ((size_t)curOff > (dtohl(type->header.size)-sizeof(ResTable_map))) {
2259 LOGW("ResTable_map at %d is beyond type chunk data %d",
2263 map = (const ResTable_map*)(((const uint8_t*)type) + curOff);
2378 { ResTable_map::ATTR_TYPE, 5, { '^', 't', 'y', 'p', 'e' } },
2379 { ResTable_map::ATTR_L10N, 5, { '^', 'l', '1', '0', 'n' } },
2380 { ResTable_map::ATTR_MIN, 4, { '^', 'm', 'i', 'n' } },
2381 { ResTable_map::ATTR_MAX, 4, { '^', 'm', 'a', 'x' } },
2382 { ResTable_map::ATTR_OTHER, 6, { '^', 'o', 't', 'h', 'e', 'r' } },
2383 { ResTable_map::ATTR_ZERO, 5, { '^', 'z', 'e', 'r', 'o' } },
2384 { ResTable_map::ATTR_ONE, 4, { '^', 'o', 'n', 'e' } },
2385 { ResTable_map::ATTR_TWO, 4, { '^', 't', 'w', 'o' } },
2386 { ResTable_map::ATTR_FEW, 4, { '^', 'f', 'e', 'w' } },
2387 { ResTable_map::ATTR_MANY, 5, { '^', 'm', 'a', 'n', 'y' } },
2878 uint32_t l10nReq = ResTable_map::L10N_NOT_REQUIRED;
2890 case ResTable_map::ATTR_TYPE:
2893 case ResTable_map::ATTR_MIN:
2896 case ResTable_map::ATTR_MAX:
2899 case ResTable_map::ATTR_L10N:
2909 if (attrType == ResTable_map::TYPE_ENUM
2910 || attrType == ResTable_map::TYPE_FLAGS
2911 || attrType == ResTable_map::TYPE_INTEGER) {
2922 coerceType && (attrType&ResTable_map::TYPE_STRING) != 0;
3010 if (l10nReq == ResTable_map::L10N_SUGGESTED) {
3064 if ((attrType&ResTable_map::TYPE_COLOR) == 0) {
3078 if ((attrType&ResTable_map::TYPE_COLOR) != 0) {
3162 if ((attrType&ResTable_map::TYPE_INTEGER) == 0) {
3166 if (!canStringCoerce && (attrType&ResTable_map::TYPE_FLOAT) == 0) {
3186 if ((attrType&ResTable_map::TYPE_DIMENSION) != 0) {
3196 if ((attrType&ResTable_map::TYPE_FRACTION) != 0) {
3205 } else if ((attrType&ResTable_map::TYPE_FLOAT) == 0) {
3222 if ((attrType&ResTable_map::TYPE_BOOLEAN) == 0) {
3243 if ((attrType&ResTable_map::TYPE_BOOLEAN) == 0) {
3258 if ((attrType&ResTable_map::TYPE_ENUM) != 0) {
3297 if ((attrType&ResTable_map::TYPE_FLAGS) != 0) {
3359 if ((attrType&ResTable_map::TYPE_STRING) == 0) {
4405 const ResTable_map* mapPtr = (const ResTable_map*)
4415 mapPtr = (ResTable_map*)(((const uint8_t*)mapPtr)