/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...] |
/external/clang/test/Sema/ |
attr-section.c | 14 __attribute__((section("NEAR,x"))) static int n2; // ok. local
|
/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/valgrind/main/exp-ptrcheck/tests/ |
idiv.c | 14 g(/, n, n2, n); // det, det 18 g(/, p, n2, n); // ok, det 25 g(/, un, n2, n); // undet, undet 26 g(/, up, n2, n); // ok, undet
|
/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 122 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); local 223 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/elfutils/libelf/ |
elf32_fsize.c | 58 #define local_strong_alias(n1, n2) strong_alias (n1, n2)
|
/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/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());
|
/external/icu4c/samples/uciter8/ |
uciter8.c | 46 UCharIterator *iter2, const char *n2) { 54 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); 69 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); 77 log_err("%s->current()=U+%04x != U+%04x=%s->current() at middle=%d\n", n1, c1, c2, n2, middle); 86 log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURRENT)); 96 log_err("%s->previous()=U+%04x != U+%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURRENT)); 114 log_err("%s->move(start) failed\n", n2); 118 log_err("%s->hasNext() at the start returns FALSE\n", n2); 126 log_err("%s->next()=U+%04x != U+%04x=%s->next() at %d\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CURRENT)); 136 log_err("%s->hasNext() at the end returns TRUE\n", n2); [all...] |
/system/core/sh/ |
parser.c | 152 union node *n1, *n2, *n3; local 160 n2 = andor(); 163 if (n2->type == NCMD || n2->type == NPIPE) { 164 n2->ncmd.backgnd = 1; 165 } else if (n2->type == NREDIR) { 166 n2->type = NBACKGND; 170 n3->nredir.n = n2; 172 n2 = n3; 176 n1 = n2; 222 union node *n1, *n2, *n3; local 249 union node *n1, *n2, *pipenode; local 290 union node *n1, *n2; local 533 union node *n = NULL, *n2; local [all...] |
/external/bluetooth/glib/glib/ |
gtestutils.h | 40 #define g_assert_cmpint(n1, cmp, n2) do { gint64 __n1 = (n1), __n2 = (n2); \ 43 #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'i'); } while (0) 44 #define g_assert_cmpuint(n1, cmp, n2) do { guint64 __n1 = (n1), __n2 = (n2); \ 47 #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'i'); } while (0) 48 #define g_assert_cmphex(n1, cmp, n2) do { guint64 __n1 = (n1), __n2 = (n2); \ 51 #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'x'); } while (0) 52 #define g_assert_cmpfloat(n1,cmp,n2) do { long double __n1 = (n1), __n2 = (n2); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1withDSA_SignatureImpl.java | 201 int n, n1, n2; local 250 n2 = sBytes.length; 252 n2++; 255 signature = new byte[6 + n1 + n2]; // 48 is max. possible length of signature 257 signature[1] = (byte) (4 + n1 + n2); // total length of two INTEGERs 261 signature[5 + n1] = (byte) n2; // length of s 270 if (n2 == sBytes.length) { 323 int n1, n2; local 332 n2 = sigBytes[offset + n1 + 5]; 336 || sigBytes[offset + 1] != (n1 + n2 + 4) || n1 > 2 [all...] |
/external/llvm/unittests/VMCore/ |
MetadataTest.cpp | 92 MDNode *n2 = MDNode::get(Context, c1); local 94 EXPECT_NE(n1, n2); 106 EXPECT_EQ(1u, n2->getNumOperands()); 107 EXPECT_EQ(n1, n2->getOperand(0)); 131 MDNode *n2 = MDNode::get(Context, V2); local 137 NMD->addOperand(n2);
|