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

<<1112

/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp411 size_t length = U16_AT(ptr); local
416 if (size < length) {
420 addCodecSpecificData(ptr, length);
422 ptr += length;
423 size -= length;
439 size_t length = U16_AT(ptr); local
444 if (size < length) {
448 addCodecSpecificData(ptr, length);
450 ptr += length;
451 size -= length;
[all...]
H A DMPEG4Writer.cpp240 AVCParamSet(uint16_t length, const uint8_t *data) argument
241 : mLength(length), mData(data) {}
273 const uint8_t *data, size_t length, int type, size_t *paramSetLen);
961 size_t length = buffer->range_length(); local
964 uint8_t x = length >> 24;
966 x = (length >> 16) & 0xff;
968 x = (length >> 8) & 0xff;
970 x = length & 0xff;
975 length);
977 mOffset += length
1711 findNextStartCode( const uint8_t *data, size_t length) argument
1727 parseParamSet( const uint8_t *data, size_t length, int type, size_t *paramSetLen) argument
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java401 for (int i=0; i <messages.length; i++) {
403 native_agps_ni_message(supl_init,supl_init.length);
409 native_agps_ni_message(supl_init,supl_init.length);
666 native_inject_xtra_data(data, data.length);
1281 int length = native_read_nmea(mNmeaBuffer, mNmeaBuffer.length);
1282 String nmea = new String(mNmeaBuffer, 0, length);
1459 (phone.getNetworkOperator().length() > 3)) {
1627 private native void native_inject_xtra_data(byte[] data, int length); argument
1636 private native void native_agps_ni_message(byte [] msg, int length); argument
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp1266 size_t length; local
1267 const uint16_t* attr = block.getAttributeName(i, &length);
1269 name.setTo(block.getAttributeStringValue(i, &length));
1271 translatable.setTo(block.getAttributeStringValue(i, &length));
1273 formatted.setTo(block.getAttributeStringValue(i, &length));
1374 size_t length; local
1375 const uint16_t* attr = block.getAttributeName(i, &length);
1378 const uint16_t* value = block.getAttributeStringValue(i, &length);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DRenderScript.java416 byte[] script, int length);
417 synchronized int nScriptCCreate(String resName, String cacheDir, byte[] script, int length) { argument
419 return rsnScriptCCreate(mContext, resName, cacheDir, script, length);
681 if ((size>>2) >= rbuf.length) {
415 rsnScriptCCreate(int con, String resName, String cacheDir, byte[] script, int length) argument
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp2364 M4OSA_UInt32 length = 0; local
2368 // Determine the length of the input buffer.
2371 length = strlen((const char *)pBufferIn);
2375 if ((*bufferOutSize) > length)
2381 M4OSA_chrNCopy((M4OSA_Char *)pBufferOut, (M4OSA_Char *)pBufferIn, length);
2396 (*bufferOutSize) = length + 1;
2409 M4OSA_UInt32 length = 0; local
2413 // Determine the length of the input buffer.
2416 length = strlen((const char *)pBufferIn);
2420 if ((*bufferOutSize) > length)
2631 M4OSA_UInt32 length = strlen((const char *)tmpString); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES20.cpp569 _exceptionMessage = "length - offset < n < needed";
805 _exceptionMessage = "length - offset < n < needed";
1081 _exceptionMessage = "length - offset < n < needed";
1308 _exceptionMessage = "length - offset < n < needed";
1367 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
1376 GLsizei *length = (GLsizei *) 0; local
1390 _exceptionMessage = "length == null";
1402 length = length_base + lengthOffset;
1459 (GLsizei *)length,
1487 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLin
1498 GLsizei *length = (GLsizei *) 0; local
1643 GLsizei *length = (GLsizei *) 0; local
1704 GLsizei *length = (GLsizei *) 0; local
1826 GLsizei *length = (GLsizei *) 0; local
3567 GLsizei *length = (GLsizei *) 0; local
3634 GLsizei *length = (GLsizei *) 0; local
4351 android_glShaderBinary__I_3IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint n, jintArray shaders_ref, jint offset, jint binaryformat, jobject binary_buf, jint length) argument
4409 android_glShaderBinary__ILjava_nio_IntBuffer_2ILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint n, jobject shaders_buf, jint binaryformat, jobject binary_buf, jint length) argument
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java558 byte[] script, int length);
559 synchronized int nScriptCCreate(String resName, String cacheDir, byte[] script, int length) { argument
561 return rsnScriptCCreate(mContext, resName, cacheDir, script, length);
911 if ((size>>2) >= rbuf.length) {
557 rsnScriptCCreate(int con, String resName, String cacheDir, byte[] script, int length) argument
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp64 jsize length() const { return fLength; } function in class:AutoJavaStringToUTF8
99 jsize length() const { return mStringsLength; } function in class:AutoJavaStringArrayToUTF8
720 jsize length = _env->GetArrayLength(data); local
721 rsAllocationRead(con, (RsAllocation)alloc, ptr, length * sizeof(int));
731 jsize length = _env->GetArrayLength(data); local
732 rsAllocationRead(con, (RsAllocation)alloc, ptr, length * sizeof(short));
742 jsize length = _env->GetArrayLength(data); local
743 rsAllocationRead(con, (RsAllocation)alloc, ptr, length * sizeof(char));
753 jsize length = _env->GetArrayLength(data); local
754 rsAllocationRead(con, (RsAllocation)alloc, ptr, length * sizeo
976 jint length = _env->GetArrayLength(timeZone); local
1026 nScriptCCreate(JNIEnv *_env, jobject _this, RsContext con, jstring resName, jstring cacheDir, jbyteArray scriptRef, jint length) argument
[all...]
/frameworks/base/libs/hwui/
H A DOpenGLRenderer.cpp1562 * the width and length of the primitive occupied by the AA region. The vtxWidth and vtxLength
1564 * shader where the fragment is in relation to the line width/length overall; these values are
1567 * Note that we only pass down the width values in this setup function. The length coordinates
2006 * proportion of the width and the length of a given segment is represented by the boundary
2123 float length = 0; local
2155 float extendedNLength = extendedN.length();
2164 length = abVector.length();
2170 float abLength = abVector.length();
2171 boundaryLengthProportion = .5 - abLength / (length
2613 drawText(const char* text, int bytesCount, int count, float x, float y, const float* positions, SkPaint* paint, float length) argument
2981 drawTextDecorations(const char* text, int bytesCount, float length, float x, float y, SkPaint* paint) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java804 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
810 int[] length,
820 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
826 java.nio.IntBuffer length,
832 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
843 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
851 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
857 int[] length,
867 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
873 java.nio.IntBuffer length,
806 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
822 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
853 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
869 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
1127 glGetShaderSource( int shader, int bufsize, int[] length, int lengthOffset, byte[] source, int sourceOffset ) argument
1138 glGetShaderSource( int shader, int bufsize, java.nio.IntBuffer length, byte source ) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DTextView.java1287 * Returns the length, in characters, of the text managed by this TextView
1289 public int length() { method in class:TextView
1290 return mText.length();
2576 return ((Spanned) mText).getSpans(0, mText.length(), URLSpan.class);
3138 append(text, 0, text.length());
3170 if (color != mCurHintTextColor && mText.length() == 0) {
3250 for (ChangeWatcher cw : sp.getSpans(0, sp.length(), ChangeWatcher.class)) {
3277 SuggestionSpan[] suggestionSpans = spannable.getSpans(0, spannable.length(),
3279 for (int i = 0; i < suggestionSpans.length; i++) {
3305 int len = mText.length();
8551 public int length() { method in class:TextView.CharWrapper
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp2033 void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) { argument
2057 // copy argument length
2061 arg_length->add_intvalue((int)length);
2084 glContext->hooks->gl.glGetActiveAttrib(program, index, bufsize, length, size, type, name);
2089 (void *) length,
2101 void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) { argument
2125 // copy argument length
2129 arg_length->add_intvalue((int)length);
2152 glContext->hooks->gl.glGetActiveUniform(program, index, bufsize, length, size, type, name);
2157 (void *) length,
2524 GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog) argument
2654 GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog) argument
2750 GLTrace_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source) argument
3788 GLTrace_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length) argument
3842 GLTrace_glShaderSource(GLuint shader, GLsizei count, const GLchar** string, const GLint* length) argument
5799 GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) argument
5854 GLTrace_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length) argument
6724 GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString) argument
6772 GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString) argument
7314 GLTrace_glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label) argument
7361 GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) argument
7415 GLTrace_glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) argument
7450 GLTrace_glPushGroupMarkerEXT(GLsizei length, const GLchar *marker) argument
9498 GLTrace_glGetProgramPipelineInfoLogEXT(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) argument
10426 GLTrace_glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) argument
11035 GLTrace_glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *length) argument
[all...]
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h268 SLuint32 length; member in struct:SLDataLocator_Address_
2028 SLuint32 length,
2038 SLuint32 length,
2048 SLuint32 length
/frameworks/base/core/java/android/view/
H A DView.java1377 if ((VIEW_STATE_IDS.length/2) != R.styleable.ViewDrawableStates.length) {
1379 "VIEW_STATE_IDs array length does not match ViewDrawableStates style array");
1381 int[] orderedIds = new int[VIEW_STATE_IDS.length];
1382 for (int i = 0; i < R.styleable.ViewDrawableStates.length; i++) {
1384 for (int j = 0; j<VIEW_STATE_IDS.length; j += 2) {
1391 final int NUM_BITS = VIEW_STATE_IDS.length / 2;
1393 for (int i = 0; i < VIEW_STATE_SETS.length; i++) {
1397 for (int j = 0; j < orderedIds.length; j += 2) {
3855 * @param length Th
3858 setFadingEdgeLength(int length) argument
[all...]
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h442 XAuint32 length; member in struct:XADataLocator_Address_

Completed in 2047 milliseconds

<<1112