Lines Matching refs:length8
2808 int32_t length16, length8, i16, i8;
2829 length8 = (int32_t)sizeof(buffer8);
2831 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status);
2833 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status);
2835 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status);
2843 p8 = (char *)malloc(++length8);
2848 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status);
2850 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status);
2852 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status);
2869 if((p8 != buffer8 || length8 < sizeof(buffer8)) && s8[length8] != 0) {
2875 while(i16 < length16 && i8 < length8) {
2877 U8_NEXT(s8, i8, length8, c8);
2885 log_err("ures_getUTF8String(%p, %ld, '%s') UTF-8 string too short, length8=%ld, length16=%ld\n",
2886 resB, (long)index, key, (long)length8, (long)length16);
2888 if(i8 < length8) {
2889 log_err("ures_getUTF8String(%p, %ld, '%s') UTF-8 string too long, length8=%ld, length16=%ld\n",
2890 resB, (long)index, key, (long)length8, (long)length16);
2916 int32_t length8;
2934 length8 = (int32_t)sizeof(buffer8);
2935 s8 = ures_getUTF8StringByKey(res, "string_only_in_Root", buffer8, &length8, FALSE, &status);
2942 length8 = -1;
2943 s8 = ures_getUTF8StringByKey(res, "string_only_in_Root", buffer8, &length8, FALSE, &status);
2950 length8 = (int32_t)sizeof(buffer8);
2951 s8 = ures_getUTF8StringByKey(res, "string_only_in_Root", NULL, &length8, FALSE, &status);
2988 int32_t length8;