Home | History | Annotate | Download | only in cintltst

Lines Matching full:offsets

482       log_verbose("comparing %d offsets..\n", targ-junkout);
484 log_err("did not get the expected offsets. %s\n", gNuConvTestName);
640 log_err("did not get the expected offsets. %s\n",gNuConvTestName);
847 static const int32_t offsets[]={ 0, 0, 0, 1, 1, 1, 1, 3, 3, 3 };
849 expectedUTF8test2, sizeof(expectedUTF8test2), "UTF8", offsets,FALSE );
3005 int32_t* offsets = off;
3022 offsets,
3027 * but offsets contains 0 1 1
3029 while(*offsets< off[10]){
3031 offsets++;
3043 offsets=off;
3049 offsets,
3053 while(*offsets< off[10]){
3055 if(*offsets!= -1){
3056 log_err("Jitterbug 930 test for enc: %s failed. Expected: %i Got: %i",enc,-1,*offsets) ;
3058 offsets++;
3062 * offsets contains -1 -1 -1
3098 int32_t* offsets = (int32_t*) malloc(uBufSize * sizeof(int32_t) * 5);
3099 int32_t* myOff= offsets;
3122 myOff=offsets;
3143 free(offsets);
3317 int32_t* offsets = (int32_t*) malloc(uBufSize * sizeof(int32_t) * 5);
3318 int32_t* myOff= offsets;
3341 myOff=offsets;
3366 free(offsets);
3383 int32_t* offsets = (int32_t*) malloc(uBufSize * sizeof(int32_t) );
3384 int32_t* myOff= offsets;
3408 myOff=offsets;
3433 myOff = offsets;
3454 free(offsets);
3949 int32_t* offsets = (int32_t*) malloc(uBufSize * sizeof(int32_t) * 5);
3950 int32_t* myOff= offsets;
3973 myOff=offsets;
4000 free(offsets);
4026 int32_t* offsets = (int32_t*) malloc(uBufSize * sizeof(int32_t) * 5);
4027 int32_t* myOff= offsets;
4050 myOff=offsets;
4079 free(offsets);
4105 int32_t* offsets = (int32_t*) malloc(uBufSize * sizeof(int32_t) * 5);
4106 int32_t* myOff= offsets;
4129 myOff=offsets;
4159 free(offsets);
4411 int32_t* offsets = (int32_t*) malloc(uBufSize * sizeof(int32_t) * 5);
4412 int32_t* myOff= offsets;
4435 myOff=offsets;
4463 free(offsets);
4510 int32_t* offsets = (int32_t*) malloc(uBufSize * sizeof(int32_t) * 5);
4511 int32_t* myOff= offsets;
4534 myOff=offsets;
4566 free(offsets);
4820 static const int offsets[]={
4909 /* LMBCS to Unicode - offsets */
4920 int32_t off [sizeof(offsets)];
4925 off[(sizeof(offsets)/sizeof(offsets[0]))-1] = sizeof(pszLMBCS);
4947 if (memcmp(off,offsets,sizeof(offsets)))
4949 log_err("LMBCS->Uni: Calculated offsets do not match expected results\n");
5111 if ((pSource - (const char *)pszLMBCS) == offsets [codepointCount+1])
5143 int32_t off [sizeof(offsets)];
5197 ucnv_fromUnicode(cnv, &pLOut,pLOut+offsets[4],&pUIn,pUIn+sizeof(pszUnicode)/sizeof(UChar),off,FALSE, &errorCode);
5198 if (errorCode != U_BUFFER_OVERFLOW_ERROR || pLOut != LOut + offsets[4] || pUIn != pszUnicode+4 )
5207 if (errorCode != U_BUFFER_OVERFLOW_ERROR || pUOut != UOut + 4 || pLIn != (const char *)pszLMBCS+offsets[4])