Searched defs:count (Results 26 - 50 of 589) sorted by relevance

1234567891011>>

/frameworks/av/media/libnbaio/
H A DLibsndfileSink.cpp37 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 DLibsndfileSource.cpp46 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 DMonoPipeReader.cpp46 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 DPipe.cpp48 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 DPipeReader.cpp62 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);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothOutputStream.java60 * Writes {@code count} bytes from the byte array {@code buffer} starting
67 * @param count
73 * if {@code offset < 0} or {@code count < 0}, or if
74 * {@code offset + count} is bigger than the length of
78 public void write(byte[] b, int offset, int count) throws IOException { argument
82 if ((offset | count) < 0 || count > b.length - offset) {
85 mSocket.write(b, offset, count);
/frameworks/base/core/java/android/content/
H A DContentProviderResult.java26 * to have exactly one of {@link #uri} or {@link #count} set.
30 public final Integer count; field in class:ContentProviderResult
35 this.count = null;
38 public ContentProviderResult(int count) { argument
39 this.count = count;
46 count = source.readInt();
49 count = null;
57 count = cpr.count;
[all...]
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java71 public int read(byte[] buffer, int offset, int count) throws IOException { argument
72 int numRead = super.read(buffer, offset, count);
/frameworks/base/core/java/android/database/
H A DBulkCursorDescriptor.java47 public int count; field in class:BulkCursorDescriptor
60 out.writeInt(count);
73 count = in.readInt();
/frameworks/base/core/java/android/text/
H A DTextWatcher.java26 * the <code>count</code> characters beginning at <code>start</code>
32 int count, int after);
35 * the <code>count</code> characters beginning at <code>start</code>
40 public void onTextChanged(CharSequence s, int start, int before, int count); argument
31 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockStats.java29 Entry(int count, long totalTime, int version) { argument
30 mCount = count;
/frameworks/base/legacy-test/src/android/test/
H A DPerformanceTestCase.java33 void setInternalIterations(int count); argument
47 * <p>If you return a non-zero iteration count, you should call
/frameworks/base/libs/hwui/
H A DProfileRenderer.cpp27 void ProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { argument
28 mRenderer.drawRects(rects, count, &paint);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaProfileRenderer.cpp28 void SkiaProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { argument
29 for (int index = 0; index + 4 <= count; index += 4) {
/frameworks/base/media/java/android/media/midi/
H A DMidiReceiver.java47 * May fail if count exceeds {@link #getMaxMessageSize}.
57 * @param count the number of bytes of MIDI data in the array to be processed
61 abstract public void onSend(byte[] msg, int offset, int count, long timestamp) argument
92 * Data will get split into multiple calls to {@link #onSend} if count exceeds
100 * @param count the number of bytes of MIDI data in the array to be sent
103 public void send(byte[] msg, int offset, int count) throws IOException { argument
105 send(msg, offset, count, 0L);
111 * Data will get split into multiple calls to {@link #onSend} if count exceeds
119 * @param count the number of bytes of MIDI data in the array to be sent
123 public void send(byte[] msg, int offset, int count, lon argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DObjectFormat.java29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument
33 if (count != FrameFormat.SIZE_UNSPECIFIED) {
34 result.setDimensions(count);
50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument
53 : fromClass(object.getClass(), count, target);
H A DPrimitiveFormat.java28 public static MutableFrameFormat createByteFormat(int count, int target) { argument
29 return createFormat(FrameFormat.TYPE_BYTE, count, target);
32 public static MutableFrameFormat createInt16Format(int count, int target) { argument
33 return createFormat(FrameFormat.TYPE_INT16, count, target);
36 public static MutableFrameFormat createInt32Format(int count, int target) { argument
37 return createFormat(FrameFormat.TYPE_INT32, count, target);
40 public static MutableFrameFormat createFloatFormat(int count, int target) { argument
41 return createFormat(FrameFormat.TYPE_FLOAT, count, target);
44 public static MutableFrameFormat createDoubleFormat(int count, int target) { argument
45 return createFormat(FrameFormat.TYPE_DOUBLE, count, targe
68 createFormat(int baseType, int count, int target) argument
[all...]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestContentResolver.java41 void waitForNotification(Uri uri, int count) throws InterruptedException, TimeoutException { argument
42 Assert.assertEquals(count, getPhaser(uri).awaitAdvanceInterruptibly(
43 count - 1, TIMEOUT_PERIOD_MS, TimeUnit.MILLISECONDS));
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DUsbAccessoryStreamTransport.java56 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument
60 return mInputStream.read(buffer, offset, count);
64 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument
68 mOutputStream.write(buffer, offset, count);
/frameworks/base/tools/aapt2/io/
H A DBigBufferStreams.cpp47 void BigBufferInputStream::BackUp(size_t count) { argument
48 if (count > offset_) {
52 offset_ -= count;
53 bytes_read_ -= count;
79 void BigBufferOutputStream::BackUp(size_t count) { buffer_->BackUp(count); } argument
/frameworks/native/include/ui/
H A DGralloc2.h89 * least "count" buffer_handle_t.
91 Error allocate(BufferDescriptor descriptor, uint32_t count,
100 Error allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, uint32_t count, argument
106 error = allocate(descriptor, count, outStride, outBufferHandles);
/frameworks/native/libs/gui/
H A DDisplayEventReceiver.cpp62 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { argument
63 if (int32_t(count) < 0)
67 mEventConnection->setVsyncRate(count);
83 size_t count) {
84 return DisplayEventReceiver::getEvents(mDataChannel.get(), events, count);
88 Event* events, size_t count)
90 return gui::BitTube::recvObjects(dataChannel, events, count);
94 Event const* events, size_t count)
96 return gui::BitTube::sendObjects(dataChannel, events, count);
82 getEvents(DisplayEventReceiver::Event* events, size_t count) argument
87 getEvents(gui::BitTube* dataChannel, Event* events, size_t count) argument
93 sendEvents(gui::BitTube* dataChannel, Event const* events, size_t count) argument
/frameworks/native/libs/gui/include/private/gui/
H A DBitTube.h63 static ssize_t sendObjects(BitTube* tube, T const* events, size_t count) { argument
64 return sendObjects(tube, events, count, sizeof(T));
70 static ssize_t recvObjects(BitTube* tube, T* events, size_t count) { argument
71 return recvObjects(tube, events, count, sizeof(T));
91 static ssize_t sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize);
93 static ssize_t recvObjects(BitTube* tube, void* events, size_t count, size_t objSize);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstanced.cpp1 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) {
17 (GLsizei)count,
27 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
30 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) {
33 (GLsizei)count,
3 android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) argument
29 android_glDrawElementsInstanced__IIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) argument
H A DglGetDebugMessageLog.java1 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
4 int count,
19 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
22 int count,
30 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
33 int count,
43 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
46 int count,
3 glGetDebugMessageLog( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument
21 glGetDebugMessageLog( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument
32 glGetDebugMessageLog( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument
45 glGetDebugMessageLog( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument

Completed in 438 milliseconds

1234567891011>>