Lines Matching refs:length8
2830 int32_t length16, length8, i16, i8;
2851 length8 = (int32_t)sizeof(buffer8);
2853 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status);
2855 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status);
2857 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status);
2865 p8 = (char *)malloc(++length8);
2870 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status);
2872 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status);
2874 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status);
2891 if((p8 != buffer8 || length8 < sizeof(buffer8)) && s8[length8] != 0) {
2897 while(i16 < length16 && i8 < length8) {
2899 U8_NEXT(s8, i8, length8, c8);
2907 log_err("ures_getUTF8String(%p, %ld, '%s') UTF-8 string too short, length8=%ld, length16=%ld\n",
2908 resB, (long)idx, key, (long)length8, (long)length16);
2910 if(i8 < length8) {
2911 log_err("ures_getUTF8String(%p, %ld, '%s') UTF-8 string too long, length8=%ld, length16=%ld\n",
2912 resB, (long)idx, key, (long)length8, (long)length16);
2938 int32_t length8;
2956 length8 = (int32_t)sizeof(buffer8);
2957 s8 = ures_getUTF8StringByKey(res, "string_only_in_Root", buffer8, &length8, FALSE, &status);
2964 length8 = -1;
2965 s8 = ures_getUTF8StringByKey(res, "string_only_in_Root", buffer8, &length8, FALSE, &status);
2972 length8 = (int32_t)sizeof(buffer8);
2973 s8 = ures_getUTF8StringByKey(res, "string_only_in_Root", NULL, &length8, FALSE, &status);