Lines Matching refs:status
24 UErrorCode status = U_ZERO_ERROR;
26 testTable = uprv_cnttab_open(testMapping, &status);
30 uprv_cnttab_addContraction(testTable, 0, (UChar)i, i, &status);
31 if(U_FAILURE(status)) {
32 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status));
37 if(U_SUCCESS(status)) {
39 res = uprv_cnttab_getCE(testTable, 0, i, &status);
40 if(U_FAILURE(status)) {
41 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status));
54 UErrorCode status = U_ZERO_ERROR;
55 testTable = uprv_cnttab_open(testMapping, &status);
57 uprv_cnttab_setContraction(testTable, 1, 0, 0x41, 0x41, &status);
58 if(U_FAILURE(status)) {
59 errln("Error setting a non existing contraction error = %i (%s)\n", status, u_errorName(status));
62 status = U_ZERO_ERROR;
65 uprv_cnttab_setContraction(testTable, 1, 0x401, 0x41, 0x41, &status);
66 if(status != U_INDEX_OUTOFBOUNDS_ERROR) {
69 status = U_ZERO_ERROR;
74 UErrorCode status = U_ZERO_ERROR;
75 testTable = uprv_cnttab_open(testMapping, &status);
80 uprv_cnttab_addContraction(testTable, i, (UChar)i, i, &status);
81 if(U_FAILURE(status)) {
82 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status));
87 if(U_SUCCESS(status)) {
89 res = uprv_cnttab_getCE(testTable, i, 0, &status);
90 if(U_FAILURE(status)) {
91 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status));
104 UErrorCode status = U_ZERO_ERROR;
105 testTable = uprv_cnttab_open(testMapping, &status);
110 uprv_cnttab_addContraction(testTable, i, (UChar)i, i, &status);
111 if(U_FAILURE(status)) {
112 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status));
116 uprv_cnttab_constructTable(testTable, 0, &status);
117 if(U_FAILURE(status)) {
118 errln("Error constructing table error = %i (%s)\n", status, u_errorName(status));
120 testClone = uprv_cnttab_clone(testTable, &status);
121 if(U_SUCCESS(status)) {
123 res = uprv_cnttab_getCE(testTable, i, 0, &status);
124 if(U_FAILURE(status)) {
125 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status));
137 testTable = uprv_cnttab_open(testMapping, &status);
138 if(U_FAILURE(status)) {
139 errln("Error opening table error = %i (%s)\n", status, u_errorName(status));
145 UErrorCode status = U_ZERO_ERROR;
146 testTable = uprv_cnttab_open(testMapping, &status);
148 res = uprv_cnttab_changeContraction(testTable, 0, 0x41, 0xAB, &status);
154 uprv_cnttab_addContraction(testTable, 0, (UChar)i, i, &status);
157 res = uprv_cnttab_changeContraction(testTable, 0, 0x41, 0xAB, &status);
163 res = uprv_cnttab_changeContraction(testTable, 0, (UChar)i, 0xAB, &status);
172 UErrorCode status = U_ZERO_ERROR;
173 testTable = uprv_cnttab_open(testMapping, &status);
174 uint32_t res = uprv_cnttab_changeLastCE(testTable, 1, 0xABCD, &status);
182 UErrorCode status = U_REGEX_SET_CONTAINS_STRING;
184 uprv_cnttab_open(NULL, &status);
185 if (status != U_REGEX_SET_CONTAINS_STRING) {
186 errln("Status was incorrectly modified to %s\n", u_errorName(status));
188 uprv_cnttab_clone(NULL, &status);
189 if (status != U_REGEX_SET_CONTAINS_STRING) {
190 errln("Status was incorrectly modified to %s\n", u_errorName(status));
192 uprv_cnttab_changeLastCE(NULL, 0, 0, &status);
193 if (status != U_REGEX_SET_CONTAINS_STRING) {
194 errln("Status was incorrectly modified to %s\n", u_errorName(status));
196 uprv_cnttab_insertContraction(NULL, 0, 0, 0, &status);
197 if (status != U_REGEX_SET_CONTAINS_STRING) {
198 errln("Status was incorrectly modified to %s\n", u_errorName(status));
200 uprv_cnttab_addContraction(NULL, 0, 0, 0, &status);
201 if (status != U_REGEX_SET_CONTAINS_STRING) {
202 errln("Status was incorrectly modified to %s\n", u_errorName(status));
204 uprv_cnttab_setContraction(NULL, 0, 0, 0, 0, &status);
205 if (status != U_REGEX_SET_CONTAINS_STRING) {
206 errln("Status was incorrectly modified to %s\n", u_errorName(status));
208 uprv_cnttab_findCP(NULL, 0, 0, &status);
209 if (status != U_REGEX_SET_CONTAINS_STRING) {
210 errln("Status was incorrectly modified to %s\n", u_errorName(status));
212 if (uprv_cnttab_getCE(NULL, 0, 0, &status) != UCOL_NOT_FOUND) {
215 if (status != U_REGEX_SET_CONTAINS_STRING) {
216 errln("Status was incorrectly modified to %s\n", u_errorName(status));
218 if (uprv_cnttab_findCE(NULL, 0, 0, &status) != UCOL_NOT_FOUND) {
221 if (status != U_REGEX_SET_CONTAINS_STRING) {
222 errln("Status was incorrectly modified to %s\n", u_errorName(status));
224 uprv_cnttab_isTailored(NULL, 0, NULL, &status);
225 if (status != U_REGEX_SET_CONTAINS_STRING) {
226 errln("Status was incorrectly modified to %s\n", u_errorName(status));
228 uprv_cnttab_changeContraction(NULL, 0, 0, 0, &status);
229 if (status != U_REGEX_SET_CONTAINS_STRING) {
230 errln("Status was incorrectly modified to %s\n", u_errorName(status));