Searched defs:len (Results 1 - 25 of 224) sorted by relevance

123456789

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dstream.c40 int len; local
41 len = MIN(Frame_Maxsize - stream->frame_storelen, stream->set_len);
42 pMemOP->Copy(VO_INDEX_ENC_AMRWB, stream->frame_ptr_bk + stream->frame_storelen , stream->set_ptr, len);
43 stream->set_len -= len;
44 stream->set_ptr += len;
45 stream->framebuffer_len = stream->frame_storelen + len;
47 stream->used_len += len;
/frameworks/base/graphics/java/android/graphics/
H A DTemporaryBuffer.java25 public static char[] obtain(int len) { argument
33 if (buf == null || buf.length < len) {
34 buf = new char[ArrayUtils.idealCharArraySize(len)];
/frameworks/base/tools/aidl/
H A Doptions.cpp58 int len = strlen(s); local
60 if (len > 1) {
63 if (len > 2) {
71 if (len > 2) {
82 if (len > 2) {
90 if (len > 2) {
97 else if (len == 2 && s[1] == 'b') {
106 // len <= 1
/frameworks/native/opengl/tests/angeles/
H A Dcams.h43 unsigned char len; // length multiplier member in struct:__anon1485
/frameworks/rs/driver/
H A DrsdMesh.cpp41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len) { argument
49 drv->renderPrimitiveRange(rsc, primIndex, start, len);
/frameworks/wilhelm/src/desktop/
H A DSDL.c24 static void SDLCALL SDL_callback(void *context, Uint8 *stream, int len) argument
26 assert(len > 0);
36 IOutputMixExt_FillBuffer(OutputMixExt, stream, (SLuint32) len);
38 memset(stream, 0, (size_t) len);
/frameworks/wilhelm/tools/mphtogen/
H A Dmphtogen.c31 unsigned len = 0; local
33 if (len > 0) {
35 ++len;
37 if (len > 78) {
39 len = 0;
42 len += 3;
44 if (len > 0) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_byte_stream.c68 len length of the stream buffer (in bytes)
80 u32 h264bsdExtractNalUnit(u8 *pByteStream, u32 len, strmData_t *pStrmData, argument
97 ASSERT(len);
98 ASSERT(len < BYTE_STREAM_ERROR);
102 if (len > 3 && pByteStream[0] == 0x00 && pByteStream[1] == 0x00 &&
115 if (byteCount == len)
118 *readBytes = len;
162 if (byteCount == len)
175 pStrmData->strmBuffSize = len;
/frameworks/base/core/java/android/text/
H A DAndroidBidi.java58 * @param len the length of the line
62 char[] chars, int cstart, int len) {
68 for (int i = lstart + 1, e = lstart + len; i < e; ++i) {
77 int visLen = len;
93 if (visLen != len) {
133 if (visLen < len) {
135 ld[++n] = (len - visLen) | (baseLevel << Layout.RUN_LEVEL_SHIFT);
61 directions(int dir, byte[] levels, int lstart, char[] chars, int cstart, int len) argument
/frameworks/base/voip/jni/rtp/
H A DRtpStream.cpp49 socklen_t len = sizeof(ss); local
51 getsockname(socket, (sockaddr *)&ss, &len) != 0) {
/frameworks/compile/libbcc/tests/data/src/
H A Dbrackets.c1 void testBrackets(int* ar, int len) { argument
4 for (i = 0; i < len; i++) {
7 for (i = 0; i < len; i++) {
H A Darray.c44 void vectorAdd(int* a, int* b, float* c, int len) { argument
46 for(i = 0; i < len; i++) {
55 int len = 3; local
56 for(i = 0; i < len; i++) {
61 vectorAdd(a,b,c, len);
63 for(i = 0; i < len; i++) {
/frameworks/native/libs/gui/
H A DBitTube.cpp98 ssize_t err, len; local
100 len = ::send(mSendFd, vaddr, size, MSG_DONTWAIT | MSG_NOSIGNAL);
101 err = len < 0 ? errno : 0;
103 return err == 0 ? len : -err;
109 ssize_t err, len;
111 len = ::recv(mReceiveFd, vaddr, size, MSG_DONTWAIT);
112 err = len < 0 ? errno : 0;
119 return err == 0 ? len : -err;
/frameworks/native/libs/utils/
H A DStringArray.cpp63 int len = strlen(str); local
64 mArray[mCurrent] = new char[len+1];
65 memcpy(mArray[mCurrent], str, len+1);
107 int len = strlen(str); local
108 mArray[idx] = new char[len+1];
109 memcpy(mArray[idx], str, len+1);
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DByteArrayPool.java87 * @param len the minimum size, in bytes, of the requested buffer. The returned buffer may be
91 public synchronized byte[] getBuf(int len) { argument
94 if (buf.length >= len) {
101 return new byte[len];
H A DPoolingByteArrayOutputStream.java83 public synchronized void write(byte[] buffer, int offset, int len) { argument
84 expand(len);
85 super.write(buffer, offset, len);
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_dcf.c20 static int32_t drm_parseUintVar(uint8_t * buffer, uint8_t * len) argument
36 *len = (uint8_t)(byteLen + 1);
/frameworks/av/include/media/stagefright/
H A DMediaExtractor.h65 virtual char* getDrmTrackInfo(size_t trackID, int *len) { argument
/frameworks/base/core/java/android/util/
H A DBase64OutputStream.java98 public void write(byte[] b, int off, int len) throws IOException { argument
99 if (len <= 0) return;
101 internalWrite(b, off, len, false);
136 private void internalWrite(byte[] b, int off, int len, boolean finish) throws IOException { argument
137 coder.output = embiggen(coder.output, coder.maxOutputSize(len));
138 if (!coder.process(b, off, len, finish)) {
145 * If b.length is at least len, return b. Otherwise return a new
146 * byte array of length len.
148 private byte[] embiggen(byte[] b, int len) { argument
149 if (b == null || b.length < len) {
[all...]
H A DBase64InputStream.java119 public int read(byte[] b, int off, int len) throws IOException { argument
126 int bytes = Math.min(len, outputEnd-outputStart);
/frameworks/wilhelm/src/itf/
H A DIAndroidEffectCapabilities.c61 int len = strlen(thiz->mFxDescriptors[index].name); local
63 *pNameSize > len ? len : *pNameSize );
64 *pNameSize = len;
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp141 size_t len = strlen(ent->d_name); local
143 if (len >= 4
144 && !strcasecmp(ent->d_name + len - 4, ".mp3")) {
/frameworks/av/media/libstagefright/include/
H A DMPEG4Extractor.h44 virtual char* getDrmTrackInfo(size_t trackID, int *len);
85 ssize_t len; member in struct:android::MPEG4Extractor::SINF
/frameworks/av/media/libstagefright/timedtext/
H A DTextDescriptions.cpp217 int len = *(tmpData + 4); local
218 parcel->writeInt32(len);
221 parcel->writeInt32(len);
222 parcel->write(tmpData + 5, len);
224 tmpData += (5 + len);
227 len = *tmpData;
228 parcel->writeInt32(len);
231 parcel->writeInt32(len);
232 parcel->write(tmpData + 1, len);
360 int len local
[all...]
/frameworks/base/core/java/android/net/http/
H A DLoggingEventHandler.java60 public void data(byte[] data, int len) { argument
62 HttpLog.v("LoggingEventHandler: data() " + len + " bytes");
64 // HttpLog.v(new String(data, 0, len));

Completed in 360 milliseconds

123456789