Lines Matching defs:status
40 OSStatus status = noErr;
42 status = LocaleRefFromLocaleString(opt_locale, &lref);
43 status = UCCreateTextBreakLocator(lref, 0, kUCTextBreakAllMask, (TextBreakLocatorRef*)&breakRef);
52 // brkit = BreakIterator::createSentenceInstance(opt_locale, status);
95 OSStatus status = noErr;
102 status = UCFindTextBreak(breakRef, macBreakType, kUCTextBreakLeadingEdgeMask, filePtr, numUniChars,
104 //require_action(status == noErr, EXIT, printf( "**UCFindTextBreak failed: startOffset %d, status %d\n", (int)startOffset, (int)status));
120 status = UCFindTextBreak(breakRef, macBreakType, kUCTextBreakLeadingEdgeMask, filePtr, numUniChars,
194 BreakIteratorPerformanceTest::BreakIteratorPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status)
195 : UPerfTest(argc,argv,status),
213 status = U_ILLEGAL_ARGUMENT_ERROR;
217 status = U_ILLEGAL_ARGUMENT_ERROR;
220 m_file_ = getBuffer(m_fileLen_, status);
222 if(status== U_ILLEGAL_ARGUMENT_ERROR){
229 if(U_FAILURE(status)){
230 fprintf(stderr, "FAILED to create UPerfTest object. Error: %s\n", u_errorName(status));
247 UErrorCode status = U_ZERO_ERROR;
248 BreakIteratorPerformanceTest test(argc, argv, status);
249 if(U_FAILURE(status)){
250 return status;