/external/chromium_org/chrome/common/extensions/docs/server2/ |
mock_function_test.py | 14 def calc(a, b, mult=1): function in function:MockFunctionUnittest.testMockFunction 17 self.assertTrue(*calc.CheckAndReset(0)) 19 (False, 'calc: expected 1 call(s), got 0'), calc.CheckAndReset(1)) 21 self.assertEqual(20, calc(2, 3, mult=4)) 22 self.assertTrue(*calc.CheckAndReset(1)) 23 self.assertTrue(*calc.CheckAndReset(0)) 25 self.assertEqual(20, calc(2, 3, mult=4)) 27 (False, 'calc: expected 0 call(s), got 1'), calc.CheckAndReset(0) [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
ColorButton.java | 41 Calculator calc = (Calculator) context; local 42 mListener = calc.mListener;
|
/bionic/libc/bionic/ |
md5.c | 76 calc (struct md5 *m, u_int32_t *data) function 232 calc(m, current); 234 calc(m, (u_int32_t*)m->save);
|
/external/chromium_org/sandbox/win/src/ |
file_policy_test.cc | 249 L"calc.exe")); 251 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"File_CreateSys32 calc.exe")); 254 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"File_CreateSys32 calc.exe")); 259 EXPECT_TRUE(runner.AddRuleSys32(TargetPolicy::FILES_ALLOW_ANY, L"calc.exe")); 261 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"File_CreateSys32 calc.exe")); 264 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"File_CreateSys32 calc.exe")); 268 base::string16 calc = MakePathToSys(L"calc.exe", false); local 270 ASSERT_TRUE(GetNtPathFromWin32Path(calc, &nt_path)); 495 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"File_Win32Create calc.exe")) [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 181 long calc = (year / 400) * MILLISECONDS_PER_400_YEARS; local 184 calc += year * (365 * MILLISECONDS_PER_DAY); 185 calc += ((year + 3) / 4) * MILLISECONDS_PER_DAY; 188 calc -= ((year - 1) / 100) * MILLISECONDS_PER_DAY; 194 calc += mlen[month] * MILLISECONDS_PER_DAY; 195 calc += (day - 1) * MILLISECONDS_PER_DAY; 196 calc += millis; 198 calc -= mRawOffset; 199 calc -= UNIX_OFFSET; 201 return getOffset(calc); [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
SignerInformation.java | 379 DigestCalculator calc = verifier.getDigestCalculator(this.getDigestAlgorithmID()); local 382 OutputStream digOut = calc.getOutputStream(); 417 resultDigest = calc.getDigest();
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSPrimitiveValue.h | 303 CSSCalcValue* cssCalcValue() const { return m_primitiveUnitType != CSS_CALC ? 0 : m_value.calc; } 383 CSSCalcValue* calc; member in union:WebCore::CSSPrimitiveValue::__anon13344
|
/external/chromium_org/v8/test/cctest/ |
test-regexp.cc | 1545 int calc = first[j] + i; local [all...] |
/external/v8/test/cctest/ |
test-regexp.cc | 1494 int calc = first[j] + i; local [all...] |
/external/opencv/ml/src/ |
mlsvm.cpp | 208 CvSVMKernel::CvSVMKernel( const CvSVMParams* _params, Calc _calc_func ) 215 bool CvSVMKernel::create( const CvSVMParams* _params, Calc _calc_func ) 322 void CvSVMKernel::calc( int vcount, int var_count, const float** vecs, function in class:CvSVMKernel 506 kernel->calc( sample_count, var_count, samples, samples[i1], row->data ); [all...] |