/external/skia/gm/ |
nonclosedpaths.cpp | 67 static void SetLocation(SkCanvas* canvas, int counter, int lineNum) { 68 SkScalar x = SK_Scalar1 * 100 * (counter % lineNum) + 10 + SK_Scalar1 / 4; 69 SkScalar y = SK_Scalar1 * 100 * (counter / lineNum) + 10 + 3 * SK_Scalar1 / 4; 96 int counter = 0; variable 107 SetLocation(canvas, counter, SkPaint::kJoinCount * numWidths); 119 ++counter; 130 SetLocation(canvas, counter, SkPaint::kJoinCount * numWidths); 137 ++counter;
|
/libnativehelper/ |
toStringArray.cpp | 45 ArrayCounter counter(strings); 47 return toStringArray(env, &counter, &getter);
|
/external/chromium_org/crypto/third_party/nss/ |
rsawrapr.c | 24 PRUint32 counter, rounds; local 36 for (counter = 0; counter < rounds; counter++) { 37 C[0] = (unsigned char)((counter >> 24) & 0xff); 38 C[1] = (unsigned char)((counter >> 16) & 0xff); 39 C[2] = (unsigned char)((counter >> 8) & 0xff); 40 C[3] = (unsigned char)(counter & 0xff); 48 tempHash = mask + counter * hash->length; 49 if (counter != (rounds-1)) [all...] |
/external/chromium_org/components/nacl/renderer/ |
histogram.cc | 16 base::HistogramBase* counter = local 25 if (counter) 26 counter->Add(sample); 32 base::HistogramBase* counter = local 39 counter->Add(sample); 93 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( local 99 if (counter) 100 counter->AddTime(base::TimeDelta::FromMilliseconds(sample)); 109 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( local 115 if (counter) 125 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( local 139 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/chacha/ |
chacha.h | 74 * initial block counter is specified by |counter|. */ 79 size_t counter);
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
chacha.h | 74 * initial block counter is specified by |counter|. */ 79 size_t counter);
|
/external/chromium_org/third_party/opus/src/silk/ |
resampler_down2_3.c | 46 opus_int32 nSamplesIn, counter, res_Q6; local 66 counter = nSamplesIn; 67 while( counter > 2 ) { 86 counter -= 3;
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrTraceMarker.cpp | 47 int counter = 0; local 60 if (counter != 0) { 72 ++counter; 74 if (counter > 0) {
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
WorkList.h | 30 BlockCounter counter; member in class:clang::ento::WorkListUnit 38 counter(C), 44 counter(C), 51 /// Returns the block counter map associated with the worklist unit. 52 BlockCounter getBlockCounter() const { return counter; }
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
DM.java | 62 for (int counter = 0; counter < cnt; counter++) { 64 attributeContainer.getAttributeInfo(counter, attributeInfo);
|
/external/libopus/silk/ |
resampler_down2_3.c | 46 opus_int32 nSamplesIn, counter, res_Q6; local 66 counter = nSamplesIn; 67 while( counter > 2 ) { 86 counter -= 3;
|
/external/lldb/source/Utility/ |
Range.cpp | 79 ValueType counter = m_low; local 80 while (counter <= m_high) 82 bool should_continue = callback(counter); 85 counter++;
|
/external/proguard/src/proguard/obfuscate/ |
AttributeShrinker.java | 104 int counter = 0; local 111 array[counter++] = array[index]; 116 Arrays.fill(array, counter, length, null); 118 return counter;
|
/external/skia/src/gpu/ |
GrTraceMarker.cpp | 47 int counter = 0; local 60 if (counter != 0) { 72 ++counter; 74 if (counter > 0) {
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_peap_common.c | 19 unsigned char counter = 0; local 46 addr[3] = &counter; 64 addr[4] = &counter; 70 counter++;
|
/frameworks/base/test-runner/src/android/test/ |
SyncBaseInstrumentation.java | 56 int counter = 0; local 59 while (counter < 2) { 68 counter = 0; 71 counter++;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ConcurrentModificationExceptionTest.java | 57 for (int counter = 0; counter < 50; counter++) 58 myCollection.add(new Integer(counter));
|
/libnativehelper/include/nativehelper/ |
toStringArray.h | 28 template <typename Counter, typename Getter> 29 jobjectArray toStringArray(JNIEnv* env, Counter* counter, Getter* getter) { 30 size_t count = (*counter)(); 64 VectorCounter counter(strings); 66 return toStringArray<VectorCounter, VectorGetter>(env, &counter, &getter);
|
/external/chromium_org/chrome/common/ |
worker_thread_ticker_unittest.cc | 24 int counter() const { return counter_; } function in class:__anon10253::TestCallback 75 EXPECT_TRUE(callback.counter() > 0); 78 const int counter_value = callback.counter(); 80 EXPECT_EQ(counter_value, callback.counter()); 93 EXPECT_TRUE(callback.counter() > 0); 95 const int counter_value = callback.counter(); 97 EXPECT_EQ(counter_value, callback.counter());
|
/external/oprofile/daemon/ |
opd_events.c | 3 * Event details for each counter 88 event->value = event->counter 110 event->counter = copy_ulong(&c, ':'); 129 struct opd_event * find_counter_event(unsigned long counter) 134 if (counter >= OP_MAX_COUNTERS) { 135 if((ret = opd_ext_find_counter_event(counter)) != NULL) 140 if (counter == opd_events[i].counter) 144 fprintf(stderr, "Unknown event for counter %lu\n", counter); [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
ThreadPool.java | 230 private boolean acquireResource(ResourceCounter counter) { 237 mWaitOnResource = counter; 240 synchronized (counter) { 241 if (counter.value > 0) { 242 counter.value--; 246 counter.wait(); 261 private void releaseResource(ResourceCounter counter) { 262 synchronized (counter) { 263 counter.value++; 264 counter.notifyAll() [all...] |
/art/compiler/utils/ |
debug_stack.h | 29 // Reference counter. No references allowed in destructor or in explicitly called CheckNoRefs(). 57 explicit DebugStackReferenceImpl(DebugStackRefCounterImpl<false>* counter) { UNUSED(counter); } 91 explicit DebugStackReferenceImpl(DebugStackRefCounterImpl<kIsDebug>* counter) 92 : counter_(counter), ref_count_(counter->IncrementRefCount()) {
|
/external/javassist/sample/rmi/ |
CountApplet.java | 13 private Counter counter;
field in class:CountApplet 32 paramName = "counter";
53 counter = (Counter)importer.lookupObject(paramName);
54 message = Integer.toString(counter.get());
62 counter.increase();
63 message = Integer.toString(counter.get());
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/contrib/ |
CountingIdlingResource.java | 31 * counter. When the counter is 0 - it is considered to be idle, when it is non-zero it is not 34 * The counter may be incremented or decremented from any thread. If it reaches an illogical state 35 * (like counter less than zero) it will throw an IllegalStateException. 98 private final AtomicInteger counter = new AtomicInteger(0); field in class:CountingIdlingResource 135 return counter.get() == 0; 149 int counterVal = counter.getAndIncrement(); 162 * If this operation results in the counter falling below 0 - an exception is raised. 164 * @throws IllegalStateException if the counter is below 0. 167 int counterVal = counter.decrementAndGet() [all...] |
/external/chromium_org/chrome/renderer/pepper/ |
pepper_uma_host.cc | 129 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( local 137 if (counter) 138 counter->AddTime(base::TimeDelta::FromMilliseconds(sample)); 154 base::HistogramBase* counter = base::Histogram::FactoryGet( local 162 if (counter) 163 counter->Add(sample); 177 base::HistogramBase* counter = base::LinearHistogram::FactoryGet( local 185 if (counter) 186 counter->Add(sample);
|