Lines Matching refs:status
30 UErrorCode status = U_ZERO_ERROR;
32 udata_setCommonData(NULL, &status);
33 printf("setCommonData(NULL) -> %s [should fail]\n", u_errorName(status));
34 if(status != U_ILLEGAL_ARGUMENT_ERROR)
40 status = U_ZERO_ERROR;
41 udata_setCommonData(&U_ICUDATA_ENTRY_POINT, &status);
42 printf("setCommonData(%p) -> %s\n", (void*)&U_ICUDATA_ENTRY_POINT, u_errorName(status));
43 if(U_FAILURE(status))
49 status = U_ZERO_ERROR;
50 c = ucnv_open("iso-8859-3", &status);
52 (void *)c, u_errorName(status), (!c)?"?":ucnv_getName(c,&status) );
53 if(status != U_ZERO_ERROR)
63 status = U_ZERO_ERROR;
64 udata_setCommonData(&U_ICUDATA_ENTRY_POINT, &status);
65 printf("setCommonData(%p) -> %s [should pass]\n", (void*) &U_ICUDATA_ENTRY_POINT, u_errorName(status));
66 if (U_FAILURE(status) || status == U_USING_DEFAULT_WARNING )