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

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglMapBufferRange.java1 // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access )
6 int length,
3 glMapBufferRange( int target, int offset, int length, int access ) argument
H A DglGetActiveUniformBlockName.java1 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
7 int[] length,
13 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
18 java.nio.Buffer length,
22 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName )
3 glGetActiveUniformBlockName( int program, int uniformBlockIndex, int bufSize, int[] length, int lengthOffset, byte[] uniformBlockName, int uniformBlockNameOffset ) argument
15 glGetActiveUniformBlockName( int program, int uniformBlockIndex, java.nio.Buffer length, java.nio.Buffer uniformBlockName ) argument
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 DglMapBufferRange.cpp1 /* GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) */
4 (JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) {
6 (GLintptr)offset, (GLsizeiptr)length, (GLbitfield)access);
9 _buf = _env->NewDirectByteBuffer(_p, length);
3 android_glMapBufferRange__IIII(JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) 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
H A DglGetTransformFeedbackVarying.java1 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
7 int[] length,
17 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
23 java.nio.IntBuffer length,
29 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
40 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
3 glGetTransformFeedbackVarying( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
19 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/
H A Ddot_length.c35 extern float __attribute__((overloadable)) length(float v) { function
38 extern float __attribute__((overloadable)) length(float2 v) { function
41 extern float __attribute__((overloadable)) length(float3 v) { function
44 extern float __attribute__((overloadable)) length(float4 v) { function
/frameworks/base/graphics/java/android/graphics/
H A DDiscretePathEffect.java29 private static native int nativeCreate(float length, float deviation); argument
/frameworks/native/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/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/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.java63 * @param length The number of bytes of audio data in {@code buffer}. This must be
67 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/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...]

Completed in 3461 milliseconds

1234567891011>>