HomeSort by relevance Sort by last modified time
    Searched refs:length (Results 1 - 25 of 8409) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/
MidiMessage.java 26 protected int length; field in class:MidiMessage
30 length = 0;
32 length = data.length;
41 return length;
52 if ((data == null) || (length == 0)) {
58 protected void setMessage(byte[] data, int length) throws InvalidMidiDataException {
59 if ((length < 0) || (length > data.length)) {
    [all...]
  /external/webkit/WebCore/html/canvas/
CanvasNumberArray.cpp 35 PassRefPtr<CanvasNumberArray> CanvasNumberArray::create(unsigned length)
37 return adoptRef(new CanvasNumberArray(length));
40 CanvasNumberArray::CanvasNumberArray(unsigned length)
41 : m_data(length)
CanvasPixelArray.cpp 34 PassRefPtr<CanvasPixelArray> CanvasPixelArray::create(unsigned length)
36 return adoptRef(new CanvasPixelArray(length));
39 CanvasPixelArray::CanvasPixelArray(unsigned length)
40 : m_data(WTF::ByteArray::create(length))
WebGLByteArray.cpp 36 PassRefPtr<WebGLByteArray> WebGLByteArray::create(unsigned length)
38 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(signed char));
39 return create(buffer, 0, length);
42 PassRefPtr<WebGLByteArray> WebGLByteArray::create(signed char* array, unsigned length)
44 RefPtr<WebGLByteArray> a = WebGLByteArray::create(length);
45 for (unsigned i = 0; i < length; ++i)
50 PassRefPtr<WebGLByteArray> WebGLByteArray::create(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
55 if ((byteOffset + (length * sizeof(signed char))) > buffer->byteLength())
59 return adoptRef(new WebGLByteArray(buffer, byteOffset, length));
62 WebGLByteArray::WebGLByteArray(PassRefPtr<WebGLArrayBuffer> buffer, int offset, unsigned length)
68 unsigned WebGLByteArray::length() const { function in class:WebCore::WebGLByteArray
    [all...]
WebGLFloatArray.cpp 35 PassRefPtr<WebGLFloatArray> WebGLFloatArray::create(unsigned length)
37 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(float));
38 return create(buffer, 0, length);
41 PassRefPtr<WebGLFloatArray> WebGLFloatArray::create(float* array, unsigned length)
43 RefPtr<WebGLFloatArray> a = WebGLFloatArray::create(length);
44 for (unsigned i = 0; i < length; ++i)
49 PassRefPtr<WebGLFloatArray> WebGLFloatArray::create(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
58 if ((byteOffset + (length * sizeof(float))) > buffer->byteLength())
61 return adoptRef(new WebGLFloatArray(buffer, byteOffset, length));
64 WebGLFloatArray::WebGLFloatArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
70 unsigned WebGLFloatArray::length() const { function in class:WebCore::WebGLFloatArray
    [all...]
WebGLIntArray.cpp 36 PassRefPtr<WebGLIntArray> WebGLIntArray::create(unsigned length)
38 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(int));
39 return create(buffer, 0, length);
42 PassRefPtr<WebGLIntArray> WebGLIntArray::create(int* array, unsigned length)
44 RefPtr<WebGLIntArray> a = WebGLIntArray::create(length);
45 for (unsigned i = 0; i < length; ++i)
52 unsigned length)
61 if ((byteOffset + (length * sizeof(int))) > buffer->byteLength())
65 return adoptRef(new WebGLIntArray(buffer, byteOffset, length));
68 WebGLIntArray::WebGLIntArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
74 unsigned WebGLIntArray::length() const { function in class:WebCore::WebGLIntArray
    [all...]
WebGLShortArray.cpp 35 PassRefPtr<WebGLShortArray> WebGLShortArray::create(unsigned length)
37 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(short));
38 return create(buffer, 0, length);
41 PassRefPtr<WebGLShortArray> WebGLShortArray::create(short* array, unsigned length)
43 RefPtr<WebGLShortArray> a = WebGLShortArray::create(length);
44 for (unsigned i = 0; i < length; ++i)
51 unsigned length)
60 if ((byteOffset + (length * sizeof(short))) > buffer->byteLength())
64 return adoptRef(new WebGLShortArray(buffer, byteOffset, length));
67 WebGLShortArray::WebGLShortArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
73 unsigned WebGLShortArray::length() const { function in class:WebCore::WebGLShortArray
    [all...]
WebGLUnsignedByteArray.cpp 36 PassRefPtr<WebGLUnsignedByteArray> WebGLUnsignedByteArray::create(unsigned length)
38 RefPtr<WebGLArrayBuffer> buffer = WebGLArrayBuffer::create(length * sizeof(unsigned char));
39 return create(buffer, 0, length);
42 PassRefPtr<WebGLUnsignedByteArray> WebGLUnsignedByteArray::create(unsigned char* array, unsigned length)
44 RefPtr<WebGLUnsignedByteArray> a = WebGLUnsignedByteArray::create(length);
45 for (unsigned i = 0; i < length; ++i)
52 unsigned length)
57 if ((byteOffset + (length * sizeof(unsigned char))) > buffer->byteLength())
61 return adoptRef(new WebGLUnsignedByteArray(buffer, byteOffset, length));
64 WebGLUnsignedByteArray::WebGLUnsignedByteArray(PassRefPtr<WebGLArrayBuffer> buffer, int byteOffset, unsigned length)
70 unsigned WebGLUnsignedByteArray::length() const { function in class:WebCore::WebGLUnsignedByteArray
    [all...]
  /frameworks/base/awt/javax/imageio/stream/
IIOByteBuffer.java 30 * The IIOByteBuffer class represents a byte array with offset and length that
48 * The length.
50 private int length; field in class:IIOByteBuffer
59 * @param length
60 * the length of array.
62 public IIOByteBuffer(byte[] data, int offset, int length) {
65 this.length = length;
78 * Gets the length in the array which will be used.
80 * @return the length of the data
    [all...]
  /external/emma/core/java12/com/vladium/util/
ByteArrayIStream.java 31 this (buf, buf.length);
34 public ByteArrayIStream (final byte [] buf, final int length)
36 if ($assert.ENABLED) $assert.ASSERT ((length >= 0) && (length <= buf.length),
37 "invalid length: " + length);
40 m_max = length;
53 public final int read (final byte [] buf, final int offset, int length)
56 $assert.ASSERT ((offset >= 0) && (offset <= buf.length) &
    [all...]
  /dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/
Util.java 44 * length). Exception throws order is IndexOutOfBoundsException for negative
46 * offset+length > array.length
48 public static void assertArrayIndex(Object[] array, int offset, int length) {
49 if (offset < 0 || length < 0) {
53 if ((long) offset + (long) length > array.length) {
59 public static void assertArrayIndex(boolean[] array, int offset, int length) {
60 if (offset < 0 || length < 0) {
64 if ((long) offset + (long) length > array.length)
    [all...]
  /dalvik/libcore/dalvik/src/main/java/dalvik/system/
DalvikLogging.java 38 int length = loggerName.length(); local
39 if (length <= 23) {
44 return length - (lastPeriod + 1) <= 23
46 : loggerName.substring(loggerName.length() - 23);
  /external/bluetooth/glib/tests/
checksum-test.c 18 * string is intentionally more than twice that length.
589 int length)
595 for (chunk_length = MIN (length, 1); chunk_length < length; chunk_length++)
598 for (p = FIXED_STR; p < FIXED_STR + length; p += chunk_length)
601 MIN (chunk_length, length - (p - FIXED_STR)));
606 g_print ("Invalid %s checksum for `%.*s' (length %d) counting by %d:\n"
609 length, FIXED_STR,
610 length, chunk_length,
625 int length; local
662 int length; local
    [all...]
  /dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
Finished.java 42 length = data.length;
48 * @param length
51 public Finished(HandshakeIODataStream in, int length)
53 if (length == 12 || length == 36) {
54 data = in.read(length);
55 length = data.length;
  /external/webkit/WebCore/platform/text/
ParserUtilities.h 29 inline bool skipString(const UChar*& ptr, const UChar* end, const UChar* name, int length)
31 if (end - ptr < length)
33 if (memcmp(name, ptr, sizeof(UChar) * length))
35 ptr += length;
41 int length = strlen(str); local
42 if (end - ptr < length)
44 for (int i = 0; i < length; ++i) {
48 ptr += length;
CString.cpp 39 CString::CString(const char* str, unsigned length)
41 init(str, length);
44 void CString::init(const char* str, unsigned length)
49 m_buffer = CStringBuffer::create(length + 1);
50 memcpy(m_buffer->mutableData(), str, length);
51 m_buffer->mutableData()[length] = '\0';
67 unsigned CString::length() const function in class:WebCore::CString
69 return m_buffer ? m_buffer->length() - 1 : 0;
72 CString CString::newUninitialized(size_t length, char*& characterBuffer)
75 result.m_buffer = CStringBuffer::create(length + 1)
    [all...]
  /external/icu4c/common/
ustrfmt.c 24 * @return the length of the result, not including any terminating
31 int32_t length = 0; local
38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7));
40 } while(i && length<capacity);
42 while (length < minwidth){
43 buffer[length++] = (UChar) 0x0030;/*zero padding */
46 if(length<capacity){
47 buffer[length] = (UChar) 0x0000;
51 for (j = 0; j < (length / 2); j++){
52 temp = buffer[(length-1) - j]
    [all...]
unistr_props.cpp 34 int32_t oldLength = this->length();
35 int32_t i = oldLength, length; local
39 length = i;
48 if(length < oldLength) {
49 setLength(length);
57 if(i >= length) {
60 U16_NEXT(array, i, length, c);
  /dalvik/libcore/security/src/main/java/java/security/spec/
EncodedKeySpec.java 37 this.encodedKey = new byte[encodedKey.length];
39 this.encodedKey, 0, this.encodedKey.length);
50 byte[] ret = new byte[encodedKey.length];
51 System.arraycopy(encodedKey, 0, ret, 0, ret.length);
  /external/icu4c/test/perf/unisetperf/draft/
unicont.h 25 virtual int32_t span(const UChar *s, int32_t length);
27 virtual int32_t spanNot(const UChar *s, int32_t length);
29 virtual int32_t spanUTF8(const UChar *s, int32_t length);
31 virtual int32_t spanNotUTF8(const UChar *s, int32_t length);
  /external/opencore/protocols/sdp/parser/include/
session_info_parser.h 28 SDP_ERROR_CODE parseSDPSessionInfo(const char *sdp_text, int length, SDPInfo *sdp);
  /frameworks/base/obex/javax/obex/
PasswordAuthentication.java 55 mUserName = new byte[userName.length];
56 System.arraycopy(userName, 0, mUserName, 0, userName.length);
59 mPassword = new byte[password.length];
60 System.arraycopy(password, 0, mPassword, 0, password.length);
  /dalvik/libcore/archive/src/main/java/org/apache/harmony/archive/util/
Util.java 37 int length = suffix.length(); local
38 if (length > source.length()) {
41 int offset = source.length() - length;
42 for (int i = 0; i < length; i++) {
69 if (buf1.length != buf2.length) {
73 for (int i = 0; i < buf1.length; i++)
101 int length = s1.length(); local
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/encodings/
OAEPEncoding.java 50 hash.update(encodingParams, 0, encodingParams.length);
91 return baseBlockSize - 1 - 2 * defHash.length;
109 return baseBlockSize - 1 - 2 * defHash.length;
135 byte[] block = new byte[getInputBlockSize() + 1 + 2 * defHash.length];
140 System.arraycopy(in, inOff, block, block.length - inLen, inLen);
145 block[block.length - inLen - 1] = 0x01;
154 System.arraycopy(defHash, 0, block, defHash.length, defHash.length);
159 byte[] seed = new byte[defHash.length];
166 byte[] mask = maskGeneratorFunction1(seed, 0, seed.length, block.length - defHash.length)
    [all...]
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
ScanHandler.java 29 public void adup(char[] buff, int offset, int length) throws SAXException;
35 public void aname(char[] buff, int offset, int length) throws SAXException;
41 public void aval(char[] buff, int offset, int length) throws SAXException;
46 public void cdsect(char[] buff, int offset, int length) throws SAXException;
52 public void decl(char[] buff, int offset, int length) throws SAXException;
58 public void entity(char[] buff, int offset, int length) throws SAXException;
64 public void eof(char[] buff, int offset, int length) throws SAXException;
70 public void etag(char[] buff, int offset, int length) throws SAXException;
76 public void gi(char[] buff, int offset, int length) throws SAXException;
82 public void pcdata(char[] buff, int offset, int length) throws SAXException
    [all...]

Completed in 603 milliseconds

1 2 3 4 5 6 7 8 91011>>