/frameworks/compile/mclinker/unittests/ |
H A D | LinearAllocatorTest.cpp | 111 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 D | RTLinearAllocatorTest.cpp | 112 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 D | 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 local 171 int counter = 0; local 180 int counter = 0; local 197 int counter = 0; local [all...] |
H A D | BinTreeTest.cpp | 192 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 D | HashTableTest.cpp | 262 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 D | 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;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcFailBringUp.java | 35 // 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 D | chvr_filter.cpp | 35 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 D | Linker.cpp | 105 static int counter = 0; local 109 mcld::outs() << counter++ << " * " << (*input)->name();
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
H A D | HistogramPredictor.java | 96 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/wilhelm/tests/mimeUri/ |
H A D | slesTestGetPositionUri.cpp | 151 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 D | FwdLockFile.c | 215 * 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 D | slesTestDecodeToBuffQueue.cpp | 67 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 D | FwdLockConv.c | 149 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 D | RemoteViews.java | 253 public void updateMemoryUsageEstimate(MemoryUsageCounter counter) { argument 1353 public void updateMemoryUsageEstimate(MemoryUsageCounter counter) { argument 1355 counter.increment(nestedViews.estimateMemoryUsage());
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 402 * @param counter a Counter, or null. 404 public static void writeCounterToParcel(Parcel out, Counter counter) { argument 405 if (counter == null) { 411 counter.writeToParcel(out); 443 * Clear state of this counter. 545 * Clear state of this counter. 813 * A sequence counter, incremented once for each update of the stats. 6052 pr.println("*** Input event counter:");
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.cpp | 11392 void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString) { argument 11404 // copy argument counter 11408 arg_counter->add_intvalue(counter); 11431 glContext->hooks->gl.glGetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterString); 11446 void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid *data) { argument 11458 // copy argument counter 11462 arg_counter->add_intvalue(counter); 11479 glContext->hooks->gl.glGetPerfMonitorCounterInfoAMD(group, counter, pname, data);
|