/ndk/tests/device/test-stlport_static-exception/jni/ |
singleton.cpp | 20 if ( counter++ == 0 ) throw "just for the heck of it"; 26 static int counter; member in class:singleton 29 int singleton::counter; member in class:singleton
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
PasswordAuthenticationTest.java | 39 for (int counter = password.length - 1; counter >= 0; counter--) 41 returnedPassword[counter] == password[counter]);
|
/external/vixl/src/a64/ |
instrument-a64.cc | 31 Counter::Counter(const char* name, CounterType type) 38 void Counter::Enable() { 43 void Counter::Disable() { 48 bool Counter::IsEnabled() { 53 void Counter::Increment() { 60 uint64_t Counter::count() { 63 // If the counter is a Gauge, reset the count after reading. 70 const char* Counter::name() { 75 CounterType Counter::type() 139 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local 166 static Counter* counter = GetCounter("Instruction"); local 212 static Counter* counter = GetCounter("Instruction"); local 257 static Counter* counter = GetCounter("PC Addressing"); local 265 static Counter* counter = GetCounter("Add\/Sub DP"); local 273 static Counter* counter = GetCounter("Logical DP"); local 280 static Counter* counter = GetCounter("Move Immediate"); local 294 static Counter* counter = GetCounter("Other Int DP"); local 302 static Counter* counter = GetCounter("Other Int DP"); local 310 static Counter* counter = GetCounter("Unconditional Branch"); local 318 static Counter* counter = GetCounter("Unconditional Branch"); local 326 static Counter* counter = GetCounter("Compare and Branch"); local 334 static Counter* counter = GetCounter("Test and Branch"); local 342 static Counter* counter = GetCounter("Conditional Branch"); local 350 static Counter* counter = GetCounter("Other"); local 358 static Counter* counter = GetCounter("Other"); local 406 static Counter* counter = GetCounter("Load Literal"); local 473 static Counter* counter = GetCounter("Logical DP"); local 481 static Counter* counter = GetCounter("Add\/Sub DP"); local 489 static Counter* counter = GetCounter("Add\/Sub DP"); local 497 static Counter* counter = GetCounter("Add\/Sub DP"); local 505 static Counter* counter = GetCounter("Conditional Compare"); local 513 static Counter* counter = GetCounter("Conditional Compare"); local 521 static Counter* counter = GetCounter("Conditional Select"); local 529 static Counter* counter = GetCounter("Other Int DP"); local 537 static Counter* counter = GetCounter("Other Int DP"); local 545 static Counter* counter = GetCounter("Other Int DP"); local 553 static Counter* counter = GetCounter("FP DP"); local 561 static Counter* counter = GetCounter("Conditional Compare"); local 569 static Counter* counter = GetCounter("Conditional Select"); local 577 static Counter* counter = GetCounter("FP DP"); local 585 static Counter* counter = GetCounter("FP DP"); local 593 static Counter* counter = GetCounter("FP DP"); local 601 static Counter* counter = GetCounter("FP DP"); local 609 static Counter* counter = GetCounter("FP DP"); local 617 static Counter* counter = GetCounter("FP DP"); local 625 static Counter* counter = GetCounter("Other"); local 633 static Counter* counter = GetCounter("Other"); local [all...] |
/external/chromium_org/media/base/ |
user_input_monitor_unittest.cc | 27 KeyboardEventCounter counter; local 29 EXPECT_EQ(0u, counter.GetKeyPressCount()); 31 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0); 32 EXPECT_EQ(1u, counter.GetKeyPressCount()); 35 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0); 36 EXPECT_EQ(1u, counter.GetKeyPressCount()); 39 counter.OnKeyboardEvent(ui::ET_KEY_RELEASED, ui::VKEY_0); 40 EXPECT_EQ(1u, counter.GetKeyPressCount()); 42 counter.OnKeyboardEvent(ui::ET_KEY_PRESSED, ui::VKEY_0); 43 counter.OnKeyboardEvent(ui::ET_KEY_RELEASED, ui::VKEY_0) [all...] |
/external/lldb/test/functionalities/data-formatter/data-formatter-python-synth/ |
ftsp.py | 3 counter = 0 variable 25 global counter 26 self.count = counter 27 counter = counter + 1 31 global counter 32 counter =
|
/external/chromium_org/v8/src/arm64/ |
instrument-arm64.cc | 10 Counter::Counter(const char* name, CounterType type) 17 void Counter::Enable() { 22 void Counter::Disable() { 27 bool Counter::IsEnabled() { 32 void Counter::Increment() { 39 uint64_t Counter::count() { 42 // If the counter is a Gauge, reset the count after reading. 49 const char* Counter::name() { 54 CounterType Counter::type() 119 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local 146 static Counter* counter = GetCounter("Instruction"); local 192 static Counter* counter = GetCounter("Instruction"); local 236 static Counter* counter = GetCounter("PC Addressing"); local 258 static Counter* counter = GetCounter("Logical DP"); local 265 static Counter* counter = GetCounter("Move Immediate"); local 278 static Counter* counter = GetCounter("Other Int DP"); local 285 static Counter* counter = GetCounter("Other Int DP"); local 292 static Counter* counter = GetCounter("Unconditional Branch"); local 299 static Counter* counter = GetCounter("Unconditional Branch"); local 306 static Counter* counter = GetCounter("Compare and Branch"); local 313 static Counter* counter = GetCounter("Test and Branch"); local 320 static Counter* counter = GetCounter("Conditional Branch"); local 327 static Counter* counter = GetCounter("Other"); local 334 static Counter* counter = GetCounter("Other"); local 376 static Counter* counter = GetCounter("Load Literal"); local 442 static Counter* counter = GetCounter("Logical DP"); local 449 static Counter* counter = GetCounter("Add\/Sub DP"); local 471 static Counter* counter = GetCounter("Add\/Sub DP"); local 478 static Counter* counter = GetCounter("Conditional Compare"); local 485 static Counter* counter = GetCounter("Conditional Compare"); local 492 static Counter* counter = GetCounter("Conditional Select"); local 499 static Counter* counter = GetCounter("Other Int DP"); local 506 static Counter* counter = GetCounter("Other Int DP"); local 513 static Counter* counter = GetCounter("Other Int DP"); local 520 static Counter* counter = GetCounter("FP DP"); local 527 static Counter* counter = GetCounter("Conditional Compare"); local 534 static Counter* counter = GetCounter("Conditional Select"); local 541 static Counter* counter = GetCounter("FP DP"); local 548 static Counter* counter = GetCounter("FP DP"); local 555 static Counter* counter = GetCounter("FP DP"); local 562 static Counter* counter = GetCounter("FP DP"); local 569 static Counter* counter = GetCounter("FP DP"); local 576 static Counter* counter = GetCounter("FP DP"); local 583 static Counter* counter = GetCounter("Other"); local 590 static Counter* counter = GetCounter("Other"); local [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_psk_common.c | 38 u8 counter = 1; local 44 hash[aes_block_size - 1] ^= counter; 47 hash[aes_block_size - 1] ^= counter; 48 counter++; 51 hash[aes_block_size - 1] ^= counter; 54 hash[aes_block_size - 1] ^= counter; 55 counter++; 59 hash[aes_block_size - 1] ^= counter; 63 hash[aes_block_size - 1] ^= counter; 64 counter++ [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
StyleResolverStats.h | 73 #define INCREMENT_STYLE_STATS_COUNTER(resolver, counter) ((resolver).stats() && ++(resolver).stats()-> counter && (resolver).statsTotals()-> counter ++);
|
/external/ltrace/testsuite/ltrace.main/ |
branch_func.c | 46 int counter = 0; local 49 counter += func1(i); 50 return counter;
|
/external/oprofile/daemon/ |
opd_events.h | 3 * Event details for each counter 23 unsigned long counter; member in struct:opd_event 36 /** Find the event for the given counter */ 37 struct opd_event * find_counter_event(unsigned long counter); 42 void fill_header(struct opd_header * header, unsigned long counter,
|
opd_mangling.h | 22 * @param counter counter number 25 * Open image sample file for the sfile, counter 26 * counter and set up memory mappings for it. 31 struct sfile * sf, int counter, int cg);
|
/external/valgrind/main/none/tests/s390x/ |
ex_sig.c | 16 static int counter; local 19 counter++; 27 if (counter == 2) {
|
/external/chromium_org/components/autofill/core/browser/crypto/ |
rc4_decryptor.h | 70 short counter; local 73 for (counter = 0; counter < kKeyDataSize; ++counter) 74 state[counter] = static_cast<uint8>(counter); 78 for (counter = 0; counter < kKeyDataSize; counter++) { 79 index2 = (key_data[index1] + state[counter] + index2) % kKeyDataSize 89 int counter; local [all...] |
/frameworks/compile/mclinker/unittests/ |
FactoriesTest.cpp | 64 int counter = 0; local 68 ASSERT_EQ(counter, *(*data).data ); 71 ++counter; 85 int counter = 0; local 89 ASSERT_EQ(counter, *(*data).data ); 92 ++counter; 107 int counter = 0; local 111 ASSERT_EQ(counter, *(*data).data ); 114 ++counter; 124 int counter = 0 local 171 int counter = 0; local 180 int counter = 0; local 197 int counter = 0; local [all...] |
/system/extras/tests/bionic/libc/bionic/ |
lib_static_init.h | 7 static int counter; member in class:Foo
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/alsa/ |
iatomic.h | 18 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45507 29 #define atomic_read(v) ((v)->counter) 39 #define atomic_set(v,i) (((v)->counter) = (i)) 53 :"=m" (v->counter) 54 :"ir" (i), "m" (v->counter)); 69 :"=m" (v->counter) 70 :"ir" (i), "m" (v->counter)); 89 :"=m" (v->counter), "=qm" (c) 90 :"ir" (i), "m" (v->counter) : "memory"); 105 :"=m" (v->counter) 231 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45508 393 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45509 499 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45510 687 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45511 927 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45512 1015 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45513 1088 typedef struct { volatile int counter; } atomic_t; member in struct:__anon45514 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/ |
iatomic.h | 18 typedef struct { volatile int counter; } atomic_t; member in struct:__anon47243 29 #define atomic_read(v) ((v)->counter) 39 #define atomic_set(v,i) (((v)->counter) = (i)) 53 :"=m" (v->counter) 54 :"ir" (i), "m" (v->counter)); 69 :"=m" (v->counter) 70 :"ir" (i), "m" (v->counter)); 89 :"=m" (v->counter), "=qm" (c) 90 :"ir" (i), "m" (v->counter) : "memory"); 105 :"=m" (v->counter) 231 typedef struct { volatile int counter; } atomic_t; member in struct:__anon47244 393 typedef struct { volatile int counter; } atomic_t; member in struct:__anon47245 499 typedef struct { volatile int counter; } atomic_t; member in struct:__anon47246 687 typedef struct { volatile int counter; } atomic_t; member in struct:__anon47247 927 typedef struct { volatile int counter; } atomic_t; member in struct:__anon47248 1015 typedef struct { volatile int counter; } atomic_t; member in struct:__anon47249 1088 typedef struct { volatile int counter; } atomic_t; member in struct:__anon47250 [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
histogram_macros_v3.h | 22 base::HistogramBase* counter(NULL); \ 23 if (!counter || name != counter->histogram_name()) \ 24 counter = base::Histogram::FactoryGet( \ 27 counter->Add(sample); \ 41 base::HistogramBase* counter(NULL); \ 42 if (!counter || name != counter->histogram_name()) \ 43 counter = base::Histogram::FactoryTimeGet( \ 46 counter->AddTime(sample); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ArraysTest.java | 75 for (int counter = 0; counter < arraySize; counter++) { 78 convertedList.get(counter) == objectArray[counter]); 90 for (int counter = 0; counter < arraySize; counter++) { 93 convertedList.get(counter) == myArray[counter]); [all...] |
RandomTest.java | 53 for (int counter = 0; counter < 100; counter++) 73 for (int counter = 1; counter < randomBytes.length; counter++) 74 if (randomBytes[counter] != firstByte) 90 for (int counter = 0; counter < 100; counter++) [all...] |
/development/ndk/platforms/android-9/include/sys/ |
eventfd.h | 39 /* type of event counter */ 45 extern int eventfd_read(int fd, eventfd_t *counter); 46 extern int eventfd_write(int fd, const eventfd_t counter);
|
/development/ndk/sources/android/libportable/common/include/ |
eventfd_portable.h | 50 /* type of event counter */ 57 extern int eventfd_read(int fd, eventfd_t *counter); 58 extern int eventfd_write(int fd, const eventfd_t counter);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
SICBlockCipher.java | 9 * Implements the Segmented Integer Counter (SIC) mode on top of a simple 19 private byte[] counter; field in class:SICBlockCipher 33 this.counter = new byte[blockSize]; 88 cipher.processBlock(counter, 0, counterOut, 0); 98 // increment counter by 1. 99 for (int i = counter.length - 1; i >= 0 && ++counter[i] == 0; i--) 101 ; // do nothing - pre-increment and test for 0 in counter does the job. 104 return counter.length; 110 System.arraycopy(IV, 0, counter, 0, counter.length) [all...] |
/external/libpng/contrib/arm-neon/ |
linux.c | 41 int counter; local 43 for (state=StartLine, counter=0;;) 63 counter=0; 69 if ((ch & ~0x20) == ch_feature[counter]) 71 if (++counter == (sizeof ch_feature)) 112 counter = 0; 117 if ((ch & ~0x20) == ch_neon[counter]) 119 if (++counter == (sizeof ch_neon))
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/sys/ |
eventfd.h | 39 /* type of event counter */ 45 extern int eventfd_read(int fd, eventfd_t *counter); 46 extern int eventfd_write(int fd, const eventfd_t counter);
|