Searched defs:length (Results 1 - 25 of 411) 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 )
18 java.nio.IntBuffer length,
22 // 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
15 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
/frameworks/base/core/jni/android/graphics/
H A DNinePatchPeeker.cpp24 bool NinePatchPeeker::readChunk(const char tag[], const void* data, size_t length) { argument
25 if (!strcmp("npTc", tag) && length >= sizeof(Res_png_9patch)) {
28 if (length != patchSize) {
39 } else if (!strcmp("npLb", tag) && length == sizeof(int32_t) * 4) {
42 } else if (!strcmp("npOl", tag) && length == 24) { // 4 int32_ts, 1 float, 1 int32_t sized byte
/frameworks/base/graphics/java/android/graphics/
H A DDiscretePathEffect.java29 private static native long nativeCreate(float length, float deviation); argument
/frameworks/base/libs/hwui/tests/microbench/
H A DPathParserBench.cpp31 size_t length = strlen(sPathString); local
34 PathParser::parseAsciiStringForSkPath(&skPath, &result, sPathString, length);
42 size_t length = strlen(sPathString); local
46 PathParser::getPathDataFromAsciiString(&outData, &result, sPathString, length);
/frameworks/base/obex/javax/obex/
H A DObexPacket.java28 private ObexPacket(int headerId, int length) { argument
30 mLength = length;
52 // Read the 2 byte length field from the stream
53 int length = is.read();
54 length = (length << 8) + is.read();
56 ObexPacket newPacket = new ObexPacket(headerId, length);
60 if (length > 3) {
62 temp = new byte[length - 3];
64 while (bytesReceived != temp.length) {
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DDiscretePathEffect_Delegate.java65 /*package*/ static long nativeCreate(float length, float deviation) { argument
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp39 size_t length = strlen(pVal); local
40 char* data = reinterpret_cast<char*>(malloc(length + 1));
41 ::memcpy(data, pVal, length);
42 m_Value = llvm::StringRef(data, length);
/frameworks/native/include/binder/
H A DProcessInfoService.h37 status_t getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, /*out*/ int32_t* states);
52 static status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids, argument
54 return ProcessInfoService::getInstance().getProcessStatesImpl(length, /*in*/ pids,
/frameworks/native/libs/binder/
H A DProcessInfoService.cpp29 status_t ProcessInfoService::getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, argument
40 err = pis->getProcessStatesFromPids(length, /*in*/ pids, /*out*/ states);
/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/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/webkit/
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/core/java/com/android/internal/util/
H A DSizedInputStream.java32 public SizedInputStream(InputStream wrapped, long length) { argument
34 mLength = length;
/frameworks/base/packages/Osu/src/com/android/anqp/eap/
H A DInnerAuthEAP.java15 public InnerAuthEAP(int length, ByteBuffer payload) throws ProtocolException { argument
16 if (length != 1) {
17 throw new ProtocolException("Bad length: " + length);
H A DVendorSpecificAuth.java14 public VendorSpecificAuth(int length, ByteBuffer payload) throws ProtocolException { argument
15 mData = new byte[length];
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
H A DAsn1Boolean.java9 public Asn1Boolean(int tag, Asn1Class asn1Class, int length, ByteBuffer data) argument
11 super(tag, asn1Class, false, length);
12 if (length != 1) {
13 throw new DecodeException("Boolean length != 1: " + length, data.position());
H A DAsn1Octets.java10 public Asn1Octets(int tag, Asn1Class asn1Class, int length, ByteBuffer data) { argument
11 super(tag, asn1Class, false, length);
12 mOctets = new byte[length];
17 public Asn1Octets(int tag, Asn1Class asn1Class, int length, ByteBuffer data, int bitResidual) { argument
18 super(tag, asn1Class, false, length);
19 mOctets = new byte[length - 1];
H A DAsn1String.java11 public Asn1String(int tag, Asn1Class asn1Class, int length, ByteBuffer data) { argument
12 super(tag, asn1Class, false, length);
14 byte[] octets = new byte[length];
/frameworks/base/services/tests/servicestests/jni/
H A DUidRangeTest.cpp50 const int length = env->GetArrayLength(parcelData); local
52 std::unique_ptr<uint8_t> bytes(new uint8_t[length]);
53 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get()));
56 p.setData(bytes.get(), length);
73 const int length = p.dataSize(); local
75 jbyteArray parcelData = env->NewByteArray(length);
76 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data()));

Completed in 3531 milliseconds

1234567891011>>