Searched defs:counter (Results 1 - 19 of 19) sorted by relevance

/frameworks/compile/mclinker/unittests/
H A DLinearAllocatorTest.cpp111 int counter = 0;
113 ASSERT_EQ(counter, (*data).one);
114 ++counter;
120 int counter = 0; local
125 pointer->one = counter;
127 ++counter;
132 counter = 0;
134 ASSERT_EQ(counter, (*data).one);
135 ++counter;
H A DRTLinearAllocatorTest.cpp112 int counter = 0;
114 ASSERT_EQ(counter, (*data).one);
115 ++counter;
121 int counter = 0; local
126 pointer->one = counter;
128 ++counter;
133 counter = 0;
135 ASSERT_EQ(counter, (*data).one);
136 ++counter;
H A DFactoriesTest.cpp64 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 local
171 int counter = 0; local
180 int counter = 0; local
197 int counter = 0; local
[all...]
H A DBinTreeTest.cpp191 int counter = 0; local
193 ++counter;
196 ASSERT_EQ(1, counter);
267 int counter = 0; local
269 ++counter;
272 ASSERT_EQ(1, counter);
H A DHashTableTest.cpp262 int counter = 0; local
265 ++counter;
267 EXPECT_EQ(400000, counter);
284 int counter = 0; local
288 ++counter;
290 EXPECT_EQ(1, counter);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DAverageFilter.java34 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;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcFailBringUp.java35 // counter with its --ei option name and default value
36 static final String COUNTER = "counter";
63 void saveParameters(int counter, int failCause, int suggestedRetryTime) { argument
64 mCounter = counter;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dchvr_filter.cpp35 int index, counter; local
84 for (br = mbr + 1; br < mbr + 3; br++) /* br is the row counter in blocks */
91 for (bc = mbc; bc < mbc + 2; bc++) /* bc is the column counter in blocks */
153 for (counter = 0; counter < 5; counter++)
156 sum = sum - v[counter] + *ptr_n;
248 for (br = mbr; br < mbr + 2; br++) /* br is the row counter in blocks */
250 for (bc = mbc + 1; bc < mbc + 3; bc++) /* bc is the column counter in blocks */
311 for (counter
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp109 static int counter = 0; local
113 mcld::outs() << counter++ << " * " << (*input)->name();
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
H A DHistogramPredictor.java96 public void setCounter(HashMap<String, HashMap<String, Integer> > counter) { argument
98 mCounter.putAll(counter);
210 HistogramCounter counter = entry.getValue();
214 HashMap<String, Double> scoreMap = counter.getClassScores(featureValue);
280 HistogramCounter counter = mPredictor.get(featureName);
281 counter.addSample(sampleId, featureValue);
294 for (HistogramCounter counter : mPredictor.values()) {
295 counter.resetCounter();
360 HashMap<String, HashMap<String, Integer> > counter =
364 for (HashMap<String, Integer> map : counter
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp39 static volatile int32_t counter = 0; local
41 android_atomic_inc(&counter));
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp151 SLuint16 counter = 0; local
272 while ((counter*1000) < durationInMsec) {
273 counter++;
278 counter);
281 fprintf(stderr, "position is %dms %ds after start\n", posInMsec, counter);
286 if (((SLint32)posInMsec > (counter*1000 + TIME_TOLERANCE_MS)) ||
287 ((SLint32)posInMsec < (counter*1000 - TIME_TOLERANCE_MS))) {
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c215 * Calculates the counter, treated as a 16-byte little-endian number, used to generate the keystream
220 * @param[out] pCounter A reference to the counter.
239 * Decrypts the byte at the current file position using AES-128-CTR. In CTR (or "counter") mode,
250 unsigned char counter[AES_BLOCK_SIZE]; local
251 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter);
252 AES_encrypt(counter, pSession->keyStream, &pSession->encryptionRoundKeys);
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp67 static int counter=0; variable
176 counter++;
180 if (counter % 1000 == 0) {
184 printf("DecPlayCallback called (iteration %d): current position=%u ms\n", counter, msec);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c149 unsigned char counter[AES_BLOCK_SIZE]; member in struct:FwdLockConv_Session
813 * Increments the counter, treated as a 16-byte little-endian number, by one.
819 while ((++pSession->counter[i] == 0) && (++i < AES_BLOCK_SIZE))
849 AES_encrypt(pSession->counter, pSession->keyStream, &pSession->encryptionRoundKeys);
1141 memcpy(pSession->counter, pSession->pEncryptedSessionKey, AES_BLOCK_SIZE);
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java252 public void updateMemoryUsageEstimate(MemoryUsageCounter counter) { argument
1365 public void updateMemoryUsageEstimate(MemoryUsageCounter counter) { argument
1367 counter.increment(nestedViews.estimateMemoryUsage());
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiStateMachine.java996 int counter = intent.getIntExtra(DELAYED_STOP_COUNTER, 0);
997 sendMessage(CMD_DELAYED_STOP_DRIVER, counter, 0);
1172 private boolean checkAndRestartDelayedScan(int counter, boolean restart, int milli, argument
1174 if (counter != mDelayedScanCounter.get()) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java696 * @param counter a Counter, or null.
698 public static void writeCounterToParcel(Parcel out, Counter counter) { argument
699 if (counter == null) {
705 counter.writeToParcel(out);
732 * Clear state of this counter.
837 * Clear state of this counter.
1096 * A sequence counter, incremented once for each update of the stats.
1702 * Get the wakeup reason counter, and create a new one if one
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp15145 void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString) { argument
15157 // copy argument counter
15161 arg_counter->add_intvalue(counter);
15184 glContext->hooks->gl.glGetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterString);
15199 void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, void * data) { argument
15211 // copy argument counter
15215 arg_counter->add_intvalue(counter);
15232 glContext->hooks->gl.glGetPerfMonitorCounterInfoAMD(group, counter, pname, data);
[all...]

Completed in 2101 milliseconds