/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/ |
der_encode_sequence_ex.c | 34 int err, type; local 55 if ((err = der_length_boolean(&x)) != CRYPT_OK) { 62 if ((err = der_length_integer(data, &x)) != CRYPT_OK) { 69 if ((err = der_length_short_integer(*((unsigned long*)data), &x)) != CRYPT_OK) { 76 if ((err = der_length_bit_string(size, &x)) != CRYPT_OK) { 83 if ((err = der_length_octet_string(size, &x)) != CRYPT_OK) { 94 if ((err = der_length_object_identifier(data, size, &x)) != CRYPT_OK) { 101 if ((err = der_length_ia5_string(data, size, &x)) != CRYPT_OK) { 108 if ((err = der_length_printable_string(data, size, &x)) != CRYPT_OK) { 115 if ((err = der_length_utf8_string(data, size, &x)) != CRYPT_OK) [all...] |
/frameworks/av/media/libstagefright/timedtext/test/ |
TimedTextSRTSource_test.cpp | 115 status_t err; member in class:android::test::TimedTextSRTSourceTest 120 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 121 EXPECT_EQ(OK, err); 127 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 128 EXPECT_EQ(OK, err); 133 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 134 EXPECT_EQ(OK, err); 139 err = mSource->read(&startTimeUs, &endTimeUs, &parcel); 140 EXPECT_EQ(OK, err); 145 err = mSource->read(&startTimeUs, &endTimeUs, &parcel) [all...] |
/external/dropbear/libtomcrypt/src/mac/hmac/ |
hmac_done.c | 33 int hash, err; local 40 if((err = hash_is_valid(hash)) != CRYPT_OK) { 41 return err; 61 if ((err = hash_descriptor[hash].done(&hmac->md, isha)) != CRYPT_OK) { 71 if ((err = hash_descriptor[hash].init(&hmac->md)) != CRYPT_OK) { 74 if ((err = hash_descriptor[hash].process(&hmac->md, buf, HMAC_BLOCKSIZE)) != CRYPT_OK) { 77 if ((err = hash_descriptor[hash].process(&hmac->md, isha, hashsize)) != CRYPT_OK) { 80 if ((err = hash_descriptor[hash].done(&hmac->md, buf)) != CRYPT_OK) { 90 err = CRYPT_OK; 102 return err; [all...] |
/external/dropbear/libtomcrypt/src/misc/pkcs5/ |
pkcs_5_2.c | 36 int err, itts; local 48 if ((err = hash_is_valid(hash_idx)) != CRYPT_OK) { 49 return err; 78 if ((err = hmac_init(hmac, hash_idx, password, password_len)) != CRYPT_OK) { 81 if ((err = hmac_process(hmac, salt, salt_len)) != CRYPT_OK) { 84 if ((err = hmac_process(hmac, buf[1], 4)) != CRYPT_OK) { 88 if ((err = hmac_done(hmac, buf[0], &x)) != CRYPT_OK) { 95 if ((err = hmac_memory(hash_idx, password, password_len, buf[0], x, buf[0], &x)) != CRYPT_OK) { 111 err = CRYPT_OK; 121 return err; [all...] |
/external/dropbear/libtomcrypt/src/prngs/ |
yarrow.c | 40 int err; local 86 if ((err = cipher_is_valid(prng->yarrow.cipher)) != CRYPT_OK) { 87 return err; 117 if ((err = hash_is_valid(prng->yarrow.hash)) != CRYPT_OK) { 118 return err; 138 int err; local 145 if ((err = hash_is_valid(prng->yarrow.hash)) != CRYPT_OK) { 147 return err; 151 if ((err = hash_descriptor[prng->yarrow.hash].init(&md)) != CRYPT_OK) { 153 return err; 186 int ks, err; local 254 int err; local 308 int err; local [all...] |
/external/linux-tools-perf/util/ |
trace-event-scripting.c | 82 int err; local 83 err = script_spec_register("Python", scripting_ops); 84 if (err) 87 err = script_spec_register("py", scripting_ops); 88 if (err) 143 int err; local 144 err = script_spec_register("Perl", scripting_ops); 145 if (err) 148 err = script_spec_register("pl", scripting_ops); 149 if (err) [all...] |
/external/webrtc/src/modules/audio_processing/ |
audio_processing_impl.cc | 167 int err = (*it)->Initialize(); local 168 if (err != kNoError) { 169 return err; 175 int err = WriteInitMessage(); local 176 if (err != kNoError) { 177 return err; 258 int err = kNoError; local 310 err = high_pass_filter_->ProcessCaptureAudio(capture_audio_); 311 if (err != kNoError) { 312 return err; 389 int err = kNoError; local 501 int err = WriteInitMessage(); local 644 int err = WriteMessageToDebugFile(); local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_gen.c | 109 if (ctx == NULL) goto err; 115 if (r3 == NULL) goto err; 121 if(!rsa->n && ((rsa->n=BN_new()) == NULL)) goto err; 122 if(!rsa->d && ((rsa->d=BN_new()) == NULL)) goto err; 123 if(!rsa->e && ((rsa->e=BN_new()) == NULL)) goto err; 124 if(!rsa->p && ((rsa->p=BN_new()) == NULL)) goto err; 125 if(!rsa->q && ((rsa->q=BN_new()) == NULL)) goto err; 126 if(!rsa->dmp1 && ((rsa->dmp1=BN_new()) == NULL)) goto err; 127 if(!rsa->dmq1 && ((rsa->dmq1=BN_new()) == NULL)) goto err; 128 if(!rsa->iqmp && ((rsa->iqmp=BN_new()) == NULL)) goto err; [all...] |
/external/openssl/crypto/rsa/ |
rsa_gen.c | 109 if (ctx == NULL) goto err; 115 if (r3 == NULL) goto err; 121 if(!rsa->n && ((rsa->n=BN_new()) == NULL)) goto err; 122 if(!rsa->d && ((rsa->d=BN_new()) == NULL)) goto err; 123 if(!rsa->e && ((rsa->e=BN_new()) == NULL)) goto err; 124 if(!rsa->p && ((rsa->p=BN_new()) == NULL)) goto err; 125 if(!rsa->q && ((rsa->q=BN_new()) == NULL)) goto err; 126 if(!rsa->dmp1 && ((rsa->dmp1=BN_new()) == NULL)) goto err; 127 if(!rsa->dmq1 && ((rsa->dmq1=BN_new()) == NULL)) goto err; 128 if(!rsa->iqmp && ((rsa->iqmp=BN_new()) == NULL)) goto err; [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn_recp.c | 111 if ((a = BN_CTX_get(ctx)) == NULL) goto err; 115 { if (!BN_sqr(a,x,ctx)) goto err; } 117 { if (!BN_mul(a,x,y,ctx)) goto err; } 124 err: 147 if (a == NULL || b == NULL || d == NULL || r == NULL) goto err; 172 if (recp->shift == -1) goto err; 179 if (!BN_rshift(a,m,recp->num_bits)) goto err; 180 if (!BN_mul(b,a,&(recp->Nr),ctx)) goto err; 181 if (!BN_rshift(d,b,i-recp->num_bits)) goto err; 184 if (!BN_mul(b,&(recp->N),d,ctx)) goto err; [all...] |
/external/chromium_org/third_party/opus/src/src/ |
repacketizer_demo.c | 111 int err; local 117 err = fread(ch, 1, 4, fin); 133 err = fread(ch, 1, 4, fin); 135 err = fread(packets[i], 1, len[i], fin); 141 err = opus_repacketizer_cat(rp, packets[i], len[i]); 142 if (err!=OPUS_OK) 144 fprintf(stderr, "opus_repacketizer_cat() failed: %s\n", opus_strerror(err)); 155 err = opus_repacketizer_out(rp, output_packet, MAX_PACKETOUT); 156 if (err>0) { 158 int_to_char(err, int_field) [all...] |
/external/openssl/crypto/bn/ |
bn_recp.c | 111 if ((a = BN_CTX_get(ctx)) == NULL) goto err; 115 { if (!BN_sqr(a,x,ctx)) goto err; } 117 { if (!BN_mul(a,x,y,ctx)) goto err; } 124 err: 147 if (a == NULL || b == NULL || d == NULL || r == NULL) goto err; 172 if (recp->shift == -1) goto err; 179 if (!BN_rshift(a,m,recp->num_bits)) goto err; 180 if (!BN_mul(b,a,&(recp->Nr),ctx)) goto err; 181 if (!BN_rshift(d,b,i-recp->num_bits)) goto err; 184 if (!BN_mul(b,&(recp->N),d,ctx)) goto err; [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/ |
__scan_keyword.pass.cpp | 45 std::ios_base::iostate err = std::ios_base::goodbit; local 50 err = std::ios_base::goodbit; 53 ct, err); 56 assert(err == std::ios_base::eofbit); 62 err = std::ios_base::goodbit; 65 ct, err); 68 assert(err == std::ios_base::failbit); 74 err = std::ios_base::goodbit; 77 ct, err); 80 assert(err == std::ios_base::eofbit) [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 92 System.err.println(PM_NOT_RUNNING_ERR); 223 System.err.println("Error: unknown command '" + op + "'"); 243 System.err.println("Error: didn't specify type of data to list"); 261 System.err.println("Error: unknown list type '" + type + "'"); 298 System.err.println("Error: Unknown option: " + opt); 303 System.err.println("Error: " + ex.toString()); 338 System.err.println(e.toString()); 339 System.err.println(PM_NOT_RUNNING_ERR); 383 System.err.println(e.toString()); 384 System.err.println(PM_NOT_RUNNING_ERR) [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
threadtest3.c | 899 Error err = {0}; /* Error code and message */ local 903 opendb(&err, &db, "test.db", 0); 904 while( !timetostop(&err) ){ 911 execsql(&err, &db, "BEGIN"); 912 integrity_check(&err, &db); 913 z1 = execsql_text(&err, &db, 1, azSql[0]); 914 z2 = execsql_text(&err, &db, 2, azSql[1]); 915 z3 = execsql_text(&err, &db, 3, azSql[0]); 916 execsql(&err, &db, "COMMIT"); 919 test_error(&err, "Failed read: %s %s %s", z1, z2, z3) 938 Error err = {0}; \/* Error code and message *\/ local 956 Error err = {0}; \/* Error code and message *\/ local 981 Error err = {0}; \/* Error code and message *\/ local 1018 Error err = {0}; local 1037 Error err = {0}; \/* Error code and message *\/ local 1073 Error err = {0}; local 1098 Error err = {0}; \/* Error code and message *\/ local 1112 Error err = {0}; \/* Error code and message *\/ local 1132 Error err = {0}; local 1152 Error err = {0}; \/* Error code and message *\/ local 1165 Error err = {0}; local 1257 Error err = {0}; local 1284 Error err = {0}; \/* Error code and message *\/ local 1335 Error err = {0}; \/* Error code and message *\/ local 1361 Error err = {0}; local [all...] |
/cts/tools/dasm/src/java_cup/ |
Main.java | 151 if (print_progress) System.err.println("Opening files..."); 158 System.err.println("Parsing specification from standard input..."); 167 if (print_progress) System.err.println("Checking specification..."); 173 if (print_progress) System.err.println("Building parse tables..."); 179 if (print_progress) System.err.println("Writing parser..."); 199 if (print_progress) System.err.println("Closing files..."); 214 System.err.println(); 215 System.err.println(message); 216 System.err.println(); 217 System.err.println [all...] |
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
pkcs_1_oaep_encode.c | 42 int err; local 49 if ((err = hash_is_valid(hash_idx)) != CRYPT_OK) { 50 return err; 54 if ((err = prng_is_valid(prng_idx)) != CRYPT_OK) { 55 return err; 87 if ((err = hash_memory(hash_idx, lparam, lparamlen, DB, &x)) != CRYPT_OK) { 92 if ((err = hash_memory(hash_idx, DB, 0, DB, &x)) != CRYPT_OK) { 112 err = CRYPT_ERROR_READPRNG; 117 if ((err = pkcs_1_mgf1(hash_idx, seed, hLen, mask, modulus_len - hLen - 1)) != CRYPT_OK) { 127 if ((err = pkcs_1_mgf1(hash_idx, DB, modulus_len - hLen - 1, mask, hLen)) != CRYPT_OK) [all...] |
/external/dropbear/libtommath/ |
bn_mp_prime_next_prime.c | 25 int err, res, x, y; local 84 if ((err = mp_sub_d(a, (a->dp[0] & 3) + 1, a)) != MP_OKAY) { return err; }; 89 if ((err = mp_sub_d(a, 1, a)) != MP_OKAY) { 90 return err; 97 if ((err = mp_mod_d(a, ltm_prime_tab[x], res_tab + x)) != MP_OKAY) { 98 return err; 103 if ((err = mp_init(&b)) != MP_OKAY) { 104 return err; 135 if ((err = mp_add_d(a, step, a)) != MP_OKAY) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/ |
get_date.pass.cpp | 16 // ios_base::iostate& err, tm* t) const; 39 std::ios_base::iostate err; local 44 err = std::ios_base::goodbit; 46 I i = f.get_date(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 51 assert(err == std::ios_base::eofbit); 56 err = std::ios_base::goodbit; 58 I i = f.get_date(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 63 assert(err == std::ios_base::eofbit); 68 err = std::ios_base::goodbit; 70 I i = f.get_date(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t) [all...] |
get_date_wide.pass.cpp | 16 // ios_base::iostate& err, tm* t) const; 39 std::ios_base::iostate err; local 44 err = std::ios_base::goodbit; 46 I i = f.get_date(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 51 assert(err == std::ios_base::eofbit); 56 err = std::ios_base::goodbit; 58 I i = f.get_date(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 63 assert(err == std::ios_base::eofbit); 68 err = std::ios_base::goodbit; 70 I i = f.get_date(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t) [all...] |
get_monthname.pass.cpp | 16 // ios_base::iostate& err, tm* t) const; 39 std::ios_base::iostate err; local 44 err = std::ios_base::goodbit; 46 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 49 assert(err == std::ios_base::eofbit); 54 err = std::ios_base::goodbit; 56 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 59 assert(err == std::ios_base::eofbit); 64 err = std::ios_base::goodbit; 66 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t) [all...] |
get_monthname_wide.pass.cpp | 16 // ios_base::iostate& err, tm* t) const; 48 std::ios_base::iostate err; local 53 err = std::ios_base::goodbit; 55 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 58 assert(err == std::ios_base::eofbit); 63 err = std::ios_base::goodbit; 65 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 68 assert(err == std::ios_base::eofbit); 73 err = std::ios_base::goodbit; 75 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t) [all...] |
get_time.pass.cpp | 16 // ios_base::iostate& err, tm* t) const; 39 std::ios_base::iostate err; local 44 err = std::ios_base::goodbit; 46 I i = f.get_time(I(in), I(in+sizeof(in)-1), ios, err, &t); 51 assert(err == std::ios_base::eofbit); 56 err = std::ios_base::goodbit; 58 I i = f.get_time(I(in), I(in+sizeof(in)-1), ios, err, &t); 63 assert(err == std::ios_base::eofbit); 68 err = std::ios_base::goodbit; 70 I i = f.get_time(I(in), I(in+sizeof(in)-1), ios, err, &t) [all...] |
get_time_wide.pass.cpp | 16 // ios_base::iostate& err, tm* t) const; 39 std::ios_base::iostate err; local 44 err = std::ios_base::goodbit; 46 I i = f.get_time(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 51 assert(err == std::ios_base::eofbit); 56 err = std::ios_base::goodbit; 58 I i = f.get_time(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 63 assert(err == std::ios_base::eofbit); 68 err = std::ios_base::goodbit; 70 I i = f.get_time(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t) [all...] |
get_weekday.pass.cpp | 16 // ios_base::iostate& err, tm* t) const; 39 std::ios_base::iostate err; local 44 err = std::ios_base::goodbit; 46 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 49 assert(err == std::ios_base::eofbit); 54 err = std::ios_base::goodbit; 56 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 59 assert(err == std::ios_base::eofbit); 66 err = std::ios_base::goodbit; 68 I i = f.get_weekday(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t) [all...] |