Lines Matching refs:fRes
214 * For unique UTF-16 v2 strings, res_write16() sees fRes != RES_BOGUS
222 if (same->fRes == RES_BOGUS) {
226 res->fRes = same->fRes;
241 res->fRes = URES_MAKE_EMPTY_RESOURCE(URES_ARRAY);
247 res16 |= makeRes16(current->fRes);
252 res->fRes = URES_MAKE_RESOURCE(URES_ARRAY16, bundle->f16BitUnitsLength);
255 *p16++ = (uint16_t)makeRes16(current->fRes);
275 res->fRes = URES_MAKE_EMPTY_RESOURCE(URES_TABLE);
299 res16 |= makeRes16(current->fRes);
316 res->fRes = URES_MAKE_RESOURCE(URES_TABLE16, bundle->f16BitUnitsLength);
322 *p16++ = (uint16_t)makeRes16(current->fRes);
343 if (res->fRes != RES_BOGUS) {
370 * For UTF-16 v2 strings, res_preWrite() sees fRes != RES_BOGUS
378 res->fRes = URES_MAKE_RESOURCE(URES_STRING, *byteOffset >> 2);
393 res->fRes = URES_MAKE_RESOURCE(URES_BINARY, *byteOffset >> 2);
409 res->fRes = URES_MAKE_RESOURCE(URES_ARRAY, *byteOffset >> 2);
427 res->fRes = URES_MAKE_RESOURCE(URES_TABLE, *byteOffset >> 2);
431 res->fRes = URES_MAKE_RESOURCE(URES_TABLE32, *byteOffset >> 2);
443 if (res->fRes != RES_BOGUS) {
457 res->fRes = URES_MAKE_RESOURCE(URES_ALIAS, *byteOffset >> 2);
462 res->fRes = URES_MAKE_EMPTY_RESOURCE(URES_INT_VECTOR);
465 res->fRes = URES_MAKE_RESOURCE(URES_INT_VECTOR, *byteOffset >> 2);
528 udata_write32(mem, current->fRes);
597 udata_write32(mem, current->fRes);
611 assert(res->fRes != RES_BOGUS);
628 break; /* fRes was set by int_open() */
764 udata_write32(mem, bundle->fRoot->fRes);
850 res->fRes = RES_BOGUS;
910 res->fRes = 0;
977 res->fRes = URES_MAKE_EMPTY_RESOURCE(URES_ALIAS);
1018 res->fRes = URES_MAKE_RESOURCE(URES_INT, value & 0x0FFFFFFF);
1050 res->fRes = URES_MAKE_EMPTY_RESOURCE(URES_BINARY);
1633 res->fRes = URES_MAKE_RESOURCE(URES_STRING_V2, utf16Length);
1753 res->fRes = same->fRes + same->u.fString.fNumCharsForLength + res->u.fString.fSuffixOffset;