Searched refs:counter (Results 1 - 21 of 21) sorted by last modified time

/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/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/native/opengl/include/GLES2/
H A Dgl2ext.h851 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
852 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
863 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
864 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp6772 void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString) { argument
6784 // copy argument counter
6788 arg_counter->add_intvalue(counter);
6811 glContext->hooks->gl.glGetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterString);
6826 void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid *data) { argument
6838 // copy argument counter
6842 arg_counter->add_intvalue(counter);
6859 glContext->hooks->gl.glGetPerfMonitorCounterInfoAMD(group, counter, pname, data);
H A Dgltrace_api.h189 void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
190 void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid *data);
/frameworks/compile/mclinker/lib/CodeGen/
H A DSectLinker.cpp101 static int counter = 0; local
105 mcld::outs() << counter++ << " * " << (*input)->name();
/frameworks/compile/mclinker/unittests/
H A DBinTreeTest.cpp192 int counter = 0; local
194 ++counter;
197 ASSERT_EQ(1, counter);
267 int counter = 0; local
269 ++counter;
272 ASSERT_EQ(1, 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 DHashTableTest.cpp263 unsigned int counter = 0; local
266 ++counter;
268 EXPECT_EQ(400000, counter);
285 unsigned int counter = 0; local
289 ++counter;
291 EXPECT_EQ(1, counter);
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;
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateMachine.java666 int counter = intent.getIntExtra(DELAYED_STOP_COUNTER, 0);
667 sendMessage(obtainMessage(CMD_DELAYED_STOP_DRIVER, counter, 0));
/frameworks/base/test-runner/src/android/test/
H A DSyncBaseInstrumentation.java56 int counter = 0;
59 while (counter < 2) {
68 counter = 0;
71 counter++;
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Ddefault.css532 counter-reset: item; }
539 content: counter(item) ". ";
540 counter-increment: item;
1566 margin:-27px 0 0 20px; /* negative top-margin to counter the content-header bottom margin */
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Ddefault.css532 counter-reset: item; }
539 content: counter(item) ". ";
540 counter-increment: item;
1566 margin:-27px 0 0 20px; /* negative top-margin to counter the content-header bottom margin */
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListItemFocusablesFarApartTest.java86 int counter = 0;
89 if (counter > 5) fail("couldn't reach next button within " + counter + " downs");
92 assertFalse("after " + counter + " downs, top button not visible, should not have focus",
94 assertFalse("after " + counter + " downs, neither top button nor botom button visible, nothng within first list " +
97 assertTrue("after " + counter + " downs, top button still visible, should have focus",
101 assertEquals("after " + counter + " downs, " +
107 counter++;
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java208 public void updateMemoryUsageEstimate(MemoryUsageCounter counter) { argument
1230 public void updateMemoryUsageEstimate(MemoryUsageCounter counter) { argument
1232 counter.increment(nestedViews.estimateMemoryUsage());
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java408 * @param counter a Counter, or null.
410 public static void writeCounterToParcel(Parcel out, Counter counter) { argument
411 if (counter == null) {
417 counter.writeToParcel(out);
449 * Clear state of this counter.
734 * A sequnce counter, incremented once for each update of the stats.
5717 pr.println("*** Input event counter:");
/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
811 * Increments the counter, treated as a 16-byte little-endian number, by one.
817 while ((++pSession->counter[i] == 0) && (++i < AES_BLOCK_SIZE))
847 AES_encrypt(pSession->counter, pSession->keyStream, &pSession->encryptionRoundKeys);
1139 memcpy(pSession->counter, pSession->pEncryptedSessionKey, AES_BLOCK_SIZE);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c212 * Calculates the counter, treated as a 16-byte little-endian number, used to generate the keystream
217 * @param[out] pCounter A reference to the counter.
236 * Decrypts the byte at the current file position using AES-128-CTR. In CTR (or "counter") mode,
247 unsigned char counter[AES_BLOCK_SIZE]; local
248 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter);
249 AES_encrypt(counter, pSession->keyStream, &pSession->encryptionRoundKeys);
/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...]

Completed in 286 milliseconds