Lines Matching refs:SIZE
110 size_t size = mHandles.size();
113 for (i = 0; i < size; i++) {
145 size_t size = mHandles.size();
147 for (i = 0; i < size; i++) {
152 if (i == size) {
153 return size;
169 if (mHandles.size() == 0 && !mPinned) {
173 return mHandles.size();
180 for (size_t i = 0; i < mHandles.size(); i++) {
202 return mHandles.size();
308 uint32_t size;
365 size = sizeof(int);
370 &size,
383 size = sizeof(int);
397 &size,
416 uint32_t size = sizeof(status_t);
421 &size,
444 uint32_t size = sizeof(status_t);
449 &size,
483 uint32_t size = sizeof(status_t);
488 &size,
536 uint32_t size = (replySize == NULL) ? 0 : *replySize;
537 for (size_t i = 1; i < mHandles.size(); i++) {
540 h->commandExecuted(cmdCode, cmdSize, pCmdData, size, pReplyData);
590 for (size_t i = 1; i < mHandles.size(); i++) {
651 uint32_t size = sizeof(volume);
659 size,
661 &size,
663 if (controller && status == NO_ERROR && size == sizeof(volume)) {
684 uint32_t size = sizeof(status_t);
691 &size,
706 uint32_t size = sizeof(status_t);
711 &size,
728 uint32_t size = 0;
733 &size,
755 for (size_t i = 0; i < mHandles.size(); i++) {
776 uint32_t size = sizeof(status_t);
785 &size,
809 const size_t SIZE = 256;
810 char buffer[SIZE];
813 snprintf(buffer, SIZE, "\tEffect ID %d:\n", mId);
823 snprintf(buffer, SIZE, "\t\t%05d %03d %03d 0x%08x\n",
828 snprintf(buffer, SIZE, "\t\t- UUID: %08X-%04X-%04X-%04X-%02X%02X%02X%02X%02X%02X\n",
834 snprintf(buffer, SIZE, "\t\t- TYPE: %08X-%04X-%04X-%04X-%02X%02X%02X%02X%02X%02X\n",
841 snprintf(buffer, SIZE, "\t\t- apiVersion: %08X\n\t\t- flags: %08X\n",
845 snprintf(buffer, SIZE, "\t\t- name: %s\n",
848 snprintf(buffer, SIZE, "\t\t- implementor: %s\n",
854 snprintf(buffer, SIZE, "\t\t\t0x%08x %05d %05d %08x %d\n",
864 snprintf(buffer, SIZE, "\t\t\t0x%08x %05d %05d %08x %d\n",
872 snprintf(buffer, SIZE, "\t\t%d Clients:\n", mHandles.size());
875 for (size_t i = 0; i < mHandles.size(); ++i) {
878 handle->dump(buffer, SIZE);
922 ALOGE("not enough memory for Effect size=%u", EFFECT_PARAM_BUFFER_SIZE +
1099 int size = *p++;
1100 if (((uint8_t *)p + size) > mBuffer + mCblk->clientIndex) {
1101 ALOGW("command(): invalid parameter block size");
1106 ALOGW("command(): null parameter or value size");
1107 mCblk->serverIndex += size;
1127 mCblk->serverIndex += size;
1182 void AudioFlinger::EffectHandle::dump(char* buffer, size_t size)
1186 snprintf(buffer, size, "\t\t\t%05d %05d %01u %01u %05u %05u\n",
1229 size_t size = mEffects.size();
1231 for (size_t i = 0; i < size; i++) {
1242 size_t size = mEffects.size();
1244 for (size_t i = 0; i < size; i++) {
1257 size_t size = mEffects.size();
1259 for (size_t i = 0; i < size; i++) {
1317 size_t size = mEffects.size();
1319 for (size_t i = 0; i < size; i++) {
1323 for (size_t i = 0; i < size; i++) {
1372 size_t size = mEffects.size();
1373 size_t idx_insert = size;
1377 for (size_t i = 0; i < size; i++) {
1391 if (idx_insert == size) {
1413 idx_insert = size;
1426 if (idx_insert == size) {
1448 size_t size = mEffects.size();
1451 for (size_t i = 0; i < size; i++) {
1463 if (i == size - 1 && i != 0) {
1475 return mEffects.size();
1481 size_t size = mEffects.size();
1482 for (size_t i = 0; i < size; i++) {
1490 size_t size = mEffects.size();
1491 for (size_t i = 0; i < size; i++) {
1499 size_t size = mEffects.size();
1500 for (size_t i = 0; i < size; i++) {
1512 size_t size = mEffects.size();
1515 for (size_t i = size; i > 0; i--) {
1548 for (size_t i = 0; i < size; i++) {
1567 const size_t SIZE = 256;
1568 char buffer[SIZE];
1571 snprintf(buffer, SIZE, "Effects for session %d:\n", mSessionId);
1581 snprintf(buffer, SIZE, "\t%02d 0x%08x 0x%08x %d\n",
1582 mEffects.size(),
1587 write(fd, result.string(), result.size());
1589 for (size_t i = 0; i < mEffects.size(); ++i) {
1672 for (size_t i = 0; i < effects.size(); i++) {
1687 for (size_t i = 0; i < mSuspendedEffects.size(); i++) {
1693 for (size_t i = 0; i < types.size(); i++) {
1727 for (size_t i = 0; i < mEffects.size(); i++) {
1786 size_t size = mEffects.size();
1787 for (size_t i = 0; i < size; i++) {