/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
pass-struct.c | 12 // CHECK: $1 = {n = 10, n2 = {20, 21}} 17 int n2[2]; member in struct:int_struct 23 s.n2[1]++; 24 return s.n > s.n2[0] ? s.n : s.n2[0]; 32 s.n2[0] = 20; 33 s.n2[1] = 21;
|
/external/stlport/test/unit/ |
lexcmp_test.cpp | 35 char n2[size] = "shine"; local 37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); 44 char n2[size] = "shine"; local 46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>());
|
mismatch_test.cpp | 41 int n2[5] = { 1, 2, 3, 4, 5 }; local 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); 72 char const* n2[size]; local 73 copy(n1, n1 + 5, (char const**)n2); 74 pair <char const**, char const**> result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); 78 n2[2] = "QED"; 79 result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 80 CPPUNIT_ASSERT(!(result.first == n2 + size && result.second == n2 + size)) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
lexcmp_test.cpp | 35 char n2[size] = "shine"; local 37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); 44 char n2[size] = "shine"; local 46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>());
|
mismatch_test.cpp | 41 int n2[5] = { 1, 2, 3, 4, 5 }; local 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); 72 char const* n2[size]; local 73 copy(n1, n1 + 5, (char const**)n2); 74 pair <char const**, char const**> result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); 78 n2[2] = "QED"; 79 result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 80 CPPUNIT_ASSERT(!(result.first == n2 + size && result.second == n2 + size)) [all...] |
/ndk/tests/device/test-stlport/unit/ |
lexcmp_test.cpp | 35 char n2[size] = "shine"; local 37 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size); 44 char n2[size] = "shine"; local 46 bool before = lexicographical_compare(n1, n1 + size, n2, n2 + size, greater<char>());
|
mismatch_test.cpp | 41 int n2[5] = { 1, 2, 3, 4, 5 }; local 44 pair <int*, int*> result = mismatch((int*)n1, (int*)n1 + 5, (int*)n2); 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); 72 char const* n2[size]; local 73 copy(n1, n1 + 5, (char const**)n2); 74 pair <char const**, char const**> result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); 78 n2[2] = "QED"; 79 result = mismatch((char const**)n1, (char const**)n1 + size, (char const**)n2, str_equal); 80 CPPUNIT_ASSERT(!(result.first == n2 + size && result.second == n2 + size)) [all...] |
/external/flac/include/share/ |
alloc.h | 29 // malloc(n1 * n2) then memset to zero 30 static inline void *safe_calloc_(size_t n1, size_t n2) 33 return calloc(n1, n2); 36 // malloc(n1 + n2) 37 static inline void *safe_malloc_add_2op_(size_t n1, size_t n2) 39 unsigned long long n = n1 + n2; 45 // malloc(n1 * n2) 46 static inline void *safe_malloc_mul_2op_(size_t n1, size_t n2) 48 unsigned long long n = n1 * n2; 54 // malloc(n1 * (n2 + n3) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale/locale.operators/ |
eq.pass.cpp | 24 std::locale n2(LOCALE_en_US_UTF_8); 32 assert(cloc != n2); 40 assert(copy != n2); 48 assert(n1 == n2); 53 assert(n2 != cloc); 54 assert(n2 != copy); 55 assert(n2 == n1); 56 assert(n2 == n2); 57 assert(n2 != noname1) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/NumberFormatting/ |
tostring-001.js | 31 var n2 = 1.6e24; 38 reportCompare ("1.6e+24", n2.toString(), "1.6e24 toString()");
|
/external/clang/test/Sema/ |
attr-section.c | 14 __attribute__((section("NEAR,x"))) static int n2; // ok. local
|
/ndk/sources/cxx-stl/llvm-libc++/src/ |
string.cpp | 375 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%d", val)); local 376 if (n2 <= s.size()) 378 s.resize(n2); 381 s.resize(n2); 392 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%u", val)); local 393 if (n2 <= s.size()) 395 s.resize(n2); 398 s.resize(n2); 409 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%ld", val)); local 410 if (n2 <= s.size() 426 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%lu", val)); local 443 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%lld", val)); local 460 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%llu", val)); local 477 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%f", val)); local 494 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%f", val)); local 511 size_t n2 = static_cast<size_t>(snprintf(&s[0], s.size()+1, "%Lf", val)); local 531 int n2 = swprintf(&s[0], s.size()+1, L"%d", val); local 552 int n2 = swprintf(&s[0], s.size()+1, L"%u", val); local 573 int n2 = swprintf(&s[0], s.size()+1, L"%ld", val); local 594 int n2 = swprintf(&s[0], s.size()+1, L"%lu", val); local 615 int n2 = swprintf(&s[0], s.size()+1, L"%lld", val); local 636 int n2 = swprintf(&s[0], s.size()+1, L"%llu", val); local 655 int n2 = swprintf(&s[0], s.size()+1, L"%f", val); local 674 int n2 = swprintf(&s[0], s.size()+1, L"%f", val); local 693 int n2 = swprintf(&s[0], s.size()+1, L"%Lf", val); local [all...] |
/external/openssl/crypto/bn/ |
bn_mul.c | 382 /* r is 2*n2 words in size, 383 * a and b are both n2 words in size. 384 * n2 must be a power of 2. 386 * t must be 2*n2 words in size 392 /* dnX may not be positive, but n2/2+dnX has to be */ 393 void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, 396 int n=n2/2,c1,c2; 402 fprintf(stderr," bn_mul_recursive %d%+d * %d%+d\n",n2,dna,n2,dnb); 406 if (n2 == 4 553 int i,j,n2=n*2; local [all...] |
bn_sqr.c | 206 void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t) 208 int n=n2/2; 213 fprintf(stderr," bn_sqr_recursive %d * %d\n",n2,n2); 215 if (n2 == 4) 224 else if (n2 == 8) 233 if (n2 < BN_SQR_RECURSIVE_SIZE_NORMAL) 235 bn_sqr_normal(r,a,n2,t); 249 p= &(t[n2*2]); 252 bn_sqr_recursive(&(t[n2]),t,n,p) [all...] |
/external/icu4c/common/ |
unorm.cpp | 51 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); local 52 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 59 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); local 61 FilteredNormalizer2 fn2(*n2, *uniset_getUnicode32Instance(*pErrorCode)); 66 return unorm2_quickCheck((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 74 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); local 75 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode); 82 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); local 84 FilteredNormalizer2 fn2(*n2, *uniset_getUnicode32Instance(*pErrorCode)); 89 return unorm2_isNormalized((const UNormalizer2 *)n2, src, srcLength, pErrorCode) 101 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); local 182 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); local 266 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); local [all...] |
/external/bzip2/ |
bzmore | 16 n1=''; n2='\c' 18 n1='-n'; n2='' 44 echo $n1 "--More--(Next file: $FILE)$n2"
|
/external/chromium/base/ |
linked_list_unittest.cc | 85 Node n2(2); 86 list.Append(&n2); 89 EXPECT_EQ(&n2, list.tail()); 110 Node n2(2); 116 list.Append(&n2); 151 EXPECT_EQ(&n2, list.head()); 159 n2.RemoveFromList(); 168 list.Append(&n2); 185 Node n2(2); 190 list.Append(&n2); [all...] |
/external/libsepol/src/ |
ebitmap.c | 20 ebitmap_node_t *n1, *n2, *new, *prev; local 25 n2 = e2->node; 27 while (n1 || n2) { 34 if (n1 && n2 && n1->startbit == n2->startbit) { 36 new->map = n1->map | n2->map; 38 n2 = n2->next; 39 } else if (!n2 || (n1 && n1->startbit < n2->startbit)) 152 ebitmap_node_t *n1, *n2; local 202 ebitmap_node_t *n1, *n2; local [all...] |
/external/openssl/crypto/rand/ |
randtest.c | 73 unsigned long n2[16]; local 87 for (i=0; i<16; i++) n2[i]=0; 97 n2[j&0x0f]++; 98 n2[(j>>4)&0x0f]++; 137 d+=n2[i]*n2[i]; 147 d+=n2[i]*n2[i];
|
/external/chromium/testing/gtest/samples/ |
sample3_unittest.cc | 105 for ( const QueueNode<int> * n1 = q->Head(), * n2 = new_q->Head(); 106 n1 != NULL; n1 = n1->next(), n2 = n2->next() ) { 107 EXPECT_EQ(2 * n1->element(), n2->element());
|
/external/gtest/samples/ |
sample3_unittest.cc | 105 for ( const QueueNode<int> * n1 = q->Head(), * n2 = new_q->Head(); 106 n1 != NULL; n1 = n1->next(), n2 = n2->next() ) { 107 EXPECT_EQ(2 * n1->element(), n2->element());
|
/external/libvpx/libvpx/third_party/googletest/src/samples/ |
sample3_unittest.cc | 105 for ( const QueueNode<int> * n1 = q->Head(), * n2 = new_q->Head(); 106 n1 != NULL; n1 = n1->next(), n2 = n2->next() ) { 107 EXPECT_EQ(2 * n1->element(), n2->element());
|
/external/protobuf/gtest/samples/ |
sample3_unittest.cc | 105 for ( const QueueNode<int> * n1 = q->Head(), * n2 = new_q->Head(); 106 n1 != NULL; n1 = n1->next(), n2 = n2->next() ) { 107 EXPECT_EQ(2 * n1->element(), n2->element());
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/forwardlist/forwardlist.ops/ |
splice_after_flist.pass.cpp | 32 for (int n2 = 0; n2 < l; ++n2, ++i) 33 assert(*i == t2[n2]);
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
TestBillboard.java | 85 n2=new Node("parentParent"); 86 n2.setLocalTranslation(Vector3f.UNIT_X.mult(5)); 87 n2.attachChild(n); 89 rootNode.attachChild(n2); 96 Node n2; field in class:TestBillboard 102 n2.rotate(0, 0, -tpf);
|