Searched refs:offset (Results 1 - 25 of 1495) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/alsa/
H A DLineTokenizer.java34 int offset = startIndex;
35 for (; offset < len; offset++) {
36 if (mDelimiters.indexOf(line.charAt(offset)) == -1) {
42 return offset < len ? offset : kTokenNotFound;
47 int offset = startIndex;
48 for (; offset < len; offset++) {
49 if (mDelimiters.indexOf(line.charAt(offset)) !
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglBindVertexBuffer.java1 // C function void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride )
6 long offset,
3 glBindVertexBuffer( int bindingindex, int buffer, long offset, int stride ) argument
H A DglBindVertexBuffer.cpp1 /* void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) */
4 (JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) {
5 if (sizeof(GLintptr) != sizeof(jlong) && (offset < LONG_MIN || offset > LONG_MAX)) {
6 jniThrowException(_env, "java/lang/IllegalArgumentException", "offset too large");
12 (GLintptr)offset,
3 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument
H A DglMapBufferRange.java1 // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access )
9 int offset,
7 glMapBufferRange( int target, int offset, int length, int access ) argument
H A DglGetBooleanv.java6 int offset
H A DglGetFloatv.java6 int offset
H A DglGetIntegerv.java6 int offset
/frameworks/base/core/java/android/text/method/
H A DWordIterator.java71 public int preceding(int offset) { argument
72 checkOffsetIsValid(offset);
74 offset = mIterator.preceding(offset);
75 if (offset == BreakIterator.DONE || isOnLetterOrDigit(offset)) {
76 return offset;
82 public int following(int offset) { argument
83 checkOffsetIsValid(offset);
85 offset
93 isBoundary(int offset) argument
105 nextBoundary(int offset) argument
117 prevBoundary(int offset) argument
134 getBeginning(int offset) argument
153 getEnd(int offset) argument
173 getPrevWordBeginningOnTwoWordsBoundary(int offset) argument
191 getNextWordEndOnTwoWordBoundary(int offset) argument
211 getBeginning(int offset, boolean getPrevWordBeginningOnTwoWordsBoundary) argument
246 getEnd(int offset, boolean getNextWordEndOnTwoWordBoundary) argument
271 getPunctuationBeginning(int offset) argument
287 getPunctuationEnd(int offset) argument
303 isAfterPunctuation(int offset) argument
318 isOnPunctuation(int offset) argument
347 isPunctuationStartBoundary(int offset) argument
351 isPunctuationEndBoundary(int offset) argument
366 isAfterLetterOrDigit(int offset) argument
374 isOnLetterOrDigit(int offset) argument
382 checkOffsetIsValid(int offset) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DAsn1Decoder.java47 * @throws IndexOutOfBoundsException If the range defined by {@code offset} and {@code length}
50 public Asn1Decoder(byte[] bytes, int offset, int length) { argument
51 if (offset < 0 || length < 0 || offset + length > bytes.length) {
55 + "], offset="
56 + offset
61 mPosition = offset;
62 mEnd = offset + length;
89 int offset = mPosition;
92 int tagStart = offset;
[all...]
/frameworks/minikin/libs/minikin/
H A DLayoutUtils.cpp49 * Return offset of previous word break. It is either < offset or == 0.
51 size_t getPrevWordBreakForCache(const uint16_t* chars, size_t offset, size_t len) { argument
52 if (offset == 0) return 0;
53 if (offset > len) offset = len;
54 if (isWordBreakBefore(chars[offset - 1])) {
55 return offset - 1;
57 for (size_t i = offset - 1; i > 0; i--) {
66 * Return offset o
68 getNextWordBreakForCache(const uint16_t* chars, size_t offset, size_t len) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmConvertedStatus.java21 * offset for appending the header and body signature to the converted data.
25 * An valid offset value is provided only from a success call to
58 public final int offset; field in class:DrmConvertedStatus
66 * @param offset Offset value for appending the header and body signature.
68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { argument
75 this.offset = offset;
/frameworks/native/libs/binder/
H A DMemoryBase.cpp29 ssize_t offset, size_t size)
30 : mSize(size), mOffset(offset), mHeap(heap)
34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const argument
36 if (offset) *offset = mOffset;
28 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java51 int tag = pack(jpeg, offset, 4, false);
52 count = pack(jpeg, offset - 2, 2, littleEndian);
62 has(jpeg, byteSize, offset + length - 1)
73 int offset = 0;
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
87 final int marker = jpeg.get(offset) & 0xFF;
93 offset++;
102 jpeg.advanceTo(offset - readBackwards);
107 length = pack(jpeg, offset,
187 pack(final InputStreamBuffer bytes, int offset, int length, final boolean littleEndian) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java46 int tag = pack(jpeg, offset, 4, false);
47 count = pack(jpeg, offset - 2, 2, littleEndian);
57 has(jpeg, byteSize, offset + length - 1)
68 int offset = 0;
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
82 final int marker = jpeg.get(offset) & 0xFF;
88 offset++;
97 jpeg.advanceTo(offset - readBackwards);
102 length = pack(jpeg, offset,
182 pack(final InputStreamBuffer bytes, int offset, int length, final boolean littleEndian) argument
[all...]
/frameworks/av/media/libmediaextractor/
H A DDataSourceBase.cpp26 bool DataSourceBase::getUInt16(off64_t offset, uint16_t *x) { argument
30 if (readAt(offset, byte, 2) != 2) {
39 bool DataSourceBase::getUInt24(off64_t offset, uint32_t *x) { argument
43 if (readAt(offset, byte, 3) != 3) {
52 bool DataSourceBase::getUInt32(off64_t offset, uint32_t *x) { argument
56 if (readAt(offset, &tmp, 4) != 4) {
65 bool DataSourceBase::getUInt64(off64_t offset, uint64_t *x) { argument
69 if (readAt(offset, &tmp, 8) != 8) {
78 bool DataSourceBase::getUInt16Var(off64_t offset, uint16_t *x, size_t size) { argument
80 return getUInt16(offset,
92 getUInt32Var(off64_t offset, uint32_t *x, size_t size) argument
106 getUInt64Var(off64_t offset, uint64_t *x, size_t size) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreatePbufferFromClientBuffer.java9 int offset
21 int offset
H A DeglCreatePixmapSurface.java9 int offset
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLId.java26 public void glGenBuffers(int n, int[] buffers, int offset); argument
28 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset); argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument
32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); argument
/frameworks/base/core/java/android/os/
H A DHwBlob.java45 * @param offset offset to unmarshall a boolean from
47 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
49 public native final boolean getBool(long offset); argument
51 * @param offset offset to unmarshall a byte from
53 * @throws IndexOutOfBoundsException when offset is out of this HwBlob
55 public native final byte getInt8(long offset); argument
57 * @param offset offset t
61 getInt16(long offset) argument
67 getInt32(long offset) argument
73 getInt64(long offset) argument
79 getFloat(long offset) argument
85 getDouble(long offset) argument
91 getString(long offset) argument
103 copyToBoolArray(long offset, boolean[] array, int size) argument
114 copyToInt8Array(long offset, byte[] array, int size) argument
125 copyToInt16Array(long offset, short[] array, int size) argument
136 copyToInt32Array(long offset, int[] array, int size) argument
147 copyToInt64Array(long offset, long[] array, int size) argument
158 copyToFloatArray(long offset, float[] array, int size) argument
169 copyToDoubleArray(long offset, double[] array, int size) argument
178 putBool(long offset, boolean x) argument
186 putInt8(long offset, byte x) argument
194 putInt16(long offset, short x) argument
202 putInt32(long offset, int x) argument
210 putInt64(long offset, long x) argument
218 putFloat(long offset, float x) argument
226 putDouble(long offset, double x) argument
234 putString(long offset, String x) argument
243 putBoolArray(long offset, boolean[] x) argument
251 putInt8Array(long offset, byte[] x) argument
259 putInt16Array(long offset, short[] x) argument
267 putInt32Array(long offset, int[] x) argument
275 putInt64Array(long offset, long[] x) argument
283 putFloatArray(long offset, float[] x) argument
291 putDoubleArray(long offset, double[] x) argument
301 putBlob(long offset, HwBlob blob) argument
[all...]
/frameworks/av/media/libstagefright/
H A DESDS.cpp72 size_t offset, size_t size,
78 *tag = mData[offset++];
88 uint8_t x = mData[offset++];
102 *data_offset = offset;
125 status_t ESDS::parseESDescriptor(size_t offset, size_t size) { argument
130 offset += 2; // skip ES_ID
133 unsigned streamDependenceFlag = mData[offset] & 0x80;
134 unsigned URL_Flag = mData[offset] & 0x40;
135 unsigned OCRstreamFlag = mData[offset] & 0x20;
137 ++offset;
71 skipDescriptorHeader( size_t offset, size_t size, uint8_t *tag, size_t *data_offset, size_t *data_size) const argument
210 parseDecoderConfigDescriptor(size_t offset, size_t size) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dq_pulse.h66 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]);
67 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]);
68 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]);
69 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]);
70 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]);
71 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]);
72 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]);
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiFramer.java48 public static String formatMidiData(byte[] data, int offset, int count) { argument
49 String text = "MIDI+" + offset + " : ";
51 text += String.format("0x%02X, ", data[offset + i]);
60 public void onSend(byte[] data, int offset, int count, long timestamp) argument
62 int sysExStartOffset = (mInSysEx ? offset : -1);
65 final byte currentByte = data[offset];
76 sysExStartOffset = offset;
81 offset - sysExStartOffset + 1, timestamp);
95 offset - sysExStartOffset, timestamp);
96 sysExStartOffset = offset
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_getbits.cpp114 uint32 offset; local
127 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT;
129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE));
130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE));
131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE));
132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE));
162 uint32 offset; local
168 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT;
170 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE));
171 Elem1 = *(ptBitStream->pBuffer + module(offset
198 uint32 offset; local
236 uint32 offset; local
[all...]
/frameworks/base/libs/common_time/
H A Dcommon_time_server_packets.cpp42 if ((offset + sizeof(field_name)) > length) \
44 *((type*)(data + offset)) = converter(field_name); \
45 offset += sizeof(field_name); \
53 if ((offset + sizeof(field_name)) > length) \
55 (field_name) = converter(*((type*)(data + offset))); \
56 offset += sizeof(field_name); \
80 ssize_t offset = 0; local
87 return offset;
92 ssize_t offset = 0; local
100 return offset;
186 ssize_t offset = serializeHeader(data, length); local
196 ssize_t offset = deserializeHeader(data, length); local
208 ssize_t offset = serializeHeader(data, length); local
218 ssize_t offset = deserializeHeader(data, length); local
230 ssize_t offset = serializeHeader(data, length); local
239 ssize_t offset = deserializeHeader(data, length); local
248 ssize_t offset = serializeHeader(data, length); local
260 ssize_t offset = deserializeHeader(data, length); local
272 ssize_t offset = serializeHeader(data, length); local
282 ssize_t offset = deserializeHeader(data, length); local
[all...]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java52 public static byte[] toAsciiBytes(char[] chars, int offset, int length) { argument
54 cb.put(chars, offset, length);
62 public static byte[] toIsoLatin1Bytes(char[] chars, int offset, int length) { argument
64 cb.put(chars, offset, length);
72 public static byte[] toUtf8Bytes(char[] chars, int offset, int length) { argument
74 cb.put(chars, offset, length);
82 public static byte[] toBigEndianUtf16Bytes(char[] chars, int offset, int length) { argument
84 int end = offset + length;
86 for (int i = offset; i < end; ++i) {
102 public static void asciiBytesToChars(byte[] bytes, int offset, in argument
121 isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars) argument
[all...]

Completed in 9282 milliseconds

1234567891011>>