Searched defs:total (Results 1 - 24 of 24) sorted by last modified time

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c119 sf_count_t total = 0; local
137 total += actual;
140 if ((total & 0xFF00) == 0xFF00) {
H A Dplaybq.cpp119 sf_count_t total = 0; local
137 total += actual;
140 if ((total & 0xFF00) == 0xFF00) {
/frameworks/rs/
H A DrsContext.cpp176 double total = 0; local
178 total += mTimers[ct];
189 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript,
190 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap,
191 100.0 * mTimers[RS_TIMER_IDLE] / total, mTimers[RS_TIMER_IDLE] / 1000000,
192 100.0 * mTimers[RS_TIMER_INTERNAL] / total, mTimers[RS_TIMER_INTERNAL] / 1000000,
H A DrsElement.cpp69 size_t total = 0; local
71 total += mFields[ct].e->mBits * mFields[ct].arraySize;
73 return total;
81 size_t total = 0; local
83 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize;
85 return total;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java865 private static SmsHeader getConcatUserDataHeader(int index, int total) { argument
869 concatRef.msgCount = total;
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp58 size_t total = 0; local
76 total += rec.size;
78 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0f);
/frameworks/native/opengl/libagl/
H A Dcontext.h239 uint32_t total; member in struct:android::gl::vertex_cache_t
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp1440 uint32_t total = 0; local
1443 total++;
1450 return total;
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1602 size_t total = size + end; local
1603 void* buf = editData(total);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcontrast.cpp34 float total = 0; local
41 total += lumArray[i];
43 const float avg = total / numPixels;
/frameworks/base/libs/hwui/
H A DCaches.cpp260 log.appendFormat("Current memory usage / total memory usage (bytes):\n");
280 log.appendFormat(" FontRenderer %d total %8d / %8d\n", i, sizeA8 + sizeRGBA,
287 uint32_t total = 0; local
288 total += textureCache.getSize();
289 total += layerCache.getSize();
290 total += renderBufferCache.getSize();
291 total += gradientCache.getSize();
292 total += pathCache.getSize();
293 total += dropShadowCache.getSize();
294 total
[all...]
H A DOpenGLRenderer.cpp563 size_t total = 0; local
565 total += buffer[i] & 0xff;
568 mOverdraw = total / float(count);
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp1010 int total,
1016 if (total % components != 0) {
1019 components, total);
1024 float* data_cpy = new float[total];
1025 memcpy(data_cpy, data, sizeof(float) * total);
1008 SetAttributeValues(ProgramVar var, const float* data, int total, int components) argument
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseCursorTest.java263 int total; field in class:DatabaseCursorTest.TestObserver
268 total = total_;
274 if (total == count) {
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java169 public static long total(long[] array) { method in class:ArrayUtils
170 long total = 0;
172 total += value;
174 return total;
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp148 size_t* total = (size_t*) arg; local
155 *total += uncompLen;
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp68 struct timespec total; // total elapsed time spent waiting local
69 total.tv_sec = 0;
70 total.tv_nsec = 0;
71 bool measure = elapsed != NULL; // whether to measure total elapsed time spent waiting
186 if (!measure || requested->tv_sec < total.tv_sec ||
187 (requested->tv_sec == total.tv_sec && requested->tv_nsec <= total.tv_nsec)) {
191 remaining.tv_sec = requested->tv_sec - total.tv_sec;
192 if ((remaining.tv_nsec = requested->tv_nsec - total
357 struct timespec total; // total elapsed time spent waiting local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
H A DMP4Source.cpp71 size_t total = 0; local
72 while (total < size) {
74 (uint8_t *)data + total, size - total, &extra);
82 mPosition += total;
86 total += n;
91 mPosition += total;
93 return total;
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp84 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, argument
94 ALOG_ASSERT(accumulator <= total);
95 size_t count = total - accumulator;
H A DNBAIO.cpp141 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument
155 while (accumulator < total) {
156 size_t count = total - accumulator;
177 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, argument
192 while (accumulator < total) {
193 size_t count = total - accumulator;
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp87 size_t total = 0; local
89 total += cert_chain[i].size();
91 size_t bytesize = total + numcerts * 4;
96 ALOGV("%d certs: %d -> %d", numcerts, total, bytesize);
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c149 int total = 0; local
258 total += t2 - t1;
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp60 virtual int Length(long long* total, long long* available) { argument
63 *total = -1;
69 if (total) {
70 *total = size;
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp2489 size_t total = 0; local
2507 total += actual;
2510 uint32_t temp = 44 + total * channelCount * sizeof(short) - 8;
2513 temp = total * channelCount * sizeof(short);

Completed in 533 milliseconds