/external/icu/icu4c/source/test/intltest/ |
v32test.cpp | 60 #define TEST_CHECK_STATUS(status) \ 61 if (U_FAILURE(status)) {\ 62 errln("UVector32Test failure at line %d. status=%s\n", __LINE__, u_errorName(status));\ 78 UErrorCode status = U_ZERO_ERROR; local 82 a = new UVector32(status); 83 TEST_CHECK_STATUS(status); 86 status = U_ZERO_ERROR; 87 a = new UVector32(2000, status); 88 TEST_CHECK_STATUS(status); [all...] |
/external/icu/icu4c/source/test/letest/ |
letsutil.cpp | 86 UErrorCode status = U_ZERO_ERROR; local 89 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status); 91 ubidi_setPara(ubidi, text.getBuffer(), charCount, UBIDI_DEFAULT_LTR, NULL, &status);
|
/external/icu/icu4c/source/test/perf/normperf/ |
dtfmtrtperf.cpp | 20 DateTimeRoundTripPerfTest::DateTimeRoundTripPerfTest(int32_t argc, const char* argv[], UErrorCode& status) 21 : UPerfTest(argc,argv,status) { } 65 UErrorCode status = U_ZERO_ERROR; local 66 DateTimeRoundTripPerfTest test(argc, argv, status); 67 if(U_FAILURE(status)){ 68 cout << "initialization failed! " << status << endl; 69 return status;
|
/external/icu/icu4c/source/test/perf/strsrchperf/ |
strsrchperf.cpp | 19 StringSearchPerformanceTest::StringSearchPerformanceTest(int32_t argc, const char *argv[], UErrorCode &status) 20 :UPerfTest(argc,argv,status){ 24 if(status== U_ILLEGAL_ARGUMENT_ERROR || line_mode){ 29 src = getBuffer(srcLen, status); 33 UBreakIterator* brk = ubrk_open(UBRK_WORD, locale, src, srcLen, &status); 34 if(U_FAILURE(status)){ 35 fprintf(stderr, "FAILED to create pattern for searching. Error: %s\n", u_errorName(status)); 68 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); 70 if(U_FAILURE(status)){ 71 fprintf(stderr, "FAILED to create UPerfTest object. Error: %s\n", u_errorName(status)); 109 UErrorCode status = U_ZERO_ERROR; local [all...] |
/external/icu/icu4c/source/test/perf/ubrkperf/ |
ubrkperf.cpp | 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 247 UErrorCode status = U_ZERO_ERROR; local [all...] |
/external/icu/icu4c/source/tools/genbrk/ |
genbrk.cpp | 131 UErrorCode status = U_ZERO_ERROR; local 166 status = U_ZERO_ERROR; 186 pData = udata_create(outDir, NULL, outFileName, &dummyDataInfo, NULL, &status); 188 udata_finish(pData, &status); 189 return (int)status; 193 u_init(&status); 194 if (U_FAILURE(status)) { 195 fprintf(stderr, "%s: can not initialize ICU. status = %s\n", 196 argv[0], u_errorName(status)); 199 status = U_ZERO_ERROR [all...] |
/external/icu/icu4c/source/tools/icuinfo/ |
testplug.c | 36 #define DECLARE_PLUGIN(x) U_CAPI UPlugTokenReturn U_EXPORT2 x (UPlugData *data, UPlugReason reason, UErrorCode *status) 54 UErrorCode *status) { 56 fprintf(stderr,"MyPlugin: data=%p, reason=%s, status=%s\n", (void*)data, udbg_enumName(UDBG_UPlugReason,(int32_t)reason), u_errorName(*status)); 71 UErrorCode *status) { 72 fprintf(stderr,"MyPluginLow: data=%p, reason=%s, status=%s\n", (void*)data, udbg_enumName(UDBG_UPlugReason,(int32_t)reason), u_errorName(*status)); 89 UErrorCode *status) { 90 fprintf(stderr,"MyPluginFailQuery: data=%p, reason=%s, status=%s\n", (void*)data, udbg_enumName(UDBG_UPlugReason,(int32_t)reason), u_errorName(*status)); 201 u_setMemoryFunctions(uplug_getContext(data), &myMemAlloc, &myMemRealloc, &myMemFree, status); local [all...] |
/external/libcups/cups/ |
dest-job.c | 72 ipp_status_t /* O - IPP status code */ 135 * Send the request and return the status... 156 ipp_status_t /* O - IPP status code */ 228 * Return the status code from the Create-Job request... 246 ipp_status_t /* O - Status of document submission */ 291 http_status_t /* O - Status of document creation */ 304 http_status_t status; /* HTTP status */ local 351 * Send and delete the request, then return the status... 354 status = cupsSendRequest(http, request, info->resource, CUPS_LENGTH_VARIABLE) [all...] |
getdevices.c | 35 ipp_status_t /* O - Request status - @code IPP_OK@ on success. */ 55 http_status_t status; /* HTTP status of request */ local 107 status = cupsSendRequest(http, request, "/", ippLength(request)); 109 DEBUG_puts("2cupsGetDevices: Waiting for response status..."); 110 while (status == HTTP_STATUS_CONTINUE) 111 status = httpUpdate(http); 113 if (status != HTTP_STATUS_OK) 117 if (status == HTTP_STATUS_UNAUTHORIZED) 129 status = HTTP_STATUS_CUPS_AUTHORIZATION_CANCELED [all...] |
/external/libvpx/libvpx/third_party/libwebm/mkvparser/ |
mkvreader.cc | 51 int status = _fseeki64(m_file, 0L, SEEK_END); local 53 if (status) 67 status = _fseeki64(m_file, 0L, SEEK_SET); 69 if (status) 115 const int status = _fseeki64(m_file, offset, SEEK_SET); local 117 if (status)
|
/external/linux-kselftest/tools/testing/selftests/membarrier/ |
membarrier_test.c | 59 enum test_membarrier_status status; local 61 status = test_membarrier_cmd_fail(); 62 if (status) 63 return status; 64 status = test_membarrier_flags_fail(); 65 if (status) 66 return status; 67 status = test_membarrier_success(); 68 if (status) 69 return status; [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
dscr_inherit_exec_test.c | 68 int status; local 70 if (waitpid(pid, &status, 0) == -1) { 75 if (!WIFEXITED(status)) { 80 if (WEXITSTATUS(status) != 0) {
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
test_mremap_vdso.c | 96 int status; local 98 if (waitpid(child, &status, 0) != child || 99 !WIFEXITED(status)) { 102 } else if (WEXITSTATUS(status) != 0) { 104 WEXITSTATUS(status));
|
/external/ltp/testcases/kernel/containers/mqns/ |
mqns_04.c | 98 int status; local 155 rc = wait(&status); 161 if (!WIFEXITED(status)) { 162 tst_resm(TFAIL, "Child did not exit normally (status %d)", 163 status);
|
/external/ltp/testcases/kernel/containers/pidns/ |
pidns01.c | 98 int status; local 106 } else if ((wait(&status)) == -1) { 110 if (WIFEXITED(status) && WEXITSTATUS(status) != 0) 112 else if (WIFSIGNALED(status)) { 114 WTERMSIG(status));
|
pidns02.c | 95 int status; local 102 } else if ((wait(&status)) == -1) { 106 if (WIFEXITED(status) && WEXITSTATUS(status) != 0) { 108 } else if (WIFSIGNALED(status)) { 110 WTERMSIG(status));
|
pidns03.c | 87 int status; local 92 SAFE_WAIT(cleanup, &status); 94 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) { 99 if (WIFSIGNALED(status)) { 101 tst_strsig(WTERMSIG(status)));
|
pidns06.c | 118 int status; local 129 } else if (wait(&status) == -1) {
|
pidns10.c | 93 int status; local 107 if (wait(&status) < 0) 110 if (WIFEXITED(status) && WEXITSTATUS(status) != 0)
|
pidns16.c | 132 int status; local 148 if (waitpid(cpid, &status, 0) < 0) 151 if ((WIFEXITED(status)) && (WEXITSTATUS(status) == 10))
|
pidns17.c | 63 int children[10], exit_val, i, status; local 102 if (waitpid(children[i], &status, 0) == -1) { 105 waitpid(children[i], &status, 0); 108 if (!(WIFSIGNALED(status) || WTERMSIG(status) == SIGUSR1)) { 110 * XXX (garrcoop): this status reporting is overly 119 WIFEXITED(status), WEXITSTATUS(status), 120 WIFSIGNALED(status), WTERMSIG(status)); 138 int status; local [all...] |
pidns32.c | 51 int status; local 62 if (waitpid(cpid1, &status, 0) == -1) 65 if (WIFEXITED(status) && WEXITSTATUS(status) != 0) { 68 } else if (WIFSIGNALED(status)) { 69 printf("child was killed with signal = %d", WTERMSIG(status));
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
pipe_test_01.c | 85 int status; /* Child's exit status */ local 164 waitpid(pid[childA], &status, 0); 165 if (!WIFEXITED(status)) 168 waitpid(pid[childB], &status, 0); 169 if (!WIFEXITED(status))
|
signal_test_05.c | 103 int status; /* Child's exit status */ local 139 wait(&status); 141 if (!WIFEXITED(status))
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
hugeshmget05.c | 86 int status; local 106 if (waitpid(pid, &status, 0) == -1)
|