/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
RecapitalizeStatusTests.java | 27 final RecapitalizeStatus status = new RecapitalizeStatus(); local 28 status.initialize(30, 40, "abcdefghij", Locale.ENGLISH, " "); 29 status.trim(); 30 assertEquals("abcdefghij", status.getRecapitalizedString()); 31 assertEquals(30, status.getNewCursorStart()); 32 assertEquals(40, status.getNewCursorEnd()); 34 status.initialize(30, 44, " abcdefghij", Locale.ENGLISH, " "); 35 status.trim(); 36 assertEquals("abcdefghij", status.getRecapitalizedString()); 37 assertEquals(34, status.getNewCursorStart()) 54 final RecapitalizeStatus status = new RecapitalizeStatus(); local [all...] |
/external/chromium/chrome/browser/sync/sessions/ |
status_controller_unittest.cc | 22 StatusController status(routes_); 23 status.increment_num_conflicting_commits_by(1); 24 EXPECT_TRUE(status.TestAndClearIsDirty()); 25 EXPECT_FALSE(status.TestAndClearIsDirty()); // Test that it actually resets. 26 status.increment_num_conflicting_commits_by(0); 27 EXPECT_FALSE(status.TestAndClearIsDirty()); 28 status.increment_num_conflicting_commits_by(1); 29 EXPECT_TRUE(status.TestAndClearIsDirty()); 31 status.set_num_consecutive_transient_error_commits(1); 32 EXPECT_TRUE(status.TestAndClearIsDirty()) [all...] |
/external/chromium_org/chrome/common/net/ |
net_error_info.cc | 12 const char* DnsProbeStatusToString(int status) { 13 switch (status) { 34 bool DnsProbeStatusIsFinished(DnsProbeStatus status) { 35 return status >= DNS_PROBE_FINISHED_INCONCLUSIVE && 36 status < DNS_PROBE_MAX;
|
/frameworks/rs/ |
rsMutex.cpp | 31 int status = pthread_mutex_init(&mMutex, NULL); local 32 if (status) { 40 int status; local 41 status = pthread_mutex_lock(&mMutex); 42 if (status) { 43 ALOGE("Mutex: error %i locking.", status); 50 int status; local 51 status = pthread_mutex_unlock(&mMutex); 52 if (status) { 53 ALOGE("Mutex error %i unlocking.", status); [all...] |
rsSignal.cpp | 34 int status = pthread_mutex_init(&mMutex, NULL); local 35 if (status) { 40 status = pthread_cond_init(&mCondition, NULL); 41 if (status) { 51 int status; local 53 status = pthread_mutex_lock(&mMutex); 54 if (status) { 55 ALOGE("LocklessCommandFifo: error %i locking for set condition.", status); 61 status = pthread_cond_signal(&mCondition); 62 if (status) { 73 int status; local [all...] |
/external/chromium_org/third_party/icu/source/test/testmap/ |
testmap.c | 29 UErrorCode status = U_ZERO_ERROR; local 31 udata_setCommonData(NULL, &status); 32 printf("setCommonData(NULL) -> %s [should fail]\n", u_errorName(status)); 33 if(status != U_ILLEGAL_ARGUMENT_ERROR) 39 status = U_ZERO_ERROR; 40 udata_setCommonData(U_ICUDATA_ENTRY_POINT, &status); 41 printf("setCommonData(%p) -> %s\n", U_ICUDATA_ENTRY_POINT, u_errorName(status)); 42 if(U_FAILURE(status)) 48 status = U_ZERO_ERROR; 49 c = ucnv_open("iso-8859-7", &status); [all...] |
/external/icu4c/test/testmap/ |
testmap.c | 30 UErrorCode status = U_ZERO_ERROR; local 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); [all...] |
/external/chromium_org/chrome/browser/ui/ |
sad_tab.cc | 10 bool SadTab::ShouldShow(base::TerminationStatus status) { 11 return (status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION || 12 status == base::TERMINATION_STATUS_PROCESS_WAS_KILLED || 13 status == base::TERMINATION_STATUS_PROCESS_CRASHED);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
PKIStatus.java | 72 private final int status; field in class:PKIStatus 73 PKIStatus(int status) { 74 this.status = status; 78 * @return int value of the status 81 return status; 84 public static PKIStatus getInstance(int status) { 86 if (status == curStatus.status) {
|
/external/icu4c/common/ |
uinit.c | 27 initData(UErrorCode *status) 42 ucnv_io_countKnownConverters(status); 50 u_init(UErrorCode *status) { 54 uplug_init(status); 55 ucln_mutexedInit(initData, status); 57 UTRACE_EXIT_STATUS(*status);
|
icudataver.c | 15 U_CAPI void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status) { 18 if (U_FAILURE(*status)) { 23 icudatares = ures_openDirect(NULL, U_ICU_VERSION_BUNDLE , status); 24 if (U_SUCCESS(*status)) { 25 ures_getVersionByKey(icudatares, U_ICU_DATA_KEY, dataVersionFillin, status);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
cntabcol.cpp | 24 UErrorCode status = U_ZERO_ERROR; local 26 testTable = uprv_cnttab_open(testMapping, &status); 30 uprv_cnttab_addContraction(testTable, 0, (UChar)i, i, &status); 31 if(U_FAILURE(status)) { 32 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)); 37 if(U_SUCCESS(status)) { 39 res = uprv_cnttab_getCE(testTable, 0, i, &status); 40 if(U_FAILURE(status)) { 41 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)) 54 UErrorCode status = U_ZERO_ERROR; local 74 UErrorCode status = U_ZERO_ERROR; local 104 UErrorCode status = U_ZERO_ERROR; local 145 UErrorCode status = U_ZERO_ERROR; local 172 UErrorCode status = U_ZERO_ERROR; local 182 UErrorCode status = U_REGEX_SET_CONTAINS_STRING; local [all...] |
v32test.cpp | 58 #define TEST_CHECK_STATUS(status) \ 59 if (U_FAILURE(status)) {\ 60 errln("UVector32Test failure at line %d. status=%s\n", __LINE__, u_errorName(status));\ 76 UErrorCode status = U_ZERO_ERROR; local 80 a = new UVector32(status); 81 TEST_CHECK_STATUS(status); 84 status = U_ZERO_ERROR; 85 a = new UVector32(2000, status); 86 TEST_CHECK_STATUS(status); [all...] |
/external/icu4c/test/intltest/ |
cntabcol.cpp | 24 UErrorCode status = U_ZERO_ERROR; local 26 testTable = uprv_cnttab_open(testMapping, &status); 30 uprv_cnttab_addContraction(testTable, 0, (UChar)i, i, &status); 31 if(U_FAILURE(status)) { 32 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)); 37 if(U_SUCCESS(status)) { 39 res = uprv_cnttab_getCE(testTable, 0, i, &status); 40 if(U_FAILURE(status)) { 41 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)) 54 UErrorCode status = U_ZERO_ERROR; local 74 UErrorCode status = U_ZERO_ERROR; local 104 UErrorCode status = U_ZERO_ERROR; local 145 UErrorCode status = U_ZERO_ERROR; local 172 UErrorCode status = U_ZERO_ERROR; local 182 UErrorCode status = U_REGEX_SET_CONTAINS_STRING; local [all...] |
v32test.cpp | 58 #define TEST_CHECK_STATUS(status) \ 59 if (U_FAILURE(status)) {\ 60 errln("UVector32Test failure at line %d. status=%s\n", __LINE__, u_errorName(status));\ 76 UErrorCode status = U_ZERO_ERROR; local 80 a = new UVector32(status); 81 TEST_CHECK_STATUS(status); 84 status = U_ZERO_ERROR; 85 a = new UVector32(2000, status); 86 TEST_CHECK_STATUS(status); [all...] |
/external/chromium_org/sync/sessions/ |
status_controller_unittest.cc | 18 StatusController status; local 19 status.set_num_server_changes_remaining(13); 20 EXPECT_EQ(13, status.num_server_changes_remaining()); 22 status.set_last_download_updates_result(SYNCER_OK); 24 status.model_neutral_state().last_download_updates_result); 26 status.set_commit_result(SYNC_AUTH_ERROR); 27 EXPECT_EQ(SYNC_AUTH_ERROR, status.model_neutral_state().commit_result); 30 status.increment_num_successful_commits(); 31 EXPECT_EQ(14, status.model_neutral_state().num_successful_commits); 36 StatusController status; local [all...] |
/packages/apps/Exchange/src/com/android/exchange/ |
CommandStatusException.java | 20 * ActiveSync command error status definitions (EAS 14.0 and later); these are in addition to the 26 // A status response to an EAS account. Responses < 16 correspond to command-specific errors as 75 // String version of error status codes (for logging only) 91 public static boolean isNeedsProvisioning(int status) { 92 return (status == CommandStatus.NEEDS_PROVISIONING || 93 status == CommandStatus.NEEDS_PROVISIONING_REFRESH || 94 status == CommandStatus.NEEDS_PROVISIONING_INVALID || 95 status == CommandStatus.NEEDS_PROVISIONING_WIPE); 98 public static boolean isBadSyncKey(int status) { 99 return (status == CommandStatus.SYNC_STATE_CORRUPT | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothShare.java | 177 * The name of the column containing the current status of the transfer. 187 public static final String STATUS = "status"; 278 * Returns whether the status is informational (i.e. 1xx). 280 public static boolean isStatusInformational(int status) { 281 return (status >= 100 && status < 200); 288 public static boolean isStatusSuspended(int status) { 289 return (status == STATUS_PENDING); 293 * Returns whether the status is a success (i.e. 2xx) [all...] |
/external/chromium_org/chrome/browser/sync_file_system/local/ |
local_file_sync_status_unittest.cc | 31 LocalFileSyncStatus status; local 33 status.StartWriting(URL(kFile)); 34 status.StartWriting(URL(kFile)); 35 status.EndWriting(URL(kFile)); 37 EXPECT_TRUE(status.IsWriting(URL(kFile))); 38 EXPECT_TRUE(status.IsWriting(URL(kParent))); 39 EXPECT_TRUE(status.IsWriting(URL(kChild))); 40 EXPECT_FALSE(status.IsWriting(URL(kOther1))); 41 EXPECT_FALSE(status.IsWriting(URL(kOther2))); 44 EXPECT_TRUE(status.IsWritable(URL(kFile))) 65 LocalFileSyncStatus status; local [all...] |
/external/srtp/crypto/rng/ |
ctr_prng.c | 55 err_status_t status; local 64 status = random_source(tmp_key, 32); 65 if (status) 66 return status; 69 status = aes_icm_context_init(&ctr_prng.state, tmp_key); 70 if (status) 71 return status; 78 err_status_t status; local 86 status = ctr_prng_init(ctr_prng.rand); 87 if (status) [all...] |
/external/chromium_org/content/public/common/ |
signed_certificate_timestamp_id_and_status.cc | 10 int id, net::ct::SCTVerifyStatus status) 11 : id(id), status(status) {} 15 return id == other.id && status == other.status;
|
/external/srtp/crypto/ae_xfm/ |
xfm.c | 34 err_status_t status; local 52 status = hmac_init(&hmac_ctx, key, KEY_LEN); 53 if (status) return status; 54 status = hmac_compute(&hmac_ctx, "ENC", 3, ENC_KEY_LEN, enc_key); 55 if (status) return status; 57 status = hmac_init(&hmac_ctx, key, KEY_LEN); 58 if (status) return status; 110 err_status_t status; local 195 err_status_t status; local 308 err_status_t status; local [all...] |
/external/chromium/chrome/browser/chromeos/ |
update_browsertest.cc | 30 const chromeos::UpdateLibrary::Status& x) { 31 EXPECT_CALL(*lib, status()) 41 chromeos::UpdateLibrary::Status status; local 43 status.status = chromeos::UPDATE_STATUS_IDLE; 44 CallObservers(lib, observer, status); 46 status.status = chromeos::UPDATE_STATUS_CHECKING_FOR_UPDATE; 47 CallObservers(lib, observer, status); 76 chromeos::UpdateLibrary::Status status; local [all...] |
/external/chromium_org/base/mac/ |
mac_logging.h | 18 // system routines that report status via an OSStatus or OSErr value. It is 22 // will contain the symbolic constant name corresponding to the status value, 35 OSStatus status); 46 #define OSSTATUS_LOG_STREAM(severity, status) \ 47 COMPACT_GOOGLE_LOG_EX_ ## severity(OSStatusLogMessage, status).stream() 48 #define OSSTATUS_VLOG_STREAM(verbose_level, status) \ 50 -verbose_level, status).stream() 52 #define OSSTATUS_LOG(severity, status) \ 53 LAZY_STREAM(OSSTATUS_LOG_STREAM(severity, status), LOG_IS_ON(severity)) 54 #define OSSTATUS_LOG_IF(severity, condition, status) \ [all...] |
/development/ndk/sources/android/libportable/arch-mips/ |
waitpid.c | 29 * Converts native status information at *status to portable. 31 static void status_ntop(int *status) 35 ALOGV("%s(status:%p) {", __func__, 36 status); 38 ASSERT(status != NULL); 41 * The interpretation of status is documented in the wait(2) manual page 44 if (WIFSIGNALED(*status)) 45 portable_status = (*status & ~0x7f) | signum_ntop(WTERMSIG(*status)); [all...] |