Searched refs:count (Results 26 - 50 of 747) sorted by relevance

1234567891011>>

/frameworks/native/include/gui/
H A DBitTube.h49 T const* events, size_t count) {
50 return sendObjects(tube, events, count, sizeof(T));
55 T* events, size_t count) {
56 return recvObjects(tube, events, count, sizeof(T));
64 void const* events, size_t count, size_t objSize);
67 void* events, size_t count, size_t objSize);
48 sendObjects(const sp<BitTube>& tube, T const* events, size_t count) argument
54 recvObjects(const sp<BitTube>& tube, T* events, size_t count) argument
H A DDisplayEventReceiver.h56 uint32_t count; member in struct:android::DisplayEventReceiver::Event::VSync
104 ssize_t getEvents(Event* events, size_t count);
106 Event* events, size_t count);
113 Event const* events, size_t count);
121 status_t setVsyncRate(uint32_t count);
/frameworks/av/media/mtp/
H A DMtpStringBuffer.cpp64 // count the characters
65 int count = 0; local
90 count++;
95 mCharCount = count;
99 int count = 0; local
103 while ((ch = *src++) != 0 && count < 255) {
114 count++;
117 mCharCount = count;
122 int count = packet->getUInt8(); local
124 for (int i = 0; i < count;
143 int count = mCharCount; local
[all...]
H A DMtpDataPacket.cpp93 int count = getUInt32(); local
94 for (int i = 0; i < count; i++)
101 int count = getUInt32(); local
102 for (int i = 0; i < count; i++)
109 int count = getUInt32(); local
110 for (int i = 0; i < count; i++)
117 int count = getUInt32(); local
118 for (int i = 0; i < count; i++)
125 int count = getUInt32(); local
126 for (int i = 0; i < count;
133 int count = getUInt32(); local
141 int count = getUInt32(); local
149 int count = getUInt32(); local
[all...]
H A DMtpDataPacket.h79 void putAInt8(const int8_t* values, int count);
80 void putAUInt8(const uint8_t* values, int count);
81 void putAInt16(const int16_t* values, int count);
82 void putAUInt16(const uint16_t* values, int count);
84 void putAInt32(const int32_t* values, int count);
85 void putAUInt32(const uint32_t* values, int count);
87 void putAInt64(const int64_t* values, int count);
88 void putAUInt64(const uint64_t* values, int count);
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp54 static void getDirectionalities(JNIEnv* env, jobject obj, jcharArray srcArray, jbyteArray destArray, int count) argument
65 if (env->GetArrayLength(srcArray) < count || env->GetArrayLength(destArray) < count) {
70 for (int i = 0; i < count; i++) {
72 i + 1 < count &&
105 int start, int count, jbyteArray destArray)
116 if (start < 0 || start > start + count
117 || env->GetArrayLength(srcArray) < (start + count)
118 || env->GetArrayLength(destArray) < count) {
123 for (int i = 0; i < count;
104 getEastAsianWidths(JNIEnv* env, jobject obj, jcharArray srcArray, int start, int count, jbyteArray destArray) argument
147 mirror(JNIEnv* env, jobject obj, jcharArray charArray, int start, int count) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java460 int count;
462 for (int i = 0; i < length; i += count) {
463 count = 1;
467 count = skipQuotedText(inFormat, i, length);
481 int count = 1;
489 count++;
498 count++;
502 return count;
515 int count;
519 for (int i = 0; i < len; i += count) {
611 getMonthString(Calendar inDate, int count, int kind) argument
629 getTimeZoneString(Calendar inDate, int count) argument
642 formatZoneOffset(int offset, int count) argument
661 getYearString(Calendar inDate, int count) argument
[all...]
/frameworks/base/core/java/android/os/
H A DMemoryFile.java51 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException;
53 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException;
189 * @param count number of bytes to read.
193 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument
198 if (destOffset < 0 || destOffset > buffer.length || count < 0
199 || count > buffer.length - destOffset
201 || count > mLength - srcOffset) {
204 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging);
214 * @param count number of bytes to write.
217 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument
50 native_read(FileDescriptor fd, int address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument
52 native_write(FileDescriptor fd, int address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument
298 read(byte buffer[], int offset, int count) argument
331 write(byte buffer[], int offset, int count) argument
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp43 const GLvoid *ptr, GLsizei count);
45 const GLvoid *pointer, GLsizei count);
47 GLsizei stride, const GLvoid *pointer, GLsizei count);
49 GLsizei stride, const GLvoid *pointer, GLsizei count);
51 GLsizei stride, const GLvoid *pointer, GLsizei count);
53 GLsizei stride, const GLvoid *pointer, GLsizei count);
55 GLsizei stride, const GLvoid *pointer, GLsizei count);
59 const GLvoid *ptr, GLsizei count) {
63 const GLvoid *pointer, GLsizei count) {
67 GLsizei stride, const GLvoid *pointer, GLsizei count) {
58 glColorPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr, GLsizei count) argument
62 glNormalPointerBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
66 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
70 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
75 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
80 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
85 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/
H A DExif.java84 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
85 if (count < 10 || count > length) {
89 offset += count;
90 length -= count;
92 // Get the count and go through all the elements.
93 count = pack(jpeg, offset - 2, 2, littleEndian);
94 while (count-- > 0 && length >= 12) {
98 // We do not really care about type and count, do we?
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java84 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
85 if (count < 10 || count > length) {
89 offset += count;
90 length -= count;
92 // Get the count and go through all the elements.
93 count = pack(jpeg, offset - 2, 2, littleEndian);
94 while (count-- > 0 && length >= 12) {
98 // We do not really care about type and count, do we?
/frameworks/base/services/jni/
H A Dcom_android_server_connectivity_Vpn.cpp133 int count = 0; local
142 count = BAD_ARGUMENT;
148 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
155 count = BAD_ARGUMENT;
159 if (count) {
160 sprintf(ifr4.ifr_name, "%s:%d", name, count);
163 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
170 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
175 ++count;
178 if (count
212 int count = 0; local
350 int count = -1; local
383 int count = -1; local
[all...]
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp48 mVSyncEvent[i].vsync.count = 0;
74 void EventThread::setVsyncRate(uint32_t count, argument
76 if (int32_t(count) >= 0) { // server must protect against bad params
78 const int32_t new_count = (count == 0) ? -1 : count;
79 if (connection->count != new_count) {
80 connection->count = new_count;
89 if (connection->count < 0) {
90 connection->count = 0;
123 mVSyncEvent[type].vsync.count
150 const size_t count = signalConnections.size(); local
209 size_t count = mDisplayEventConnections.size(); local
362 setVsyncRate(uint32_t count) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dstat_bits.c46 * description: count ms stereo bits demand
75 * description: count tns bit demand core function
84 Word32 count; local
88 count = 0;
105 /*count += 1; */
109 count += 1;
111 count += 2;
114 count += 1;
117 count += 4;
118 count
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.h31 int count; member in struct:__anon36
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/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorUtils.h70 * SAFE_MALLOC(p, type, count, comment)
75 #define SAFE_MALLOC(p, type, count, comment) \
77 (p) = (type*)M4OSA_32bitAlignedMalloc(sizeof(type)*(count), 0xFF,(M4OSA_Char*)comment);\
79 memset((void *)(p), 0,sizeof(type)*(count)); \
/frameworks/base/voip/jni/rtp/
H A DGsmCodec.cpp47 int decode(int16_t *samples, int count, void *payload, int length);
60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) argument
64 while (n + 160 <= count && length >= 33 &&
H A DG711Codec.cpp42 int decode(int16_t *samples, int count, void *payload, int length);
67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument
70 if (length > count) {
71 length = count;
93 int decode(int16_t *samples, int count, void *payload, int length);
117 int AlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument
120 if (length > count) {
121 length = count;
/frameworks/compile/linkloader/include/
H A DStubLayout.h26 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/base/core/tests/coretests/src/android/content/
H A DMemoryFileProviderTest.java42 int count = in.read(buf);
43 assertEquals(buf.length, count);
60 int count = in.read(buf);
61 assertEquals(buf.length, count);
75 int count = in.read(buf);
76 assertEquals(buf.length, count);
/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);
/frameworks/av/services/audioflinger/
H A DStateQueue.cpp114 unsigned count = 0; local
127 if (count == 1) {
130 ++count;
135 if (count > 1) {
158 unsigned count = 0; local
167 if (count == 1) {
170 ++count;
175 if (count > 1) {
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java77 public void beforeTextChanged(CharSequence s, int start, int count, argument
83 if (count > 0 && hasSeparator(s, start, count)) {
89 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
94 if (count > 0 && hasSeparator(s, start, count)) {
166 private boolean hasSeparator(final CharSequence s, final int start, final int count) { argument
167 for (int i = start; i < start + count; i++) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DLayersActivity.java55 int count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint,
61 canvas.restoreToCount(count);
65 count = canvas.saveLayer(0.0f, 0.0f, 200.0f, 100.0f, mLayerPaint,
72 canvas.restoreToCount(count);
82 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint,
88 canvas.restoreToCount(count);
99 count = canvas.saveLayer(50.0f, 25.0f, 150.0f, 75.0f, mLayerPaint,
105 canvas.restoreToCount(count);
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp118 size_t count = env->GetArrayLength(colorArray); local
121 SkAutoSTMalloc<8, SkScalar> storage(posArray ? count : 0);
125 AutoJavaFloatArray autoPos(env, posArray, count);
128 for (size_t i = 0; i < count; i++) {
135 pos, count,
147 size_t count = env->GetArrayLength(colorArray); local
156 size_t stopCount = count;
160 AutoJavaFloatArray autoPos(env, posArray, count);
164 missLast = posValues[count - 1] != 1.0f;
173 for (size_t i = missFirst; i < count
265 size_t count = env->GetArrayLength(colorArray); local
309 size_t count = env->GetArrayLength(colorArray); local
369 size_t count = env->GetArrayLength(jcolors); local
408 size_t count = env->GetArrayLength(colorArray); local
[all...]

Completed in 405 milliseconds

1234567891011>>