Searched defs:length (Results 176 - 200 of 4032) sorted by relevance

1234567891011>>

/external/openssl/crypto/ui/
H A Dui_compat.c59 int _ossl_old_des_read_pw_string(char *buf,int length,const char *prompt,int verify) argument
61 return UI_UTIL_read_pw_string(buf, length, prompt, verify);
/external/pcre/dist/
H A Dpcre_valid_utf8.c99 length length of string, or -1 if the string is zero-terminated
107 PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset) argument
112 if (length < 0)
115 length = (int)(p - string);
118 for (p = string; length-- > 0; p++)
138 if (length < ab)
141 return ab - length; /* Codes ERR1 to ERR5 */
143 length -= ab; /* Length remaining */
153 /* For each length, chec
[all...]
/external/skia/src/core/
H A DSkScalar.cpp14 const SkScalar values[], int length) {
15 SkASSERT(length > 0);
19 for (int i = 1; i < length; i++)
23 while (right < length && searchKey > keys[right])
27 if (length == right)
28 return values[length-1];
13 SkScalarInterpFunc(SkScalar searchKey, const SkScalar keys[], const SkScalar values[], int length) argument
/external/skia/src/images/
H A DSkStreamHelpers.cpp18 const size_t length = stream->getLength(); local
19 void* dst = storage->reset(length);
20 if (stream->read(dst, length) != length) {
23 return length;
37 const size_t length = tempStream.bytesWritten(); local
38 void* dst = storage->reset(length);
40 return length;
47 const size_t length = stream->getLength(); local
48 void* dst = sk_malloc_throw(length);
[all...]
/external/skia/tests/
H A DPathMeasureTest.cpp61 the same length as the prev segment, due to the follow (bad) pattern
85 SkScalar length = meas.getLength(); local
86 SkASSERT(length == SK_Scalar1*4);
92 length = meas.getLength();
93 REPORTER_ASSERT(reporter, length == SK_Scalar1*5);
98 length = meas.getLength();
99 // SkDebugf("circle arc-length = %g\n", length);
109 length = meas.getLength();
110 REPORTER_ASSERT(reporter, length
[all...]
/external/tcpdump/
H A Dprint-beep.c33 /* Check for a string but not go beyond length
52 beep_print(const u_char *bp, u_int length) argument
55 if (l_strnstart("MSG", 4, (const char *)bp, length)) /* A REQuest */
57 else if (l_strnstart("RPY ", 4, (const char *)bp, length))
59 else if (l_strnstart("ERR ", 4, (const char *)bp, length))
61 else if (l_strnstart("ANS ", 4, (const char *)bp, length))
63 else if (l_strnstart("NUL ", 4, (const char *)bp, length))
65 else if (l_strnstart("SEQ ", 4, (const char *)bp, length))
67 else if (l_strnstart("END", 4, (const char *)bp, length))
H A Dprint-bt.c46 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
52 u_int length = h->len; local
61 length -= BT_HDRLEN;
64 (void)printf("hci length %d, direction %s, ", length, (EXTRACT_32BITS(&hdr->direction)&0x1)?"in":"out");
H A Dprint-cip.c55 cip_print(int length) argument
58 * There is no MAC-layer header, so just print the length.
60 printf("%d: ", length);
66 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
73 u_int length = h->len; local
82 cip_print(length);
88 if (llc_print(p, length, caplen, NULL, NULL,
92 cip_print(length);
104 ip_print(gndo, p, length);
H A Dprint-enc.c52 register u_int length = h->len; local
73 length -= ENC_HDRLEN;
79 ip_print(gndo, p, length);
83 ip6_print(gndo, p, length);
H A Dprint-null.c67 null_hdr_print(u_int family, u_int length) argument
77 (void)printf(", length %u: ", length);
83 * 'h->len' is the length of the packet off the wire, and 'h->caplen'
89 u_int length = h->len; local
112 null_hdr_print(family, length);
114 length -= NULL_HDRLEN;
121 ip_print(gndo, p, length);
128 ip6_print(gndo, p, length);
133 isoclns_print(p, length, caple
[all...]
/external/valgrind/main/coregrind/m_demangle/
H A Ddyn-string.h33 int length; /* The actual length of the string. */ member in struct:dyn_string
37 /* The length STR, in bytes, not including the terminating NUL. */
39 ((STR)->length)
/external/webrtc/src/common_audio/signal_processing/
H A Ddot_product_with_scale.c21 int length, int scaling)
27 WebRtc_Word16 len4 = (length >> 2) << 2;
33 for (i = 0; i < length; i++)
56 for (i = len4; i < length; i++)
81 for (i = len4; i < length; i++)
20 WebRtcSpl_DotProductWithScale(WebRtc_Word16 *vector1, WebRtc_Word16 *vector2, int length, int scaling) argument
/external/webrtc/src/system_wrappers/interface/
H A Ddata_log.h103 int length) {
110 new MultiValueContainer<T>(array, length));
100 InsertCell(const std::string& table_name, const std::string& column_name, const T* array, int length) argument
/external/chromium_org/v8/test/mjsunit/
H A Dstring-replace.js125 assertEquals(3, arguments.length, "replace('x',func) func-args");
135 assertEquals(3, arguments.length, "replace(/x/,func) func-args");
145 assertEquals(3, arguments.length, "replace(/x/g,func) func-args");
155 assertEquals(5, arguments.length, "replace(/(x)(?=(.))/g,func) func-args");
179 // longstring.length == 5 << 11
217 var replace_obj = { length: 0, toString: function() { return "x"; }};
221 var search_obj = { length: 1, toString: function() { return "b"; }};
/external/chromium_org/v8/test/webkit/fast/js/
H A Darray-functions-non-arrays.js39 names.push("length");
46 for (i = 0; i < names.length; ++i) {
60 if (name != "length") {
74 if (flags.length)
84 var oneItemPrototype = { length:1, 0:'a' };
90 var twoItemPrototype = { length:2, 0:'b', 1:'a' };
96 shouldBe("properties(['b', 'a'])", "'0:b, 1:a, length:2(DontDelete, DontEnum)'");
97 shouldBe("properties({ length:2, 0:'b', 1:'a' })", "'0:b, 1:a, length:2'");
99 shouldBe("properties(new OneItemConstructor)", "'0:a(FromPrototype), length
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringBuilderExtensions.cs56 public static int length( this StringBuilder buffer ) method in class:Antlr.Runtime.JavaExtensions.StringBuilderExtensions
68 public static void setLength( this StringBuilder buffer, int length )
70 buffer.Length = length;
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
H A DLengthTest.java49 * checks length with ArrayReference.Length command.
89 private void checkArrayLength(long classID, long fieldID, int error, int length) { argument
117 // do not check length for non-array fields
119 assertEquals("ArrayReference::Length returned invalid length,",
120 length, returnedLength);
/external/apache-http/src/org/apache/http/util/
H A DEncodingUtils.java59 * @param length the number of bytes to encode
66 int length,
74 if (charset == null || charset.length() == 0) {
79 return new String(data, offset, length, charset);
81 return new String(data, offset, length);
99 return getString(data, 0, data.length, charset);
116 if (charset == null || charset.length() == 0) {
153 * @param length the number of bytes to encode
156 public static String getAsciiString(final byte[] data, int offset, int length) { argument
163 return new String(data, offset, length, HTT
63 getString( final byte[] data, int offset, int length, String charset ) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXMLCharacterRecognizer.java48 * @param length Number of characters in the array
52 public static boolean isWhiteSpace(char ch[], int start, int length) argument
55 int end = start + length;
75 int n = buf.length();
97 int n = s.length();
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXMLStringFactoryImpl.java67 * @param length The number of characters to read from the array.
71 public XMLString newstr(FastStringBuffer fsb, int start, int length) argument
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) argument
88 return new XStringForChars(string, start, length);
/external/arduino/hardware/arduino/cores/arduino/
H A DWString.h70 const unsigned int length( ) const { return _length; } function in class:String
89 unsigned int _capacity; // the array length minus one (for the '\0')
90 unsigned int _length; // the String length (not counting the '\0')
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DDefiniteLengthInputStream.java19 int length)
21 super(in, length);
23 if (length < 0)
28 this._originalLength = length;
29 this._remaining = length;
31 if (length == 0)
54 throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining);
78 throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining);
100 throw new EOFException("DEF length " + _originalLength + " object truncated by " + _remaining);
17 DefiniteLengthInputStream( InputStream in, int length) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DBigIntegers.java27 byte[] tmp = new byte[bytes.length - 1];
29 System.arraycopy(bytes, 1, tmp, 0, tmp.length);
43 public static byte[] asUnsignedByteArray(int length, BigInteger value) argument
46 if (bytes.length == length)
52 int count = bytes.length - start;
54 if (count > length)
56 throw new IllegalArgumentException("standard length exceeded for value");
59 byte[] tmp = new byte[length];
60 System.arraycopy(bytes, start, tmp, tmp.length
111 fromUnsignedByteArray(byte[] buf, int off, int length) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
H A DBase64.java16 return toBase64String(data, 0, data.length);
22 int length)
24 byte[] encoded = encode(data, off, length);
36 return encode(data, 0, data.length);
47 int length)
49 int len = (length + 2) / 3 * 4;
54 encoder.encode(data, off, length, bOut);
74 return encoder.encode(data, 0, data.length, out);
85 int length,
89 return encoder.encode(data, off, length, ou
19 toBase64String( byte[] data, int off, int length) argument
44 encode( byte[] data, int off, int length) argument
82 encode( byte[] data, int off, int length, OutputStream out) argument
[all...]
H A DEncoder.java12 int encode(byte[] data, int off, int length, OutputStream out) throws IOException; argument
14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException; argument

Completed in 533 milliseconds

1234567891011>>