Searched defs:length (Results 1 - 25 of 291) sorted by relevance

1234567891011>>

/frameworks/base/cmds/bugreport/
H A Dbugreport.c48 int length = read(s, buffer, sizeof(buffer)); local
49 if (length <= 0)
51 fwrite(buffer, 1, length, stdout);
/frameworks/base/graphics/java/android/graphics/
H A DDiscretePathEffect.java29 private static native int nativeCreate(float length, float deviation); argument
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetShaderSource.java1 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
6 int[] length,
12 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
17 java.nio.IntBuffer length,
21 // C function void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source )
3 glGetShaderSource( int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset ) argument
14 glGetShaderSource( int shader, int bufsize, java.nio.IntBuffer length, byte source ) argument
H A DglGetActiveAttrib.java1 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
7 int[] length,
17 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
23 java.nio.IntBuffer length,
29 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
40 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
3 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
19 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
H A DglGetActiveUniform.java1 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
7 int[] length,
17 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
23 java.nio.IntBuffer length,
28 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
39 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
3 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
19 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
/frameworks/base/core/jni/android/graphics/
H A DNinePatchPeeker.cpp23 bool NinePatchPeeker::peek(const char tag[], const void* data, size_t length) { argument
24 if (strcmp("npTc", tag) == 0 && length >= sizeof(Res_png_9patch)) {
27 assert(length == patchSize);
52 } else if (strcmp("npLb", tag) == 0 && length == sizeof(int) * 4) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DDiscretePathEffect_Delegate.java65 /*package*/ static int nativeCreate(float length, float deviation) { argument
/frameworks/compile/libbcc/runtime/lib/
H A Denable_execute_stack.c49 size_t length = endPage - startPage; local
50 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC);
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp43 size_t length = strlen(pVal); local
44 char* data = (char*)malloc(length+1);
46 m_Value = llvm::StringRef(data, length);
/frameworks/native/opengl/libagl/
H A DTokenizer.h45 run_t(uint32_t f, uint32_t l) : first(f), length(l) {}
47 uint32_t length; member in struct:android::Tokenizer::run_t
/frameworks/av/drm/common/
H A DReadWriteUtils.cpp45 off64_t length = sb.st_size; local
46 char* bytes = new char[length];
47 if (length == read(fd, (void*) bytes, length)) {
48 string.append(bytes, length);
60 off64_t length = 0; local
67 length = sb.st_size;
68 *buffer = new char[length];
69 if (length != read(fd, (void*) *buffer, length)) {
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h84 int fd, off64_t offset, off64_t length, const char* mime);
379 * @param[in] length The length of the protected content
385 int fd, off64_t offset, off64_t length) = 0;
394 * @param[in] length The length of the protected content
402 int fd, off64_t offset, off64_t length,
400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
/frameworks/av/media/libstagefright/chromium_http/
H A DDataUriSource.cpp36 mData.setTo(dataStr.data(), dataStr.length());
52 const off64_t length = mData.size(); local
53 if (offset >= length) {
59 offset + size >= length ? (length - offset) : size;
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_crc.cpp56 uint32 length, number of element upon the crc will be calculated
142 uint32 length,
146 uint32 masking = 1 << length;
141 calculate_crc(uint32 data, uint32 length, uint32 *crc) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputStream.java69 * Reads at most {@code length} bytes from this stream and stores them in
77 * @param length
82 * if {@code offset < 0} or {@code length < 0}, or if
83 * {@code offset + length} is greater than the length of
89 public int read(byte[] b, int offset, int length) throws IOException { argument
93 if ((offset | length) < 0 || length > b.length - offset) {
94 throw new ArrayIndexOutOfBoundsException("invalid offset or length");
[all...]
/frameworks/base/core/java/android/content/pm/
H A DLimitedLengthInputStream.java10 * the specified length is reached, the stream returns an EOF even if the
29 * @param length length of data at offset
32 public LimitedLengthInputStream(InputStream in, long offset, long length) throws IOException { argument
43 if (length < 0) {
44 throw new IOException("length < 0");
47 if (length > Long.MAX_VALUE - offset) {
48 throw new IOException("offset + length > Long.MAX_VALUE");
51 mEnd = offset + length;
73 final int arrayLength = buffer.length;
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java62 * @param length The number of bytes of audio data in {@code buffer}. This must be
66 public int audioAvailable(byte[] buffer, int offset, int length); argument
/frameworks/base/core/java/android/webkit/
H A DKeyStoreHandler.java43 * @param length The length of data.
45 public void didReceiveData(byte[] data, int length) { argument
47 mDataBuilder.append(data, 0, length);
H A DPluginData.java27 * the length of the body, the response headers, and the response
42 * The content length.
62 * @param length The length of the plugin content.
65 * @param length The HTTP response status code.
74 long length,
78 mContentLength = length;
98 * Returns the length of the plugin content.
100 * @return the length of the plugin content.
72 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGlyphCacheActivity.java68 private String createString(int length) { argument
70 for (int i = 0; i < length; i++) {
71 sb.append(mCharacterSet.charAt((int)(Math.random() * mCharacterSet.length())));
/frameworks/compile/linkloader/utils/
H A Draw_ostream.cpp30 int const length, // Fill Width.
37 t_format.ptr = new char[length+1];
38 t_format.ptr[length] = '\0';
39 vsnprintf(t_format.ptr, length, format_s, valist);
41 int fill_len = length;
29 fillformat(char const fill_char, int const length, char const *format_s, ...) argument
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/
H A DExif.java31 int length = 0;
34 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) {
52 // Get the length and check if it is reasonable.
53 length = pack(jpeg, offset, 2, false);
54 if (length < 2 || offset + length > jpeg.length) {
55 Log.e(TAG, "Invalid length");
60 if (marker == 0xE1 && length >= 8 &&
64 length
122 pack(byte[] bytes, int offset, int length, boolean littleEndian) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java31 int length = 0;
34 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) {
52 // Get the length and check if it is reasonable.
53 length = pack(jpeg, offset, 2, false);
54 if (length < 2 || offset + length > jpeg.length) {
55 Log.e(TAG, "Invalid length");
60 if (marker == 0xE1 && length >= 8 &&
64 length
122 pack(byte[] bytes, int offset, int length, boolean littleEndian) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DTextAttribute.java27 public int length; field in class:TextAttribute
36 public TextAttribute(int start, int length, TextAlignment align, argument
40 this.length = length;
/frameworks/wilhelm/src/itf/
H A DIMIDIMessage.c23 SLuint32 length)
22 IMIDIMessage_SendMessage(SLMIDIMessageItf self, const SLuint8 *data, SLuint32 length) argument

Completed in 495 milliseconds

1234567891011>>