Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 147) sorted by relevance

123456

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
51 int sysExStartOffset = (mInSysEx ? offset : -1); in onSend()
54 final byte currentByte = data[offset]; in onSend()
65 sysExStartOffset = offset; in onSend()
70 offset - sysExStartOffset + 1, timestamp); in onSend()
84 offset - sysExStartOffset, timestamp); in onSend()
85 sysExStartOffset = offset + 1; in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
102 ++offset; in onSend()
106 if (sysExStartOffset >= 0 && sysExStartOffset < offset) { in onSend()
[all …]
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()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
78 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, in createScheduledEvent() argument
82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
88 System.arraycopy(msg, offset, event.data, 0, count); in createScheduledEvent()
DMidiConstants.java89 public static boolean isAllActiveSensing(byte[] msg, int offset, in isAllActiveSensing() argument
94 byte b = msg[offset + i]; in isAllActiveSensing()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiFramer.java49 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
51 int sysExStartOffset = (mInSysEx ? offset : -1); in onSend()
54 final byte currentByte = data[offset]; in onSend()
65 sysExStartOffset = offset; in onSend()
70 offset - sysExStartOffset + 1, timestamp); in onSend()
84 offset - sysExStartOffset, timestamp); in onSend()
85 sysExStartOffset = offset + 1; in onSend()
87 mReceiver.send(data, offset, 1, timestamp); in onSend()
102 ++offset; in onSend()
106 if (sysExStartOffset >= 0 && sysExStartOffset < offset) { in onSend()
[all …]
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()
58 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
61 System.arraycopy(msg, offset, data, 0, count); in MidiEvent()
78 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, in createScheduledEvent() argument
82 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
88 System.arraycopy(msg, offset, event.data, 0, count); in createScheduledEvent()
DMidiConstants.java89 public static boolean isAllActiveSensing(byte[] msg, int offset, in isAllActiveSensing() argument
94 byte b = msg[offset + i]; in isAllActiveSensing()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java176 public void glDeleteTextures(int n, int[] textures, int offset) { in glDeleteTextures() argument
177 mgl.glDeleteTextures(n, textures, offset); in glDeleteTextures()
236 public void glFogfv(int pname, float[] params, int offset) { in glFogfv() argument
237 mgl.glFogfv(pname, params, offset); in glFogfv()
248 public void glFogxv(int pname, int[] params, int offset) { in glFogxv() argument
249 mgl.glFogxv(pname, params, offset); in glFogxv()
274 public void glGenTextures(int n, int[] textures, int offset) { in glGenTextures() argument
275 mgl.glGenTextures(n, textures, offset); in glGenTextures()
287 public void glGetIntegerv(int pname, int[] params, int offset) { in glGetIntegerv() argument
288 mgl.glGetIntegerv(pname, params, offset); in glGetIntegerv()
[all …]
DMatrixStack.java58 public void glLoadMatrixf(float[] m, int offset) { in glLoadMatrixf() argument
59 System.arraycopy(m, offset, mMatrix, mTop, MATRIX_SIZE); in glLoadMatrixf()
66 public void glLoadMatrixx(int[] m, int offset) { in glLoadMatrixx() argument
68 mMatrix[mTop + i] = fixedToFloat(m[offset + i]); in glLoadMatrixx()
78 public void glMultMatrixf(float[] m, int offset) { in glMultMatrixf() argument
80 Matrix.multiplyMM(mMatrix, mTop, mTemp, 0, m, offset); in glMultMatrixf()
88 public void glMultMatrixx(int[] m, int offset) { in glMultMatrixx() argument
90 mTemp[MATRIX_SIZE + i] = fixedToFloat(m[offset + i]); in glMultMatrixx()
152 public void getMatrix(float[] dest, int offset) { in getMatrix() argument
153 System.arraycopy(mMatrix, mTop, dest, offset, MATRIX_SIZE); in getMatrix()
/development/ndk/platforms/android-21/include/linux/
Dbcache.h22offset, size) static inline __u64 name(const type *k) { return (k->field >> offset) & ~(~0ULL <<… argument
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size) argument
31offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> argument
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) … argument
46 #define PTR(gen, offset, dev) ((((__u64) dev) << 51) | ((__u64) offset) << 8 | gen) argument
67 __u64 offset; member
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/
Dio.h34 typedef struct { volatile u16 offset[256]; } __regbase16; member
35 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) ->offset[((vaddr)&0xff)>>1]
38 typedef struct { volatile u8 offset[4096]; } __regbase8; member
39 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>0]
42 typedef struct { volatile u32 offset[4096]; } __regbase32; member
43 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) ->offset[((vaddr)&4095)>>2]
/development/ndk/samples/hello-neon/jni/
Dhelloneon-intrinsics.c27 int nn, offset = -kernelSize/2; in fir_filter_neon_intrinsics() local
36 int16x4_t input_vec = vld1_s16(input + (nn+offset+mm*4)); in fir_filter_neon_intrinsics()
48 sum += kernel[mm] * input[nn+offset+mm]; in fir_filter_neon_intrinsics()
54 int nn, offset = -kernelSize/2; in fir_filter_neon_intrinsics()
59 sum += kernel[mm]*input[nn+offset+mm]; in fir_filter_neon_intrinsics()
/development/samples/ToyVpn/server/linux/
DToyVpnServer.cpp128 int offset = 0; in build_parameters() local
142 if (offset + length >= size) { in build_parameters()
148 parameters[offset] = delimiter; in build_parameters()
149 memcpy(&parameters[offset + 1], parameter, length); in build_parameters()
150 offset += 1 + length; in build_parameters()
154 memset(&parameters[offset], ' ', size - offset); in build_parameters()
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dio.h67 #define ioremap(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED) argument
69 #define ioremap_nocache(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACHED) argument
70 #define ioremap_cachable(offset, size) __ioremap_mode((offset), (size), _page_cachable_default) argument
71 #define ioremap_cacheable_cow(offset, size) __ioremap_mode((offset), (size), _CACHE_CACHABLE_COW) argument
72 #define ioremap_uncached_accelerated(offset, size) __ioremap_mode((offset), (size), _CACHE_UNCACH… argument
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMidiPrinter.java62 public static String formatBytes(byte[] data, int offset, int count) { in formatBytes() argument
65 sb.append(String.format(" %02X", data[offset + i])); in formatBytes()
70 public static String formatMessage(byte[] data, int offset, int count) { in formatMessage() argument
72 byte statusByte = data[offset++]; in formatMessage()
85 sb.append(data[offset++]); in formatMessage()
DLoggingReceiver.java44 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument
54 sb.append(MidiPrinter.formatBytes(data, offset, count)); in onSend()
56 sb.append(MidiPrinter.formatMessage(data, offset, count)); in onSend()
/development/tools/yuv420sp2rgb/
Dyuv420sp2rgb.c137 int offset = 0; in common_rgb_cb() local
142 offset = ctx->i * ctx->width + ctx->j; in common_rgb_cb()
145 offset = ctx->height * (ctx->j + 1) - ctx->i; in common_rgb_cb()
148 offset = (ctx->height - 1 - ctx->i) * ctx->width + ctx->j; in common_rgb_cb()
151 offset = (ctx->width - 1 - ctx->j) * ctx->height + ctx->i; in common_rgb_cb()
158 offset *= bpp; in common_rgb_cb()
159 FAILIF(offset < 0, "point (%d, %d) generates a negative offset.\n", ctx->i, ctx->j); in common_rgb_cb()
160 …FAILIF(offset + bpp > ctx->size, "point (%d, %d) at offset %d exceeds the size %d of the buffer.\n… in common_rgb_cb()
162 offset, in common_rgb_cb()
165 out += offset; in common_rgb_cb()
/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);
/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
159 text += String.format("0x%02X, ", data[offset + i]); in logMidiMessage()
DSynthVoice.java54 int offset = i * samplesPerFrame; in mix() local
56 outputBuffer[offset + jf] += output * level; in mix()
/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
159 text += String.format("0x%02X, ", data[offset + i]); in logMidiMessage()
DSynthVoice.java54 int offset = i * samplesPerFrame; in mix() local
56 outputBuffer[offset + jf] += output * level; in mix()
/development/ndk/platforms/android-3/arch-arm/include/machine/
Dcpu-features.h194 # define PLD(reg,offset) pld [reg, offset]
196 # define PLD(reg,offset) /* nothing */
/development/ndk/platforms/android-3/include/linux/
Defs_dir.h42 #define EFS_REALOFF(offset) ((offset << 1)) argument
/development/ndk/platforms/android-3/include/linux/nfsd/
Dxdr.h36 __u32 offset; member
44 __u32 offset; member
120 u32 * offset; member
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardService.java166 int offset = first.length; in ConcatArrays() local
168 System.arraycopy(array, 0, result, offset, array.length); in ConcatArrays()
169 offset += array.length; in ConcatArrays()

123456