/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
MatrixUtilsTests.java | 30 private static void assertEqualsFloat(float f0, float f1) { 31 assertEqualsFloat(f0, f1, EPSILON); 34 /* package */ static void assertEqualsFloat(float f0, float f1, float error) { 35 assertTrue(Math.abs(f0 - f1) < error);
|
/external/chromium_org/v8/test/mjsunit/ |
concurrent-initial-prototype-change.js | 36 function f1(a, i) { function 41 assertEquals(0.5, f1(arr, 0)); 42 assertEquals(0.5, f1(arr, 0)); 44 // Optimized code of f1 depends on initial object and array maps. 45 %OptimizeFunctionOnNextCall(f1, "concurrent"); 47 assertEquals(0.5, f1(arr, 0)); 50 assertEquals(2, f1(arr, 1)); 52 assertUnoptimized(f1, "no sync"); 57 assertUnoptimized(f1, "sync"); 59 %ClearFunctionTypeFeedback(f1); [all...] |
elide-double-hole-check-5.js | 30 function f1(a, i) { function 34 assertEquals(0.5, f1(arr, 0)); 35 assertEquals(0.5, f1(arr, 0)); 37 %OptimizeFunctionOnNextCall(f1); 38 assertEquals(2, f1(arr, 1)); 39 assertEquals(2, f1(arr, 1)); 40 assertEquals(0.5, f1(arr, 0));
|
elide-double-hole-check-7.js | 30 function f1(a, i) { function 34 assertEquals(0.5, f1(arr, 0)); 35 assertEquals(0.5, f1(arr, 0)); 37 assertEquals(2, f1(arr, 1)); 38 %OptimizeFunctionOnNextCall(f1); 39 assertEquals(2, f1(arr, 1)); 40 assertEquals(0.5, f1(arr, 0));
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
lsp_az.cpp | 94 F1(z) and F2(z), and Lsp_Az, which converts LSP to LPC by multiplying 95 F1(z) by 1+z^(-1) and F2(z) by 1-z^(-1), then calculating A(z) = (F1(z) + 160 This function finds the polynomial F1(z) or F2(z) from the LSPs. If the LSP 161 vector is passed at address 0, F1(z) is computed and if it is passed at 166 F1(z) = product ( 1 - 2 lsp[i] z^-1 + z^-2 ) 438 (1) Find the coefficients of F1(z) and F2(z) (see Get_lsp_pol) 439 (2) Multiply F1(z) by 1+z^{-1} and F2(z) by 1-z^{-1} 440 (3) A(z) = ( F1(z) + F2(z) ) / 2 461 Word32 f1[6], f2[6] 517 Word32 f1[6]; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileTest.java | 154 File f1 = new File("a"); local 156 assertEquals("Trailing slash file name is incorrect", f1, f2); 332 File f1 = new File("thisFile.file"); local 335 assertEquals("Equal files did not answer zero for compareTo", 0, f1 337 assertTrue("f3.compareTo(f1) did not result in value < 0", f3 338 .compareTo(f1) < 0); 339 assertTrue("f1.compareTo(f3) did not result in value > 0", f1 380 File f1 = new File(dir, "tempfile.tst"); local 381 f1.createNewFile() 389 File f1 = new File(dir, "tempfile.tst"); local 451 File f1 = null; local 524 File f1 = null; local 670 File f1 = new File("filechk.tst"); local 841 File f1 = new File(testdir, "longfilename" + platformId + ".tst"); local 910 File f1 = new File("\/directory"); local 961 File f1; local 1044 File f1 = new File("\\\\test"); local 1062 File f1 = new File("\\\\test"); local 1118 File f1 = File.createTempFile("harmony-test-FileTest_notHidden_", ".tmp"); local 1872 File f1 = null; local 1930 File f1 = null; local [all...] |
/external/chromium_org/v8/test/mjsunit/tools/ |
profile.js | 69 'lib1-f1': 0x11110, 'lib1-f2': 0x11210, 70 'lib2-f1': 0x21110, 'lib2-f2': 0x21210, 71 'T: F1': 0x50110, 'T: F2': 0x50210, 'T: F3': 0x50410 }; 76 this.profile.addStaticCode('lib1-f1', 0x11100, 0x11900); 79 this.profile.addStaticCode('lib2-f1', 0x21100, 0x21900); 81 this.profile.addCode('T', 'F1', 0x50100, 0x100); 106 this.enter('lib1-f1'); 108 this.enter('T: F1'); 112 this.enter('lib2-f1'); 113 this.enter('lib2-f1'); [all...] |
/external/chromium_org/v8/test/mjsunit/compiler/ |
optimized-function-calls.js | 61 function f1(a) { function 78 return f4(f3(f2(f1(f0()),f0()),f1(f0()),f0()),f2(f1(f0()),f0()),f1(f0()),f0()) 79 + f4(f0(),f1(f0()),f2(f1(f0()),f0()),f3(f2(f1(f0()),f0()),f1(f0()),f0()));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
ChoiceFormatTest.java | 35 ChoiceFormat f1 = new ChoiceFormat(limits, formats); field in class:ChoiceFormatTest 141 ChoiceFormat f = (ChoiceFormat) f1.clone(); 198 ChoiceFormat f = (ChoiceFormat) f1.clone(); 199 assertTrue("Not equal", f.equals(f1)); 201 assertTrue("Equal", !f.equals(f1)); 240 assertTrue("Not equal", f1.equals(f2)); 253 String r = f1.format(-1, buf, field).toString(); 256 r = f1.format(0, buf, field).toString(); 259 r = f1.format(1, buf, field).toString(); 262 r = f1.format(2, buf, field).toString() [all...] |
/external/clang/test/CXX/class/class.mem/ |
p2.cpp | 47 void f1() throw(A2); 52 void f1() throw(A2);
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/ |
p3.cpp | 61 f1(R(a)(B1)); 64 { f1(N::f0<int>); }
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
basic.cpp | 12 template<typename T> void f1(T*, int); 15 f1(ip, fv);
|
/external/clang/test/CXX/temp/temp.spec/ |
no-body.cpp | 44 template<typename T> void f1(T) { } function 51 template void f1<int>(int) { } // expected-error {{explicit template instantiation cannot have a definition; if this definition is meant to be an explicit specialization, add '<>' after the 'template' keyword}} \ function in namespace:args_bad 52 expected-error {{no function template matches function template specialization 'f1'}}
|
/external/clang/test/CodeGen/ |
alias.c | 14 extern void f1(void); 15 extern void f1(void) __attribute((alias("f0"))); 16 // CHECKBASIC-DAG: @f1 = alias void ()* @f0
|
/external/clang/test/Sema/ |
attr-availability-ios.c | 4 void f1(int) __attribute__((availability(ios,introduced=2.1))); 15 f1(0);
|
attr-availability-macosx.c | 4 void f1(int) __attribute__((availability(macosx,introduced=10.5))); 12 f1(0);
|
/external/clang/test/SemaCXX/ |
attr-nonnull.cpp | 26 __attribute__((nonnull)) void f1(int * const &p); 30 f1(0); // expected-warning{{null passed to a callee which requires a non-null argument}}
|
composite-pointer-type.cpp | 18 void f1(volatile Base *b, Derived1 *d1, const Derived2 *d2) { function 55 bool f1(bool b, void **p, const void **q) { function
|
constructor.cpp | 69 void f1(); 78 void A::S::f1() {} function in class:A::S
|
warn-unused-value.cpp | 28 void b(Foo f1, Foo f2) { 29 NOP(f1 == f2); // expected-warning {{expression result unused}}
|
/external/clang/test/SemaTemplate/ |
explicit-specialization-member.cpp | 7 void f1(type); 11 template<> void X0<char>::f1(type);
|
/external/compiler-rt/test/builtins/Unit/ |
enable_execute_stack_test.c | 60 pfunc f1 = (pfunc)(uintptr_t)execution_buffer; local 61 if ((*f1)() != 1)
|
/external/libcxx/test/utilities/function.objects/func.require/ |
invoke.pass.cpp | 27 Array<char, 1>::type& f1(); 40 static_assert(sizeof(std::__invoke(&Type::f1, std::declval<Type >())) == 1, "");
|
/external/libcxx/test/utilities/function.objects/refwrap/refwrap.assign/ |
copy_assign.pass.cpp | 52 functor1 f1; local 53 test(f1);
|
/external/llvm/test/MC/Mips/ |
elf-tls.s | 18 .globl f1 20 .type f1,@function 22 .ent f1 23 f1: # @f1 label 46 .end f1 48 .size f1, ($tmp0)-f1
|