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) {
792 if (strstr(in->getPrintableSource().string(), "donottranslate") != NULL) {
825 const String16* curTag = NULL;
861 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
869 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
877 ssize_t identIdx = block.indexOfAttribute(NULL, "id");
906 if (symbols != NULL) {
909 if (symbols != NULL) {
933 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
941 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
949 ssize_t startIdx = block.indexOfAttribute(NULL, "start");
969 ssize_t endIdx = block.indexOfAttribute(NULL, "end");
1005 String16("padding"), NULL, &curParams, false,
1018 if (symbols != NULL) {
1021 if (symbols != NULL) {
1041 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package");
1065 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
1073 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1095 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
1104 if (symbols != NULL) {
1108 if (symbols != NULL) {
1111 if (symbols == NULL) {
1120 symbols = NULL;
1160 if (symbols != NULL) {
1181 err = compileAttribute(in, block, myPackage, outTable, NULL);
1189 ssize_t attri = block.indexOfAttribute(NULL, "type");
1192 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1291 ssize_t attri = block.indexOfAttribute(NULL, "type");
1312 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1362 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
1373 identIdx = block.indexOfAttribute(NULL, "product");
1383 ssize_t parentIdentIdx = block.indexOfAttribute(NULL, "parent");
1422 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "quantity");
1454 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name");
1646 if (t == NULL) {
1683 if (e == NULL) {
1723 if (p != NULL) {
1725 if (t != NULL) {
1738 if (e == NULL) {
1785 if (e == NULL) {
1816 if (p != NULL) {
1818 if (t != NULL) {
1820 if (c != NULL) return true;
1842 if (p != NULL) {
1844 if (t != NULL) {
1846 if (c != NULL) {
1848 if (e != NULL) {
1864 defType, defPackage ? defPackage:&mAssetsPackage, NULL)) {
1881 if (p != NULL) {
1883 if (t != NULL) {
1885 if (c != NULL) {
1904 if (p != NULL) {
1906 if (t != NULL) {
1908 if (c != NULL) {
1921 if (t != NULL) {
1942 return err == NO_ERROR ? data : NULL;
1958 if (p == NULL) return 0;
1983 if (t == NULL) return 0;
1985 if (c == NULL) return 0;
2006 defType ? String8(*defType).string() : "NULL"));
2008 defPackage ? String8(*defPackage).string() : "NULL"));
2055 if (style == NULL || style->size() == 0) {
2059 coerceType, attrID, NULL, &mAssetsPackage, this,
2078 if (style != NULL && style->size() > 0) {
2103 if (p == NULL) return 0;
2105 if (t == NULL) return 0;
2107 if (c == NULL) return 0;
2123 status_t status = addEntry(mCurrentXmlPos, package, type, name, value, NULL, NULL, true);
2188 if (accessorCookie != NULL && fmt != NULL) {
2205 if (e != NULL) {
2225 if (e != NULL) {
2248 if (e != NULL) {
2301 if (p == NULL || p->getTypes().size() == 0) {
2316 if (t == NULL) {
2322 if (c == NULL) {
2328 if (e == NULL) {
2345 if (t == NULL) {
2361 if (c == NULL) {
2371 if (t == NULL) {
2381 if (e == NULL) {
2411 if (t == NULL) {
2419 if (c == NULL) {
2490 if (mBundle->getConfigurations() != NULL && mBundle->getRequireLocalization()) {
2498 if (comma != NULL) {
2525 } while (comma != NULL);
2563 if (t == NULL) {
2575 if (c == NULL) {
2585 if (e == NULL) {
2619 if (header == NULL) {
2657 LOG_ALWAYS_FATAL_IF(t == NULL && typeName != String16("<empty>"),
2663 const size_t N = t != NULL ? t->getOrderedConfigs().size() : 0;
2672 if (tsHeader == NULL) {
2748 if (tHeader == NULL) {
2792 if (e != NULL) {
2898 if (pkg != NULL) {
2902 if (t == NULL) {
2911 if (c == NULL) {
3093 String16(numberStr), NULL, NULL);
3115 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg);
3127 it.isId ? &id16 : &attr16, NULL, &errorMsg);
3147 &it.style, NULL, &ac, mItemFormat)) {
3158 &it.style, NULL, &ac, it.format)) {
3176 const type ty = this != NULL ? mType : TYPE_ITEM;
3177 if (this != NULL) {
3304 if (mFirstPublicSourcePos == NULL) {
3339 if (c == NULL) {
3344 return NULL;
3359 if (e == NULL) {
3360 if (config != NULL) {
3382 NOISY(printf("New entry at %s:%d: NULL config\n",
3397 return NULL;
3418 mOrderedConfigs.replaceAt(NULL, i);
3440 } else if (mOrderedConfigs.itemAt(idx) == NULL) {
3482 while (mOrderedConfigs.itemAt(j) != NULL) {
3504 if (t == NULL) {
3541 if (data->getData() == NULL) {
3566 mOrderedTypes.replaceAt(NULL, i);
3577 if (mOrderedTypes.itemAt(idx) != NULL) {
3599 while (mOrderedTypes.itemAt(j) != NULL) {
3611 if (p == NULL) {
3618 return NULL;
3640 if (p == NULL) {
3641 return NULL;
3655 if (t == NULL) {
3656 return NULL;
3676 if (p == NULL) {
3678 return NULL;
3684 return NULL;
3691 return NULL;
3695 if (c == NULL) {
3697 return NULL;
3703 if (c == NULL) {
3705 return NULL;
3714 if (e == NULL) {
3715 return NULL;
3731 return NULL;
3740 if (item != NULL) {
3756 res = stringToValue(outValue, NULL, item->value, false, false, item->bagKeyId);