/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
get_weekday_wide.pass.cpp | 16 // ios_base::iostate& err, tm* t) const; 38 std::ios_base::iostate err; local 42 err = std::ios_base::goodbit; 44 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 47 assert(err == std::ios_base::eofbit); 51 err = std::ios_base::goodbit; 53 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 56 assert(err == std::ios_base::goodbit); 60 err = std::ios_base::goodbit; 62 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t) [all...] |
get_year.pass.cpp | 15 // ios_base::iostate& err, tm* t) const; 37 std::ios_base::iostate err; local 41 err = std::ios_base::goodbit; 43 I i = f.get_year(I(in), I(in+sizeof(in)-1), ios, err, &t); 46 assert(err == std::ios_base::eofbit); 50 err = std::ios_base::goodbit; 52 I i = f.get_year(I(in), I(in+sizeof(in)-1), ios, err, &t); 55 assert(err == std::ios_base::eofbit); 59 err = std::ios_base::goodbit; 61 I i = f.get_year(I(in), I(in+sizeof(in)-1), ios, err, &t) [all...] |
/external/dropbear/libtommath/ |
bn_mp_exptmod_fast.c | 36 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; local 70 if ((err = mp_init(&M[1])) != MP_OKAY) { 71 return err; 76 if ((err = mp_init(&M[x])) != MP_OKAY) { 81 return err; 89 if ((err = mp_montgomery_setup (P, &mp)) != MP_OKAY) { 93 err = MP_VAL; 109 err = MP_VAL; 119 err = MP_VAL; 125 if ((err = mp_reduce_2k_setup(P, &mp)) != MP_OKAY) [all...] |
bn_mp_prime_random_ex.c | 37 int res, err, bsize, maskOR_msb_offset; local 77 err = MP_VAL; 90 if ((err = mp_read_unsigned_bin(a, tmp, bsize)) != MP_OKAY) { goto error; } 93 if ((err = mp_prime_is_prime(a, t, &res)) != MP_OKAY) { goto error; } 100 if ((err = mp_sub_d(a, 1, a)) != MP_OKAY) { goto error; } 101 if ((err = mp_div_2(a, a)) != MP_OKAY) { goto error; } 104 if ((err = mp_prime_is_prime(a, t, &res)) != MP_OKAY) { goto error; } 110 if ((err = mp_mul_2(a, a)) != MP_OKAY) { goto error; } 111 if ((err = mp_add_d(a, 1, a)) != MP_OKAY) { goto error; } 114 err = MP_OKAY [all...] |
/external/dropbear/libtomcrypt/src/encauth/eax/ |
eax_init.c | 38 int err, blklen; local 50 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) { 51 return err; 71 if ((err = omac_init(omac, cipher, key, keylen)) != CRYPT_OK) { 76 if ((err = omac_process(omac, buf, blklen)) != CRYPT_OK) { 80 if ((err = omac_process(omac, nonce, noncelen)) != CRYPT_OK) { 85 if ((err = omac_done(omac, eax->N, &len)) != CRYPT_OK) { 93 if ((err = omac_init(&eax->headeromac, cipher, key, keylen)) != CRYPT_OK) { 98 if ((err = omac_process(&eax->headeromac, buf, blklen)) != CRYPT_OK) { 103 if ((err = omac_process(&eax->headeromac, header, headerlen)) != CRYPT_OK) [all...] |
/frameworks/base/core/jni/ |
android_backup_BackupDataInput.cpp | 52 int err; local 58 err = reader->ReadNextHeader(&done, &type); 63 if (err != 0) { 64 return err < 0 ? err : -1; 72 err = reader->ReadEntityHeader(&key, &dataSize); 73 if (err != 0) { 74 return err < 0 ? err : -1; 94 int err; local 117 int err; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/ |
get_long_long.pass.cpp | 15 // ios_base::iostate& err, long long& v) const; 51 std::ios_base::iostate err = ios.goodbit; local 55 ios, err, v); 57 assert(err == ios.goodbit); 62 std::ios_base::iostate err = ios.goodbit; local 66 ios, err, v); 68 assert(err == ios.goodbit); 73 std::ios_base::iostate err = ios.goodbit; local 77 ios, err, v); 79 assert(err == ios.goodbit) 85 std::ios_base::iostate err = ios.goodbit; local 96 std::ios_base::iostate err = ios.goodbit; local [all...] |
get_float.pass.cpp | 15 // ios_base::iostate& err, float& v) const; 44 std::ios_base::iostate err = ios.goodbit; local 48 ios, err, v); 50 assert(err == ios.goodbit); 55 std::ios_base::iostate err = ios.goodbit; local 59 ios, err, v); 61 assert(err == ios.goodbit); 66 std::ios_base::iostate err = ios.goodbit; local 70 ios, err, v); 72 assert(err == ios.goodbit) 78 std::ios_base::iostate err = ios.goodbit; local 90 std::ios_base::iostate err = ios.goodbit; local 102 std::ios_base::iostate err = ios.goodbit; local 114 std::ios_base::iostate err = ios.goodbit; local 126 std::ios_base::iostate err = ios.goodbit; local 138 std::ios_base::iostate err = ios.goodbit; local 150 std::ios_base::iostate err = ios.goodbit; local 162 std::ios_base::iostate err = ios.goodbit; local [all...] |
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_sign_hash.c | 42 int err; local 56 if ((err = prng_is_valid(prng_idx)) != CRYPT_OK) { 57 return err; 59 if ((err = hash_is_valid(hash_idx)) != CRYPT_OK) { 60 return err; 77 if ((err = pkcs_1_pss_encode(in, inlen, saltlen, prng, prng_idx, 79 return err; 111 if ((err = der_encode_sequence(siginfo, 2, tmpin, &y)) != CRYPT_OK) { 113 return err; 117 if ((err = pkcs_1_v1_5_encode(tmpin, y, LTC_PKCS_1_EMSA [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
M4PTO3GPP_API.c | 283 M4OSA_ERR err = M4NO_ERROR; local 423 err = M4READER_AMR_getInterfaces( &readerMediaType, &pC->m_pReaderGlobInt, 425 if (M4NO_ERROR != err) 427 M4OSA_TRACE1_1("M4PTO3GPP_Open(): M4READER_AMR_getInterfaces returns 0x%x", err); 428 return err; 435 err = M4READER_3GP_getInterfaces( &readerMediaType, &pC->m_pReaderGlobInt, 437 if (M4NO_ERROR != err) 439 M4OSA_TRACE1_1("M4PTO3GPP_Open(): M4READER_3GP_getInterfaces returns 0x%x", err); 440 return err; 451 err = pC->m_pReaderGlobInt->m_pFctCreate(&pC->m_pAudioReaderContext) 605 M4OSA_ERR err = M4NO_ERROR; local 1078 M4OSA_ERR err = M4NO_ERROR; local 1221 M4OSA_ERR err = M4NO_ERROR; local 1850 M4OSA_ERR err; local 1898 M4OSA_ERR err; local [all...] |
/system/core/libsync/ |
sync.c | 40 int err; local 45 err = ioctl(fd1, SYNC_IOC_MERGE, &data); 46 if (err < 0) 47 return err; 55 int err; local 62 err = ioctl(fd, SYNC_IOC_FENCE_INFO, info); 63 if (err < 0) { 106 int err; local 111 err = ioctl(fd, SW_SYNC_IOC_CREATE_FENCE, &data); 112 if (err < 0 [all...] |
/external/sqlite/android/ |
sqlite3_android.cpp | 198 int err = unlink(path); local 199 if (err != -1) { 261 int err; local 297 err = sqlite3_prepare_v2(handle, sql, -1, &statement, NULL); 299 if (err) { 315 err = sqlite3_bind_int64(statement, 2, rowID); 316 if (err != SQLITE_OK) { 325 err = sqlite3_bind_value(statement, dataTagParamIndex, argv[5]); 326 if (err != SQLITE_OK) { 373 err = sqlite3_bind_text(statement, 1, base16buf, base16Size, SQLITE_STATIC) 418 int err; local 497 int err; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
dsa_gen.c | 176 goto err; 179 goto err; 192 goto err; 202 goto err; 226 goto err; 228 goto err; 236 goto err; 244 goto err; 250 if(!BN_GENCB_call(cb, 2, 0)) goto err; 251 if(!BN_GENCB_call(cb, 3, 0)) goto err; [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/ |
ocsp_prn.c | 65 #include <openssl/err.h> 144 if (BIO_write(bp,"OCSP Request Data:\n",19) <= 0) goto err; 146 if (BIO_printf(bp," Version: %lu (0x%lx)",l+1,l) <= 0) goto err; 150 goto err; 153 if (BIO_write(bp,"\n Requestor List:\n",21) <= 0) goto err; 162 goto err; 166 goto err; 177 err: 194 if (BIO_puts(bp,"OCSP Response Data:\n") <= 0) goto err; 197 OCSP_response_status_str(l), l) <= 0) goto err; [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/ |
der_decode_sequence_flexi.c | 66 unsigned long err, type, len, totlen, x, y; local 84 err = CRYPT_INVALID_PACKET; 92 err = CRYPT_MEM; 98 err = CRYPT_MEM; 112 if ((err = der_decode_boolean(in, *inlen, l->data)) != CRYPT_OK) { 116 if ((err = der_length_boolean(&len)) != CRYPT_OK) { 125 if ((err = mp_init(&l->data)) != CRYPT_OK) { 130 if ((err = der_decode_integer(in, *inlen, l->data)) != CRYPT_OK) { 135 if ((err = der_length_integer(l->data, &len)) != CRYPT_OK) { 146 err = CRYPT_MEM [all...] |
/external/openssl/crypto/dsa/ |
dsa_gen.c | 176 goto err; 179 goto err; 192 goto err; 202 goto err; 226 goto err; 228 goto err; 236 goto err; 244 goto err; 250 if(!BN_GENCB_call(cb, 2, 0)) goto err; 251 if(!BN_GENCB_call(cb, 3, 0)) goto err; [all...] |
/external/openssl/crypto/ocsp/ |
ocsp_prn.c | 65 #include <openssl/err.h> 144 if (BIO_write(bp,"OCSP Request Data:\n",19) <= 0) goto err; 146 if (BIO_printf(bp," Version: %lu (0x%lx)",l+1,l) <= 0) goto err; 150 goto err; 153 if (BIO_write(bp,"\n Requestor List:\n",21) <= 0) goto err; 162 goto err; 166 goto err; 177 err: 194 if (BIO_puts(bp,"OCSP Response Data:\n") <= 0) goto err; 197 OCSP_response_status_str(l), l) <= 0) goto err; [all...] |
/frameworks/av/libvideoeditor/vss/3gpwriter/src/ |
M4MP4W_Utils.c | 32 #define ERR_CHECK(exp, err) if (!(exp)) { return err; } 39 M4OSA_ERR err = fileFunction->writeData(context, (M4OSA_MemAddr8)&c, 1); local 40 return err; 48 M4OSA_ERR err; local 49 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context); 50 ERR_CHECK(err == M4NO_ERROR, err); 51 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context); 52 return err; 60 M4OSA_ERR err; local 74 M4OSA_ERR err; local 90 M4OSA_ERR err = fileFunction->writeData(context, (M4OSA_MemAddr8)Block, size); local [all...] |
/frameworks/native/libs/gui/ |
SurfaceControl.cpp | 94 status_t err = validate(); local 95 if (err < 0) return err; 100 status_t err = validate(); local 101 if (err < 0) return err; 106 status_t err = validate(); local 107 if (err < 0) return err; 112 status_t err = validate() local 118 status_t err = validate(); local 124 status_t err = validate(); local 130 status_t err = validate(); local 136 status_t err = validate(); local 142 status_t err = validate(); local 148 status_t err = validate(); local 154 status_t err = validate(); local [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
ionalloc.cpp | 68 int err = 0; local 83 err = open_device(); 84 if (err) 85 return err; 87 err = -errno; 89 return err; 95 err = -errno; 99 return err; 106 err = -errno; 110 return err; 132 int err = 0; local 145 int err = 0; local 170 int err = 0; local 185 int err = 0; local [all...] |
/hardware/qcom/display/msm8974/libgralloc/ |
ionalloc.cpp | 68 int err = 0; local 88 err = open_device(); 89 if (err) 90 return err; 92 err = -errno; 94 return err; 100 err = -errno; 104 return err; 111 err = -errno; 115 return err; 133 int err = 0; local 146 int err = 0; local 171 int err = 0; local 186 int err = 0; local [all...] |
/hardware/qcom/display/msm8x26/libgralloc/ |
ionalloc.cpp | 68 int err = 0; local 83 err = open_device(); 84 if (err) 85 return err; 87 err = -errno; 89 return err; 95 err = -errno; 99 return err; 106 err = -errno; 110 return err; 132 int err = 0; local 145 int err = 0; local 170 int err = 0; local 185 int err = 0; local [all...] |
/external/chromium_org/content/test/plugin/ |
plugin_test.cc | 125 std::string err; local 126 err = "Expected Equal for '"; 127 err.append(val1); 128 err.append("' and '"); 129 err.append(val2); 130 err.append("'"); 131 SetError(err); 137 std::string err; local 138 err = "Expected Not Equal for '"; 139 err.append(val1) 149 std::string err; local [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
mount_passthrough.cc | 31 int err = _real_lseek(real_fd_, offs, 0, &new_offset); local 32 if (err) 33 return err; 36 err = _real_read(real_fd_, buf, count, &nread); 37 if (err) 38 return err; 51 int err = _real_lseek(real_fd_, offs, 0, &new_offset); local 52 if (err) 53 return err; 56 err = _real_write(real_fd_, buf, count, &nwrote) 74 int err = _real_getdents(real_fd_, pdir, count, &nread); local 81 int err = _real_fstat(real_fd_, stat); local 94 int err = _real_mmap(out_addr, length, prot, flags, real_fd_, offset); local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
ucnv_cb.c | 39 UErrorCode * err) 41 if(U_FAILURE(*err)) { 50 err); 58 UErrorCode * err) 68 Please set the err value to something reasonable before calling 74 if(U_FAILURE(*err)) 88 err); 103 if(*err == U_BUFFER_OVERFLOW_ERROR) 125 *err = U_INTERNAL_PROGRAM_ERROR; 157 *err = U_INTERNAL_PROGRAM_ERROR 216 offsetIndex, err); local 221 offsetIndex, err); local [all...] |