/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-arm/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-3/arch-arm/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-4/arch-arm/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-5/arch-arm/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-8/arch-arm/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/sys/ |
time.h | 56 #define timeradd(a, b, res) \ 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 60 if ((res)->tv_usec >= 1000000) { \ 61 (res)->tv_usec -= 1000000; \ 62 (res)->tv_sec += 1; \ 66 #define timersub(a, b, res) \ 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ 70 if ((res)->tv_usec < 0) { [all...] |
/external/dropbear/libtommath/ |
bn_fast_mp_invmod.c | 27 int res, neg; local 35 if ((res = mp_init_multi(&x, &y, &u, &v, &B, &D, NULL)) != MP_OKAY) { 36 return res; 40 if ((res = mp_copy (b, &x)) != MP_OKAY) { 45 if ((res = mp_mod (a, b, &y)) != MP_OKAY) { 50 if ((res = mp_copy (&x, &u)) != MP_OKAY) { 53 if ((res = mp_copy (&y, &v)) != MP_OKAY) { 62 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { 67 if ((res = mp_sub (&B, &x, &B)) != MP_OKAY) { 72 if ((res = mp_div_2 (&B, &B)) != MP_OKAY) [all...] |
bn_mp_invmod_slow.c | 22 int res; local 30 if ((res = mp_init_multi(&x, &y, &u, &v, 32 return res; 36 if ((res = mp_mod(a, b, &x)) != MP_OKAY) { 39 if ((res = mp_copy (b, &y)) != MP_OKAY) { 45 res = MP_VAL; 50 if ((res = mp_copy (&x, &u)) != MP_OKAY) { 53 if ((res = mp_copy (&y, &v)) != MP_OKAY) { 63 if ((res = mp_div_2 (&u, &u)) != MP_OKAY) { 69 if ((res = mp_add (&A, &y, &A)) != MP_OKAY) [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
slesTestPlayUri.cpp | 132 SLresult res; local 152 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 153 CheckErr(res); 167 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, 168 iidArray, required); CheckErr(res); 171 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); 172 CheckErr(res); 191 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 192 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); 195 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res) 325 SLresult res; local [all...] |
slesTestGetPositionUri.cpp | 69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); local 72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res); 96 SLresult res; local 100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); 113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); 118 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res) 134 SLresult res; local 316 SLresult res; local [all...] |
/cts/tests/tests/nativemedia/xa/src/ |
XAObjectCreationTest.cpp | 35 bool IsOk(XAresult res) { 36 if (XA_RESULT_SUCCESS != res) { 37 fprintf(stderr, "IsOk failure: 0x%x, exiting\n", res); 47 XAresult res; member in class:XAObjectCreationTest 73 res = XA_RESULT_UNKNOWN_ERROR; 79 res = xaCreateEngine(&engineObj, 0, NULL, 0, NULL, NULL); 80 ASSERT_TRUE(IsOk(res)); 81 res = (*engineObj)->Realize(engineObj, XA_BOOLEAN_FALSE); 82 ASSERT_TRUE(IsOk(res)); 83 res = (*engineObj)->GetInterface(engineObj, XA_IID_ENGINE, &engineItf) [all...] |
/dalvik/vm/compiler/codegen/arm/ |
ArmRallocUtil.cpp | 78 RegLocation res = LOC_C_RETURN_WIDE; local 83 dvmCompilerMarkPair(cUnit, res.lowReg, res.highReg); 84 return res; 89 RegLocation res = LOC_C_RETURN_WIDE; local 90 res.lowReg = r2; 91 res.highReg = r3; 96 dvmCompilerMarkPair(cUnit, res.lowReg, res.highReg); 97 return res; 102 RegLocation res = LOC_C_RETURN; local 110 RegLocation res = LOC_C_RETURN; local [all...] |
/external/valgrind/main/none/tests/amd64/ |
lzcnt64.c | 8 void do_lzcnt64 ( /*OUT*/UInt* flags, /*OUT*/ULong* res, ULong arg ) 20 *res = block[1]; 25 void do_lzcnt32 ( /*OUT*/UInt* flags, /*OUT*/ULong* res, ULong arg ) 37 *res = block[1]; 42 void do_lzcnt16 ( /*OUT*/UInt* flags, /*OUT*/ULong* res, ULong arg ) 54 *res = block[1]; 64 ULong res; local 66 do_lzcnt64(&flags, &res, w); 67 printf("lzcntq %016llx -> %016llx %04x\n", w, res, flags); 74 ULong res; local 84 ULong res; local [all...] |
/external/webkit/Source/WebCore/loader/cache/ |
CachedResourceHandle.h | 47 CachedResourceHandleBase(CachedResource* res) { m_resource = res; if (m_resource) m_resource->registerHandle(this); } 63 CachedResourceHandle(R* res); 69 CachedResourceHandle& operator=(R* res) { setResource(res); return *this; } 82 CachedResourceHandle<R>::CachedResourceHandle(R* res) : CachedResourceHandleBase(res) 86 template <class R, class RR> bool operator==(const CachedResourceHandle<R>& h, const RR* res) 88 return h.get() == res; 90 template <class R, class RR> bool operator==(const RR* res, const CachedResourceHandle<R>& h) [all...] |
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalScaleOperationsTest.java | 31 BigDecimal res = a.movePointRight(10); local 32 assertEquals("incorrect scale", 24, res.scale()); 33 assertEquals("incorrect value", "123456789012345.678901234567890123456789", res.toString()); 34 res = a.movePointRight(-50); 35 assertEquals("incorrect scale", 84, res.scale()); 36 assertEquals("incorrect value", "1.23456789012345678901234567890123456789E-46", res.toString()); 56 BigDecimal res = a.movePointRight(10); local 57 assertEquals("incorrect scale", 24, res.scale()); 58 assertEquals("incorrect value", "123456789012345.678901234567890123456789", res.toString()); 59 res = a.scaleByPowerOfTen(-50) [all...] |
/external/valgrind/main/VEX/test/ |
test-i386-shift.h | 10 #define EXECSHIFT(size, res, s1, s2, flags) \ 16 : "=g" (res), "=g" (flags)\ 17 : "r" (s1), "0" (res), "1" (flags)); 19 #define EXECSHIFT(size, res, s1, s2, flags) \ 25 : "=q" (res), "=g" (flags)\ 26 : "c" (s1), "0" (res), "1" (flags)); 31 int res, flags; local 32 res = s0; 34 EXECSHIFT("", res, s1, s2, flags); 39 stringify(OP) "l", s0, s1, res, iflags, flags & CC_MASK) 44 int res, flags; local 67 int res, flags; local 80 int res, flags; local 96 int res, flags; local [all...] |
/external/valgrind/main/none/tests/x86/ |
bt_everything.c | 9 unsigned char res; local 13 : "=m" (*base), "=q" (res) 18 return res; 23 unsigned char res; local 27 : "=m" (*base), "=q" (res) 29 return res; 34 unsigned char res; local 38 : "=m" (*base), "=q" (res) 40 return res; 45 unsigned char res; local 61 unsigned char res; local 79 unsigned char res; local 97 unsigned char res; local 115 unsigned char res; local 146 UInt carrydep, c, res; local [all...] |
/external/eigen/test/ |
sparse_permutations.cpp | 27 OtherSparseMatrixType res; local 47 res = mat*p; 49 VERIFY(res.isApprox(res_d) && "mat*p"); 51 res = p*mat; 53 VERIFY(res.isApprox(res_d) && "p*mat"); 55 res = mat*p.inverse(); 57 VERIFY(res.isApprox(res_d) && "mat*inv(p)"); 59 res = p.inverse()*mat; 61 VERIFY(res.isApprox(res_d) && "inv(p)*mat"); 63 res = mat.twistedBy(p) [all...] |
/dalvik/vm/compiler/codegen/mips/Mips32/ |
Ralloc.cpp | 34 int res = 0; local 40 res = (lowReg & 0xff) | ((highReg & 0xff) << 8); 41 return res; 47 res = (lowReg & 0xff) | ((highReg & 0xff) << 8); 48 return res;
|