Searched defs:count (Results 1 - 25 of 589) sorted by relevance

1234567891011>>

/frameworks/base/libs/androidfw/tests/
H A DAsset_test.cpp24 const int32_t count = Asset::getGlobalCount(); local
26 EXPECT_EQ(count + 1, Asset::getGlobalCount());
28 EXPECT_EQ(count, Asset::getGlobalCount());
32 const int32_t count = Asset::getGlobalCount(); local
34 EXPECT_EQ(count + 1, Asset::getGlobalCount());
36 EXPECT_EQ(count, Asset::getGlobalCount());
/frameworks/base/libs/hwui/tests/unit/
H A DFatVectorTests.cpp96 int count = 0; local
100 v.emplace_back(&count);
102 EXPECT_EQ(0, count) << "Destruction shouldn't have happened yet";
104 EXPECT_EQ(1, count) << "Destruction should happen exactly once";
108 int count = 0; local
113 v.emplace_back(&count);
116 EXPECT_EQ(0, count) << "Destruction shouldn't have happened yet";
118 EXPECT_EQ(10, count) << "Destruction should happen exactly once";
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dton_stab.h95 Word16 count; member in struct:__anon538
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.h31 int count; member in struct:__anon1290
61 Value MakeIntArrayValue(const int* values, int count);
62 Value MakeFloatArrayValue(const float* values, int count);
69 int SetIntArrayValue(Value* value, const int* new_values, int count);
70 int SetFloatArrayValue(Value* value, const float* new_values, int count);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_ComputeTextureErrorBlock.c77 OMX_INT x, y, count; local
89 for (y = 0, count = 0;
93 for (x = 0; x < 8; x++, count++)
95 pDst[count] = pSrc[x] - pSrcRef[count];
H A DomxVCCOMM_ComputeTextureErrorBlock_SAD.c80 OMX_INT x, y, count; local
93 for (y = 0, count = 0, *pDstSAD = 0;
97 for (x = 0; x < 8; x++, count++)
99 pDst[count] = pSrc[x] - pSrcRef[count];
100 *pDstSAD += armAbs(pDst[count]);
H A DomxVCCOMM_Copy16x16.c75 OMX_INT count,index, x, y; local
86 for (y = 0, count = 0, index = 0; y < 16; y++, count = count + step - 16)
88 for (x = 0; x < 16; x++, count++, index++)
90 pDst[index] = pSrc[count];
H A DomxVCCOMM_Copy8x8.c75 OMX_INT count,index, x, y; local
86 for (y = 0, count = 0, index = 0; y < 8; y++, count = count + step - 8)
88 for (x = 0; x < 8; x++, count++, index++)
90 pDst[index] = pSrc[count];
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUListener.java4 public void osuNotification(int count); argument
/frameworks/base/tests/CoreTests/android/core/
H A DLowLevelNetRunner.java24 private int count = 0; field in class:LowLevelNetRunner
30 count++;
34 * Decrement the run count. If this returns to zero notify any
38 count--;
39 if (count <= 0) {
/frameworks/base/tools/aapt2/flatten/
H A DResourceTypeExtensions.h32 uint32_t count; member in struct:aapt::ResTable_entry_ext
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstanced.java1 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
5 int count,
11 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
15 int count,
3 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument
13 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument
H A DglDrawElementsInstancedBaseVertex.java1 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex )
5 int count,
12 // C function void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex )
16 int count,
3 glDrawElementsInstancedBaseVertex( int mode, int count, int type, java.nio.Buffer indices, int instanceCount, int basevertex ) argument
14 glDrawElementsInstancedBaseVertex( int mode, int count, int type, int indicesOffset, int instanceCount, int basevertex ) argument
/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristic.java28 * @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
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DPacketEncoder.java32 * @param count the number of bytes in the packet buffer to write
34 public void writePacket(byte[] buffer, int count); argument
/frameworks/base/tools/aapt2/
H A DLocale_test.cpp31 ssize_t count = lv.InitFromParts(std::begin(parts), std::end(parts)); local
32 if (count < 0) {
37 if (count != 1) {
39 << count << " parts were consumed parsing '" << input
58 ssize_t count = lv.InitFromParts(std::begin(parts), std::end(parts)); local
59 if (count < 0) {
64 if (count != 2) {
66 << count << " parts were consumed parsing '" << input
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, argument
56 Bidi bidi = new Bidi(chars, 0, null, 0, count, dir);
58 for (int i = 0; i < count; ++i)
/frameworks/native/cmds/installd/
H A Dglobals.h39 size_t count; member in struct:android::installd::dir_rec_array_t
/frameworks/native/libs/sensor/include/sensor/
H A DBitTube.h54 T const* events, size_t count) {
55 return sendObjects(tube, events, count, sizeof(T));
62 T* events, size_t count) {
63 return recvObjects(tube, events, count, sizeof(T));
83 void const* events, size_t count, size_t objSize);
86 void* events, size_t count, size_t objSize);
53 sendObjects(const sp<BitTube>& tube, T const* events, size_t count) argument
61 recvObjects(const sp<BitTube>& tube, T* events, size_t count) argument
/frameworks/support/compat/java/android/support/v4/text/
H A DTextDirectionHeuristicCompat.java28 * @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
/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp32 status_t ByteArrayOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
33 if (mByteArray.appendArray(buf + offset, count) < 0) {
H A DFileInput.cpp48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { argument
54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp);
H A DFileOutput.cpp47 status_t FileOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);
H A DInput.cpp28 ssize_t Input::skip(size_t count) { argument
32 size_t remaining = count;
39 if (remaining == count) {
44 return count - remaining;
52 return count;
H A DTiffEntry.cpp128 uint32_t count = getCount(); local
129 output.appendFormat("[id: %x, type: %d, count: %u, value: '", getTag(), getType(), count);
131 size_t cappedCount = count;
132 if (count > MAX_PRINT_STRING_LENGTH) {
148 size_t len = count;
149 if (count > MAX_PRINT_STRING_LENGTH) {
226 if (count > MAX_PRINT_STRING_LENGTH) {

Completed in 436 milliseconds

1234567891011>>