/external/kernel-headers/original/linux/usb/ |
f_mtp.h | 24 /* length of packet, including this header */ 25 uint32_t length; member in struct:mtp_data_header 42 int64_t length; member in struct:mtp_file_range 55 size_t length; member in struct:mtp_event
|
/external/qemu/android/utils/ |
setenv.c | 10 size_t length = strlen(name) + strlen(value) + 2; local 11 char *string = malloc(length); 12 snprintf(string, length, "%s=%s", name, value);
|
/external/skia/src/utils/ |
SkBase64.h | 24 Error decode(const char* src, size_t length); 31 static size_t Encode(const void* src, size_t length, void* dest, const char* encode = NULL); 37 Error decode(const void* srcPtr, size_t length, bool writeDestination);
|
/external/tcpdump/ |
print-mpls.c | 61 mpls_print(const u_char *bp, u_int length) 92 ip_print(gndo, p, length - (p - bp)); 94 else printf(", IP, length: %u",length); 100 ip6_print(p, length - (p - bp)); 102 else printf(", IPv6, length: %u",length); 134 ip_print(gndo, p, length - (p - bp)); 136 else printf(", IP, length: %u",length); [all...] |
/frameworks/base/core/java/android/view/textservice/ |
SentenceSuggestionsInfo.java | 50 if (suggestionsInfos.length != offsets.length || offsets.length != lengths.length) { 53 final int infoSize = suggestionsInfos.length; 63 mOffsets = new int[mSuggestionsInfos.length]; 65 mLengths = new int[mSuggestionsInfos.length]; 77 final int infoSize = mSuggestionsInfos.length; 93 return mSuggestionsInfos.length; 101 if (i >= 0 && i < mSuggestionsInfos.length) { [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glMapBufferRange.cpp | 1 /* 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);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
Message.java | 30 * Message length 32 protected int length; field in class:Message 40 * Returns message length 42 public int length() { method in class:Message 43 return length;
|
/cts/tests/tests/text/src/android/text/method/cts/ |
DigitsKeyListenerTest.java | 53 assertNull(digitsKeyListener.filter(source, 0, source.length(), 54 dest, 0, dest.length())); 58 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(), 59 dest, 0, dest.length())).toString()); 63 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(), 64 dest, 0, dest.length())).toString()); 68 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(), 69 dest, 0, dest.length())).toString()); 74 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); 76 0, spannableSource.length(), dest, 0, dest.length()) [all...] |
/external/chromium_org/third_party/icu/source/common/ |
locdispnames.cpp | 55 int32_t length; local 63 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, 66 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); 69 buffer=result.getBuffer(length); 75 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, 78 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); 95 int32_t length; local 103 length=uloc_getDisplayScript(fullName, displayLocale.fullName, 106 result.releaseBuffer(U_SUCCESS(errorCode) ? length : 0); 109 buffer=result.getBuffer(length); 135 int32_t length; local 175 int32_t length; local 215 int32_t length; local 302 int32_t length = 0; local 355 int32_t length; local 436 int32_t length, length2, length3 = 0; local [all...] |
/external/apache-http/src/org/apache/http/util/ |
EncodingUtils.java | 54 * @param length the number of bytes to encode 61 int length, 69 if (charset == null || charset.length() == 0) { 74 return new String(data, offset, length, charset); 76 return new String(data, offset, length); 94 return getString(data, 0, data.length, charset); 111 if (charset == null || charset.length() == 0) { 148 * @param length the number of bytes to encode 151 public static String getAsciiString(final byte[] data, int offset, int length) { 158 return new String(data, offset, length, HTTP.US_ASCII) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
StreamUtil.java | 14 * Find out possible longest length... 17 * @return length calculation or MAX_VALUE. 60 int length) 64 if (length > 127) 67 int val = length; 86 int length = 1; local 92 length++; 97 int pos = stack.length; 108 length += stack.length - pos [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
CString.h | 36 // The data is implicitly allocated 1 character longer than length(), as it is zero-terminated. 40 size_t length() const { return m_length; } function in class:WTF::CStringBuffer 45 static PassRefPtr<CStringBuffer> createUninitialized(size_t length); 47 CStringBuffer(size_t length) : m_length(length) { } 59 CString(const char*, size_t length); 61 static CString newUninitialized(size_t length, char*& characterBuffer); 68 size_t length() const function in class:WTF::CString 70 return m_buffer ? m_buffer->length() : 0; 80 void init(const char*, size_t length); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
cbc3_enc.c | 62 void DES_3cbc_encrypt(DES_cblock *input, DES_cblock *output, long length, 66 int off=((int)length-1)/8; 67 long l8=((length+7)/8)*8; 73 (unsigned char*)output,length,&ks1,iv1,enc); 74 if (length >= sizeof(DES_cblock)) 80 if (length >= sizeof(DES_cblock)) 85 if (length >= sizeof(DES_cblock)) 91 if (length >= sizeof(DES_cblock)) 94 (unsigned char*)output,length,&ks1,iv1,enc);
|
/external/chromium_org/third_party/skia/include/xml/ |
SkXMLWriter.h | 27 void addAttributeLen(const char name[], const char value[], size_t length); 32 void startElementLen(const char elem[], size_t length); 38 virtual void onStartElementLen(const char elem[], size_t length) = 0; 39 virtual void onAddAttributeLen(const char name[], const char value[], size_t length) = 0; 47 bool doStart(const char name[], size_t length); 65 virtual void onStartElementLen(const char elem[], size_t length); 67 virtual void onAddAttributeLen(const char name[], const char value[], size_t length); 77 virtual void onStartElementLen(const char elem[], size_t length); 79 virtual void onAddAttributeLen(const char name[], const char value[], size_t length);
|
/external/icu4c/common/ |
ucharstrieiterator.cpp | 62 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. local 63 if(length>=0) { 65 ++length; 66 if(maxLength_>0 && length>maxLength_) { 67 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal. 69 str_.append(pos_, length); 70 pos_+=length; 71 remainingMatchLength_-=length; 84 int32_t length=remainingMatchLength_+1; // Remaining match length local 111 int32_t length=stack_->elementAti(stackSize-1); local 171 int32_t length=node-kMinLinearMatch+1; local [all...] |
/external/openssl/crypto/des/ |
cbc3_enc.c | 62 void DES_3cbc_encrypt(DES_cblock *input, DES_cblock *output, long length, 66 int off=((int)length-1)/8; 67 long l8=((length+7)/8)*8; 73 (unsigned char*)output,length,&ks1,iv1,enc); 74 if (length >= sizeof(DES_cblock)) 80 if (length >= sizeof(DES_cblock)) 85 if (length >= sizeof(DES_cblock)) 91 if (length >= sizeof(DES_cblock)) 94 (unsigned char*)output,length,&ks1,iv1,enc);
|
/external/skia/include/xml/ |
SkXMLWriter.h | 27 void addAttributeLen(const char name[], const char value[], size_t length); 32 void startElementLen(const char elem[], size_t length); 38 virtual void onStartElementLen(const char elem[], size_t length) = 0; 39 virtual void onAddAttributeLen(const char name[], const char value[], size_t length) = 0; 47 bool doStart(const char name[], size_t length); 65 virtual void onStartElementLen(const char elem[], size_t length); 67 virtual void onAddAttributeLen(const char name[], const char value[], size_t length); 77 virtual void onStartElementLen(const char elem[], size_t length); 79 virtual void onAddAttributeLen(const char name[], const char value[], size_t length);
|
/libcore/luni/src/main/java/java/io/ |
Reader.java | 141 return read(buffer, 0, buffer.length); 243 int length = target.length(); 244 char[] buf = new char[length]; 245 length = Math.min(length, read(buf)); 246 if (length > 0) { 247 target.put(buf, 0, length); 249 return length;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
StreamUtils.java | 32 int length = input.length - (input.length % 4); local 33 if (output.length * 4 < length) { 37 for (int i = 0, j = 0; i < output.length; i++, j += 4) { 42 for (int i = 0, j = 0; i < output.length; i++, j += 4) { 47 return input.length % 4 != 0; 51 int[] output = new int[input.length / 4];
|
/art/test/023-many-interfaces/src/ |
Main.java | 3 boolean timing = (args.length >= 1) && args[0].equals("--timing");
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/array_length/d/ |
T_array_length_1.java | 22 return arr.length;
|
/dalvik/libdex/ |
DexOptData.h | 31 * @param length length of the entire dex file, in bytes 34 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile);
|
/dalvik/tests/023-many-interfaces/src/ |
Main.java | 3 boolean timing = (args.length >= 1) && args[0].equals("--timing");
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XMLStringFactoryImpl.java | 67 * @param length The number of characters to read from the array. 71 public XMLString newstr(FastStringBuffer fsb, int start, int length) 73 return new XStringForFSB(fsb, start, length); 82 * @param length The number of characters to read from the array. 86 public XMLString newstr(char[] string, int start, int length) 88 return new XStringForChars(string, start, length);
|
/external/bluetooth/bluedroid/embdrv/sbc/encoder/include/ |
sbc_if.h | 37 increasing by length until track is finished. 40 length - any 45 int SBC_write(unsigned char *pcm_in, int length, unsigned char *sbc_out);
|