/external/icu4c/samples/datecal/ |
cal.cpp | 18 UErrorCode status = U_ZERO_ERROR; local 20 GregorianCalendar* gc = new GregorianCalendar(status); 21 if (U_FAILURE(status)) { 36 gc->get(UCAL_YEAR, status), 37 gc->get(UCAL_MONTH, status) + 1, 38 gc->get(UCAL_MONTH, status), 39 gc->get(UCAL_DATE, status)); 40 if (U_FAILURE(status)) 46 gc->add(UCAL_DATE, 1, status); 47 if (U_FAILURE(status)) { [all...] |
ccal.c | 18 UErrorCode status = U_ZERO_ERROR; local 20 UCalendar *cal = ucal_open(NULL, -1, NULL, UCAL_GREGORIAN, &status); 21 if (U_FAILURE(status)) { 38 ucal_get(cal, UCAL_YEAR, &status), 39 ucal_get(cal, UCAL_MONTH, &status) + 1, 40 ucal_get(cal, UCAL_MONTH, &status), 41 ucal_get(cal, UCAL_DATE, &status)); 42 if (U_FAILURE(status)) { 47 ucal_add(cal, UCAL_DATE, 1, &status); 48 if (U_FAILURE(status)) [all...] |
/external/icu4c/test/intltest/ |
sdtfmtts.cpp | 28 UErrorCode status = U_ZERO_ERROR; local 30 Locale::setDefault(Locale::getEnglish(), status); local 31 if(U_FAILURE(status)) { 35 Locale::setDefault(saveLocale, status); 48 UErrorCode status = U_ZERO_ERROR; local 54 SimpleDateFormat def(status); 55 if(U_FAILURE(status)) { 60 status = U_ZERO_ERROR; 65 SimpleDateFormat pat(pattern, status); 66 if(U_FAILURE(status)) { [all...] |
dadrcal.cpp | 31 UErrorCode status = U_ZERO_ERROR; local 32 driver = TestDataModule::getTestDataModule("calendar", *this, status); 46 UErrorCode status= U_ZERO_ERROR; local 47 TestData *testData = driver->createTestData(index, status); 48 if (U_SUCCESS(status)) { 50 if (testData->getInfo(info, status)) { 51 log(info->getString("Description", status)); 73 UErrorCode status = U_ZERO_ERROR; local 89 status); 90 if (U_FAILURE(status)) { 290 UErrorCode status = U_ZERO_ERROR; local 366 UErrorCode status = U_ZERO_ERROR; local 455 UErrorCode status = U_ZERO_ERROR; local [all...] |
itercoll.cpp | 23 static UErrorCode status = U_ZERO_ERROR; variable 29 en_us = (RuleBasedCollator *)Collator::createInstance(Locale::getUS(), status); 30 if(U_FAILURE(status)) { 33 errcheckln(status, "Collator creation failed with %s", u_errorName(status)); 86 UErrorCode status = U_ZERO_ERROR; local 97 (UnicodeString)"&a,A < b,B < c,C, d,D < z,Z < ch,cH,Ch,CH", status); 99 if (c1 == NULL || U_FAILURE(status)) 114 c2 = new RuleBasedCollator((UnicodeString)"&a < b < c/abd < d", status); 116 if (c2 == NULL || U_FAILURE(status)) 176 UErrorCode status = U_ZERO_ERROR; local 231 UErrorCode status = U_ZERO_ERROR; local 296 UErrorCode status = U_ZERO_ERROR; local 337 UErrorCode status = U_ZERO_ERROR; local 405 UErrorCode status = U_ZERO_ERROR; local 485 UErrorCode status = U_ZERO_ERROR; local 542 UErrorCode status = U_ZERO_ERROR; local 587 UErrorCode status = U_ZERO_ERROR; local 602 UErrorCode status = U_ZERO_ERROR; local [all...] |
alphaindextst.cpp | 69 #define TEST_CHECK_STATUS {if (U_FAILURE(status)) {dataerrln("%s:%d: Test failure. status=%s", \ 70 __FILE__, __LINE__, u_errorName(status)); return;}} 82 UErrorCode status = U_ZERO_ERROR; local 85 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status); 87 lc = index->getBucketCount(status); 95 status = U_ZERO_ERROR; 96 RuleBasedCollator *coll = dynamic_cast<RuleBasedCollator *>(Collator::createInstance(Locale::getChinese(), status)); 99 index = new AlphabeticIndex(coll, status); 103 1, index->getBucketCount(status)); 345 UErrorCode status = U_ZERO_ERROR; local 426 UErrorCode status = U_ZERO_ERROR; local 476 UErrorCode status = U_ZERO_ERROR; local 526 UErrorCode status = U_ZERO_ERROR; local 547 UErrorCode status = U_ZERO_ERROR; local 561 index.addLabels(Locale::getEnglish(), status); local 577 UErrorCode status = U_ZERO_ERROR; local 590 index.addLabels(Locale::getChinese(), status); local 606 UErrorCode status = U_ZERO_ERROR; local 607 AlphabeticIndex index(Locale::getGerman(), status); local 649 UErrorCode status = U_ZERO_ERROR; local 655 index.addRecord(UnicodeString((UChar)0x897f), NULL, status); local 657 index.addRecord(UnicodeString((UChar)0x03B1), NULL, status); local 665 UErrorCode status = U_ZERO_ERROR; local [all...] |
itrbnfp.cpp | 123 UErrorCode status = U_ZERO_ERROR; local 125 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status); 127 if (U_SUCCESS(status)) { 130 testfmt(formatter, 20, status); 131 testfmt(formatter, 1.23, status); 132 testfmt(formatter, -123, status); 133 testfmt(formatter, .123, status); 134 testfmt(formatter, 123, status); 136 } else if (status == U_PARSE_ERROR) { 146 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status) { [all...] |
/external/icu4c/tools/genrb/ |
prscmnts.cpp | 37 UnicodeString replaceText, UErrorCode *status){ 39 if(status == NULL || U_FAILURE(*status)){ 45 RegexMatcher myMatcher(patString, src, options, *status); 46 if(U_FAILURE(*status)){ 52 dest = myMatcher.replaceAll(replaceText,*status); 55 return dest.extract(source, srcLen, *status); 59 trim(UChar *src, int32_t srcLen, UErrorCode *status){ 60 srcLen = removeText(src, srcLen, "^[ \\r\\n]+ ", 0, "", status); // remove leading new lines 61 srcLen = removeText(src, srcLen, "^\\s+", 0, "", status); // remove leading space [all...] |
/external/webkit/Source/WebCore/platform/text/ |
TextEncodingDetectorICU.cpp | 57 UErrorCode status = U_ZERO_ERROR; 58 UCharsetDetector* detector = ucsdet_open(&status); 59 if (U_FAILURE(status)) 62 ucsdet_setText(detector, data, static_cast<int32_t>(len), &status); 63 if (U_FAILURE(status)) 76 const UCharsetMatch** matches = ucsdet_detectAll(detector, &matchesCount, &status); 77 if (U_FAILURE(status)) { 95 int32_t confidence = ucsdet_getConfidence(matches[i], &status); 96 if (U_FAILURE(status)) { 97 status = U_ZERO_ERROR [all...] |
/external/icu4c/test/cintltst/ |
ccaltst.c | 95 UErrorCode status = U_ZERO_ERROR; local 119 ucal_getAvailableTZIDs(offset, i, &status); 120 if(U_FAILURE(status)){ 121 log_err("FAIL: ucal_getAvailableTZIDs returned %s\n", u_errorName(status)); 123 log_verbose("%s\n", u_austrcpy(tempMsgBuf, ucal_getAvailableTZIDs(offset, i, &status))); 126 ucal_getAvailableTZIDs(offset, i, &status); 127 if(status != U_INDEX_OUTOFBOUNDS_ERROR){ 128 log_err("FAIL:for TZID index >= count Expected INDEX_OUTOFBOUNDS_ERROR Got %s\n", u_errorName(status)); 130 status=U_ZERO_ERROR; 140 uenum = ucal_openTimeZones(&status); 490 UErrorCode status=U_ZERO_ERROR; local 731 UErrorCode status=U_ZERO_ERROR; local 893 UErrorCode status = U_ZERO_ERROR; local 1083 UErrorCode status = U_ZERO_ERROR; local 1181 UErrorCode status = U_ZERO_ERROR; local 1254 UErrorCode status = U_ZERO_ERROR; local 1342 UErrorCode status = U_ZERO_ERROR; local 1374 UErrorCode status = U_ZERO_ERROR; local 1402 UErrorCode status = U_ZERO_ERROR; local 1437 UErrorCode status = U_ZERO_ERROR; local 1542 UErrorCode status = U_ZERO_ERROR; local 1714 UErrorCode status = U_ZERO_ERROR; local 1758 UErrorCode status = U_ZERO_ERROR; local 1843 UErrorCode status = U_ZERO_ERROR; local 1916 UErrorCode status = U_ZERO_ERROR; local 2049 UErrorCode status = U_ZERO_ERROR; local 2270 UErrorCode status = U_ZERO_ERROR; local [all...] |
/external/libnfc-nxp/src/ |
phHciNfc_Pipe.c | 150 NFCSTATUS status = NFCSTATUS_SUCCESS; local 173 status = phHciNfc_Send_Admin_Cmd( psHciContext, pHwRef, 180 status = PHNFCSTVAL(CID_NFC_HCI, NFCSTATUS_INSUFFICIENT_RESOURCES); 182 return status; 195 NFCSTATUS status = NFCSTATUS_SUCCESS; local 203 status = phHciNfc_Allocate_Resource((void **)&p_pipe_info, 206 if( (NFCSTATUS_SUCCESS == status) 224 status = phHciNfc_Create_All_Pipes(psHciContext, 227 if( NFCSTATUS_SUCCESS == status ) 230 status = phHciNfc_Update_PipeInfo( psHciContext, p_pipe_seq , 287 NFCSTATUS status=NFCSTATUS_SUCCESS; local 317 NFCSTATUS status = NFCSTATUS_SUCCESS; local 435 NFCSTATUS status = NFCSTATUS_SUCCESS; local 744 NFCSTATUS status = NFCSTATUS_SUCCESS; local 788 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1053 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1096 NFCSTATUS status = NFCSTATUS_SUCCESS; local [all...] |
phHciNfc_Sequence.c | 222 NFCSTATUS status = PHNFCSTVAL(CID_NFC_HCI, NFCSTATUS_INVALID_STATE); local 232 status = NFCSTATUS_SUCCESS; 251 status = NFCSTATUS_SUCCESS; 276 status = NFCSTATUS_SUCCESS; 291 status = NFCSTATUS_SUCCESS; 318 status = NFCSTATUS_SUCCESS; 352 status = NFCSTATUS_SUCCESS; 379 status = NFCSTATUS_SUCCESS; 404 status = NFCSTATUS_SUCCESS; 432 status = NFCSTATUS_SUCCESS 479 NFCSTATUS status = PHNFCSTVAL(CID_NFC_HCI, NFCSTATUS_INVALID_STATE); local 512 NFCSTATUS status = PHNFCSTVAL(CID_NFC_HCI, NFCSTATUS_INVALID_STATE); local 602 NFCSTATUS status = NFCSTATUS_SUCCESS; local 639 NFCSTATUS status = NFCSTATUS_SUCCESS; local 915 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1055 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1378 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1513 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1632 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1842 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1987 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2095 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2207 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2381 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2438 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2487 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2525 NFCSTATUS status = NFCSTATUS_SUCCESS; local [all...] |
phHciNfc_RFReader.c | 143 NFCSTATUS status = NFCSTATUS_SUCCESS; local 147 status = PHNFCSTVAL(CID_NFC_HCI, NFCSTATUS_INVALID_PARAMETER); 162 status = PHNFCSTVAL(CID_NFC_HCI, NFCSTATUS_INSUFFICIENT_RESOURCES); 165 return status; 184 NFCSTATUS status = NFCSTATUS_SUCCESS; local 188 status = PHNFCSTVAL(CID_NFC_HCI, NFCSTATUS_INVALID_PARAMETER); 194 status = PHNFCSTVAL(CID_NFC_HCI, 218 status = phHciNfc_ReaderA_Update_Info(psHciContext, 221 status = phHciNfc_ReaderB_Update_Info(psHciContext, 225 status = phHciNfc_Felica_Update_Info(psHciContext, 271 NFCSTATUS status = NFCSTATUS_SUCCESS; local 652 NFCSTATUS status = NFCSTATUS_SUCCESS; local 688 NFCSTATUS status = NFCSTATUS_SUCCESS; local 724 NFCSTATUS status = NFCSTATUS_SUCCESS; local 852 NFCSTATUS status = NFCSTATUS_FAILED; local 956 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1122 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1294 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1369 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1488 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1572 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1742 NFCSTATUS status = NFCSTATUS_SUCCESS; local 1865 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2089 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2218 NFCSTATUS status = NFCSTATUS_SUCCESS; local 2304 NFCSTATUS status = NFCSTATUS_SUCCESS; local [all...] |
/frameworks/av/media/common_time/ |
ICommonClock.cpp | 57 status_t status = remote()->transact(IS_COMMON_TIME_VALID, local 60 if (status == OK) { 61 status = reply.readInt32(); 62 if (status == OK) { 67 return status; 75 status_t status = remote()->transact(COMMON_TIME_TO_LOCAL_TIME, local 77 if (status == OK) { 78 status = reply.readInt32(); 79 if (status == OK) { 83 return status; 91 status_t status = remote()->transact(LOCAL_TIME_TO_COMMON_TIME, local 105 status_t status = remote()->transact(GET_COMMON_TIME, data, &reply); local 118 status_t status = remote()->transact(GET_COMMON_FREQ, data, &reply); local 131 status_t status = remote()->transact(GET_LOCAL_TIME, data, &reply); local 144 status_t status = remote()->transact(GET_LOCAL_FREQ, data, &reply); local 157 status_t status = remote()->transact(GET_ESTIMATED_ERROR, data, &reply); local 170 status_t status = remote()->transact(GET_TIMELINE_ID, data, &reply); local 183 status_t status = remote()->transact(GET_STATE, data, &reply); local 196 status_t status = remote()->transact(GET_MASTER_ADDRESS, data, &reply); local 211 status_t status = remote()->transact(REGISTER_LISTENER, data, &reply); local 225 status_t status = remote()->transact(UNREGISTER_LISTENER, data, &reply); local 246 status_t status = isCommonTimeValid(&valid, &timelineID); local 259 status_t status = commonTimeToLocalTime(commonTime, &localTime); local 271 status_t status = localTimeToCommonTime(localTime, &commonTime); local 282 status_t status = getCommonTime(&commonTime); local 293 status_t status = getCommonFreq(&freq); local 304 status_t status = getLocalTime(&localTime); local 315 status_t status = getLocalFreq(&freq); local 326 status_t status = getEstimatedError(&error); local 337 status_t status = getTimelineID(&id); local 348 status_t status = getState(&state); local 359 status_t status = getMasterAddr(&addr); local 378 status_t status = registerListener(listener); local 387 status_t status = unregisterListener(listener); local [all...] |
/external/srtp/crypto/test/ |
kernel_driver.c | 61 err_status_t status; local 67 status = crypto_kernel_init(); 68 if (status) { 84 status = crypto_kernel_set_debug_module(optarg, 1); 85 if (status) { 96 printf("checking crypto_kernel status...\n"); 97 status = crypto_kernel_status(); 98 if (status) { 105 status = crypto_kernel_shutdown(); 106 if (status) { [all...] |
/external/icu4c/common/ |
servls.cpp | 45 ICULocaleService::get(const Locale& locale, UErrorCode& status) const 47 return get(locale, LocaleKey::KIND_ANY, NULL, status); 51 ICULocaleService::get(const Locale& locale, int32_t kind, UErrorCode& status) const 53 return get(locale, kind, NULL, status); 57 ICULocaleService::get(const Locale& locale, Locale* actualReturn, UErrorCode& status) const 59 return get(locale, LocaleKey::KIND_ANY, actualReturn, status); 63 ICULocaleService::get(const Locale& locale, int32_t kind, Locale* actualReturn, UErrorCode& status) const 66 if (U_FAILURE(status)) { 72 status = U_MEMORY_ALLOCATION_ERROR; 74 ICUServiceKey* key = createKey(&locName, kind, status); 193 UErrorCode status = U_ZERO_ERROR; local 205 UErrorCode status = U_ZERO_ERROR; local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Scope/ |
scope-001.js | 35 var status = 'Testing scope after changing obj.__proto__'; variable 51 printStatus (status); 54 status= 'Step 1: setting obj.__proto__ = global object'; 59 reportCompare (expect, actual, status); 64 reportCompare (expect, actual, status); 68 status= 'Step 2: setting obj.__proto__ = null'; 73 reportCompare (expect, actual, status); 78 reportCompare (expect, actual, status); 82 status= 'Step 3: setting obj.__proto__ to global object again'; 87 reportCompare (expect, actual, status); [all...] |
/external/qemu/android/protocol/ |
core-commands-proxy.c | 58 int status; local 64 status = syncsocket_start_write(_coreCmdProxy.sync_writer); 65 if (!status) { 67 status = syncsocket_write(_coreCmdProxy.sync_writer, &header, 71 if (status > 0 && cmd_param != NULL && cmd_param_size > 0) { 72 status = syncsocket_write(_coreCmdProxy.sync_writer, cmd_param, 76 status = syncsocket_result(status); 79 if (status < 0) { 83 return status; 97 int status = syncsocket_start_read(_coreCmdProxy.sync_reader); local 152 int status; local 171 int status; local 216 int status; local 263 int status; local 300 int status; local [all...] |
/external/webkit/Tools/QueueStatusServer/handlers/ |
gc.py | 38 for status in statuses: 39 if status.active_patch_id or status.active_bug_id: 41 if status.queue_name in seen_queues: 42 status.delete() 43 seen_queues.add(status.queue_name)
|
/frameworks/testing/uiautomator/samples/SkeletonTest/src/com/android/uiautomator/samples/skeleton/ |
DemoTestCase.java | 29 Bundle status = new Bundle(); local 30 status.putString("msg", "This is a demo test and I just pressed HOME"); 31 status.putString("product", getUiDevice().getProductName()); 33 status.putInt("dp-width", p.x); 34 status.putInt("dp-height", p.y); 35 getAutomationSupport().sendStatus(Activity.RESULT_OK, status);
|
/external/srtp/crypto/kernel/ |
crypto_kernel.c | 96 err_status_t status; local 109 status = err_reporting_init("crypto"); 110 if (status) 111 return status; 114 status = crypto_kernel_load_debug_module(&mod_crypto_kernel); 115 if (status) 116 return status; 117 status = crypto_kernel_load_debug_module(&mod_auth); 118 if (status) 119 return status; 177 err_status_t status; local 254 err_status_t status; local 303 err_status_t status; local 348 err_status_t status; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
vop.cpp | 42 PV_STATUS status; local 81 status = RC_VopQPSetting(video, rc); 82 if (status == PV_FAIL) 98 return status; 101 status = EncodeVop_NoME(video); 110 return status; 130 PV_STATUS status = PV_SUCCESS; local 135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */ 139 status = EncodeFrameCombinedMode(video); 147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header * 199 PV_STATUS status = PV_SUCCESS; local 278 PV_STATUS status; local 311 PV_STATUS status; local 355 PV_STATUS status; local 415 PV_STATUS status; local [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_fs_ci.h | 37 tBTA_FS_CO_STATUS status; member in struct:__anon2663 47 tBTA_FS_CO_STATUS status; member in struct:__anon2664 56 tBTA_FS_CO_STATUS status; member in struct:__anon2665 64 tBTA_FS_CO_STATUS status; member in struct:__anon2666 71 tBTA_FS_CO_STATUS status; member in struct:__anon2667 84 tBTA_FS_CO_STATUS status; member in struct:__anon2668 109 ** status - BTA_FS_CO_OK, BTA_FS_CO_NOSPACE, or BTA_FS_CO_FAIL 116 BTA_API extern void bta_fs_ci_write(int fd, tBTA_FS_CO_STATUS status, UINT16 evt); 132 ** status - BTA_FS_CO_OK if full buffer of data, 142 tBTA_FS_CO_STATUS status, UINT16 evt) [all...] |
/external/icu4c/tools/ctestfw/ |
datamap.cpp | 43 UErrorCode status = U_ZERO_ERROR; local 44 fData = new Hashtable(TRUE, status); 51 RBDataMap::RBDataMap(UResourceBundle *data, UErrorCode &status) 53 fData = new Hashtable(TRUE, status); 55 init(data, status); 61 RBDataMap::RBDataMap(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status) 63 fData = new Hashtable(TRUE, status); 65 init(headers, data, status); 69 void RBDataMap::init(UResourceBundle *data, UErrorCode &status) { 74 t = ures_getByIndex(data, i, t, &status); 91 fData->put(UnicodeString(key, keyLen), new ResourceBundle(t, status), status); local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Object/ |
class-001.js | 33 var status = ''; var statusList = [ ]; variable 38 status = 'the global object'; 43 status = 'new Object()'; 48 status = 'new Function()'; 53 status = 'new Array()'; 58 status = 'new String()'; 63 status = 'new Boolean()'; 68 status = 'new Number()'; 73 status = 'Math'; 78 status = 'new Date()' [all...] |