/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiFramer.java | 48 public static String formatMidiData(byte[] data, int offset, int count) { argument 50 for (int i = 0; i < count; i++) { 60 public void onSend(byte[] data, int offset, int count, long timestamp) argument 64 for (int i = 0; i < count; i++) {
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmOutputStream.java | 93 public void write(byte[] buffer, int offset, int count) throws IOException { argument 94 Arrays.checkOffsetAndCount(buffer.length, offset, count); 97 if (count == buffer.length) { 100 exactBuffer = new byte[count]; 101 System.arraycopy(buffer, offset, exactBuffer, 0, count);
|
/frameworks/base/libs/common_time/ |
H A D | utils.h | 65 uint32_t count; member in class:android::LogRing::Entry
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestScene.h | 35 int count = 0; member in struct:android::uirenderer::test::TestScene::Options
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { argument 99 int remainLength = count; 104 if ((offset | count) < 0 || count > buffer.length - offset) {
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbAccessoryBulkTransport.java | 55 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument 59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1); 63 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument 68 buffer, offset, count, TIMEOUT_MILLIS);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 32 private int count; field in class:UnsafeByteSequence 39 return count; 47 count = 0; 51 if (count + length >= bytes.length) { 52 byte[] newBytes = new byte[(count + length) * 2]; 53 System.arraycopy(bytes, 0, newBytes, 0, count); 56 System.arraycopy(buffer, offset, bytes, count, length); 57 count += length; 61 if (count == bytes.length) { 62 byte[] newBytes = new byte[count * [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glDrawElementsInstancedBaseVertex.cpp | 1 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */ 4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) { 14 if (_remaining < count-basevertex) { 17 _exceptionMessage = "remaining() < count-basevertex < needed"; 26 (GLsizei)count, 39 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */ 42 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) { 45 (GLsizei)count, 3 android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) argument 41 android_glDrawElementsInstancedBaseVertex__IIIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) argument
|
H A D | glGetDebugMessageLog.cpp | 1 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 4 (JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) { 9 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 12 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) { 17 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 20 (JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) { 25 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 28 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) { 3 android_glGetDebugMessageLog__II_3II_3II_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) argument 11 android_glGetDebugMessageLog__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_ByteBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) argument 19 android_glGetDebugMessageLog__I_3II_3II_3II_3II(JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) argument 27 android_glGetDebugMessageLog__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) argument
|
H A D | glGetDebugMessageLogKHR.cpp | 1 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 4 (JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) { 9 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 12 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) { 17 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 20 (JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) { 25 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */ 28 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) { 3 android_glGetDebugMessageLogKHR__II_3II_3II_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) argument 11 android_glGetDebugMessageLogKHR__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_ByteBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) argument 19 android_glGetDebugMessageLogKHR__I_3II_3II_3II_3II(JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) argument 27 android_glGetDebugMessageLogKHR__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) argument
|
/frameworks/native/services/sensorservice/tests/ |
H A D | sensorservicetest.cpp | 68 ssize_t count = mgr.getSensorList(&list); local 69 printf("numSensors=%d\n", int(count));
|
/frameworks/native/services/surfaceflinger/EventLog/ |
H A D | EventLog.cpp | 69 void EventLog::TagBuffer::startList(int8_t count) { argument 71 const size_t needed = 1 + sizeof(count); 77 mStorage[mPos + 1] = count;
|
/frameworks/native/vulkan/libvulkan/ |
H A D | stubhal.cpp | 54 uint32_t* count, 56 *count = 0; 61 EnumerateInstanceLayerProperties(uint32_t* count, argument 63 *count = 0; 94 uint32_t* count, 96 *count = 0; 53 EnumerateInstanceExtensionProperties(const char* , uint32_t* count, VkExtensionProperties* ) argument 93 EnumeratePhysicalDevices(VkInstance , uint32_t* count, VkPhysicalDevice* ) argument
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsConnectionStateListener.java | 74 * Called when waiting voice message count changes. 76 public void onVoiceMessageCountChanged(int count) { argument
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScriptGroup.h | 42 size_t count; member in struct:android::renderscript::CpuScriptGroupImpl::ScriptList
|
/frameworks/rs/rsov/compiler/spirit/ |
H A D | module_test.cpp | 58 int count = 0; local 60 CreateInstructionVisitor([&count](Instruction *) -> void { count++; })); 63 ASSERT_EQ(count, 123);
|
/frameworks/wilhelm/src/itf/ |
H A D | IMetadataTraversal.cpp | 55 SLuint32 count = thiz->mCount; local 57 *pCount = count;
|
/frameworks/av/camera/include/camera/ndk/ |
H A D | NdkCameraMetadata.h | 110 * Count of elements (NOT count of bytes) in this metadata entry. 112 uint32_t count; member in struct:ACameraMetadata_entry 117 * <p>The type field above defines which union member pointer is valid. The count field above 155 * Count of elements (NOT count of bytes) in this metadata entry. 157 uint32_t count; member in struct:ACameraMetadata_const_entry 162 * <p>The type field above defines which union member pointer is valid. The count field above
|
/frameworks/av/include/camera/ndk/ |
H A D | NdkCameraMetadata.h | 110 * Count of elements (NOT count of bytes) in this metadata entry. 112 uint32_t count; member in struct:ACameraMetadata_entry 117 * <p>The type field above defines which union member pointer is valid. The count field above 155 * Count of elements (NOT count of bytes) in this metadata entry. 157 uint32_t count; member in struct:ACameraMetadata_const_entry 162 * <p>The type field above defines which union member pointer is valid. The count field above
|
/frameworks/av/include/media/stagefright/ |
H A D | DataSource.h | 76 // Reads in "count" entries of type T into vector *x. 77 // Returns true if "count" entries can be read. 78 // If fewer than "count" entries can be read, return false. In this case, 87 bool getVector(off64_t offset, Vector<T>* x, size_t count, 136 bool DataSource::getVector(off64_t offset, Vector<T>* x, size_t count, argument 143 if (count == 0) { 152 for (i = 0; i + chunkSize < count; i += chunkSize) { 169 // There are (count - i) more records to read. 170 // Right now, (count - i) <= chunkSize. 171 // We do the same thing as above, but with chunkSize replaced by count [all...] |
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | EndianUtils.h | 102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count); 104 virtual status_t write(const int8_t* buf, size_t offset, size_t count); 106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count); 108 virtual status_t write(const int16_t* buf, size_t offset, size_t count); 110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count); 112 virtual status_t write(const int32_t* buf, size_t offset, size_t count); 114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count); 116 virtual status_t write(const int64_t* buf, size_t offset, size_t count); 118 virtual status_t write(const float* buf, size_t offset, size_t count); 120 virtual status_t write(const double* buf, size_t offset, size_t count); 132 writeHelper(const T* buf, size_t offset, size_t count) argument [all...] |
H A D | TiffEntryImpl.h | 38 TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data); 64 TiffEntryImpl<T>::TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, argument 66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) { 67 count = (type == RATIONAL || type == SRATIONAL) ? count * 2 : count; 68 ssize_t index = mData.appendArray(data, count); 134 uint32_t count = mCount; local 139 * size of the array here, multiply the count by 2. 141 count << 160 uint32_t count = mCount; local [all...] |
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamOutSink.cpp | 58 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) argument 65 status_t ret = mStream->write(buffer, count * mFrameSize, &written);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | armVCM4P2_BlockMatch_Half.c | 90 OMX_INT outer, inner, count, index; local 110 for (outer = 0, count = 0,index = 0; 114 for (inner = 0; inner < BlockSize; inner++, count++, index++) 116 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]); 165 for (outer = 0, count = 0, candSAD = 0,index = 0; 169 for (inner = 0; inner < BlockSize; inner++, count++,index++) 179 candSAD += armAbs (tempPel - pSrcCurrBuf[count]);
|
H A D | armVCM4P2_BlockMatch_Integer.c | 98 OMX_INT outer, inner, count,index; local 156 for (outer = 0, count = 0, index = 0, candSAD = 0; 160 for (inner = 0; inner < BlockSize; inner++, count++, index++) 162 candSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
|