Lines Matching refs:is

11  * distributed under the License is distributed on an "AS IS" BASIS,
75 // Standard C isspace() is only required to look at the low byte of its input, so
77 // any high-byte UTF-16 code point is not whitespace.
83 // NOTE: if this truncates the dst string due to running out of space, no attempt is
115 ALOGW("%s size 0x%x or headerSize 0x%x is not on an integer boundary.",
119 ALOGW("%s size %p is smaller than header size %p.",
123 ALOGW("%s header size %p is too small.",
172 // The size of this struct is 32 bytes on the 32-bit target system
228 ALOGW("idmap assertion failed: invalid magic found (is 0x%08x, expected 0x%08x)\n",
361 ALOGW("Bad string block: header size %d or total size %d is larger than data size %d\n",
416 ALOGW("Bad string block: stringCount is %d but pool size is 0\n", (int)mHeader->stringCount);
439 ALOGW("Bad string block: last string is not 0-terminated\n");
489 ALOGW("Bad string block: last style is not 0xFFFFFFFF-terminated\n");
527 * stored data. It is either 1 or 2 characters of length data. This allows a
531 * If the high bit is set, then there are two characters or 4 bytes of length
549 * stored data. It is either 1 or 2 characters of length data. This allows a
553 * If the high bit is set, then there are two characters or 2 bytes of length
603 ALOGW("Bad string block: string #%lld decoded length is not correct "
626 ALOGW("Bad string block: string #%d entry is at %d, past end at %d\n",
653 ALOGW("Bad string block: string #%d entry is at %d, past end at %d\n",
683 ALOGW("Bad string block: style #%d entry is at %d, past end at %d\n",
726 // It is unusual to get the ID from an unsorted string block...
1224 ALOGW("Bad XML block: header size %d or total size %d is larger than data size %d\n",
1618 // density is never 'more specific'
1707 // The configuration closest to the actual size is best.
1716 // "Better" is based on the sum of the difference between both
1720 // is unspecified, we will end up with a large value (the
1721 // difference between 0 and the requested dimension), which is
1744 // A little backwards compatibility here: undefined is
1746 // requested size is at least normal; otherwise, small
1747 // is better than the default.
1756 // For screen size, the best match is the one that is
1758 // (the not over part is dealt with in match() below).
1760 // If the two are the same, but 'this' is actually
1761 // undefined, then the other is really a better match.
1792 // density is tough. Any density is potentially useful
1794 // is generally better than scaling up.
1816 // saying that scaling down is 2x better than up
1869 // "Better" is based on the sum of the difference between both
1873 // is unspecified, we will end up with a large value (the
1874 // difference between 0 and the requested dimension), which is
1991 // KEYSHIDDEN_NO means there is some kind of keyboard available.
2371 // The first in 'package' is always the root object (from the resource
2420 // This is for finding typeStrings and other common package stuff.
2597 // the system package (which is still wrong because it isn't
2635 TABLE_THEME(ALOGI("Desired type index is %ld in avail %d", t, pi->numTypes));
2638 TABLE_THEME(ALOGI("Desired entry index is %ld in avail %d", e, ti.numEntries));
2829 ALOGW("Bad resource table: header size 0x%x or total size 0x%x is larger than data size 0x%x\n",
2835 ALOGW("Bad resource table: header size 0x%x or total size 0x%x is not on an integer boundary\n",
3062 // for this loop iteration, this is the type and entry we really want
3078 // package is an overlay package (ip != 0), this simply means the
3092 ALOGW("Requesting resource %p failed because it is complex\n",
3102 ALOGW("ResTable_item at %d is beyond type chunk data %d",
3123 // Discard thisConfig not only if bestItem is more specific, but also if the two configs
3184 // This can fail if the resource being referenced is a style...
3264 ALOGW("Type identifier 0x%x is larger than type count 0x%x",
3275 ALOGW("Entry identifier 0x%x is larger than entry count 0x%x",
3294 ALOGW("Attempt to retrieve bag 0x%08x which is invalid or in a cycle.",
3317 // This is what we are building.
3339 // for this loop iteration, this is the type and entry we really want
3357 // package is an overlay package (ip != 0), this simply means the
3368 ALOGW("Skipping entry %p in package table %d because it is not complex!\n",
3444 ALOGW("ResTable_map at %d is beyond type chunk data %d",
3462 // This is a new attribute... figure out what to do with it.
3510 // And this is it...
3598 ALOGW("Array resource index: %d is too large.",
3714 ALOGW("ResTable_entry at %d is beyond type chunk data %d",
3719 ALOGW("ResTable_entry at %d (pkg=%d type=%d ent=%d) is not on an integer boundary when looking for %s:%s/%s",
3730 ALOGW("ResTable_entry size %d is too small", dtohs(entry->size));
4008 // Always use 23p0 if there is no fraction, just to make
4013 // Magnitude is zero -- can fit in 0 bits of precision.
4146 // sure the referenced type is correct.
4187 accessor->reportError(accessorCookie, "Resource is not public.");
4225 // if we got to here, and localization is required and it's not a reference,
4301 fprintf(stderr, "%s: Color ID %s value %s is not valid\n",
4316 // sure the referenced type is correct.
4342 accessor->reportError(accessorCookie, "Attribute is not public.");
4852 ALOGV("Skipping entry type index 0x%02x because type is NULL!\n", typeIndex);
4857 ALOGW("getEntry failing because entryIndex %d is beyond type entryCount %d",
4879 // Check to make sure this one is valid for the current parameters.
4885 // Check if there is the desired entry in this type.
4894 TABLE_GETENTRY(ALOGI("Skipping because it is not defined!\n"));
4899 // Check if this one is less specific than the last found. If so,
4903 TABLE_GETENTRY(ALOGI("This config is worse than last!\n"));
4927 ALOGW("ResTable_entry at 0x%x is beyond type chunk data 0x%x",
4932 ALOGW("ResTable_entry at 0x%x is not on an integer boundary",
4940 ALOGW("ResTable_entry size 0x%x is too small", dtohs(entry->size));
4970 ALOGW("ResTable_package type strings at %p is not on an integer boundary.",
4980 ALOGW("ResTable_package key strings at %p is not on an integer boundary.",
4988 // If at this point id == 0, pkg is an overlay package without a
4991 // the package is temporarily loaded by itself.
5197 // starting size is header + first item (number of types in map)
5300 *data++ = htodl(N - 1); // do not count the offset (which is vector's first element)
5545 printf("OFFSET OUT OF BOUNDS: %p+%p (size is %p)\n",
5565 printf("ResTable_entry OUT OF BOUNDS: %p+%p+%p (size is %p)\n",