Searched defs:total (Results 1 - 20 of 20) sorted by relevance

/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.cpp95 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument
109 while (accumulator < total) {
110 size_t count = total - accumulator;
131 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, argument
146 while (accumulator < total) {
147 size_t count = total - accumulator;
/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/base/core/java/com/android/internal/util/
H A DArrayUtils.java145 public static long total(long[] array) { method in class:ArrayUtils
146 long total = 0;
148 total += value;
150 return total;
/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/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c149 int total = 0; local
258 total += t2 - t1;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java818 private void encodeDecodeAssertEquals(String payload, int index, int total, argument
834 concatRef.msgCount = total;
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp148 size_t* total = (size_t*) arg; local
155 *total += uncompLen;
/frameworks/base/libs/hwui/
H A DCaches.cpp175 log.appendFormat("Current memory usage / total memory usage (bytes):\n");
206 uint32_t total = 0; local
207 total += textureCache.getSize();
208 total += layerCache.getSize();
209 total += gradientCache.getSize();
210 total += pathCache.getSize();
211 total += dropShadowCache.getSize();
212 total += roundRectShapeCache.getSize();
213 total += circleShapeCache.getSize();
214 total
[all...]
/frameworks/rs/
H A DrsElement.cpp64 size_t total = 0; local
66 total += mFields[ct].e->mBits * mFields[ct].arraySize;
68 return total;
76 size_t total = 0; local
78 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize;
80 return total;
H A DrsContext.cpp147 double total = 0; local
149 total += mTimers[ct];
160 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript,
161 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap,
162 100.0 * mTimers[RS_TIMER_IDLE] / total, mTimers[RS_TIMER_IDLE] / 1000000,
163 100.0 * mTimers[RS_TIMER_INTERNAL] / total, mTimers[RS_TIMER_INTERNAL] / 1000000,
/frameworks/support/renderscript/v8/rs_support/
H A DrsElement.cpp64 size_t total = 0; local
66 total += mFields[ct].e->mBits * mFields[ct].arraySize;
68 return total;
76 size_t total = 0; local
78 total += mFields[ct].e->mBitsUnpadded * mFields[ct].arraySize;
80 return total;
H A DrsContext.cpp128 double total = 0; local
130 total += mTimers[ct];
141 100.0 * mTimers[RS_TIMER_SCRIPT] / total, mTimeMSLastScript,
142 100.0 * mTimers[RS_TIMER_CLEAR_SWAP] / total, mTimeMSLastSwap,
143 100.0 * mTimers[RS_TIMER_IDLE] / total, mTimers[RS_TIMER_IDLE] / 1000000,
144 100.0 * mTimers[RS_TIMER_INTERNAL] / total, mTimers[RS_TIMER_INTERNAL] / 1000000,
/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/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/tools/aapt/
H A DAaptAssets.cpp1594 size_t total = size + end; local
1595 void* buf = editData(total);
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp1440 uint32_t total = 0; local
1443 total++;
1450 return total;
/frameworks/native/opengl/libagl/
H A Dcontext.h239 uint32_t total; member in struct:android::gl::vertex_cache_t
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp168 // IAudioFlinger::createTrack() reports back to client the total size of shared memory area
1666 snprintf(buffer, SIZE, "total writes: %d\n", mNumWrites);
3631 size_t total = 0; local
3649 total += actual;
3652 uint32_t temp = 44 + total * channelCount * sizeof(short) - 8;
3655 temp = total * channelCount * sizeof(short);
4782 // a track is considered presented when the total number of frames written to audio HAL

Completed in 1040 milliseconds