/frameworks/av/media/img_utils/src/ |
TiffEntry.cpp | 148 size_t len = count; local 150 len = MAX_PRINT_STRING_LENGTH; 152 output.append(typed_data, len);
|
/frameworks/av/media/libmedia/ |
StringArray.cpp | 63 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/av/media/libstagefright/timedtext/ |
TextDescriptions.cpp | 217 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 = *(tmpData + 2) local [all...] |
/frameworks/base/core/java/android/net/http/ |
CharArrayBuffers.java | 41 int len = buffer.length(); local 43 while (beginIndex < len && HTTP.isWhitespace(chars[beginIndex])) { 47 boolean ok = len >= beginIndex + size;
|
/frameworks/base/services/core/jni/ |
com_android_server_ConsumerIrService.cpp | 73 int len; local 75 len = dev->get_num_carrier_freqs(dev); 76 if (len <= 0) 79 ranges = new consumerir_freq_range_t[len]; 81 len = dev->get_carrier_freqs(dev, len, ranges); 82 if (len <= 0) { 88 ScopedIntArrayRW freqsOut(env, env->NewIntArray(len*2)); 94 for (i = 0; i < len; i++) {
|
com_android_server_PersistentDataBlockService.cpp | 51 uint64_t len = get_block_device_size(fd); local 54 range[1] = len; 63 range[1] = len;
|
/frameworks/base/tools/aapt/ |
AaptXml.cpp | 43 size_t len; local 44 const uint16_t* str = tree.getAttributeStringValue(attrIndex, &len); 45 return str ? String8(str, len) : String8(); 105 size_t len; local 106 const uint16_t* str = tree.getAttributeStringValue(idx, &len); 107 return str ? String8(str, len) : String8(); 117 size_t len; local 119 const char16_t* str = resTable.valueToString(value2, 0, NULL, &len); 120 return str ? String8(str, len) : String8();
|
ApkBuilder.cpp | 93 size_t len = packageConfigStr.length(); local 94 if (len > 0) { 95 char* buf = packageConfigStr.lockBuffer(len); 96 for (char* end = buf + len; buf < end; ++buf) { 101 packageConfigStr.unlockBuffer(len);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/ |
XmlUtils_Delegate.java | 44 int len = nm.length(); local 54 if (index == (len - 1))
|
/frameworks/native/libs/gui/ |
BitTube.cpp | 109 ssize_t err, len; local 111 len = ::send(mSendFd, vaddr, size, MSG_DONTWAIT | MSG_NOSIGNAL); 113 err = len < 0 ? errno : 0; 115 return err == 0 ? len : -err; 120 ssize_t err, len; 122 len = ::recv(mReceiveFd, vaddr, size, MSG_DONTWAIT); 123 err = len < 0 ? errno : 0; 130 return err == 0 ? len : -err;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
RtpStream.cpp | 49 socklen_t len = sizeof(ss); local 51 getsockname(socket, (sockaddr *)&ss, &len) != 0) {
|
/frameworks/rs/ |
rsStream.cpp | 47 uint32_t len = loadU32(); local 48 const char *s = rsuCopyString((const char *)&mData[mPos], len); 49 mPos += len; 54 OStream::OStream(uint64_t len, bool use64) { 55 mData = (uint8_t*)malloc(len); 56 mLength = len; 93 void OStream::addString(const char *s, size_t len) { 94 addU32(len); 95 if (mPos + len*sizeof(char) >= mLength) { 99 memcpy(stringData, s, len); [all...] |
/frameworks/wilhelm/src/itf/ |
IAndroidEffectCapabilities.c | 61 int len = strlen(thiz->mFxDescriptors[index].name); local 63 *pNameSize > len ? len : *pNameSize ); 64 *pNameSize = len;
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
link_layer_stats.cpp | 70 int len = reply.get_vendor_data_len(); local
|
/hardware/qcom/display/msm8084/libqservice/ |
IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) 61 data.writeInt32(len); 62 void *buf = data.writeInplace(len); 63 memcpy(buf, msg, len); 84 ssize_t len = data.readInt32(); local 86 if(len >= 0 && len <= (ssize_t) data.dataAvail()) { 87 msg = data.readInplace(len); 90 len = 0; 92 onCECMessageRecieved((char*) msg, len); [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
Connection.cpp | 78 int32_t len; local 89 len = strlen(remote.sun_path) + sizeof(remote.sun_family); 92 if (::connect(socketDescriptor, (struct sockaddr *) &remote, len) < 0) { 101 size_t Connection::readData(void *buffer, uint32_t len) 103 return readData(buffer, len, -1); 108 size_t Connection::readData(void *buffer, uint32_t len, int32_t timeout) 149 ret = recv(socketDescriptor, buffer, len, MSG_DONTWAIT); 159 size_t Connection::writeData(void *buffer, uint32_t len) 166 ret = send(socketDescriptor, buffer, len, 0); 167 if (ret != len) { [all...] |
NetlinkConnection.cpp | 170 uint32_t len 173 return readData(buffer, len, -1); 180 uint32_t len, 198 // __FUNCTION__, len, dataLen); 203 if (len > dataLen) { 208 ret = len; 209 memcpy(buffer, dataStart, len); 210 dataLen -= len; 211 dataStart += len; 231 uint32_t len 259 memcpy(NLMSG_DATA(nlh), buffer, len); local [all...] |
/hardware/ti/omap4-aah/ |
mapinfo.c | 27 int len = strlen(line); local 29 if(len < 1) return 0; 30 line[--len] = 0; 32 if(len < 50) return 0; 35 mi = __real_malloc(sizeof(mapinfo) + (len - 47));
|
/hardware/ti/omap4xxx/ |
mapinfo.c | 27 int len = strlen(line); local 29 if(len < 1) return 0; 30 line[--len] = 0; 32 if(len < 50) return 0; 35 mi = __real_malloc(sizeof(mapinfo) + (len - 47));
|
/libcore/benchmarks/src/benchmarks/ |
SystemArrayCopyBenchmark.java | 30 final int len = arrayLength; local 31 char[] src = new char[len]; 32 char[] dst = new char[len]; 34 System.arraycopy(src, 0, dst, 0, len); 39 final int len = arrayLength; local 40 byte[] src = new byte[len]; 41 byte[] dst = new byte[len]; 43 System.arraycopy(src, 0, dst, 0, len); 48 final int len = arrayLength; local 49 short[] src = new short[len]; 57 final int len = arrayLength; local 66 final int len = arrayLength; local 75 final int len = arrayLength; local 84 final int len = arrayLength; local 93 final int len = arrayLength; local [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
CollationKeyICU.java | 97 int len = bytes.length; local 98 int inc = ((len - 32) / 32) + 1; 99 for (int i = 0; i < len;) {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
DSAKeyPairGeneratorImpl.java | 61 int len = 512; local 62 while (len <= 1024) { 63 if (len == modlen) { 67 len = len + 8; 68 if (len == 1032) {
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleInputStream.java | 20 public int len; field in class:Support_ASimpleInputStream 37 len = buf.length; 42 len = input.length; 43 buf = new byte[len]; 44 System.arraycopy(input, 0, buf, 0, len); 59 return len - pos; 67 if (pos < len) {
|
Support_ASimpleReader.java | 20 public int len; field in class:Support_ASimpleReader 37 len = buf.length; 52 return len > pos; 60 int available = len - pos;
|
/ndk/sources/android/support/src/musl-ctype/ |
towctrans.c | 11 unsigned char len; member in struct:__anon42814 243 for (i=0; casemaps[i].len; i++) { 245 if ((unsigned)wc-base < casemaps[i].len) {
|