/frameworks/base/libs/hwui/ |
H A D | Caches.h | 286 static void eventMarkNull(GLsizei length, const GLchar* marker) { } argument 287 static void startMarkNull(GLsizei length, const GLchar* marker) { } argument 290 static void setLabelNull(GLenum type, uint object, GLsizei length, argument 293 GLsizei* length, char* label) { 294 if (length) *length = 0; 292 getLabelNull(GLenum type, uint object, GLsizei bufferSize, GLsizei* length, char* label) argument
|
/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 191 * that were written to stdout, the only length information is in the 194 * Of course, the central directory can be followed by a variable-length 701 status_t ZipFile::copyPartialFpToFp(FILE* dstFp, FILE* srcFp, long length, argument 710 while (length) { 714 if (readSize > length) 715 readSize = length; 731 length -= readSize; 980 /* Get the length of this entry by finding the offset
|
/frameworks/native/libs/utils/ |
H A D | Unicode.cpp | 489 static inline uint32_t utf8_to_utf32_codepoint(const uint8_t *src, size_t length) argument 493 switch (length) 516 //printf("Char at %p: len=%d, utf-16=%p\n", src, length, (void*)result);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduComposer.java | 124 for (i = 0; i < PduContentTypes.contentTypes.length; i++) { 187 protected void arraycopy(byte[] buf, int pos, int length) { argument 188 mMessage.write(buf, pos, length); 189 mPosition = mPosition + length; 230 * Append a short length into mMessage. 237 * Short-length = <Any octet 0-30> 250 * Long-integer = Short-length Multi-octet-integer 251 * ; The Short-length indicates the length of the Multi-octet-integer 260 // Count the length o [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccFileHandler.java | 180 * int[0] is the record length int[1] is the total length of the EF 256 int length, Message onLoaded) { 261 length, null, null, mAid, response); 276 recordNum, READ_RECORD_MODE_ABSOLUTE, data.length, 287 0, 0, data.length, 255 loadEFImgTransparent(int fileid, int highOffset, int lowOffset, int length, Message onLoaded) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLFrame.java | 207 public void setData(ByteBuffer buffer, int offset, int length) { argument 211 if (getFormat().getSize() != bytes.length) { 213 } else if (!setNativeData(bytes, offset, length)) { 380 private native boolean setNativeData(byte[] data, int offset, int length); argument
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 72 int64_t length) { 73 ALOGE("setDataSource(%d, %lld, %lld) Not supported", fd, offset, length); 71 setDataSource(int fd, int64_t offset, int64_t length) argument
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditor3gpReader.cpp | 162 * @brief Read the next <length> bits in the bitstream. 165 * @param length (IN) The number of bits to extract from the bitstream 170 M4OSA_Int32 length) { 183 i_ovf = pStreamContext->mBitIndex + length - 32; 184 u_mask = (length >= 32) ? 0xffffffff: (1 << length) - 1; 205 * @brief Increment the bitstream pointer of <length> bits. 207 * @param length (IN) The number of bit to shift the bitstream 211 M4OSA_Int32 length) { 219 val=pStreamContext->mBitIndex + length; 169 VideoEditor3gpReader_BitStreamParserShowBits(void* pContext, M4OSA_Int32 length) argument 210 VideoEditor3gpReader_BitStreamParserFlushBits(void* pContext, M4OSA_Int32 length) argument 317 M4OSA_UInt32 length=0; local 349 M4OSA_UInt32 length=0; local [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 220 int length = sizeof(gDescriptors) / sizeof(const effect_descriptor_t *); local 230 for (i = 0; i < length; i++) { 239 if (i == length) { 324 int length = sizeof(gDescriptors) / sizeof(const effect_descriptor_t *); local 331 for (i = 0; i < length; i++) {
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 188 int length = sizeof(gDescriptors) / sizeof(const effect_descriptor_t *); local 195 for (i = 0; i < length; i++) {
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 43 virtual int Read(long long position, long length, unsigned char* buffer) { argument 45 CHECK(length >= 0); 47 if (length == 0) { 51 ssize_t n = mSource->readAt(position, buffer, length); 538 // is prefixed by mNALSizeLen bytes giving the fragment length,
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 733 mfr.length = fileLength; 771 uint32_t length; local 777 length = mRequest.getParameter(4); 780 length = mRequest.getParameter(3); 788 if (offset + length > fileLength) 789 length = fileLength - offset; 798 mfr.length = length; 801 mResponse.setParameter(1, length); 829 int64_t length; local 1097 uint32_t length = mRequest.getParameter(4); local [all...] |
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 291 * @param length number of bytes containing samples. 295 public int putAudio(byte[] buf, int offset, int length, boolean isLast) { argument 296 return SR_RecognizerPutAudio(mRecognizer, buf, offset, length, isLast); 634 int length, boolean isLast); 633 SR_RecognizerPutAudio(int recognizer, byte[] buffer, int offset, int length, boolean isLast) argument
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 44 this(text, 0, text.length()); 74 for (int i = 0; i < spans.length; i++) { 110 int len = length(); 114 throw new IndexOutOfBoundsException("charAt: " + where + " >= length " + len); 126 public int length() { method in class:SpannableStringBuilder 127 return mText.length - mGapLength; 131 final int oldLength = mText.length; 156 boolean atEnd = (where == length()); 207 return replace(where, where, tb, 0, tb.length()); 214 if (mGapLength > 2 * length()) [all...] |
H A D | TextUtils.java | 91 return indexOf(s, ch, start, s.length()); 132 return lastIndexOf(s, ch, s.length() - 1); 148 if (last >= s.length()) 149 last = s.length() - 1; 190 return indexOf(s, needle, 0, s.length()); 194 return indexOf(s, needle, start, s.length()); 199 int nlen = needle.length(); 327 if (text.length() == 0) { 344 if (text.length() == 0) { 401 mLength = mString.length(); 510 public int length() { method in class:TextUtils.Reverser [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 518 int offset, int length, jobject options) { 527 SkStream* stream = new SkMemoryStream(ar.ptr() + offset, length, purgeable); 517 nativeDecodeByteArray(JNIEnv* env, jobject, jbyteArray byteArray, int offset, int length, jobject options) argument
|
/frameworks/base/core/jni/ |
H A D | android_database_SQLiteConnection.cpp | 356 size_t length = 0; local 357 while (name[length]) { 358 length += 1; 360 return env->NewString(name, length); 508 size_t length = sqlite3_column_bytes16(statement, 0) / sizeof(jchar); local 509 return env->NewString(text, length); 515 static int createAshmemRegionWithData(JNIEnv* env, const void* data, size_t length) { argument 517 int fd = ashmem_create_region(NULL, length); 522 if (length > 0) { 523 void* ptr = mmap(NULL, length, PROT_REA 558 int length = sqlite3_column_bytes(statement, 0); local [all...] |
H A D | android_view_MotionEvent.cpp | 131 size_t length = size_t(env->GetArrayLength(pointerPropertiesObjArray)); local 132 if (length < pointerCount) { 147 size_t length = size_t(env->GetArrayLength(pointerCoordsObjArray)); local 148 if (length < pointerCount) {
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 80 const int length = strlen(bytes) + 1; local 81 char *data = new char[length]; 82 strncpy(data, bytes, length); 108 jint length = env->GetArrayLength(byteArray); local 110 *dataLength = length; 112 data = new char[length]; 113 env->GetByteArrayRegion(byteArray, (jint)0, length, (jbyte *) data); 339 int length = 0; local 340 getDrmManagerClientImpl(env, thiz)->getAllSupportInfo(uniqueId, &length, &drmSupportInfoArray); 344 jobjectArray array = (jobjectArray)env->NewObjectArray(length, claz 476 int length = pDrmInfoStatus->drmBuffer->length; local 546 int length = pDrmInfo->getData().length; local 649 int length = pDrmConvertedStatus->convertedData->length; local [all...] |
/frameworks/base/icu4j/java/android/icu/text/ |
H A D | ArabicShaping.java | 52 * length different from the source length. Some legacy systems rely on the 53 * length of the text to be constant. They expect extra spaces to be added 79 * @param sourceLength The length of the range of text to convert 102 if (sourceStart < 0 || sourceLength < 0 || sourceStart + sourceLength > source.length) { 104 ") or length (" + sourceLength + 105 ") for buffer of length " + source.length); 111 (destStart < 0 || destSize < 0 || destStart + destSize > dest.length)) { 114 ") for buffer of length " 154 shape(char[] source, int start, int length) argument 858 shapeToArabicDigitsWithContext(char[] dest, int start, int length, char digitBase, boolean lastStrongWasAL) argument 892 invertBuffer(char[] buffer, int start, int length) argument 1176 countSpaceSub(char [] dest,int length, char subChar) argument 1266 handleGeneratedSpaces(char[] dest, int start, int length) argument 1385 expandCompositCharAtBegin(char[] dest,int start, int length, int lacount) argument 1415 expandCompositCharAtEnd(char[] dest,int start, int length, int lacount) argument 1442 expandCompositCharAtNear(char[] dest,int start, int length, int yehHamzaOption, int seenTailOption, int lamAlefOption) argument 1497 expandCompositChar(char[] dest, int start, int length, int lacount, int shapingMode) argument 1591 normalize(char[] dest, int start, int length) argument 1614 deshapeNormalize(char[] dest, int start, int length) argument 1648 shapeUnicode(char[] dest, int start, int length, int destSize, int tashkeelFlag) argument 1797 deShapeUnicode(char[] dest, int start, int length, int destSize) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 373 int length = property_get("debug.inputconsumer.resample", value, NULL); local 374 if (length > 0) {
|
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 97 static void nmea_callback(GpsUtcTime timestamp, const char* nmea, int length) argument 103 sNmeaStringLength = length; 435 int length = sNmeaStringLength; local 436 if (length > buffer_size) 437 length = buffer_size; 438 memcpy(nmea, sNmeaString, length); 440 return length; 463 jbyteArray data, jint length) 471 sGpsXtraInterface->inject_xtra_data((char *)bytes, length); 537 size_t length local 462 android_location_GpsLocationProvider_inject_xtra_data(JNIEnv* env, jobject obj, jbyteArray data, jint length) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 214 int len = phoneNumber.length(); 226 if (prefix.length() == 0 || prefix.equals(CLIR_ON) || prefix.equals(CLIR_OFF)) { 253 int len = phoneNumber.length(); 284 int len = phoneNumber.length(); 325 int len = phoneNumber.length(); 367 origLength = a.length(); 398 for (int i = trimIndex + 1, s = phoneNumber.length() 460 if (a.length() == 0 || b.length() == 0) { 497 int effectiveALen = a.length() 801 calledPartyBCDToString(byte[] bytes, int offset, int length) argument 901 internalCalledPartyBCDFragmentToString( StringBuilder sb, byte [] bytes, int offset, int length) argument 944 calledPartyBCDFragmentToString(byte [] bytes, int offset, int length) argument [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 82 // + Sampling rate must be multiple of 1000Hz, and packet length must be in 351 int length = mCodec->encode(&buffer[3], samples); local 352 if (length <= 0) { 356 sendto(mSocket, buffer, length + 12, MSG_DONTWAIT, (sockaddr *)&mRemote, 413 int length = recvfrom(mSocket, buffer, sizeof(buffer), local 418 if (length < 12 || length > (int)sizeof(buffer) || 428 length -= buffer[length - 1]; 430 length [all...] |
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 482 bool AudioEngine::PlayFileDescriptor(int fd, int64 offset, int64 length) { argument 484 SL_DATALOCATOR_ANDROIDFD, fd, offset, length };
|