Lines Matching refs:subStatus
67 UErrorCode subStatus = U_ZERO_ERROR;
73 Collator *col = Collator::createInstance(Locale(locID),subStatus);
74 if(U_FAILURE(subStatus)) {
75 printf("ERR: %s\n", u_errorName(subStatus));
86 UCollator *col = ucol_openFromShortString(xbuf2, false,NULL, &subStatus);
88 UCollator *col = ucol_open(locID, &subStatus);
90 if(U_FAILURE(subStatus)) {
91 printf("ERR: %s\n", u_errorName(subStatus));
98 int32_t def = ucol_getShortDefinitionString(col,locID/*NULL*/,xbuf3,200,&subStatus);
99 if(U_FAILURE(subStatus)) {
100 printf("Err getting short string name: %s\n", u_errorName(subStatus));
125 UCollator *col2 = ucol_openFromShortString(xbuf3, false, NULL, &subStatus);
126 if(U_FAILURE(subStatus)) {
127 printf("Err opening from new short string : %s\n", u_errorName(subStatus));
130 int32_t def4 = ucol_getShortDefinitionString(col,locID/*NULL*/,xbuf4,200,&subStatus);
132 printf(" --> reopened = %s (%s)\n", xbuf4, u_errorName(subStatus));