/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strtod.py | 22 (?:E(?P<exp>[-+]?\d+))? # and an optional exponent 41 exp = int(m.group('exp') or '0') - len(fraction) 43 a, b = intpart*10**max(exp, 0), 10**max(0, -exp)
|
test_math.py | 102 exp = rhs_pieces[0] 105 yield (id, fn, float(arg), float(exp), flags) 356 self.assertRaises(TypeError, math.exp) 357 self.ftest('exp(-1)', math.exp(-1), 1/math.e) 358 self.ftest('exp(0)', math.exp(0), 1) 359 self.ftest('exp(1)', math.exp(1), math.e) 360 self.assertEqual(math.exp(INF), INF [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_math.py | 102 exp = rhs_pieces[0] 105 yield (id, fn, float(arg), float(exp), flags) 356 self.assertRaises(TypeError, math.exp) 357 self.ftest('exp(-1)', math.exp(-1), 1/math.e) 358 self.ftest('exp(0)', math.exp(0), 1) 359 self.ftest('exp(1)', math.exp(1), math.e) 360 self.assertEqual(math.exp(INF), INF [all...] |
/external/eigen/unsupported/test/ |
NonLinearOptimization.cpp | 644 fvec[i] = exp(-b[0]*x)/(b[1]+b[2]*x) - m_y[i]; 656 double e = exp(-b[0]*x); 728 fvec[i] = b[0]*(1.-exp(-b[1]*m_x[i])) - m_y[i] ; 738 fjac(i,0) = (1.-exp(-b[1]*m_x[i])); 739 fjac(i,1) = (b[0]*m_x[i]*exp(-b[1]*m_x[i])); 975 fvec[i] = b[0]*exp(-b[1]*x[i]) + b[2]*exp(-b[3]*x[i]) + b[4]*exp(-b[5]*x[i]) - y[i]; 984 fjac(i,0) = exp(-b[1]*x[i]); 985 fjac(i,1) = -b[0]*x[i]*exp(-b[1]*x[i]) [all...] |
/external/chromium/net/base/ |
dnssec_keyset.cc | 356 unsigned exp = 0; local 358 exp <<= 8; 359 exp |= static_cast<unsigned>(data[exp_offset + i]); 369 // If the MSB of exp is true then we need to prefix a zero byte to stop the 371 if (exp & (1 << ((8 * exp_length) - 1))) 451 out[j++] = exp >> (8 * i);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
usettest.cpp | 273 UnicodeString exp; local 274 exp.append((UChar)0x0000).append("aeeoouu").append((UChar)(0x007a+1)).append((UChar)0xFFFF); 275 expectPairs(set, exp); 586 UnicodeSet exp((UChar32)3,(UChar32)15); 587 if (c == exp) { 590 errln((UnicodeString)"FAIL: c.set(a).add(b) = " + c + ", expect " + exp); 593 exp.set((UChar32)0, (UChar32)2); 594 exp.add((UChar32)16, UnicodeSet::MAX_VALUE); 595 if (c == exp) { 598 errln((UnicodeString)"FAIL: c.complement() = " + c + ", expect " + exp); 1388 const char exp[] = local [all...] |
/external/icu4c/test/intltest/ |
usettest.cpp | 273 UnicodeString exp; local 274 exp.append((UChar)0x0000).append("aeeoouu").append((UChar)(0x007a+1)).append((UChar)0xFFFF); 275 expectPairs(set, exp); 586 UnicodeSet exp((UChar32)3,(UChar32)15); 587 if (c == exp) { 590 errln((UnicodeString)"FAIL: c.set(a).add(b) = " + c + ", expect " + exp); 593 exp.set((UChar32)0, (UChar32)2); 594 exp.add((UChar32)16, UnicodeSet::MAX_VALUE); 595 if (c == exp) { 598 errln((UnicodeString)"FAIL: c.complement() = " + c + ", expect " + exp); 1388 const char exp[] = local [all...] |
/system/core/include/private/pixelflinger/ |
ggl_fixed.h | 505 int32_t exp = 31; 506 if (x & 0xFFFF0000) { exp -=16; x >>= 16; } 507 if (x & 0x0000ff00) { exp -= 8; x >>= 8; } 508 if (x & 0x000000f0) { exp -= 4; x >>= 4; } 509 if (x & 0x0000000c) { exp -= 2; x >>= 2; } 510 if (x & 0x00000002) { exp -= 1; } 511 return exp;
|
/external/chromium/testing/gtest/scripts/ |
pump.py | 300 return MakeToken(lines, start, pos, 'exp') 337 exp_token = ParseToken(lines, pos, REST_OF_LINE_REGEX, 'exp') 356 yield MakeToken(lines, pos, dots_pos, 'exp') 360 yield MakeToken(lines, pos, new_pos, 'exp') 421 def __init__(self, exp=None, then_branch=None, else_branch=None): 422 self.exp = exp 490 exp = Pop('code') 495 return CodeNode([IfNode(ParseExpNode(exp), code_node, inner_else_node)]) 515 if next.token_type == 'exp' [all...] |
/external/chromium_org/testing/gtest/scripts/ |
pump.py | 300 return MakeToken(lines, start, pos, 'exp') 337 exp_token = ParseToken(lines, pos, REST_OF_LINE_REGEX, 'exp') 356 yield MakeToken(lines, pos, dots_pos, 'exp') 360 yield MakeToken(lines, pos, new_pos, 'exp') 421 def __init__(self, exp=None, then_branch=None, else_branch=None): 422 self.exp = exp 490 exp = Pop('code') 495 return CodeNode([IfNode(ParseExpNode(exp), code_node, inner_else_node)]) 515 if next.token_type == 'exp' [all...] |
/external/gtest/scripts/ |
pump.py | 300 return MakeToken(lines, start, pos, 'exp') 337 exp_token = ParseToken(lines, pos, REST_OF_LINE_REGEX, 'exp') 356 yield MakeToken(lines, pos, dots_pos, 'exp') 360 yield MakeToken(lines, pos, new_pos, 'exp') 421 def __init__(self, exp=None, then_branch=None, else_branch=None): 422 self.exp = exp 490 exp = Pop('code') 495 return CodeNode([IfNode(ParseExpNode(exp), code_node, inner_else_node)]) 515 if next.token_type == 'exp' [all...] |
/external/libvpx/libvpx/third_party/googletest/src/scripts/ |
pump.py | 300 return MakeToken(lines, start, pos, 'exp') 337 exp_token = ParseToken(lines, pos, REST_OF_LINE_REGEX, 'exp') 356 yield MakeToken(lines, pos, dots_pos, 'exp') 360 yield MakeToken(lines, pos, new_pos, 'exp') 421 def __init__(self, exp=None, then_branch=None, else_branch=None): 422 self.exp = exp 490 exp = Pop('code') 495 return CodeNode([IfNode(ParseExpNode(exp), code_node, inner_else_node)]) 515 if next.token_type == 'exp' [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
LongMathTest.java | 272 for (int exp : EXPONENTS) { 273 assertEquals(LongMath.pow(i, exp), valueOf(i) 274 .pow(exp) 466 for (int exp : EXPONENTS) { 467 BigInteger expectedResult = valueOf(b).pow(exp); 470 assertEquals(expectedResult.longValue(), LongMath.checkedPow(b, exp));
|
/external/icu4c/common/ |
uchar.c | 415 int32_t exp=(ntv&0x1f)+2; local 418 /* multiply by 10^exp without math.h */ 419 while(exp>=4) { 421 exp-=4; 423 switch(exp) { 442 int32_t exp=(ntv&3)+1; local 444 switch(exp) {
|
/external/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 368 _STLP_DMATH_INLINE(exp) 439 _STLP_DEF_MATH_INLINE(exp, exp) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 561 using ::exp;
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
dtx_decoder_amr_wb.cpp | 213 int16 tmp, exp, exp0, log_en_int_e, log_en_int_m, level; local 406 ener32 = Dot_product12(exc2, exc2, L_FRAME, &exp); 408 one_ov_sqrt_norm(&ener32, &exp); 414 exp += exp0; 417 exp += 4; 422 exc2[i] = shl_int16(tmp, exp);
|
/hardware/libhardware/tests/camera2/ |
CameraBurstTests.cpp | 52 #define WARN_LE(exp, act) WARN_UNLESS((exp) <= (act)) 53 #define WARN_LT(exp, act) WARN_UNLESS((exp) < (act)) 54 #define WARN_GT(exp, act) WARN_UNLESS((exp) > (act)) 324 // Bound for two captures with equivalent exp values to have the same
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 368 _STLP_DMATH_INLINE(exp) 439 _STLP_DEF_MATH_INLINE(exp, exp) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 561 using ::exp;
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 368 _STLP_DMATH_INLINE(exp) 439 _STLP_DEF_MATH_INLINE(exp, exp) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 561 using ::exp;
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 368 _STLP_DMATH_INLINE(exp) 439 _STLP_DEF_MATH_INLINE(exp, exp) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 561 using ::exp;
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 368 _STLP_DMATH_INLINE(exp) 439 _STLP_DEF_MATH_INLINE(exp, exp) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 561 using ::exp;
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 368 _STLP_DMATH_INLINE(exp) 439 _STLP_DEF_MATH_INLINE(exp, exp) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 561 using ::exp;
|
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_cmath.h | 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 368 _STLP_DMATH_INLINE(exp) 439 _STLP_DEF_MATH_INLINE(exp, exp) 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 561 using ::exp;
|
/device/lge/mako/camera/ |
QCameraStream.h | 53 int exp[MAX_HDR_EXP_FRAME_NUM]; member in struct:snap_hdr_record_t_ 134 virtual void InitHdrInfoForSnapshot(bool HDR_on, int number_frames, int *exp ) {}; 288 void InitHdrInfoForSnapshot(bool HDR_on, int number_frames, int *exp );
|
/external/apache-xml/src/main/java/org/apache/xpath/ |
XPath.java | 95 * @param exp the raw Expression object, which should not normally be null. 97 public void setExpression(Expression exp) 100 exp.exprSetParent(m_mainExp.exprGetParent()); // a bit bogus 101 m_mainExp = exp;
|