Lines Matching defs:NULL

50     if (root == NULL) {
66 if (root == NULL) {
93 root->removeWhitespace(true, NULL);
95 root->removeWhitespace(false, NULL);
204 { enumArray, sizeof(enumArray)/2, ResTable_map::TYPE_ENUM, NULL },
205 { flagsArray, sizeof(flagsArray)/2, ResTable_map::TYPE_FLAGS, NULL },
206 { NULL, 0, 0, NULL }
212 { suggestedArray, sizeof(suggestedArray)/2, ResTable_map::L10N_SUGGESTED, NULL },
213 { NULL, 0, 0, NULL }
219 const flag_entry* flags, bool* outError = NULL)
274 if ((type&flags->value) != 0 && flags->description != NULL) {
334 String16* outIdent = NULL,
350 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
364 ssize_t typeIdx = block.indexOfAttribute(NULL, "format");
382 ssize_t minIdx = block.indexOfAttribute(NULL, "min");
385 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) {
393 String16(""), String16("^min"), String16(val), NULL, NULL);
400 ssize_t maxIdx = block.indexOfAttribute(NULL, "max");
403 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) {
411 String16(""), String16("^max"), String16(val), NULL, NULL);
421 ssize_t l10nIdx = block.indexOfAttribute(NULL, "localization");
436 String16(""), String16("^l10n"), String16(buf), NULL, NULL);
475 String16("^type"), String16(numberStr), NULL, NULL, true);
493 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name");
503 ssize_t valueIdx = block.indexOfAttribute(NULL, "value");
511 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) {
546 itemIdent, value, NULL, NULL, false, true);
710 curTag, &str, curIsStyled ? &spans : NULL,
724 if (bundleProduct == NULL) {
853 if (strstr(in->getPrintableSource().string(), "donottranslate") != NULL) {
912 const String16* curTag = NULL;
949 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
957 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
965 ssize_t identIdx = block.indexOfAttribute(NULL, "id");
994 if (symbols != NULL) {
997 if (symbols != NULL) {
1021 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
1029 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1037 ssize_t startIdx = block.indexOfAttribute(NULL, "start");
1057 ssize_t endIdx = block.indexOfAttribute(NULL, "end");
1093 String16("padding"), NULL, &curParams, false,
1106 if (symbols != NULL) {
1109 if (symbols != NULL) {
1129 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package");
1161 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
1169 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1177 if (symbols != NULL) {
1180 if (symbols != NULL) {
1204 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
1212 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1234 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
1243 if (symbols != NULL) {
1247 if (symbols != NULL) {
1250 if (symbols == NULL) {
1259 symbols = NULL;
1299 if (symbols != NULL) {
1320 err = compileAttribute(in, block, myPackage, outTable, NULL);
1328 ssize_t attri = block.indexOfAttribute(NULL, "type");
1331 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1335 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1440 ssize_t attri = block.indexOfAttribute(NULL, "type");
1462 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1519 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
1530 identIdx = block.indexOfAttribute(NULL, "product");
1540 ssize_t parentIdentIdx = block.indexOfAttribute(NULL, "parent");
1579 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "quantity");
1611 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name");
1744 (bundle->getProduct() == NULL) ? "" : bundle->getProduct();
1820 if (!featureAssetManager.addAssetPath(featureAfter, NULL)) {
1852 if (t == NULL) {
1881 if (e == NULL) {
1917 if (p != NULL) {
1919 if (t != NULL) {
1932 if (e == NULL) {
1979 if (e == NULL) {
2010 if (p != NULL) {
2012 if (t != NULL) {
2014 if (c != NULL) return true;
2036 if (p != NULL) {
2038 if (t != NULL) {
2040 if (c != NULL) {
2042 if (e != NULL) {
2058 defType, defPackage ? defPackage:&mAssetsPackage, NULL)) {
2075 if (p != NULL) {
2077 if (t != NULL) {
2079 if (c != NULL) {
2098 if (p != NULL) {
2100 if (t != NULL) {
2102 if (c != NULL) {
2130 if (entry == NULL) {
2170 if (t != NULL) {
2192 return err == NO_ERROR ? data : NULL;
2230 if (p == NULL) return 0;
2232 if (t == NULL) return 0;
2234 if (c == NULL) {
2239 if (t == NULL) return 0;
2241 if (c == NULL) return 0;
2265 defType ? String8(*defType).string() : "NULL");
2267 defPackage ? String8(*defPackage).string() : "NULL");
2318 if (style == NULL || style->size() == 0) {
2322 coerceType, attrID, NULL, &mAssetsPackage, this,
2342 if (config != NULL) {
2349 style != NULL ? style->size() : 0U,
2352 if (style != NULL && style->size() > 0) {
2377 if (p == NULL) return 0;
2379 if (t == NULL) return 0;
2381 if (c == NULL) {
2386 if (t == NULL) return 0;
2388 if (c == NULL) return 0;
2414 status_t status = addEntry(mCurrentXmlPos, package, type, name, value, NULL, NULL, true);
2479 if (accessorCookie != NULL && fmt != NULL) {
2496 if (e != NULL) {
2516 if (e != NULL) {
2539 if (e != NULL) {
2588 if (p == NULL || p->getTypes().size() == 0) {
2608 if (t == NULL) {
2614 if (c == NULL) {
2620 if (e == NULL) {
2651 if (t == NULL) {
2668 if (c == NULL) {
2679 if (t == NULL) {
2686 if (c == NULL) {
2693 if (e == NULL) {
2726 if (t == NULL) {
2738 if (typeSymbols == NULL) {
2744 if (c == NULL) {
2836 if (comma != NULL) {
2861 } while (comma != NULL);
2922 if (t == NULL) {
2962 if (c == NULL) {
2972 if (e == NULL) {
2980 ConfigDescription* valueConfig = NULL;
2999 if (bundle->getOutputAPKFile() != NULL) {
3028 if (header == NULL) {
3074 LOG_ALWAYS_FATAL_IF(t == NULL && typeName != String16("<empty>"),
3077 if (t == NULL) {
3083 const size_t N = t != NULL ? t->getOrderedConfigs().size() : 0;
3098 if (tsHeader == NULL) {
3116 if (cl == NULL) {
3151 if (t != NULL) {
3194 if (tHeader == NULL) {
3235 sp<Entry> e = NULL;
3236 if (cl != NULL) {
3244 if (e != NULL) {
3273 if (c != NULL) {
3409 if (pkg != NULL) {
3413 if (t == NULL) {
3422 if (c == NULL) {
3650 String16(numberStr), NULL, NULL);
3672 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg);
3684 it.isId ? &id16 : &attr16, NULL, &errorMsg);
3705 &it.style, NULL, &ac, mItemFormat,
3717 &it.style, NULL, &ac, it.format,
3885 if (mFirstPublicSourcePos == NULL) {
3920 if (c == NULL) {
3925 return NULL;
3940 if (e == NULL) {
3942 if (config != NULL) {
3965 printf("New entry at %s:%d: NULL config\n",
3981 return NULL;
3995 return NULL;
4015 if (mOrderedConfigs[i] == NULL) {
4036 mOrderedConfigs.replaceAt(NULL, i);
4057 if (mOrderedConfigs.itemAt(idx) == NULL) {
4099 while (mOrderedConfigs.itemAt(j) != NULL) {
4121 if (t == NULL) {
4166 if (data->getData() == NULL) {
4188 mOrderedTypes.replaceAt(NULL, i);
4199 if (mOrderedTypes.itemAt(idx) != NULL) {
4221 while (mOrderedTypes.itemAt(j) != NULL) {
4232 if (attr == NULL) {
4243 if (configs[i] == NULL) {
4288 return NULL;
4299 if (p == NULL) {
4300 return NULL;
4314 if (t == NULL) {
4315 return NULL;
4326 if (p == NULL || p->getName() != package) {
4334 if (t == NULL || t->getName() != type) {
4342 if (cl == NULL || cl->getName() != name) {
4350 return NULL;
4367 if (p == NULL) {
4369 return NULL;
4375 return NULL;
4382 return NULL;
4386 if (c == NULL) {
4388 return NULL;
4394 if (c == NULL) {
4396 return NULL;
4405 if (e == NULL) {
4406 return NULL;
4422 return NULL;
4431 if (item != NULL) {
4447 res = stringToValue(outValue, NULL, item->value, false, false, item->bagKeyId);
4532 if (bundle->getManifestMinSdkVersion() != NULL && strlen(bundle->getManifestMinSdkVersion()) > 0) {
4534 } else if (bundle->getMinSdkVersion() != NULL && strlen(bundle->getMinSdkVersion()) > 0) {
4545 assert(configList != NULL);
4628 if (p == NULL || p->getTypes().size() == 0) {
4636 if (t == NULL) {
4643 if (c == NULL) {
4653 if (e == NULL || e->getType() != Entry::TYPE_BAG) {
4826 NULL,
4865 sp<XMLNode> newRoot = NULL;
4892 if (newRoot == NULL) {
4922 if (newRoot == NULL) {
4956 NULL,
4982 if (type == NULL) {
4990 if (configList == NULL) {
4999 if (entry == NULL) {
5032 if (onlyChild != NULL) {
5033 return NULL;
5123 if (nestedRoot == NULL) {
5133 if (attr == NULL) {
5139 const char* errorMsg = NULL;
5145 &errorMsg, NULL);
5181 if (entry == NULL) {
5208 if (parent->getAttribute(attrNs, attrName) != NULL) {