/prebuilts/ndk/9/platforms/android-18/arch-arm/usr/include/asm/ |
uaccess.h | 43 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) 44 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigned long __gu_val; __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1: __get_user_asm_byte(__gu_val,__gu_addr,err); break; case 2: __get_user_asm_half(__gu_val,__gu_addr,err); break; case 4: __get_user_asm_word(__gu_val,__gu_addr,err); break; default: (__gu_val) = __get_user_bad(); } (x) = (__typeof__(*(ptr)))__gu_val; } while (0) 45 #define __get_user_asm_byte(x,addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " mov %1, #0\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err), "=&r" (x) : "r" (addr), "i" (-EFAULT) : "cc") 47 #define __get_user_asm_half(x,__gu_addr,err) ({ unsigned long __b1, __b2; __get_user_asm_byte(__b1, __gu_addr, err); __get_user_asm_byte(__b2, __gu_addr + 1, err); (x) = __b1 | (__b2 << 8); } [all...] |
/prebuilts/ndk/9/platforms/android-3/arch-arm/usr/include/asm/ |
uaccess.h | 43 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) 44 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigned long __gu_val; __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1: __get_user_asm_byte(__gu_val,__gu_addr,err); break; case 2: __get_user_asm_half(__gu_val,__gu_addr,err); break; case 4: __get_user_asm_word(__gu_val,__gu_addr,err); break; default: (__gu_val) = __get_user_bad(); } (x) = (__typeof__(*(ptr)))__gu_val; } while (0) 45 #define __get_user_asm_byte(x,addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " mov %1, #0\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err), "=&r" (x) : "r" (addr), "i" (-EFAULT) : "cc") 47 #define __get_user_asm_half(x,__gu_addr,err) ({ unsigned long __b1, __b2; __get_user_asm_byte(__b1, __gu_addr, err); __get_user_asm_byte(__b2, __gu_addr + 1, err); (x) = __b1 | (__b2 << 8); } [all...] |
/prebuilts/ndk/9/platforms/android-4/arch-arm/usr/include/asm/ |
uaccess.h | 43 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) 44 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigned long __gu_val; __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1: __get_user_asm_byte(__gu_val,__gu_addr,err); break; case 2: __get_user_asm_half(__gu_val,__gu_addr,err); break; case 4: __get_user_asm_word(__gu_val,__gu_addr,err); break; default: (__gu_val) = __get_user_bad(); } (x) = (__typeof__(*(ptr)))__gu_val; } while (0) 45 #define __get_user_asm_byte(x,addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " mov %1, #0\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err), "=&r" (x) : "r" (addr), "i" (-EFAULT) : "cc") 47 #define __get_user_asm_half(x,__gu_addr,err) ({ unsigned long __b1, __b2; __get_user_asm_byte(__b1, __gu_addr, err); __get_user_asm_byte(__b2, __gu_addr + 1, err); (x) = __b1 | (__b2 << 8); } [all...] |
/prebuilts/ndk/9/platforms/android-5/arch-arm/usr/include/asm/ |
uaccess.h | 43 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) 44 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigned long __gu_val; __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1: __get_user_asm_byte(__gu_val,__gu_addr,err); break; case 2: __get_user_asm_half(__gu_val,__gu_addr,err); break; case 4: __get_user_asm_word(__gu_val,__gu_addr,err); break; default: (__gu_val) = __get_user_bad(); } (x) = (__typeof__(*(ptr)))__gu_val; } while (0) 45 #define __get_user_asm_byte(x,addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " mov %1, #0\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err), "=&r" (x) : "r" (addr), "i" (-EFAULT) : "cc") 47 #define __get_user_asm_half(x,__gu_addr,err) ({ unsigned long __b1, __b2; __get_user_asm_byte(__b1, __gu_addr, err); __get_user_asm_byte(__b2, __gu_addr + 1, err); (x) = __b1 | (__b2 << 8); } [all...] |
/prebuilts/ndk/9/platforms/android-8/arch-arm/usr/include/asm/ |
uaccess.h | 43 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) 44 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigned long __gu_val; __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1: __get_user_asm_byte(__gu_val,__gu_addr,err); break; case 2: __get_user_asm_half(__gu_val,__gu_addr,err); break; case 4: __get_user_asm_word(__gu_val,__gu_addr,err); break; default: (__gu_val) = __get_user_bad(); } (x) = (__typeof__(*(ptr)))__gu_val; } while (0) 45 #define __get_user_asm_byte(x,addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " mov %1, #0\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err), "=&r" (x) : "r" (addr), "i" (-EFAULT) : "cc") 47 #define __get_user_asm_half(x,__gu_addr,err) ({ unsigned long __b1, __b2; __get_user_asm_byte(__b1, __gu_addr, err); __get_user_asm_byte(__b2, __gu_addr + 1, err); (x) = __b1 | (__b2 << 8); } [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/asm/ |
uaccess.h | 43 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) 44 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigned long __gu_val; __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1: __get_user_asm_byte(__gu_val,__gu_addr,err); break; case 2: __get_user_asm_half(__gu_val,__gu_addr,err); break; case 4: __get_user_asm_word(__gu_val,__gu_addr,err); break; default: (__gu_val) = __get_user_bad(); } (x) = (__typeof__(*(ptr)))__gu_val; } while (0) 45 #define __get_user_asm_byte(x,addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " mov %1, #0\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err), "=&r" (x) : "r" (addr), "i" (-EFAULT) : "cc") 47 #define __get_user_asm_half(x,__gu_addr,err) ({ unsigned long __b1, __b2; __get_user_asm_byte(__b1, __gu_addr, err); __get_user_asm_byte(__b2, __gu_addr + 1, err); (x) = __b1 | (__b2 << 8); } [all...] |
/external/chromium_org/tools/gn/ |
input_conversion_unittest.cc | 6 #include "tools/gn/err.h" 11 Err err; local 13 Value result = ConvertInputToValue(input, NULL, Value(NULL, "string"), &err); 14 EXPECT_FALSE(err.has_error()); 20 Err err; local 23 &err); 24 EXPECT_FALSE(err.has_error()); 33 Err err local 42 Err err; local 51 Err err; local 62 Err err; local 67 Err err; local [all...] |
functions_target.cc | 7 #include "tools/gn/err.h" 22 Err* err) { 23 if (!EnsureNotProcessingImport(function, scope, err) || 24 !EnsureNotProcessingBuildConfig(function, scope, err)) 28 args, &block_scope, err)) 31 block->ExecuteBlockInScope(&block_scope, err); 32 if (err->has_error()) 36 target_type, err); 38 block_scope.CheckForUnusedVars(err); [all...] |
/external/dropbear/libtommath/ |
bn_mp_prime_fermat.c | 29 int err; local 40 if ((err = mp_init (&t)) != MP_OKAY) { 41 return err; 45 if ((err = mp_exptmod (b, a, a, &t)) != MP_OKAY) { 54 err = MP_OKAY; 56 return err;
|
/frameworks/av/libvideoeditor/osal/inc/ |
LV_Macros.h | 34 * CHECK_PTR(fct, p, err, errValue) 35 * @note This macro checks the value p. If it is NULL, it sets the variable err 40 #define CHECK_PTR(fct, p, err, errValue) \ 44 (err) = (errValue) ; \ 52 * CHECK_ERR(fct, err) 53 * @note This macro checks the value err. If it is not NULL, a trace is displayed 58 #define CHECK_ERR(fct, err) \ 60 if(M4NO_ERROR != (err)) \ 63 __LINE__,err) ; \ 71 * CHECK_ERR(fct, err) [all...] |
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
Bmgr.java | 44 System.err.println("Exception caught:"); 57 System.err.println(BMGR_NOT_RUNNING_ERR); 105 System.err.println("Unknown command"); 119 System.err.println(e.toString()); 120 System.err.println(BMGR_NOT_RUNNING_ERR); 139 System.err.println(e.toString()); 140 System.err.println(BMGR_NOT_RUNNING_ERR); 148 System.err.println(e.toString()); 149 System.err.println(BMGR_NOT_RUNNING_ERR); 163 System.err.println(e.toString()) 261 int err = mRestore.getAvailableRestoreSets(observer); local 364 int err = mRestore.restorePackage(pkg, observer); local 391 int err = mRestore.getAvailableRestoreSets(observer); local [all...] |
/frameworks/av/libvideoeditor/vss/3gpwriter/src/ |
M4MP4W_Interface.c | 94 M4OSA_ERR err; local 133 err = M4MP4W_openWrite(&apContext->pMP4Context, outputFileDescriptor, 136 if (M4OSA_ERR_IS_ERROR(err)) 139 "M4MP4W_openWrite returns error 0x%x", err); 142 M4OSA_TRACE2_1("M4WRITER_3GP_openWrite: returning 0x%x", err); 144 return err; 165 M4OSA_ERR err; local 177 err = M4MP4W_startWriting(apContext->pMP4Context); 178 if (M4OSA_ERR_IS_ERROR(err)) 180 M4OSA_TRACE1_1("M4MP4W_startWriting returns error 0x%x", err); 210 M4OSA_ERR err; local 344 M4OSA_ERR err = M4NO_ERROR; local 400 M4OSA_ERR err = M4NO_ERROR; local 604 M4OSA_ERR err; local 709 M4OSA_ERR err; local 773 M4OSA_ERR err; local [all...] |
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_exptmod.c | 36 int err; local 54 if ((err = mp_init_multi(&tmp, &tmpa, &tmpb, NULL)) != CRYPT_OK) { return err; } 55 if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, (int)inlen)) != CRYPT_OK) { goto error; } 59 err = CRYPT_PK_INVALID_SIZE; 66 if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { goto error; } 69 if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { goto error; } 72 if ((err = mp_sub(tmpa, tmpb, tmp)) != CRYPT_OK) { goto error; } 73 if ((err = mp_mulmod(tmp, key->qP, key->p, tmp)) != CRYPT_OK) { goto error; } 76 if ((err = mp_mul(tmp, key->q, tmp)) != CRYPT_OK) { goto error; (…) [all...] |
/system/core/toolbox/ |
mkswap.c | 27 int err = 0; local 41 err = errno; 43 return err; 52 err = -ENOSPC; 53 goto err; 56 err = errno; 58 goto err; 67 err = errno; 69 goto err; 74 err = errno [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
decode_bwe.c | 34 int err; local 37 err = WebRtcIsac_DecodeFrameLen(streamdata, &frame_samples); 38 if(err < 0) // error check 40 return err; 42 err = WebRtcIsac_DecodeSendBW(streamdata, &index); 43 if(err < 0) // error check 45 return err; 49 err = WebRtcIsac_UpdateUplinkBwImpl(bwest_str, index, encoderSampRate); 50 if(err < 0) 52 return err; [all...] |
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_make_key.c | 31 int err; local 40 if ((err = prng_is_valid(wprng)) != CRYPT_OK) { 41 return err; 44 if ((err = mp_init_multi(&p, &q, &tmp1, &tmp2, NULL)) != CRYPT_OK) { 45 return err; 52 if ((err = rand_prime(q, -size, prng, wprng)) != CRYPT_OK) { goto done; } 53 if ((err = mp_sub_d(q, 1, tmp1)) != CRYPT_OK) { goto done; } 57 if ((err = rand_prime(p, size+1, prng, wprng)) != CRYPT_OK) { goto done; } 58 if ((err = mp_gcd(p, tmp1, tmp2)) != CRYPT_OK) { goto done; } 62 if ((err = mp_init_multi(&key->d, &key->N, &key->dQ, &key->dP [all...] |
/external/icu4c/samples/ufortune/ |
ufortune.c | 55 UBool displayUsage = FALSE; /* Set true if command line err or help */ 66 UErrorCode err = U_ZERO_ERROR; /* Error return, used for most ICU */ local 118 udata_setAppData("fortune_resources", &fortune_resources_dat, &err); 119 if (U_FAILURE(err)) { 120 fprintf(stderr, "%s: udata_setAppData failed with error \"%s\"\n", programName, u_errorName(err)); 127 myResources = ures_open("fortune_resources", locale, &err); 128 if (U_FAILURE(err)) { 129 fprintf(stderr, "%s: ures_open failed with error \"%s\"\n", programName, u_errorName(err)); 134 locale? locale: " ", u_errorName(err)); 142 const UChar *msg = ures_getStringByKey(myResources, "optionMessage", &len, &err); [all...] |
/external/bison/lib/glthread/ |
lock.c | 40 int err; local 42 err = pthread_rwlock_init (&lock->rwlock, NULL); 43 if (err != 0) 44 return err; 54 int err; local 56 err = pthread_mutex_lock (&lock->guard); 57 if (err != 0) 58 return err; 61 err = glthread_rwlock_init_multithreaded (lock); 62 if (err != 0 80 int err; local 112 int err; local 130 int err; local 149 int err; local 178 int err; local 205 int err; local 261 int err; local 287 int err; local 316 int err; local 345 int err; local 377 int err; local 395 int err; local 411 int err; local 534 int err; local 550 int err; local 596 int err; local [all...] |
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ltc_ecc_projective_add_point.c | 38 int err; local 46 if ((err = mp_init_multi(&t1, &t2, &x, &y, &z, NULL)) != CRYPT_OK) { 47 return err; 51 if ((err = mp_sub(modulus, Q->y, t1)) != CRYPT_OK) { goto done; } 60 if ((err = mp_copy(P->x, x)) != CRYPT_OK) { goto done; } 61 if ((err = mp_copy(P->y, y)) != CRYPT_OK) { goto done; } 62 if ((err = mp_copy(P->z, z)) != CRYPT_OK) { goto done; } 67 if ((err = mp_sqr(Q->z, t1)) != CRYPT_OK) { goto done; } 68 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } 70 if ((err = mp_mul(t1, x, x)) != CRYPT_OK) { goto done; [all...] |
/cts/tools/dasm/src/java_cup/ |
internal_error.java | 17 System.err.println("JavaCUP Fatal Internal Error Detected"); 18 System.err.println(getMessage());
|
/dalvik/dx/src/com/android/dx/command/ |
DxConsole.java | 24 * {@code System.err} but they can be changed to link to other 34 * Error output stream. Links to {@code System.err} by default. 36 public static PrintStream err = System.err; field in class:DxConsole
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
threads_posix.c | 35 int err; local 39 err = pthread_mutexattr_init(&stack_attr); 40 if (err != 0) 41 return err; 45 err = pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE); 46 if (err != 0) 49 err = pthread_mutex_init(mutex, attr); 55 return err;
|
/external/dropbear/libtomcrypt/src/mac/hmac/ |
hmac_memory.c | 37 int err; local 45 if ((err = hash_is_valid(hash)) != CRYPT_OK) { 46 return err; 61 if ((err = hmac_init(hmac, hash, key, keylen)) != CRYPT_OK) { 65 if ((err = hmac_process(hmac, in, inlen)) != CRYPT_OK) { 69 if ((err = hmac_done(hmac, out, outlen)) != CRYPT_OK) { 73 err = CRYPT_OK; 80 return err;
|
/external/dropbear/libtomcrypt/src/mac/omac/ |
omac_memory.c | 36 int err; local 45 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) { 46 return err; 61 if ((err = omac_init(omac, cipher, key, keylen)) != CRYPT_OK) { 64 if ((err = omac_process(omac, in, inlen)) != CRYPT_OK) { 67 if ((err = omac_done(omac, out, outlen)) != CRYPT_OK) { 71 err = CRYPT_OK; 78 return err;
|
/external/icu4c/extra/uconv/unicode/ |
uwmsg.h | 21 U_CFUNC UResourceBundle *u_wmsg_setPath(const char *path, UErrorCode *err); 27 U_CFUNC const UChar* u_wmsg_errorName(UErrorCode err);
|