/frameworks/base/libs/androidfw/tests/ |
H A D | Asset_test.cpp | 24 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 D | FatVectorTests.cpp | 95 int count = 0; local 99 v.emplace_back(&count); 101 EXPECT_EQ(0, count) << "Destruction shouldn't have happened yet"; 103 EXPECT_EQ(1, count) << "Destruction should happen exactly once"; 107 int count = 0; local 112 v.emplace_back(&count); 115 EXPECT_EQ(0, count) << "Destruction shouldn't have happened yet"; 117 EXPECT_EQ(10, count) << "Destruction should happen exactly once";
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ton_stab.h | 95 Word16 count; member in struct:__anon532
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | value.h | 31 int count; member in struct:__anon1073 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/base/tests/CoreTests/android/core/ |
H A D | LowLevelNetRunner.java | 24 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/format/binary/ |
H A D | ResourceTypeExtensions.h | 28 uint32_t count; member in struct:aapt::ResTable_entry_ext
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glDrawElementsInstanced.java | 1 // 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 D | glDrawElementsInstancedBaseVertex.java | 1 // 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 D | TextDirectionHeuristic.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
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | PacketEncoder.java | 32 * @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 D | Locale_test.cpp | 31 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/native/libs/sensor/include/sensor/ |
H A D | BitTube.h | 54 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/native/vulkan/vkjson/ |
H A D | vkjson_instance.cc | 37 uint32_t count = 0; local 38 result = vkEnumerateInstanceExtensionProperties(layer_name, &count, nullptr); 41 extensions->resize(count); 42 result = vkEnumerateInstanceExtensionProperties(layer_name, &count, 50 uint32_t count, 52 return std::find_if(extensions, extensions + count, 55 }) != extensions + count; member in namespace:__anon1942 298 uint32_t count; 300 count = 0; 301 result = vkEnumerateInstanceLayerProperties(&count, nullpt 49 HasExtension(const char* extension_name, uint32_t count, const char* const* extensions) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/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
|
/frameworks/av/media/img_utils/src/ |
H A D | ByteArrayOutput.cpp | 32 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 D | FileInput.cpp | 48 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 D | FileOutput.cpp | 47 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 D | Input.cpp | 28 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 D | TiffEntry.cpp | 128 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) {
|
/frameworks/av/media/libaaudio/tests/ |
H A D | test_linear_ramp.cpp | 120 constexpr size_t count = sizeof(source) / sizeof(source[0]); local 121 int16_t destination[count]; 122 const int16_t expected[count] = {kMaxI16, kMaxI16, kHalfI16, kTenthI16, 0, 125 AAudioConvert_floatToPcm16(source, destination, count, 1.0f); 126 for (size_t i = 0; i < count; i++) { 139 constexpr size_t count = sizeof(source) / sizeof(source[0]); local 140 float destination[count]; 141 const float expected[count] = {(32767.0f / 32768.0f), 0.5f, 0.1f, 0.0f, -0.1f, -0.5f, -1.0f}; 143 AAudioConvert_pcm16ToFloat(source, destination, count, 1.0f); 144 for (size_t i = 0; i < count; 158 constexpr size_t count = sizeof(source) / sizeof(source[0]); local [all...] |
/frameworks/av/media/libnbaio/ |
H A D | LibsndfileSink.cpp | 37 ssize_t LibsndfileSink::write(const void *buffer, size_t count) argument 45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count);
|
H A D | LibsndfileSource.cpp | 46 ssize_t LibsndfileSource::read(void *buffer, size_t count) argument 54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count);
|
H A D | MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count) argument 48 // count == 0 is unlikely and not worth checking for explicitly; will be handled automatically 49 ssize_t actual = mFifoReader.read(buffer, count); 50 ALOG_ASSERT(actual <= count);
|
H A D | Pipe.cpp | 48 ssize_t Pipe::write(const void *buffer, size_t count) argument 50 // count == 0 is unlikely and not worth checking for 54 ssize_t actual = mFifoWriter.write(buffer, count); 55 ALOG_ASSERT(actual <= count);
|
H A D | PipeReader.cpp | 62 ssize_t PipeReader::read(void *buffer, size_t count) argument 65 ssize_t actual = mFifoReader.read(buffer, count, NULL /*timeout*/, &lost); 66 ALOG_ASSERT(actual <= count);
|