/external/clang/test/Analysis/ |
region-store.c | 25 int concreteOffsetBindingIsInvalidatedBySymbolicOffsetAssignment(int length, 27 int values[length]; 36 int structOffsetBindingIsInvalidated(int length, int i){ 43 void testConstraintOnRegionOffset(int *values, int length, int i){ 51 void testConstraintOnRegionOffsetStack(int *values, int length, int i) {
|
/external/proguard/src/proguard/io/ |
ZipDataEntry.java | 59 int length = name.length(); local 60 return length > 0 && 61 name.charAt(length-1) == ClassConstants.INTERNAL_PACKAGE_SEPARATOR ? 62 name.substring(0, length -1) :
|
/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
PasswordCallback.java | 40 if (prompt == null || prompt.length() == 0) { 93 inputPassword = new char[password.length]; 94 System.arraycopy(password, 0, inputPassword, 0, inputPassword.length); 109 char[] tmp = new char[inputPassword.length]; 110 System.arraycopy(inputPassword, 0, tmp, 0, tmp.length);
|
/external/tcpdump/ |
print-telnet.c | 110 telnet_parse(const u_char *sp, u_int length, int print) 115 #define FETCH(c, sp, length) \ 117 if (length < 1) \ 121 length--; \ 126 FETCH(c, sp, length); 129 FETCH(c, sp, length); 147 FETCH(x, sp, length); 159 while (length > (u_int)(p + 1 - sp)) { 171 FETCH(c, sp, length); 176 FETCH(c, sp, length); [all...] |
print-ether.c | 80 ether_hdr_print(register const u_char *bp, u_int length) 103 (void)printf(", length %u: ", length); 107 ether_print(const u_char *p, u_int length, u_int caplen) 119 ether_hdr_print(p, length); 121 length -= ETHER_HDRLEN; 133 if (llc_print(p, length, caplen, ESRC(ep), EDST(ep), 137 ether_hdr_print((u_char *)ep, length + ETHER_HDRLEN); 142 } else if (ether_encap_print(ether_type, p, length, caplen, 146 ether_hdr_print((u_char *)ep, length + ETHER_HDRLEN) [all...] |
/frameworks/rs/cpu_ref/linkloader/utils/ |
raw_ostream.cpp | 30 int const length, // Fill Width. 37 t_format.ptr = new char[length+1]; 38 t_format.ptr[length] = '\0'; 39 vsnprintf(t_format.ptr, length, format_s, valist); 41 int fill_len = length;
|
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLEngineDataStream.java | 42 protected void setSourceBuffers(ByteBuffer[] srcs, int offset, int length) { 45 this.limit = offset+length; 65 public byte[] getData(int length) { 69 int len = (length < available) ? length : available;
|
/libcore/dex/src/main/java/com/android/dex/ |
EncodedValue.java | 45 int size = Math.min(data.length, other.data.length); 51 return data.length - other.data.length; 55 return Integer.toHexString(data[0] & 0xff) + "...(" + data.length + ")";
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_nodelistindexgetlength.java | 67 int length; local 72 length = (int) employeeList.getLength(); 74 if (equals(6, length)) { 75 assertEquals("length_wo_space", 6, length); 77 assertEquals("length_w_space", 13, length);
|
/libcore/luni/src/main/java/javax/security/auth/callback/ |
PasswordCallback.java | 38 if (prompt == null || prompt.length() == 0) { 90 inputPassword = new char[password.length]; 91 System.arraycopy(password, 0, inputPassword, 0, inputPassword.length); 106 char[] tmp = new char[inputPassword.length]; 107 System.arraycopy(inputPassword, 0, tmp, 0, tmp.length);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyMacSpi.java | 40 private int length = 0; field in class:MyMacSpi 43 return length; 63 length = len; 69 return new byte[length]; 74 length++;
|
/packages/apps/Email/src/com/android/email/ |
FixedLengthInputStream.java | 23 * A filtering InputStream that stops allowing reads after the given length has been read. This 32 public FixedLengthInputStream(InputStream in, int length) { 34 this.mLength = length; 53 public int read(byte[] b, int offset, int length) throws IOException { 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 69 return read(b, 0, b.length); 78 return String.format("FixedLengthInputStream(in=%s, length=%d)", mIn.toString(), mLength);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
AssetFileAddress.java | 25 * also the offset in the file and the length of this data. This class encapsulates these three. 32 public AssetFileAddress(final String filename, final long offset, final long length) { 35 mLength = length; 48 return new AssetFileAddress(filename, 0l, f.length()); 56 * @param length the length. 60 final long offset, final long length) { 64 return new AssetFileAddress(filename, offset, length);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AssetFileAddress.java | 25 * also the offset in the file and the length of this data. This class encapsulates these three. 32 public AssetFileAddress(final String filename, final long offset, final long length) { 35 mLength = length; 40 return new AssetFileAddress(file.getAbsolutePath(), 0L, file.length()); 49 final long offset, final long length) { 53 return new AssetFileAddress(filename, offset, length);
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-blob.cc | 62 unsigned int length; member in struct:hb_blob_t 84 unsigned int length, 91 if (!length || !(blob = hb_object_create<hb_blob_t> ())) { 98 blob->length = length; 118 unsigned int length) 122 if (!length || offset >= parent->length) 128 MIN (length, parent->length - offset) 241 uintptr_t pagesize = -1, mask, length; local [all...] |
/external/harfbuzz_ng/src/ |
hb-blob.cc | 59 unsigned int length; member in struct:hb_blob_t 81 unsigned int length, 88 if (!length || !(blob = hb_object_create<hb_blob_t> ())) { 95 blob->length = length; 115 unsigned int length) 119 if (!length || offset >= parent->length) 125 MIN (length, parent->length - offset) 238 uintptr_t pagesize = -1, mask, length; local [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
DualNonPaymentEmulatorActivity.java | 34 String[] commandSequences = new String[TransportService2.APDU_COMMAND_SEQUENCE.length + 35 AccessService.APDU_COMMAND_SEQUENCE.length]; 37 TransportService2.APDU_COMMAND_SEQUENCE.length); 39 TransportService2.APDU_COMMAND_SEQUENCE.length, 40 AccessService.APDU_COMMAND_SEQUENCE.length); 42 String[] responseSequences = new String[TransportService2.APDU_RESPOND_SEQUENCE.length + 43 AccessService.APDU_RESPOND_SEQUENCE.length]; 45 TransportService2.APDU_RESPOND_SEQUENCE.length); 47 TransportService2.APDU_RESPOND_SEQUENCE.length, 48 AccessService.APDU_RESPOND_SEQUENCE.length); [all...] |
OnAndOffHostEmulatorActivity.java | 35 String[] commandSequences = new String[OffHostService.APDU_COMMAND_SEQUENCE.length + 36 AccessService.APDU_COMMAND_SEQUENCE.length]; 38 OffHostService.APDU_COMMAND_SEQUENCE.length); 40 OffHostService.APDU_COMMAND_SEQUENCE.length, 41 AccessService.APDU_COMMAND_SEQUENCE.length); 43 String[] responseSequences = new String[OffHostService.APDU_RESPOND_SEQUENCE.length + 44 AccessService.APDU_RESPOND_SEQUENCE.length]; 46 OffHostService.APDU_RESPOND_SEQUENCE.length); 48 OffHostService.APDU_RESPOND_SEQUENCE.length, 49 AccessService.APDU_RESPOND_SEQUENCE.length); [all...] |
/dalvik/dx/tests/087-ssa-local-vars/ |
Blort.java | 17 for (int i = 0; i < stringArray.length; i++) 21 System.arraycopy(stringArray, 0, objectArray, 0, stringArray.length); 23 System.arraycopy(objectArray, 0, stringArray, 0, stringArray.length); 27 System.arraycopy(objectArray, 0, stringArray, 0,stringArray.length); 63 current.length(); 66 if (l == -1 || current.length() < 1) { 72 while (i < current.length()) { 80 && previous.length() + 1 + current.length() - i > maxLineLen) { 81 throw new IOException("Maximum line length limit exceeded") [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Hex.java | 16 return toHexString(data, 0, data.length); 22 int length) 24 byte[] encoded = encode(data, off, length); 36 return encode(data, 0, data.length); 47 int length) 53 encoder.encode(data, off, length, bOut); 73 return encoder.encode(data, 0, data.length, out); 84 int length, 88 return encoder.encode(data, off, length, out); 103 encoder.decode(data, 0, data.length, bOut) [all...] |
/external/chromium_org/chrome/installer/mini_installer/ |
mini_string_test.cc | 25 // Tests the strcat/strcpy/length support of the StackString class. 34 EXPECT_EQ(str.length(), compare_str.length()); 39 while ((str.length() + (arraysize(kTestString) - 1)) <= max_chars) { 42 EXPECT_EQ(str.length(), compare_str.length()); 46 EXPECT_GT(static_cast<size_t>(MAX_PATH), str.length()); 54 EXPECT_EQ(str.length(), compare_str.length()); 60 EXPECT_EQ(str.length(), compare_str.length()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
Language.cpp | 98 if (lowercaseLanguageCode.length() >= 3 && lowercaseLanguageCode[2] == '_') 110 bool canMatchLanguageOnly = (language.length() == 2 || (language.length() >= 3 && language[2] == '-')); 118 if (canMatchLanguageOnly && canonicalizedLanguageFromList.length() >= 2) { 120 if (!languageWithoutLocaleMatch.length() && canonicalizedLanguageFromList.length() == 2) { 124 if (!languageMatchButNotLocale.length() && canonicalizedLanguageFromList.length() >= 3) { 135 if (languageWithoutLocaleMatch.length()) 138 if (languageMatchButNotLocale.length()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/network/ |
HTTPRequest.cpp | 33 PassRefPtr<HTTPRequest> HTTPRequest::parseHTTPRequestFromBuffer(const char* data, size_t length, String& failureReason) 35 if (!length) { 45 size_t remainingLength = length; 71 size_t HTTPRequest::parseRequestLine(const char* data, size_t length, String& failureReason) 74 size_t result = parseHTTPRequestLine(data, length, failureReason, m_requestMethod, url, m_httpVersion); 79 size_t HTTPRequest::parseHeaders(const char* data, size_t length, String& failureReason) 82 const char* end = data + length; 85 for (; p < data + length; p++) { 97 size_t HTTPRequest::parseRequestBody(const char* data, size_t length) 99 return parseHTTPRequestBody(data, length, m_body) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
dtoa.h | 50 WTF_EXPORT double parseDouble(const LChar* string, size_t length, size_t& parsedLength); 51 WTF_EXPORT double parseDouble(const UChar* string, size_t length, size_t& parsedLength); 54 double parseDoubleFromLongString(const UChar* string, size_t length, size_t& parsedLength); 57 inline double parseDouble(const LChar* string, size_t length, size_t& parsedLength) 59 return double_conversion::StringToDoubleConverter::StringToDouble(reinterpret_cast<const char*>(string), length, &parsedLength); 62 inline double parseDouble(const UChar* string, size_t length, size_t& parsedLength) 65 if (length > conversionBufferSize) 66 return Internal::parseDoubleFromLongString(string, length, parsedLength); 68 for (int i = 0; i < static_cast<int>(length); ++i) 70 return parseDouble(conversionBuffer, length, parsedLength) [all...] |
/external/icu4c/samples/case/ |
ucase.c | 33 int length; local 50 length = u_strToLower(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, 52 if(U_FAILURE(errorCode) || buffer[length]!=0) { 53 u_fprintf(out, "error in u_strToLower(Turkish locale)=%ld error=%s\n", length, 63 length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, 65 if(U_FAILURE(errorCode) || buffer[length]!=0) { 66 u_fprintf(out, "error in u_strToLower(English locale)=%ld error=%s\n", length, 74 length = u_strFoldCase(buffer, sizeof(buffer)/sizeof(buffer[0]), unfold, 77 if(U_FAILURE(errorCode) || buffer[length]!=0) { 78 u_fprintf(out, "error in u_strFoldCase()=%ld error=%s\n", length, [all...] |