Home | History | Annotate | Download | only in cintltst

Lines Matching refs:temp

108     UChar temp[512];
126 temp[0] = 0;
127 temp[7] = 0xA4; /* Mark the end */
128 u_memcpy(temp,dataTable[i][j], 7);
130 if(temp[7] != 0xA4)
132 if(u_memcmp(temp, dataTable[i][j], 7)!=0)
154 temp[7] = 0;
155 u_memcpy(temp,nullTemp, 7);
156 if(u_memcmp(temp, nullTemp, 7)!=0 || temp[7]!=0)
162 temp[i] = (UChar)i;
164 u_memmove(temp + 1, temp, 7);
165 if(temp[0] != 0) {
169 if(temp[i] != (i - 1)) {
181 temp[0] = 0;
182 u_strcpy(temp,dataTable[i][j]);
184 if(u_strcmp(temp,dataTable[i][j])!=0)
195 u_uastrcpy(temp, "");
196 u_strcpy(temp,dataTable[i][j]);
197 u_strcat(temp,dataTable[i+1][j]);
198 if(u_strcmp(temp,dataTable[i+2][j])!=0)
218 u_uastrcpy(temp,"");
220 if(u_strcmp(u_strncat(temp,dataTable[i+2][j],k),dataTable[i][j])!=0)
229 u_strncpy(temp, dataTable[i][j],k);
230 temp[k] = 0xa4;
232 if(u_strncmp(temp, dataTable[i][j],k)!=0)
235 if(temp[k] != 0xa4)
238 u_memset(temp, 0x3F, (sizeof(temp) / sizeof(UChar)) - 1);
239 u_uastrncpy(temp, raw[i][j], k-1);
240 if(u_strncmp(temp, dataTable[i][j],k-1)!=0)
243 if(temp[k-1] != 0x3F)
246 u_memset(temp, 0x3F, (sizeof(temp) / sizeof(UChar)) - 1);
247 u_uastrncpy(temp, raw[i][j], k+1);
248 if(u_strcmp(temp, dataTable[i][j])!=0)
251 if(temp[k] != 0)
254 u_memset(temp, 0x3F, (sizeof(temp) / sizeof(UChar)) - 1);
255 u_uastrncpy(temp, raw[i][j], k);
256 if(u_strncmp(temp, dataTable[i][j], k)!=0)
259 if(temp[k] != 0x3F)
356 u_uastrcpy(temp, tokString);
359 ptr = u_strtok_r(temp, delimBuf, &state);
404 u_uastrcpy(temp, tokString);
407 if (ptr == NULL || u_strcmp(ptr, temp) != 0) {
972 UChar temp[40];
981 u_uastrcpy(temp, "abc");
982 if(u_strcmp(temp, uchars) != 0) {
983 log_err("There is an error in u_uastrcpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp));
986 temp[0] = 0xFB; /* load garbage into it */
987 temp[1] = 0xFB;
988 temp[2] = 0xFB;
989 temp[3] = 0xFB;
991 u_uastrncpy(temp, "abcabcabc", 3);
992 if(u_strncmp(uchars, temp, 3) != 0){
993 log_err("There is an error in u_uastrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp));
995 if(temp[3] != 0xFB) {
1004 temp[0] = 0x0061;
1005 temp[1] = 0x0062;
1006 temp[2] = 0x0063;
1007 temp[3] = 0x0061;
1008 temp[4] = 0x0062;
1009 temp[5] = 0x0063;
1010 temp[6] = 0x0000;
1012 u_austrncpy(charOut, temp, 3);
1014 log_err("There is an error in u_austrncpy() Expected %s Got %s\n", austrdup(uchars), austrdup(temp));
1022 temp[0]=0x42;
1023 temp[1]=0x62;
1024 temp[2]=0x62;
1025 temp[3]=0x63;
1026 temp[4]=0xd841;
1027 temp[5]=0xd841;
1028 temp[6]=0xdc02;
1029 temp[7]=0;
1030 result=u_strchr(temp, (UChar)0x62);
1031 if(result != temp+1){
1032 log_err("There is an error in u_strchr() Expected match at position 1 Got %ld (pointer 0x%lx)\n", result-temp, result);
1039 result=u_strstr(temp, subString);
1040 if(result != temp+2){
1041 log_err("There is an error in u_strstr() Expected match at position 2 Got %ld (pointer 0x%lx)\n", result-temp, result);
1043 result=u_strstr(temp, subString+2); /* subString+2 is an empty string */
1044 if(result != temp){
1045 log_err("There is an error in u_strstr() Expected match at position 0 Got %ld (pointer 0x%lx)\n", result-temp, result);
1047 result=u_strstr(subString, temp);
1054 result=u_strchr32(temp, (UChar32)0x62);
1055 if(result != temp+1){
1056 log_err("There is an error in u_strchr32() Expected match at position 1 Got %ld (pointer 0x%lx)\n", result-temp, result);
1058 result=u_strchr32(temp, (UChar32)0xfb);
1062 result=u_strchr32(temp, (UChar32)0x20402);
1063 if(result != temp+5){
1064 log_err("There is an error in u_strchr32() Expected match at position 5 Got %ld (pointer 0x%lx)\n", result-temp, result);
1067 temp[7]=0xfc00;
1068 result=u_memchr32(temp, (UChar32)0x20402, 7);
1069 if(result != temp+5){
1070 log_err("There is an error in u_memchr32() Expected match at position 5 Got %ld (pointer 0x%lx)\n", result-temp, result);
1072 result=u_memchr32(temp, (UChar32)0x20402, 6);
1074 log_err("There is an error in u_memchr32() Expected no match Got %ld (pointer 0x%lx)\n", result-temp, result);
1076 result=u_memchr32(temp, (UChar32)0x20402, 1);
1078 log_err("There is an error in u_memchr32() Expected no match Got %ld (pointer 0x%lx)\n", result-temp, result);
1080 result=u_memchr32(temp, (UChar32)0xfc00, 8);
1081 if(result != temp+7){
1082 log_err("There is an error in u_memchr32() Expected match at position 7 Got %ld (pointer 0x%lx)\n", result-temp, result);