Lines Matching defs:NULL

24     if (root == NULL) {
38 if (root == NULL) {
52 root->removeWhitespace(true, NULL);
54 root->removeWhitespace(false, NULL);
153 { enumArray, sizeof(enumArray)/2, ResTable_map::TYPE_ENUM, NULL },
154 { flagsArray, sizeof(flagsArray)/2, ResTable_map::TYPE_FLAGS, NULL },
155 { NULL, 0, 0, NULL }
161 { suggestedArray, sizeof(suggestedArray)/2, ResTable_map::L10N_SUGGESTED, NULL },
162 { NULL, 0, 0, NULL }
168 const flag_entry* flags, bool* outError = NULL)
223 if ((type&flags->value) != 0 && flags->description != NULL) {
285 String16(numberStr), NULL, NULL);
301 String16* outIdent = NULL,
317 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
331 ssize_t typeIdx = block.indexOfAttribute(NULL, "format");
349 ssize_t minIdx = block.indexOfAttribute(NULL, "min");
352 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) {
360 String16(""), String16("^min"), String16(val), NULL, NULL);
367 ssize_t maxIdx = block.indexOfAttribute(NULL, "max");
370 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) {
378 String16(""), String16("^max"), String16(val), NULL, NULL);
388 ssize_t l10nIdx = block.indexOfAttribute(NULL, "localization");
403 String16(""), String16("^l10n"), String16(buf), NULL, NULL);
442 String16("^type"), String16(numberStr), NULL, NULL, true);
460 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name");
470 ssize_t valueIdx = block.indexOfAttribute(NULL, "value");
478 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) {
489 myPackage, id16, itemIdent, String16(), NULL);
522 itemIdent, value, NULL, NULL, false, true);
659 curTag, &str, curIsStyled ? &spans : NULL,
673 if (bundleProduct == NULL) {
793 if (strstr(in->getPrintableSource().string(), "donottranslate") != NULL) {
826 const String16* curTag = NULL;
862 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
870 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
878 ssize_t identIdx = block.indexOfAttribute(NULL, "id");
907 if (symbols != NULL) {
910 if (symbols != NULL) {
934 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
942 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
950 ssize_t startIdx = block.indexOfAttribute(NULL, "start");
970 ssize_t endIdx = block.indexOfAttribute(NULL, "end");
1006 String16("padding"), NULL, &curParams, false,
1019 if (symbols != NULL) {
1022 if (symbols != NULL) {
1042 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package");
1066 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
1074 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1082 if (symbols != NULL) {
1085 if (symbols != NULL) {
1109 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
1117 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1139 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
1148 if (symbols != NULL) {
1152 if (symbols != NULL) {
1155 if (symbols == NULL) {
1164 symbols = NULL;
1204 if (symbols != NULL) {
1225 err = compileAttribute(in, block, myPackage, outTable, NULL);
1233 ssize_t attri = block.indexOfAttribute(NULL, "type");
1236 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1335 ssize_t attri = block.indexOfAttribute(NULL, "type");
1356 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1406 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
1417 identIdx = block.indexOfAttribute(NULL, "product");
1427 ssize_t parentIdentIdx = block.indexOfAttribute(NULL, "parent");
1466 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "quantity");
1498 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name");
1690 if (t == NULL) {
1727 if (e == NULL) {
1767 if (p != NULL) {
1769 if (t != NULL) {
1782 if (e == NULL) {
1829 if (e == NULL) {
1860 if (p != NULL) {
1862 if (t != NULL) {
1864 if (c != NULL) return true;
1886 if (p != NULL) {
1888 if (t != NULL) {
1890 if (c != NULL) {
1892 if (e != NULL) {
1908 defType, defPackage ? defPackage:&mAssetsPackage, NULL)) {
1925 if (p != NULL) {
1927 if (t != NULL) {
1929 if (c != NULL) {
1948 if (p != NULL) {
1950 if (t != NULL) {
1952 if (c != NULL) {
1965 if (t != NULL) {
1986 return err == NO_ERROR ? data : NULL;
2002 if (p == NULL) return 0;
2027 if (t == NULL) return 0;
2029 if (c == NULL) return 0;
2050 defType ? String8(*defType).string() : "NULL"));
2052 defPackage ? String8(*defPackage).string() : "NULL"));
2100 if (style == NULL || style->size() == 0) {
2104 coerceType, attrID, NULL, &mAssetsPackage, this,
2124 if (config != NULL) {
2130 style != NULL ? style->size() : 0,
2132 if (style != NULL && style->size() > 0) {
2157 if (p == NULL) return 0;
2159 if (t == NULL) return 0;
2161 if (c == NULL) return 0;
2177 status_t status = addEntry(mCurrentXmlPos, package, type, name, value, NULL, NULL, true);
2242 if (accessorCookie != NULL && fmt != NULL) {
2259 if (e != NULL) {
2279 if (e != NULL) {
2302 if (e != NULL) {
2351 if (p == NULL || p->getTypes().size() == 0) {
2366 if (t == NULL) {
2372 if (c == NULL) {
2378 if (e == NULL) {
2395 if (t == NULL) {
2411 if (c == NULL) {
2421 if (t == NULL) {
2431 if (e == NULL) {
2461 if (t == NULL) {
2469 if (c == NULL) {
2540 if (mBundle->getConfigurations() != NULL && mBundle->getRequireLocalization()) {
2548 if (comma != NULL) {
2575 } while (comma != NULL);
2616 if (t == NULL) {
2641 if (c == NULL) {
2651 if (e == NULL) {
2659 ConfigDescription* valueConfig = NULL;
2678 if (bundle->getOutputAPKFile() != NULL) {
2707 if (header == NULL) {
2745 LOG_ALWAYS_FATAL_IF(t == NULL && typeName != String16("<empty>"),
2751 const size_t N = t != NULL ? t->getOrderedConfigs().size() : 0;
2766 if (tsHeader == NULL) {
2843 if (tHeader == NULL) {
2888 if (e != NULL) {
3003 if (pkg != NULL) {
3007 if (t == NULL) {
3016 if (c == NULL) {
3198 String16(numberStr), NULL, NULL);
3220 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg);
3232 it.isId ? &id16 : &attr16, NULL, &errorMsg);
3253 &it.style, NULL, &ac, mItemFormat,
3265 &it.style, NULL, &ac, it.format,
3307 const type ty = this != NULL ? mType : TYPE_ITEM;
3308 if (this != NULL) {
3435 if (mFirstPublicSourcePos == NULL) {
3470 if (c == NULL) {
3475 return NULL;
3490 if (e == NULL) {
3491 if (config != NULL) {
3514 NOISY(printf("New entry at %s:%d: NULL config\n",
3529 return NULL;
3550 mOrderedConfigs.replaceAt(NULL, i);
3572 } else if (mOrderedConfigs.itemAt(idx) == NULL) {
3614 while (mOrderedConfigs.itemAt(j) != NULL) {
3636 if (t == NULL) {
3673 if (data->getData() == NULL) {
3698 mOrderedTypes.replaceAt(NULL, i);
3709 if (mOrderedTypes.itemAt(idx) != NULL) {
3731 while (mOrderedTypes.itemAt(j) != NULL) {
3743 if (p == NULL) {
3748 return NULL;
3770 if (p == NULL) {
3771 return NULL;
3785 if (t == NULL) {
3786 return NULL;
3806 if (p == NULL) {
3808 return NULL;
3814 return NULL;
3821 return NULL;
3825 if (c == NULL) {
3827 return NULL;
3833 if (c == NULL) {
3835 return NULL;
3844 if (e == NULL) {
3845 return NULL;
3861 return NULL;
3870 if (item != NULL) {
3886 res = stringToValue(outValue, NULL, item->value, false, false, item->bagKeyId);