Lines Matching defs:NULL

25     if (root == NULL) {
39 if (root == NULL) {
53 root->removeWhitespace(true, NULL);
55 root->removeWhitespace(false, NULL);
154 { enumArray, sizeof(enumArray)/2, ResTable_map::TYPE_ENUM, NULL },
155 { flagsArray, sizeof(flagsArray)/2, ResTable_map::TYPE_FLAGS, NULL },
156 { NULL, 0, 0, NULL }
162 { suggestedArray, sizeof(suggestedArray)/2, ResTable_map::L10N_SUGGESTED, NULL },
163 { NULL, 0, 0, NULL }
169 const flag_entry* flags, bool* outError = NULL)
224 if ((type&flags->value) != 0 && flags->description != NULL) {
286 String16(numberStr), NULL, NULL);
302 String16* outIdent = NULL,
318 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
332 ssize_t typeIdx = block.indexOfAttribute(NULL, "format");
350 ssize_t minIdx = block.indexOfAttribute(NULL, "min");
353 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) {
361 String16(""), String16("^min"), String16(val), NULL, NULL);
368 ssize_t maxIdx = block.indexOfAttribute(NULL, "max");
371 if (!ResTable::stringToInt(val.string(), val.size(), NULL)) {
379 String16(""), String16("^max"), String16(val), NULL, NULL);
389 ssize_t l10nIdx = block.indexOfAttribute(NULL, "localization");
404 String16(""), String16("^l10n"), String16(buf), NULL, NULL);
443 String16("^type"), String16(numberStr), NULL, NULL, true);
461 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name");
471 ssize_t valueIdx = block.indexOfAttribute(NULL, "value");
479 if (!attr.hasErrors && !ResTable::stringToInt(value.string(), value.size(), NULL)) {
490 myPackage, id16, itemIdent, String16(), NULL);
523 itemIdent, value, NULL, NULL, false, true);
685 curTag, &str, curIsStyled ? &spans : NULL,
699 if (bundleProduct == NULL) {
826 if (strstr(in->getPrintableSource().string(), "donottranslate") != NULL) {
864 const String16* curTag = NULL;
900 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
908 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
916 ssize_t identIdx = block.indexOfAttribute(NULL, "id");
945 if (symbols != NULL) {
948 if (symbols != NULL) {
972 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
980 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
988 ssize_t startIdx = block.indexOfAttribute(NULL, "start");
1008 ssize_t endIdx = block.indexOfAttribute(NULL, "end");
1044 String16("padding"), NULL, &curParams, false,
1057 if (symbols != NULL) {
1060 if (symbols != NULL) {
1080 ssize_t pkgIdx = block.indexOfAttribute(NULL, "package");
1104 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
1112 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1120 if (symbols != NULL) {
1123 if (symbols != NULL) {
1147 ssize_t typeIdx = block.indexOfAttribute(NULL, "type");
1155 ssize_t nameIdx = block.indexOfAttribute(NULL, "name");
1177 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
1186 if (symbols != NULL) {
1190 if (symbols != NULL) {
1193 if (symbols == NULL) {
1202 symbols = NULL;
1242 if (symbols != NULL) {
1263 err = compileAttribute(in, block, myPackage, outTable, NULL);
1271 ssize_t attri = block.indexOfAttribute(NULL, "type");
1274 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1373 ssize_t attri = block.indexOfAttribute(NULL, "type");
1394 ssize_t formatIdx = block.indexOfAttribute(NULL, "format");
1444 ssize_t identIdx = block.indexOfAttribute(NULL, "name");
1455 identIdx = block.indexOfAttribute(NULL, "product");
1465 ssize_t parentIdentIdx = block.indexOfAttribute(NULL, "parent");
1504 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "quantity");
1536 ssize_t itemIdentIdx = block.indexOfAttribute(NULL, "name");
1645 (bundle->getProduct() == NULL) ? "" : bundle->getProduct();
1752 if (t == NULL) {
1789 if (e == NULL) {
1829 if (p != NULL) {
1831 if (t != NULL) {
1844 if (e == NULL) {
1891 if (e == NULL) {
1922 if (p != NULL) {
1924 if (t != NULL) {
1926 if (c != NULL) return true;
1948 if (p != NULL) {
1950 if (t != NULL) {
1952 if (c != NULL) {
1954 if (e != NULL) {
1970 defType, defPackage ? defPackage:&mAssetsPackage, NULL)) {
1987 if (p != NULL) {
1989 if (t != NULL) {
1991 if (c != NULL) {
2010 if (p != NULL) {
2012 if (t != NULL) {
2014 if (c != NULL) {
2027 if (t != NULL) {
2048 return err == NO_ERROR ? data : NULL;
2067 if (p == NULL) return 0;
2091 if (t == NULL) return 0;
2093 if (c == NULL) return 0;
2116 defType ? String8(*defType).string() : "NULL"));
2118 defPackage ? String8(*defPackage).string() : "NULL"));
2166 if (style == NULL || style->size() == 0) {
2170 coerceType, attrID, NULL, &mAssetsPackage, this,
2190 if (config != NULL) {
2196 style != NULL ? style->size() : 0,
2198 if (style != NULL && style->size() > 0) {
2223 if (p == NULL) return 0;
2225 if (t == NULL) return 0;
2227 if (c == NULL) return 0;
2243 status_t status = addEntry(mCurrentXmlPos, package, type, name, value, NULL, NULL, true);
2308 if (accessorCookie != NULL && fmt != NULL) {
2325 if (e != NULL) {
2345 if (e != NULL) {
2368 if (e != NULL) {
2417 if (p == NULL || p->getTypes().size() == 0) {
2432 if (t == NULL) {
2438 if (c == NULL) {
2444 if (e == NULL) {
2461 if (t == NULL) {
2477 if (c == NULL) {
2487 if (t == NULL) {
2497 if (e == NULL) {
2527 if (t == NULL) {
2535 if (c == NULL) {
2606 if (mBundle->getConfigurations() != NULL && mBundle->getRequireLocalization()) {
2614 if (comma != NULL) {
2641 } while (comma != NULL);
2682 if (t == NULL) {
2707 if (c == NULL) {
2717 if (e == NULL) {
2725 ConfigDescription* valueConfig = NULL;
2744 if (bundle->getOutputAPKFile() != NULL) {
2773 if (header == NULL) {
2811 LOG_ALWAYS_FATAL_IF(t == NULL && typeName != String16("<empty>"),
2817 const size_t N = t != NULL ? t->getOrderedConfigs().size() : 0;
2832 if (tsHeader == NULL) {
2909 if (tHeader == NULL) {
2954 if (e != NULL) {
3069 if (pkg != NULL) {
3073 if (t == NULL) {
3082 if (c == NULL) {
3264 String16(numberStr), NULL, NULL);
3286 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg);
3298 it.isId ? &id16 : &attr16, NULL, &errorMsg);
3319 &it.style, NULL, &ac, mItemFormat,
3331 &it.style, NULL, &ac, it.format,
3373 const type ty = this != NULL ? mType : TYPE_ITEM;
3374 if (this != NULL) {
3501 if (mFirstPublicSourcePos == NULL) {
3536 if (c == NULL) {
3541 return NULL;
3556 if (e == NULL) {
3557 if (config != NULL) {
3580 NOISY(printf("New entry at %s:%d: NULL config\n",
3595 return NULL;
3616 mOrderedConfigs.replaceAt(NULL, i);
3638 } else if (mOrderedConfigs.itemAt(idx) == NULL) {
3680 while (mOrderedConfigs.itemAt(j) != NULL) {
3702 if (t == NULL) {
3739 if (data->getData() == NULL) {
3764 mOrderedTypes.replaceAt(NULL, i);
3775 if (mOrderedTypes.itemAt(idx) != NULL) {
3797 while (mOrderedTypes.itemAt(j) != NULL) {
3809 if (p == NULL) {
3814 return NULL;
3836 if (p == NULL) {
3837 return NULL;
3851 if (t == NULL) {
3852 return NULL;
3872 if (p == NULL) {
3874 return NULL;
3880 return NULL;
3887 return NULL;
3891 if (c == NULL) {
3893 return NULL;
3899 if (c == NULL) {
3901 return NULL;
3910 if (e == NULL) {
3911 return NULL;
3927 return NULL;
3936 if (item != NULL) {
3952 res = stringToValue(outValue, NULL, item->value, false, false, item->bagKeyId);