/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...] |
/frameworks/base/libs/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 LOGE("Mutex: error %i locking.", status); 50 int status; local 51 status = pthread_mutex_unlock(&mMutex); 52 if (status) { 53 LOGE("Mutex error %i unlocking.", status); [all...] |
rsSignal.cpp | 33 int status = pthread_mutex_init(&mMutex, NULL); local 34 if (status) { 39 status = pthread_cond_init(&mCondition, NULL); 40 if (status) { 50 int status; local 52 status = pthread_mutex_lock(&mMutex); 53 if (status) { 54 LOGE("LocklessCommandFifo: error %i locking for set condition.", status); 60 status = pthread_cond_signal(&mCondition); 61 if (status) { 72 int status; local [all...] |
/external/icu4c/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...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
DeliveryReportItem.java | 26 String status; field in class:DeliveryReportItem 28 public DeliveryReportItem(String recipient, String status) { 30 this.status = status;
|
/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/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...] |
itrbnfrt.cpp | 63 UErrorCode status = U_ZERO_ERROR; local 65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status); 67 if (U_FAILURE(status)) { 68 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); 81 UErrorCode status = U_ZERO_ERROR; local 83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status); 85 if (U_FAILURE(status)) { 86 errcheckln(status, "failed to construct formatter - %s", u_errorName(status)); 99 UErrorCode status = U_ZERO_ERROR; local 117 UErrorCode status = U_ZERO_ERROR; local 135 UErrorCode status = U_ZERO_ERROR; local 153 UErrorCode status = U_ZERO_ERROR; local 171 UErrorCode status = U_ZERO_ERROR; local 189 UErrorCode status = U_ZERO_ERROR; local 207 UErrorCode status = U_ZERO_ERROR; local 225 UErrorCode status = U_ZERO_ERROR; local 243 UErrorCode status = U_ZERO_ERROR; local 261 UErrorCode status = U_ZERO_ERROR; local 297 UErrorCode status = U_ZERO_ERROR; local 324 UErrorCode status = U_ZERO_ERROR; 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 74 // String version of error status codes (for logging only) 90 public static boolean isNeedsProvisioning(int status) { 91 return (status == CommandStatus.NEEDS_PROVISIONING || 92 status == CommandStatus.NEEDS_PROVISIONING_REFRESH || 93 status == CommandStatus.NEEDS_PROVISIONING_INVALID || 94 status == CommandStatus.NEEDS_PROVISIONING_WIPE); 97 public static boolean isBadSyncKey(int status) { 98 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"; 272 * Returns whether the status is informational (i.e. 1xx). 274 public static boolean isStatusInformational(int status) { 275 return (status >= 100 && status < 200); 282 public static boolean isStatusSuspended(int status) { 283 return (status == STATUS_PENDING); 287 * Returns whether the status is a success (i.e. 2xx) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-188206.js | 54 var status = ''; variable 70 status = inSection(1); 73 status = inSection(2); 76 status = inSection(3); 79 status = inSection(4); 87 status = inSection(5); 90 status = inSection(6); 97 status = inSection(7); 100 status = inSection(8); 103 status = inSection(9) [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/skia/src/ports/ |
SkThread_pthread.cpp | 28 static void print_pthread_error(int status) 30 switch (status) { 34 printf("pthread error [%d] EINVAL\n", status); 37 printf("pthread error [%d] EBUSY\n", status); 40 printf("pthread error [%d] unknown\n", status); 53 int status; local 56 status = pthread_mutexattr_init(&attr); 57 print_pthread_error(status); 58 SkASSERT(0 == status); 60 status = pthread_mutex_init((pthread_mutex_t*)fStorage, &attr) 67 int status = pthread_mutex_destroy((pthread_mutex_t*)fStorage); local 79 int status = pthread_mutex_lock((pthread_mutex_t*)fStorage); local 86 int status = pthread_mutex_unlock((pthread_mutex_t*)fStorage); local [all...] |
/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/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/LexicalConventions/ |
lexical-001.js | 42 var status = new Array(); 47 status[0]=showStatus('01') 51 status[1]=showStatus('07') 55 status[2]=showStatus('08') 59 status[3]=showStatus('09') 63 status[4]=showStatus('010') 67 status[5]=showStatus('017') 71 status[6]=showStatus('018') 75 status[7]=showStatus('019') 79 status[8]=showStatus('079' [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/String/ |
regress-83293.js | 54 var status = ''; variable 83 status = 'Section A of test'; 87 reportCompare(expect, actual, status); 89 status = 'Section B of test'; 93 reportCompare(expect, actual, status); 95 status = 'Section C of test'; 99 reportCompare(expect, actual, status); 101 status = 'Section D of test'; 105 reportCompare(expect, actual, status); 115 status = 'Section E of test' [all...] |
/external/clang/test/Sema/ |
transparent-union-pointer.c | 11 int status = 0; local 12 wait(&status);
|
/external/icu4c/test/cintltst/ |
hpmufn.c | 48 #define TEST_STATUS(status, expected) \ 49 if (status != expected) { \ 50 log_err_status(status, "FAIL at %s:%d. Actual status = \"%s\"; Expected status = \"%s\"\n", \ 51 __FILE__, __LINE__, u_errorName(status), u_errorName(expected)); gMutexFailures++; } 123 UErrorCode status = U_ZERO_ERROR; local 138 u_setMemoryFunctions(&gContext, myMemAlloc, myMemRealloc, myMemFree, &status); 139 TEST_STATUS(status, U_INVALID_STATE_ERROR); 145 status = U_ZERO_ERROR 265 UErrorCode status = U_ZERO_ERROR; local 397 UErrorCode status = U_ZERO_ERROR; local [all...] |
spooftest.c | 31 #define TEST_ASSERT_SUCCESS(status) {if (U_FAILURE(status)) { \ 32 log_err_status(status, "Failure at file %s, line %d, error = %s\n", __FILE__, __LINE__, u_errorName(status));}} 53 UErrorCode status = U_ZERO_ERROR; \ 55 sc = uspoof_open(&status); \ 56 TEST_ASSERT_SUCCESS(status); \ 57 if (U_SUCCESS(status)){ 61 TEST_ASSERT_SUCCESS(status); \ 113 UErrorCode status = U_ZERO_ERROR local [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/ |
wait.h | 43 as well as POSIX.1 use of `int' for the status word. */ 46 # define __WAIT_INT(status) \ 47 (__extension__ (((union { __typeof(status) __in; int __i; }) \ 48 { .__in = (status) }).__i)) 50 # define __WAIT_INT(status) (*(__const int *) &(status)) 73 # define __WAIT_INT(status) (status) 82 # define WEXITSTATUS(status) __WEXITSTATUS(__WAIT_INT(status)) [all...] |
/external/srtp/crypto/test/ |
rand_gen.c | 75 err_status_t status; local 81 status = crypto_kernel_init(); 82 if (status) { 94 status = crypto_kernel_set_debug_module(optarg, 1); 95 if (status) { 114 status = crypto_kernel_list_debug_modules(); 115 if (status) { 124 status = crypto_get_random(buffer, num_octets); 125 if (status) { 132 status = crypto_kernel_shutdown() [all...] |
/external/icu4c/test/perf/convperf/ |
convperf.cpp | 19 UErrorCode status = U_ZERO_ERROR; local 20 ConverterPerformanceTest test(argc, argv, status); 21 if(U_FAILURE(status)){ 22 return status; 32 ConverterPerformanceTest::ConverterPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status) 33 : UPerfTest(argc,argv,status){ 123 UErrorCode status = U_ZERO_ERROR; local 124 UPerfFunction* pf = new ICUOpenAllConvertersFunction(TRUE, status); 125 if(U_FAILURE(status)){ 132 UErrorCode status = U_ZERO_ERROR local 141 UErrorCode status = U_ZERO_ERROR; local 150 UErrorCode status = U_ZERO_ERROR; local 160 UErrorCode status = U_ZERO_ERROR; local 169 UErrorCode status = U_ZERO_ERROR; local 178 UErrorCode status = U_ZERO_ERROR; local 187 UErrorCode status = U_ZERO_ERROR; local 198 UErrorCode status = U_ZERO_ERROR; local 207 UErrorCode status = U_ZERO_ERROR; local 217 UErrorCode status = U_ZERO_ERROR; local 226 UErrorCode status = U_ZERO_ERROR; local 235 UErrorCode status = U_ZERO_ERROR; local 244 UErrorCode status = U_ZERO_ERROR; local 255 UErrorCode status = U_ZERO_ERROR; local 264 UErrorCode status = U_ZERO_ERROR; local 274 UErrorCode status = U_ZERO_ERROR; local 283 UErrorCode status = U_ZERO_ERROR; local 291 UErrorCode status = U_ZERO_ERROR; local 300 UErrorCode status = U_ZERO_ERROR; local 312 UErrorCode status = U_ZERO_ERROR; local 321 UErrorCode status = U_ZERO_ERROR; local 331 UErrorCode status = U_ZERO_ERROR; local 340 UErrorCode status = U_ZERO_ERROR; local 349 UErrorCode status = U_ZERO_ERROR; local 358 UErrorCode status = U_ZERO_ERROR; local 369 UErrorCode status = U_ZERO_ERROR; local 378 UErrorCode status = U_ZERO_ERROR; local 388 UErrorCode status = U_ZERO_ERROR; local 397 UErrorCode status = U_ZERO_ERROR; local 406 UErrorCode status = U_ZERO_ERROR; local 415 UErrorCode status = U_ZERO_ERROR; local 428 UErrorCode status = U_ZERO_ERROR; local 437 UErrorCode status = U_ZERO_ERROR; local 447 UErrorCode status = U_ZERO_ERROR; local 456 UErrorCode status = U_ZERO_ERROR; local 465 UErrorCode status = U_ZERO_ERROR; local 474 UErrorCode status = U_ZERO_ERROR; local 487 UErrorCode status = U_ZERO_ERROR; local 496 UErrorCode status = U_ZERO_ERROR; local 506 UErrorCode status = U_ZERO_ERROR; local 515 UErrorCode status = U_ZERO_ERROR; local 524 UErrorCode status = U_ZERO_ERROR; local 533 UErrorCode status = U_ZERO_ERROR; local 545 UErrorCode status = U_ZERO_ERROR; local 554 UErrorCode status = U_ZERO_ERROR; local 564 UErrorCode status = U_ZERO_ERROR; local 573 UErrorCode status = U_ZERO_ERROR; local 582 UErrorCode status = U_ZERO_ERROR; local 591 UErrorCode status = U_ZERO_ERROR; local 602 UErrorCode status = U_ZERO_ERROR; local 611 UErrorCode status = U_ZERO_ERROR; local 621 UErrorCode status = U_ZERO_ERROR; local 630 UErrorCode status = U_ZERO_ERROR; local 639 UErrorCode status = U_ZERO_ERROR; local 648 UErrorCode status = U_ZERO_ERROR; local [all...] |
/external/icu4c/tools/ctestfw/unicode/ |
datamap.h | 41 virtual const UnicodeString getString(const char* key, UErrorCode &status) const = 0; 48 virtual int32_t getInt(const char* key, UErrorCode &status) const = 0; 53 * @param status UErrorCode in/out parameter 56 virtual int32_t getInt28(const char* key, UErrorCode &status) const = 0; 61 * @param status UErrorCode in/out parameter 64 virtual uint32_t getUInt28(const char* key, UErrorCode &status) const = 0; 70 * @param status UErrorCode in/out parameter 73 virtual const int32_t *getIntVector(int32_t &length, const char *key, UErrorCode &status) const = 0; 79 * @param status UErrorCode in/out parameter 82 virtual const uint8_t *getBinary(int32_t &length, const char *key, UErrorCode &status) const = 0 [all...] |