Searched defs:length (Results 1 - 25 of 510) 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 )
10 int length,
7 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.cpp23 bool NinePatchPeeker::readChunk(const char tag[], const void* data, size_t length) { argument
24 if (!strcmp("npTc", tag) && length >= sizeof(Res_png_9patch)) {
27 if (length != patchSize) {
38 } else if (!strcmp("npLb", tag) && length == sizeof(int32_t) * 4) {
41 } 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/androidfw/tests/
H A DApkAssets_test.cpp81 off64_t start, length; local
82 base::unique_fd fd(asset->openFileDescriptor(&start, &length));
88 buffer.resize(length);
89 ASSERT_TRUE(base::ReadFully(fd.get(), &*buffer.begin(), length));
/frameworks/base/libs/hwui/tests/common/scenes/
H A DListOfFadedTextAnimation.cpp35 int length = dp(100); variable
36 canvas.saveLayer(0, 0, length, itemHeight, nullptr, SaveFlags::HasAlphaLayer);
51 matrix.setScale(1, length);
56 canvas.drawRect(0, 0, length, itemHeight, fadingPaint);
/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/services/usb/java/com/android/server/usb/descriptors/
H A DUsbUnknown.java25 public UsbUnknown(int length, byte type) { argument
26 super(length, type);
/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/layoutlib/bridge/src/android/graphics/
H A DDiscretePathEffect_Delegate.java65 /*package*/ static long nativeCreate(float length, float deviation) { argument
/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/opt/net/lowpan/libandroid_net_lowpan/tests/jni/
H A DLowpanBeaconInfoTest.cpp30 const int length = env->GetArrayLength(parcelData); local
32 std::unique_ptr<uint8_t> bytes(new uint8_t[length]);
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get()));
36 p.setData(bytes.get(), length);
53 const int length = p.dataSize(); local
55 jbyteArray parcelData = env->NewByteArray(length);
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data()));
H A DLowpanChannelInfoTest.cpp30 const int length = env->GetArrayLength(parcelData); local
32 std::unique_ptr<uint8_t> bytes(new uint8_t[length]);
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get()));
36 p.setData(bytes.get(), length);
53 const int length = p.dataSize(); local
55 jbyteArray parcelData = env->NewByteArray(length);
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data()));
H A DLowpanCredentialTest.cpp30 const int length = env->GetArrayLength(parcelData); local
32 std::unique_ptr<uint8_t> bytes(new uint8_t[length]);
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get()));
36 p.setData(bytes.get(), length);
53 const int length = p.dataSize(); local
55 jbyteArray parcelData = env->NewByteArray(length);
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data()));
H A DLowpanIdentityTest.cpp30 const int length = env->GetArrayLength(parcelData); local
32 std::unique_ptr<uint8_t> bytes(new uint8_t[length]);
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get()));
36 p.setData(bytes.get(), length);
53 const int length = p.dataSize(); local
55 jbyteArray parcelData = env->NewByteArray(length);
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data()));
H A DLowpanProvisionTest.cpp30 const int length = env->GetArrayLength(parcelData); local
32 std::unique_ptr<uint8_t> bytes(new uint8_t[length]);
33 env->GetByteArrayRegion(parcelData, 0, length, reinterpret_cast<jbyte*>(bytes.get()));
36 p.setData(bytes.get(), length);
53 const int length = p.dataSize(); local
55 jbyteArray parcelData = env->NewByteArray(length);
56 env->SetByteArrayRegion(parcelData, 0, length, reinterpret_cast<const jbyte*>(p.data()));
/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;

Completed in 7120 milliseconds

1234567891011>>