Lines Matching refs:entry
27 std::pair<ConfigDescription, uint32_t>& entry = mConfigs.editItemAt(i);
33 val.writeTo(&entry.first);
34 } else if (!AaptConfig::parse(part, &entry.first)) {
39 entry.second = mDefault.diff(entry.first);
42 entry.second &= ~ResTable_config::CONFIG_VERSION;
45 if ((entry.second & ResTable_config::CONFIG_DENSITY) != 0) {
46 fprintf(stderr, "warning: ignoring flag -c %s. Use --preferred-density instead.\n", entry.first.toString().string());
47 entry.first.density = 0;
48 entry.second &= ~ResTable_config::CONFIG_DENSITY;
51 mConfigMask |= entry.second;
69 const std::pair<ConfigDescription, uint32_t>& entry = mConfigs[i];
70 uint32_t diff = entry.first.diff(config);
71 if ((diff & entry.second) == 0) {
73 matchedAxis |= entry.second;
74 } else if ((diff & entry.second) == ResTable_config::CONFIG_LOCALE) {
79 memcmp(config.language, entry.first.language, sizeof(config.language)) == 0) {
84 } else if ((diff & entry.second) == ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE) {
88 config.smallestScreenWidthDp < entry.first.smallestScreenWidthDp) {