/frameworks/wilhelm/src/ |
H A D | entry.c | 89 // if an engine already exists, then increment its ref count 188 SLuint32 count = 0; local 197 ++count; 206 *pNumSupportedInterfaces = count;
|
/frameworks/wilhelm/src/itf/ |
H A D | IEngine.c | 287 // copy the buffer queue count from source locator (for playback) / from the 452 // always PCM buffer queue, so we know the channel count and sample rate early. 796 SLuint32 count = 0; local 805 ++count; 814 *pNumSupportedInterfaces = count;
|
H A D | IMetadataTraversal.c | 55 SLuint32 count = thiz->mCount; local 57 *pCount = count;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 171 uintptr_t count = 0; local 182 count = count * 10 + (ch - '0'); 184 count = ch - '0'; 203 expectedContext = (void *) count; 216 for (i = 0; i < (in_count ? count : 1); ++i) { 227 if (bufqstate.count != 0) 228 printf("\rcount=%u\r\n", (unsigned) bufqstate.count); 239 printf("count=%u\r\n", (unsigned) bufqstate.count); [all...] |
H A D | playbq.c | 104 ssize_t count = pipeReader->read(buffer, framesPerBuffer, (int64_t) -1); local 106 if (0 >= count) { 108 count = framesPerBuffer; 111 if (count > 0) { 112 SLuint32 nbytes = count * sfframesize; 138 sf_count_t count; local 142 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES); 146 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES); 150 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES); 153 count 505 sf_count_t count; local [all...] |
H A D | playbq.cpp | 104 ssize_t count = pipeReader->read(buffer, framesPerBuffer, (int64_t) -1); local 106 if (0 >= count) { 108 count = framesPerBuffer; 111 if (count > 0) { 112 SLuint32 nbytes = count * sfframesize; 138 sf_count_t count; local 142 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES); 146 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES); 150 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES); 153 count 505 sf_count_t count; local [all...] |
H A D | reverb.c | 322 SLuint32 count = 0; local 324 mix_req[count] = SL_BOOLEAN_TRUE; 325 mix_ids[count++] = SL_IID_PRESETREVERB; 328 mix_req[count] = SL_BOOLEAN_TRUE; 329 mix_ids[count++] = SL_IID_ENVIRONMENTALREVERB; 332 result = (*engineEngine)->CreateOutputMix(engineEngine, &mixObject, count, mix_ids, mix_req); 409 count = 0; 411 player_req[count] = SL_BOOLEAN_TRUE; 412 player_ids[count++] = SL_IID_PRESETREVERB; 415 player_req[count] [all...] |
/frameworks/wilhelm/tools/permute/ |
H A D | permute.c | 243 sf_count_t count; local 244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames); 245 if (count != sfinfo_in.frames) { 247 (int) sfinfo_in.frames, (int) count); 270 count = sf_writef_short(sf_out, &((short *) ptr)[sfinfo_in.channels * s.mSegmentArray[i] 272 if (count != s.mSegmentArray[i].mFrameLength) { 274 path_out, (int) s.mSegmentArray[i].mFrameLength, (int) count);
|
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 194 void Allocation::copy1DRangeFrom(uint32_t off, size_t count, const void *data) { argument 196 if(count < 1) { 200 if((off + count) > mCurrentCount) { 201 ALOGE("Overflow, Available count %u, got %zu at offset %u.", mCurrentCount, count, off); 207 count, data, count * mType->getElement()->getSizeBytes())); 210 void Allocation::copy1DRangeTo(uint32_t off, size_t count, void *data) { argument 211 if(count < 1) { 215 if((off + count) > mCurrentCoun 225 copy1DRangeFrom(uint32_t off, size_t count, sp<const Allocation> data, uint32_t dataOff) argument 366 createSized(sp<RS> rs, sp<const Element> e, size_t count, uint32_t usage) argument [all...] |
H A D | Type.cpp | 51 uint32_t count = x * y * z * faces; local 63 count += x * y * z * faces; 65 mElementCount = count;
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | StubLayout.h | 26 size_t count; member in class:StubLayout 34 void initStubTable(unsigned char *table, size_t count); 37 size_t calcStubTableSize(size_t count) const;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsics_x86.c | 81 const short *coef, uint32_t count) { 98 for (i = 0; i < count; ++i) { 143 const short *coef, uint32_t count) { 165 for (i = 0; i < count; ++i) { 198 const short *coef, uint32_t count) { 221 for (i = 0; i < count; ++i) { 252 const short *coef, uint32_t count) { 277 for (i = 0; i < count; ++i) { 412 uint32_t count, const short *param) { 430 for (i = 0; i < (count << 79 rsdIntrinsicConvolve3x3_K(void *dst, const void *y0, const void *y1, const void *y2, const short *coef, uint32_t count) argument 142 rsdIntrinsicColorMatrix4x4_K(void *dst, const void *src, const short *coef, uint32_t count) argument 197 rsdIntrinsicColorMatrix3x3_K(void *dst, const void *src, const short *coef, uint32_t count) argument 251 rsdIntrinsicColorMatrixDot_K(void *dst, const void *src, const short *coef, uint32_t count) argument 410 rsdIntrinsicYuv_K(void *dst, const unsigned char *pY, const unsigned char *pUV, uint32_t count, const short *param) argument 472 rsdIntrinsicYuvR_K(void *dst, const unsigned char *pY, const unsigned char *pUV, uint32_t count, const short *param) argument 534 rsdIntrinsicYuv2_K(void *dst, const unsigned char *pY, const unsigned char *pU, const unsigned char *pV, uint32_t count, const short *param) argument 596 rsdIntrinsicConvolve5x5_K(void *dst, const void *y0, const void *y1, const void *y2, const void *y3, const void *y4, const short *coef, uint32_t count) argument [all...] |
H A D | rsCpuScriptGroup.h | 42 size_t count; member in struct:android::renderscript::CpuScriptGroupImpl::ScriptList
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 796 uint32_t xoff, uint32_t lod, size_t count, 802 size_t size = count * eSize; 807 alloc->incRefs(data, count); 808 alloc->decRefs(ptr, count); 915 uint32_t xoff, uint32_t lod, size_t count, 922 memcpy(data, ptr, count * eSize); 997 uint32_t dstXoff, uint32_t dstLod, size_t count, 795 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument 914 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument 995 rsdAllocationData1D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstLod, size_t count, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcLod) argument
|
H A D | rsdRuntimeStubs.cpp | 124 uint32_t count, 128 rsrAllocationCopy1DRange(rsc, (Allocation*)dstAlloc.p, dstOff, dstMip, count, 163 uint32_t count, 167 rsrAllocationCopy1DRange(rsc, (Allocation*)dstAlloc.p, dstOff, dstMip, count, 1511 uint32_t dstOff, uint32_t dstMip, uint32_t count, 1514 SC_AllocationCopy1DRange(dstAlloc, dstOff, dstMip, count, 121 SC_AllocationCopy1DRange(android::renderscript::rs_allocation dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, android::renderscript::rs_allocation srcAlloc, uint32_t srcOff, uint32_t srcMip) argument 160 SC_AllocationCopy1DRange(::rs_allocation dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, ::rs_allocation srcAlloc, uint32_t srcOff, uint32_t srcMip) argument 1509 rsAllocationCopy1DRange( ::rs_allocation dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, ::rs_allocation srcAlloc, uint32_t srcOff, uint32_t srcMip) argument
|
H A D | rsdShader.cpp | 599 uint32_t *count, const char *prefix) { 604 initAddUserElement(ce, names, arrayLengths, count, prefix); 608 names[*count].setTo(tmp.string()); 610 arrayLengths[*count] = e->mHal.state.fieldArraySizes[ct]; 612 (*count)++; 598 initAddUserElement(const Element *e, String8 *names, uint32_t *arrayLengths, uint32_t *count, const char *prefix) argument
|
/frameworks/rs/ |
H A D | rsAdapter.cpp | 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument 41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes, 0);
|
H A D | rsAllocation.cpp | 116 uint32_t count, const void *data, size_t sizeBytes) { 119 if ((count * eSize) != sizeBytes) { 122 (count * eSize), sizeBytes); 128 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 146 uint32_t count, void *data, size_t sizeBytes) { 149 if ((count * eSize) != sizeBytes) { 152 (count * eSize), sizeBytes); 158 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); 410 uint32_t count = dataSize / type->getElementSizeBytes(); local 412 alloc->data(rsc, 0, 0, count, strea 115 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 145 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 582 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 769 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument [all...] |
H A D | rsElement.cpp | 273 ObjectBaseRef<const Element> Element::createRef(Context *rsc, size_t count, const Element **ein, argument 281 if (ee->getFieldCount() == count) { 283 for (uint32_t i=0; i < count; i++) { 321 e->mFields = new ElementField_t [count]; 322 e->mFieldCount = count; 323 for (size_t ct=0; ct < count; ct++) {
|
H A D | rsElement.h | 108 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count, 123 static const Element* create(Context *rsc, size_t count, argument 128 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
|
H A D | rsScriptC_Lib.cpp | 243 uint32_t count, 247 dstMip, 0, count, 1, 240 rsrAllocationCopy1DRange(Context *rsc, Allocation *dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, Allocation *srcAlloc, uint32_t srcOff, uint32_t srcMip) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ArrayObjectAdapter.java | 74 * @param itemCount The count of how many items have changed. 149 * @param count The number of items to remove. 152 public int removeItems(int position, int count) { argument 153 int itemsToRemove = Math.min(count, mItems.size() - position);
|
H A D | CursorObjectAdapter.java | 179 * Remove {@code count} items starting at {@code index}. 181 protected final void invalidateCache(int index, int count) { argument 182 for (int limit = count + index; index < limit; index++) {
|
/frameworks/support/v4/java/android/support/v4/text/ |
H A D | TextDirectionHeuristicCompat.java | 28 * @param count the length to check, must not be negative and not greater than 33 boolean isRtl(char[] array, int start, int count); argument 40 * @param count the length to check, must not be negative and not greater than 45 boolean isRtl(CharSequence cs, int start, int count); argument
|
H A D | TextDirectionHeuristicsCompat.java | 124 public boolean isRtl(char[] array, int start, int count) { argument 125 return isRtl(CharBuffer.wrap(array), start, count); 129 public boolean isRtl(CharSequence cs, int start, int count) { argument 130 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { 136 return doCheck(cs, start, count); 139 private boolean doCheck(CharSequence cs, int start, int count) { argument 140 switch(mAlgorithm.checkRtl(cs, start, count)) { 173 int checkRtl(CharSequence cs, int start, int count); argument 182 public int checkRtl(CharSequence cs, int start, int count) { argument 205 checkRtl(CharSequence cs, int start, int count) argument [all...] |