/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
AverageFilter.java | 34 private int counter = 0; field in class:AverageFilter 57 if (counter < NUM_FRAMES && counter >= 0) { 58 temp[counter] = ((Float)inFrameValue.getValue()).floatValue(); 61 counter = (counter + 1) % NUM_FRAMES;
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
CountersTable.java | 35 * of which has a list of Counter objects. This really isn't a true 67 * Put a counter into the table and create an empty 142 Counter counter = (Counter) counters.elementAt(i); local 144 count = counter.getPreviouslyCounted(support, target); 155 // the backwards list (m_newFound) to the forwards list (counter.m_countNodes). 171 Counter counter = (Counter) counters.elementAt(i) local 197 Counter counter = new Counter(numberElem, new NodeSetDTM(support.getDTMManager())); local [all...] |
/external/chromium_org/net/base/ |
mime_sniffer.cc | 296 base::HistogramBase* counter = local 299 return counter; 373 base::HistogramBase* counter, 377 if (counter) counter->Add(static_cast<int>(i)); 415 static base::HistogramBase* counter(NULL); 416 if (!counter) { 417 counter = UMASnifferHistogramGet("mime_sniffer.kSniffableTags2", 423 counter, result); 435 static base::HistogramBase* counter(NULL) [all...] |
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon1637 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/ |
popup.js | 23 chrome.tabs.sendRequest(tab.id, {counter: 1}, function handler(response) { 24 if (response.counter < 1000) { 25 chrome.tabs.sendRequest(tab.id, {counter: response.counter}, handler); 28 var usec = Math.round(timer.microseconds() / response.counter); 44 port.postMessage({counter: 1}); 46 if (response.counter < 1000) { 47 port.postMessage({counter: response.counter}); 50 var usec = Math.round(timer.microseconds() / response.counter); [all...] |
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 161 private int counter = 0; field in class:ManifestRewriter.SplitLineWriter 178 counter = 0; 180 else if (counter == 70) 186 counter = 2; 190 counter++;
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon60220 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon62945 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-12/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon64689 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-13/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon66009 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon67340 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-15/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon68673 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-16/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon70006 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-17/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon71339 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon72672 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon74848 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ |
atomic.h | 27 typedef struct { volatile int counter; } atomic_t; member in struct:__anon79312 30 #define atomic_read(v) ((v)->counter) 31 #define atomic_set(v, i) ((v)->counter = (i)) 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new)))
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
inline-construct.js | 34 var counter = { value:0 }; 38 result = closure(constructor, 11, noDeopt, counter); 40 assertEquals(1, counter.value); 42 result = closure(constructor, 23, noDeopt, counter); 44 assertEquals(2, counter.value); 47 result = closure(constructor, 42, noDeopt, counter); 49 assertEquals(3, counter.value); 51 result = closure(constructor, 127, forceDeopt, counter); 53 assertEquals(4, counter.value); 60 function value_context(constructor, val, deopt, counter) { [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
builtin-stat.c | 13 Performance counter stats for './hackbench 10': 69 static void print_counter_aggr(struct perf_evsel *counter, char *prefix); 70 static void print_counter(struct perf_evsel *counter, char *prefix); 266 * Does the counter have nsecs as a unit? 282 static void update_shadow_stats(struct perf_evsel *counter, u64 *count) 284 if (perf_evsel__match(counter, SOFTWARE, SW_TASK_CLOCK)) 286 else if (perf_evsel__match(counter, HARDWARE, HW_CPU_CYCLES)) 288 else if (perf_evsel__match(counter, HARDWARE, HW_STALLED_CYCLES_FRONTEND)) 290 else if (perf_evsel__match(counter, HARDWARE, HW_STALLED_CYCLES_BACKEND)) 292 else if (perf_evsel__match(counter, HARDWARE, HW_BRANCH_INSTRUCTIONS) 363 struct perf_evsel *counter; local 429 struct perf_evsel *counter; local 446 struct perf_evsel *counter; local 955 struct perf_evsel *counter; local 1119 struct perf_evsel *counter; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
sha1-prf.c | 33 u8 counter = 0; local 44 addr[2] = &counter; 62 counter++;
|
/external/chromium_org/crypto/ |
encryptor.cc | 13 // Encyptor::Counter Implementation. 14 Encryptor::Counter::Counter(const base::StringPiece& counter) { 15 CHECK(sizeof(counter_) == counter.length()); 17 memcpy(&counter_, counter.data(), sizeof(counter_)); 20 Encryptor::Counter::~Counter() { 23 bool Encryptor::Counter::Increment() { 34 // TODO(hclam): Return false if counter value overflows [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
histogram_macros.h | 19 // the counter is not cached locally. 23 base::HistogramBase* counter = base::Histogram::FactoryGet( \ 26 counter->Add(sample); \ 40 base::HistogramBase* counter = base::Histogram::FactoryTimeGet( \ 43 counter->AddTime(sample); \ 51 base::HistogramBase* counter = base::LinearHistogram::FactoryGet( \ 54 counter->Add(sample); \
|
/sdk/emulator/opengl/shared/emugl/common/ |
mutex_unittest.cpp | 44 ThreadParams() : mutex(), counter(0) {} 47 int counter; member in struct:emugl::ThreadParams 50 // This thread function uses Mutex::lock/unlock to synchronize a counter 56 p->counter++; 77 EXPECT_EQ(static_cast<int>(kNumThreads), p.counter); 80 // This thread function uses a Mutex::AutoLock to protect the counter. 85 p->counter++; 105 EXPECT_EQ(static_cast<int>(kNumThreads), p.counter);
|
/external/chromium_org/third_party/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;
|
/external/mockito/src/org/mockito/internal/exceptions/util/ |
ScenarioPrinter.java | 21 int counter = 0;
local 23 sb.append(++counter + ". ");
|