HomeSort by relevance Sort by last modified time
    Searched refs:length (Results 376 - 400 of 26992) sorted by null

<<11121314151617181920>>

  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/
TricubicSplineInterpolatingFunction.java 139 * @throws NoDataException if any of the arrays has zero length.
156 final int xLen = x.length;
157 final int yLen = y.length;
158 final int zLen = z.length;
160 if (xLen == 0 || yLen == 0 || z.length == 0 || f.length == 0 || f[0].length == 0) {
163 if (xLen != f.length) {
164 throw new DimensionMismatchException(xLen, f.length);
166 if (xLen != dFdX.length) {
    [all...]
  /external/tcpdump/
print-ether.c 93 const u_char *bp, u_int length)
108 length = length_type;
116 length = length_type;
121 ND_PRINT((ndo, ", length %u: ", length));
134 const u_char *p, u_int length, u_int caplen,
148 if (length < ETHER_HDRLEN) {
150 return (length);
156 ether_hdr_print(ndo, p, length);
158 orig_length = length;
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DateFormatSymbolsTest.java 121 if (retVal.length != val.length)
123 for (int i = 0; i < val.length; i++)
135 if (retVal.length != val.length)
137 for (int i = 0; i < val.length; i++)
151 assertEquals("Returned wrong array: ", val.length, retVal.length);
152 for (int i = 0; i < val.length; i++)
165 assertEquals("Returned wrong array: ", val.length, retVal.length)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RSUtils.java 78 for (int i = 0; i < array.length; i++) {
90 for (int i = 0; i < array.length; i++) {
96 for (int i = 0; i < sInterestingDoubles.length; i++) {
99 array[r.nextInt(array.length)] = d;
102 array[r.nextInt(array.length)] = min;
103 array[r.nextInt(array.length)] = max;
105 array[r.nextInt(array.length)] = Double.NaN;
106 array[r.nextInt(array.length)] = Double.POSITIVE_INFINITY;
107 array[r.nextInt(array.length)] = Double.NEGATIVE_INFINITY;
108 array[r.nextInt(array.length)] = Double.MIN_VALUE
    [all...]
  /art/test/022-interface/classes/
Main$1.class 
Main$SubInterfaceImpl.class 
  /art/tools/dexfuzz/src/dexfuzz/program/mutators/
RandomBranchChanger.java 56 int length = EQUALITY_CMP_OP_LIST.length; local
57 return EQUALITY_CMP_OP_LIST[(index + 1 + rng.nextInt(length - 1)) % length];
60 int length = ZERO_CMP_OP_LIST.length; local
61 return ZERO_CMP_OP_LIST[(index + 1 + rng.nextInt(length - 1)) % length];
  /device/google/contexthub/firmware/lib/libc/
memset.c 51 bzero(void *dst0, size_t length)
60 memset(void *dst0, int c0, size_t length)
71 * If not enough words, just fill bytes. A length >= 2 words
78 * dst dst+length-1
83 if (length < 3 * wsize) {
84 while (length != 0) {
86 --length;
105 length -= t;
111 /* Fill words. Length was >= 2*words so we know t >= 1 here. */
112 t = length / wsize
    [all...]
  /device/google/contexthub/util/stm32_flash/
flash.c 42 static inline size_t pad(ssize_t length)
44 return (length + 3) & ~3;
47 static inline size_t tot_len(ssize_t length)
49 // [TYPE:1] [LENGTH:3] [DATA] [PAD:0-3] [CRC:4]
50 return sizeof(uint32_t) + pad(length) + sizeof(uint32_t);
86 ssize_t length = 0; local
105 printf(" -l <length> (length to read/write)\n");
108 printf(" -c (add type, length, file contents, and CRC)\n");
128 length = strtol(optarg, NULL, 0)
    [all...]
i2c.c 26 uint8_t i2c_write_data(handle_t *handle, uint8_t *buffer, int length)
30 buffer[length] = checksum(handle, buffer, length);
32 if (write(i2c_handle->fd, buffer, length+1) == (length+1))
48 uint8_t i2c_read_data(handle_t *handle, uint8_t *data, int length)
52 if (read(i2c_handle->fd, data, length) == length)
  /external/ImageMagick/
winpath.sh 31 length=0
43 length=${#unix_mount_path}
44 if test $length -gt $max_length
47 max_length=$length
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
AbstractStorelessUnivariateStatistic.java 61 return evaluate(values, 0, values.length);
81 * @param length the number of elements to include
86 public double evaluate(final double[] values, final int begin, final int length) {
87 if (test(values, begin, length)) {
89 incrementAll(values, begin, length);
129 incrementAll(values, 0, values.length);
140 * @param length number of array elements to add
144 public void incrementAll(double[] values, int begin, int length) {
145 if (test(values, begin, length)) {
146 int k = begin + length;
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
VectorialMean.java 53 if (v.length != means.length) {
54 throw new DimensionMismatchException(v.length, means.length);
56 for (int i = 0; i < v.length; ++i) {
66 double[] result = new double[means.length];
67 for (int i = 0; i < result.length; ++i) {
78 return (means.length == 0) ? 0 : means[0].getN();
  /external/apache-xml/src/main/java/org/apache/xml/utils/
XMLStringFactory.java 45 * @param length The number of characters to read from the array.
50 int length);
58 * @param length The number of characters to read from the array.
63 int length);
  /external/autotest/client/site_tests/video_WebRtcCamera/
blackframe.js 11 function isBlackFrame(data, length) {
14 for (var i = 4; i < length; i += 4) {
  /external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
blackframe.js 11 function isBlackFrame(data, length) {
14 for (var i = 4; i < length; i += 4) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERSequence.java 53 int length = 0; local
59 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength();
62 bodyLength = length;
71 int length = getBodyLength(); local
73 return 1 + StreamUtil.calculateBodyLength(length) + length;
79 * As DER requires the constructed, definite-length model to
82 * we also have to specify CONSTRUCTED, and the objects length.
89 int length = getBodyLength(); local
92 out.writeLength(length);
    [all...]
DERSet.java 63 int length = 0; local
69 length += ((ASN1Encodable)obj).toASN1Primitive().toDERObject().encodedLength();
72 bodyLength = length;
81 int length = getBodyLength(); local
83 return 1 + StreamUtil.calculateBodyLength(length) + length;
89 * As DER requires the constructed, definite-length model to
92 * we also have to specify CONSTRUCTED, and the objects length.
99 int length = getBodyLength(); local
102 out.writeLength(length);
    [all...]
DLSequence.java 7 * The DLSequence encodes a SEQUENCE using definite length form.
56 int length = 0; local
62 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength();
65 bodyLength = length;
74 int length = getBodyLength(); local
76 return 1 + StreamUtil.calculateBodyLength(length) + length;
82 * As DL requires the constructed, definite-length model to
85 * we also have to specify CONSTRUCTED, and the objects length.
92 int length = getBodyLength() local
    [all...]
DLSet.java 8 * and always using definite length form.
98 int length = 0; local
104 length += ((ASN1Encodable)obj).toASN1Primitive().toDLObject().encodedLength();
107 bodyLength = length;
116 int length = getBodyLength(); local
118 return 1 + StreamUtil.calculateBodyLength(length) + length;
124 * As DL requires the constructed, definite-length model to
127 * we also have to specify CONSTRUCTED, and the objects length.
134 int length = getBodyLength() local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
RC2Parameters.java 11 this(key, (key.length > 128) ? 1024 : (key.length * 8));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
Encoder.java 12 int encode(byte[] data, int off, int length, OutputStream out) throws IOException;
14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException;
  /external/curl/src/
tool_convert.h 30 CURLcode convert_to_network(char *buffer, size_t length);
31 CURLcode convert_from_network(char *buffer, size_t length);
  /external/e2fsprogs/intl/
printf.c 86 size_t length; local
87 char *result = libintl_vasnprintf (NULL, &length, format, args);
91 if (fwrite (result, 1, length, stream) == length)
92 retval = length;
140 size_t length = (size_t) ~0 / (4 * sizeof (char)); local
141 char *result = libintl_vasnprintf (resultbuf, &length, format, args);
148 return length;
177 libintl_vsnprintf (char *resultbuf, size_t length, const char *format, va_list args)
180 return system_vsnprintf (resultbuf, length, format, args)
223 size_t length; local
279 size_t length; local
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestMapGenerator.java 31 K[] createKeyArray(int length);
33 V[] createValueArray(int length);

Completed in 551 milliseconds

<<11121314151617181920>>