Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 250) sorted by relevance

12345678910

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiEventScheduler.java40 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
50 public int count = 0; field in MidiEventScheduler.MidiEvent
53 private MidiEvent(int count) { in MidiEvent() argument
55 data = new byte[count]; in MidiEvent()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
60 data = new byte[count]; in MidiEvent()
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
62 this.count = count; in MidiEvent()
68 for (int i = 0; i < count; i++) { in toString()
[all …]
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiEventScheduler.java40 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
42 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
50 public int count = 0; field in MidiEventScheduler.MidiEvent
53 private MidiEvent(int count) { in MidiEvent() argument
55 data = new byte[count]; in MidiEvent()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
60 data = new byte[count]; in MidiEvent()
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
62 this.count = count; in MidiEvent()
68 for (int i = 0; i < count; i++) { in toString()
[all …]
/development/tools/axl/
DudpServer.py21 count = 0
22 while count < 500:
23 print 'Sending packet', count, 'to', address[0]
24 svrsocket.sendto("%3.3s%s" % (count, buf), address)
26 count += 1
DudpEater.py38 count = 0
39 while count < 400:
41 print 'Received packet', count, data[:34]
42 count += 1
Daxl.py188 self.count = 0
192 self.count += len(data)
193 if self.count == 190890:
201 self.count = 0
205 if self.count == 0: self.write("HTTP/1.1 200 OK\r\n\r\n")
206 self.count += 1
213 self.count = 0
217 if self.count == 0: self.write("HTTP/1.1 200 OK\r\n\r\n")
220 def sendPack(self, count): argument
221 if count > 10:
[all …]
/development/ndk/platforms/android-3/arch-arm/include/asm/
Dsemaphore.h24 atomic_t count; member
29 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INI…
31 #define __DECLARE_SEMAPHORE_GENERIC(name,count) struct semaphore name = __SEMAPHORE_INIT(name,cou… argument
/development/ndk/platforms/android-21/include/
Dunistd.h203 ssize_t read(int fd, void* buf, size_t count) { in read() argument
207 if (__builtin_constant_p(count) && (count > SSIZE_MAX)) { in read()
212 return __read_real(fd, buf, count); in read()
215 if (__builtin_constant_p(count) && (count > bos)) { in read()
219 if (__builtin_constant_p(count) && (count <= bos)) { in read()
220 return __read_real(fd, buf, count); in read()
224 return __read_chk(fd, buf, count, bos); in read()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DFixedGridLayout.java62 int count = getChildCount(); in onMeasure() local
63 for (int index=0; index<count; index++) { in onMeasure()
69 int minCount = count > 3 ? count : 3; in onMeasure()
85 int count = getChildCount(); in onLayout() local
86 for (int index=0; index<count; index++) { in onLayout()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/
DCheeses.java173 public static ArrayList<String> randomList(int count) { in randomList() argument
178 count = Math.min(count, CHEESES.length); in randomList()
180 while (items.size() < count) { in randomList()
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
DFixedGridLayout.java75 int count = getChildCount(); in onMeasure() local
76 for (int index=0; index<count; index++) { in onMeasure()
81 setMeasuredDimension(resolveSize(mCellWidth*count, widthMeasureSpec), in onMeasure()
82 resolveSize(mCellHeight*count, heightMeasureSpec)); in onMeasure()
96 int count = getChildCount(); in onLayout() local
97 for (int index=0; index<count; index++) { in onLayout()
/development/ndk/sources/android/ndk_helper/
DgestureDetector.cpp141 int32_t count = AMotionEvent_getPointerCount( event ); in FindIndex() local
142 for( uint32_t i = 0; i < count; ++i ) in FindIndex()
157 int32_t count = AMotionEvent_getPointerCount( event ); in Detect() local
168 if( count == 2 ) in Detect()
199 if( count != 2 ) in Detect()
208 switch( count ) in Detect()
256 int32_t count = AMotionEvent_getPointerCount( event ); in FindIndex() local
257 for( uint32_t i = 0; i < count; ++i ) in FindIndex()
274 int32_t count = AMotionEvent_getPointerCount( event ); in Detect() local
307 if( count == 2 ) in Detect()
[all …]
/development/tools/idegen/src/
DEclipse.java123 int count = 0; in constructExcluding() local
126 if (count == 0) { in constructExcluding()
127 count++; in constructExcluding()
136 if (count > 1) { in constructExcluding()
142 count++; in constructExcluding()
153 if (count > 1) { in constructExcluding()
159 count++; in constructExcluding()
/development/tools/findunused/
Dfindunusedstrings7 -p option prints out unused strings, otherwise a total count is printed
41 count=$(wc -l)
42 if [ "$count" != "0" ]
44 echo $app: $count unused strings
/development/ndk/samples/hello-neon/jni/
Dhelloneon.c102 int count = FIR_ITERATIONS; in Java_com_example_neon_HelloNeon_stringFromJNI() local
103 for (; count > 0; count--) { in Java_com_example_neon_HelloNeon_stringFromJNI()
144 int count = FIR_ITERATIONS; in Java_com_example_neon_HelloNeon_stringFromJNI() local
145 for (; count > 0; count--) { in Java_com_example_neon_HelloNeon_stringFromJNI()
/development/ndk/platforms/android-24/include/GLES3/
Dgl31.h425 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
426 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const v…
441 …P PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
482 typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum bin…
483 typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *cons…
497 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
499 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
501 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
503 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
505 typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
[all …]
Dgl32.h425 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
426 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const v…
441 …P PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
482 typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum bin…
483 typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *cons…
497 typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
499 typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
501 typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
503 typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
505 typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *valu…
[all …]
/development/ndk/platforms/android-3/include/linux/nfsd/
Dxdr.h37 __u32 count; member
90 __u32 count; member
110 unsigned long count; member
115 int count; member
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dio_32.h31count) { __asm__ __volatile__("rep; outs" #bwl : "+S"(addr), "+c"(count) : "d"(port)); } stati…
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSynthEngine.java70 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
73 if (!MidiConstants.isAllActiveSensing(data, offset, count)) { in onSend()
74 mEventScheduler.getReceiver().send(data, offset, count, in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
102 logMidiMessage(data, offset, count); in onSend()
156 public void logMidiMessage(byte[] data, int offset, int count) { in logMidiMessage() argument
158 for (int i = 0; i < count; i++) { in logMidiMessage()
172 mFramer.send(event.data, 0, event.count, event.getTimestamp()); in processMidiEvents()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSynthEngine.java70 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
73 if (!MidiConstants.isAllActiveSensing(data, offset, count)) { in onSend()
74 mEventScheduler.getReceiver().send(data, offset, count, in onSend()
82 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
102 logMidiMessage(data, offset, count); in onSend()
156 public void logMidiMessage(byte[] data, int offset, int count) { in logMidiMessage() argument
158 for (int i = 0; i < count; i++) { in logMidiMessage()
172 mFramer.send(event.data, 0, event.count, event.getTimestamp()); in processMidiEvents()
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dio.h92count) { const volatile type *__addr = addr; while (count--) { __mem_write##bwlq(*__addr,…
94count) { const volatile type *__addr = addr; while (count--) { __mem_out##bwlq(*__addr, p…
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
DFeedProvider.java152 int count; in delete() local
155 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
161 count = builder.table(FeedContract.Entry.TABLE_NAME) in delete()
173 return count; in delete()
184 int count; in update() local
187 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
193 count = builder.table(FeedContract.Entry.TABLE_NAME) in update()
204 return count; in update()
/development/ndk/platforms/android-21/include/sys/
Dsendfile.h37 extern ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);
38 extern ssize_t sendfile64(int out_fd, int in_fd, off64_t* offset, size_t count);

12345678910