/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/ |
D | AttributesImpl.java | 61 data = null; in AttributesImpl() 108 return data[index*5]; in getURI() 126 return data[index*5+1]; in getLocalName() 144 return data[index*5+2]; in getQName() 162 return data[index*5+3]; in getType() 179 return data[index*5+4]; in getValue() 203 if (data[i].equals(uri) && data[i+1].equals(localName)) { in getIndex() 222 if (data[i+2].equals(qName)) { in getIndex() 244 if (data[i].equals(uri) && data[i+1].equals(localName)) { in getType() 245 return data[i+3]; in getType() [all …]
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/ |
D | MidiMessage.java | 24 protected byte[] data; field in MidiMessage 28 protected MidiMessage(byte[] data) { in MidiMessage() argument 29 if (data == null) { in MidiMessage() 32 length = data.length; in MidiMessage() 33 this.data = data; in MidiMessage() 45 if (data == null) { in getMessage() 48 return data.clone(); in getMessage() 52 if ((data == null) || (length == 0)) { in getStatus() 55 return data[0] & 0xFF; in getStatus() 58 protected void setMessage(byte[] data, int length) throws InvalidMidiDataException { in setMessage() argument [all …]
|
D | SysexMessage.java | 31 protected SysexMessage(byte[] data) { in SysexMessage() argument 32 super(data); in SysexMessage() 43 bt[i-1] = super.data[i]; in getData() 49 public void setMessage(byte[] data, int length) throws InvalidMidiDataException { in setMessage() argument 55 if(((data[0] & 0xFF) != SysexMessage.SPECIAL_SYSTEM_EXCLUSIVE) && in setMessage() 56 ((data[0] & 0xFF) != SysexMessage.SYSTEM_EXCLUSIVE)) { in setMessage() 59 data[0] & 0xFF)); in setMessage() 61 super.setMessage(data, length); in setMessage() 64 public void setMessage(int status, byte[] data, int length) throws InvalidMidiDataException { in setMessage() argument 76 if((length < 0) || (length > data.length)) { in setMessage() [all …]
|
D | ShortMessage.java | 64 protected ShortMessage(byte[] data) { in ShortMessage() argument 65 super(data); in ShortMessage() 77 if ((data == null) || (data.length == 0)) { in getChannel() 80 return data[0] & 0x0F; in getChannel() 87 if ((data == null) || (data.length == 0)) { in getCommand() 90 return (data[0] & 0xFF) - getChannel(); in getCommand() 94 if ((data == null) || (data.length == 0)) { in getData1() 96 } else if (data.length < 2) { in getData1() 99 return data[1] & 0xFF; in getData1() 104 if ((data == null) || (data.length == 0)) { in getData2() [all …]
|
D | MetaMessage.java | 33 protected MetaMessage(byte[] data) { in MetaMessage() argument 34 super(data); in MetaMessage() 35 if (data == null) { in MetaMessage() 40 while ((n <= super.length) && (super.data[n - 1] < 0)) { in MetaMessage() 53 if ((super.data != null) && (super.length > 3)) { in getData() 56 bt[i - dsp] = super.data[i]; in getData() 64 if ((super.data != null) && (super.length >= 2)) { in getType() 65 return super.data[1] & 0xFF; in getType() 70 public void setMessage(int type, byte[] data, int length) throws InvalidMidiDataException { in setMessage() argument 75 if (length < 0 || (data != null && length > data.length)) { in setMessage() [all …]
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/ |
D | Hex.java | 17 byte[] data) in encode() argument 19 return encode(data, 0, data.length); in encode() 28 byte[] data, in encode() argument 36 encoder.encode(data, off, length, bOut); in encode() 52 byte[] data, in encode() argument 56 return encoder.encode(data, 0, data.length, out); in encode() 65 byte[] data, in encode() argument 71 return encoder.encode(data, off, length, out); in encode() 80 byte[] data) in decode() argument 86 encoder.decode(data, 0, data.length, bOut); in decode() [all …]
|
D | UrlBase64.java | 29 byte[] data) in encode() argument 35 encoder.encode(data, 0, data.length, bOut); in encode() 51 byte[] data, in encode() argument 55 return encoder.encode(data, 0, data.length, out); in encode() 64 byte[] data) in decode() argument 70 encoder.decode(data, 0, data.length, bOut); in decode() 87 byte[] data, in decode() argument 91 return encoder.decode(data, 0, data.length, out); in decode() 100 String data) in decode() argument 106 encoder.decode(data, bOut); in decode() [all …]
|
D | Base64Encoder.java | 51 byte[] data, in encode() argument 63 a1 = data[i] & 0xff; in encode() 64 a2 = data[i + 1] & 0xff; in encode() 65 a3 = data[i + 2] & 0xff; in encode() 84 d1 = data[off + dataLength] & 0xff; in encode() 94 d1 = data[off + dataLength] & 0xff; in encode() 95 d2 = data[off + dataLength + 1] & 0xff; in encode() 124 byte[] data, in decode() argument 137 if (!ignore((char)data[end - 1])) in decode() 148 i = nextI(data, i, finish); in decode() [all …]
|
D | Base64.java | 17 byte[] data) in encode() argument 23 encoder.encode(data, 0, data.length, bOut); in encode() 39 byte[] data, in encode() argument 43 return encoder.encode(data, 0, data.length, out); in encode() 52 byte[] data, in encode() argument 58 return encoder.encode(data, off, length, out); in encode() 67 byte[] data) in decode() argument 73 encoder.decode(data, 0, data.length, bOut); in decode() 89 String data) in decode() argument 95 encoder.decode(data, bOut); in decode() [all …]
|
D | HexEncoder.java | 46 byte[] data, in encode() argument 54 int v = data[i] & 0xff; in encode() 76 byte[] data, in decode() argument 89 if (!ignore((char)data[end - 1])) in decode() 100 while (i < end && ignore((char)data[i])) in decode() 105 b1 = decodingTable[data[i++]]; in decode() 107 while (i < end && ignore((char)data[i])) in decode() 112 b2 = decodingTable[data[i++]]; in decode() 129 String data, in decode() argument 136 int end = data.length(); in decode() [all …]
|
/dalvik/libcore/icu/src/main/native/ |
D | RegExInterface.cpp | 60 static void _close(JNIEnv* env, jclass clazz, RegExData* data) in _close() argument 62 if (data->regex != NULL) { in _close() 63 uregex_close(data->regex); in _close() 66 if (data->text != NULL && data->text != &EMPTY_STRING) { in _close() 67 free(data->text); in _close() 70 free(data); in _close() 77 RegExData* data = (RegExData*)calloc(sizeof(RegExData), 1); in open() local 86 data->regex = uregex_open(&EMPTY_STRING, -1, flags, &error, &status); in open() 89 data->regex = uregex_open(patternRaw, patternLen, flags, &error, in open() 95 _close(env, clazz, data); in open() [all …]
|
D | BidiWrapperInterface.c | 33 BiDiData *data = (BiDiData *)malloc(sizeof(BiDiData)); in Java_org_apache_harmony_text_BidiWrapper_ubidi_1open() local 34 (*data).pBiDi = ubidi_open (); in Java_org_apache_harmony_text_BidiWrapper_ubidi_1open() 35 (*data).embeddingLevels = NULL; in Java_org_apache_harmony_text_BidiWrapper_ubidi_1open() 36 return (jlong) (data); in Java_org_apache_harmony_text_BidiWrapper_ubidi_1open() 42 BiDiData *data = (BiDiData *)pBiDi; in Java_org_apache_harmony_text_BidiWrapper_ubidi_1close() local 44 ubidi_close ((*data).pBiDi); in Java_org_apache_harmony_text_BidiWrapper_ubidi_1close() 46 if ((*data).embeddingLevels != NULL) in Java_org_apache_harmony_text_BidiWrapper_ubidi_1close() 47 free((*data).embeddingLevels); in Java_org_apache_harmony_text_BidiWrapper_ubidi_1close() 48 free(data); in Java_org_apache_harmony_text_BidiWrapper_ubidi_1close() 57 BiDiData *data = (BiDiData *)pBiDi; in Java_org_apache_harmony_text_BidiWrapper_ubidi_1setPara() local [all …]
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 89 E[] data = newElementArray(size); in CopyOnWriteArrayList() local 91 data[i] = array[i]; in CopyOnWriteArrayList() 93 arr = data; in CopyOnWriteArrayList() 99 E[] data; in add() local 102 data = newElementArray(size + 1); in add() 103 System.arraycopy(old, 0, data, 0, size); in add() 104 data[size] = e; in add() 105 setData(data); in add() 115 E[] data; in add() local 119 data = newElementArray(size+1); in add() [all …]
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
D | DERBitString.java | 12 protected byte[] data; field in DERBitString 105 byte[] data = new byte[bytes.length - 1]; in getInstance() 107 System.arraycopy(bytes, 1, data, 0, bytes.length - 1); in getInstance() 109 return new DERBitString(data, padBits); in getInstance() 137 byte data, in DERBitString() argument 140 this.data = new byte[1]; in DERBitString() 141 this.data[0] = data; in DERBitString() 150 byte[] data, in DERBitString() argument 153 this.data = data; in DERBitString() 158 byte[] data) in DERBitString() argument [all …]
|
D | DERUnknownTag.java | 12 byte[] data; field in DERUnknownTag 20 byte[] data) in DERUnknownTag() argument 23 this.data = data; in DERUnknownTag() 33 return data; in getData() 40 out.writeEncoded(tag, data); in encode() 58 if (data.length != other.data.length) in equals() 63 for (int i = 0; i < data.length; i++) in equals() 65 if(data[i] != other.data[i]) in equals()
|
/dalvik/libcore/luni/src/main/java/java/net/ |
D | DatagramPacket.java | 32 byte[] data; field in DatagramPacket 52 public DatagramPacket(byte[] data, int length) { in DatagramPacket() argument 53 this(data, 0, length); in DatagramPacket() 68 public DatagramPacket(byte[] data, int offset, int length) { in DatagramPacket() argument 70 setData(data, offset, length); in DatagramPacket() 91 public DatagramPacket(byte[] data, int offset, int length, in DatagramPacket() argument 93 this(data, offset, length); in DatagramPacket() 114 public DatagramPacket(byte[] data, int length, InetAddress host, int port) { in DatagramPacket() argument 115 this(data, 0, length, host, port); in DatagramPacket() 136 return data; in getData() [all …]
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
D | RawAttribute.java | 27 private final ByteArray data; field in RawAttribute 42 public RawAttribute(String name, ByteArray data, ConstantPool pool) { in RawAttribute() argument 45 if (data == null) { in RawAttribute() 49 this.data = data; in RawAttribute() 62 public RawAttribute(String name, ByteArray data, int offset, in RawAttribute() argument 64 this(name, data.slice(offset, offset + length), pool); in RawAttribute() 73 return data; in getData() 78 return data.size() + 6; in byteLength()
|
/dalvik/dx/src/com/android/dx/util/ |
D | ByteArrayAnnotatedOutput.java | 42 private byte[] data; field in ByteArrayAnnotatedOutput 74 public ByteArrayAnnotatedOutput(byte[] data) { in ByteArrayAnnotatedOutput() argument 75 this(data, false); in ByteArrayAnnotatedOutput() 93 private ByteArrayAnnotatedOutput(byte[] data, boolean stretchy) { in ByteArrayAnnotatedOutput() argument 94 if (data == null) { in ByteArrayAnnotatedOutput() 99 this.data = data; in ByteArrayAnnotatedOutput() 116 return data; in getArray() 130 System.arraycopy(data, 0, result, 0, cursor); in toByteArray() 154 } else if (end > data.length) { in writeByte() 159 data[writeAt] = (byte) value; in writeByte() [all …]
|
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
D | ProcessingInstructionImpl.java | 39 private String data; field in ProcessingInstructionImpl 41 ProcessingInstructionImpl(DocumentImpl document, String target, String data) { in ProcessingInstructionImpl() argument 44 this.data = data; in ProcessingInstructionImpl() 48 return data; in getData() 63 return data; in getNodeValue() 70 public void setData(String data) throws DOMException { in setData() argument 71 this.data = data; in setData()
|
/dalvik/vm/ |
D | Hash.c | 80 if (pEnt->data == HASH_TOMBSTONE) { in dvmHashTableClear() 82 pEnt->data = NULL; in dvmHashTableClear() 83 } else if (pEnt->data != NULL) { in dvmHashTableClear() 86 (*pHashTable->freeFunc)(pEnt->data); in dvmHashTableClear() 87 pEnt->data = NULL; in dvmHashTableClear() 116 if (pHashTable->pEntries[i].data == HASH_TOMBSTONE) in countTombStones() 146 void* data = pHashTable->pEntries[i].data; in resizeHash() local 147 if (data != NULL && data != HASH_TOMBSTONE) { in resizeHash() 153 while (pNewEntries[newIdx].data != NULL) in resizeHash() 157 pNewEntries[newIdx].data = data; in resizeHash() [all …]
|
D | StdioConverter.c | 50 static bool readAndLog(int fd, BufferedData* data, const char* tag); 230 static bool readAndLog(int fd, BufferedData* data, const char* tag) in readAndLog() argument 235 assert(data->count < kMaxLine); in readAndLog() 237 want = kMaxLine - data->count; in readAndLog() 238 actual = read(fd, data->buf + data->count, want); in readAndLog() 246 data->count += actual; in readAndLog() 252 char* cp = data->buf; in readAndLog() 253 const char* start = data->buf; in readAndLog() 254 int i = data->count; in readAndLog() 255 for (i = data->count; i > 0; i--, cp++) { in readAndLog() [all …]
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherInputStream1Test.java | 53 public TestInputStream(byte[] data) { in TestInputStream() argument 54 super(data); in TestInputStream() 78 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; in testCipherInputStream() 79 TestInputStream tis = new TestInputStream(data); in testCipherInputStream() 82 for (int i = 0; i < data.length; i++) { in testCipherInputStream() 83 if ((byte) cis.read() != data[i]) { in testCipherInputStream() 104 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; in testRead1() 105 TestInputStream tis = new TestInputStream(data); in testRead1() 108 for (int i = 0; i < data.length; i++) { in testRead1() 109 if ((res = (byte) cis.read()) != data[i]) { in testRead1() [all …]
|
/dalvik/libcore/luni/src/main/java/java/io/ |
D | PipedReader.java | 42 private char data[]; field in PipedReader 74 data = new char[PIPE_SIZE]; in PipedReader() 105 if (data != null) { in close() 107 data = null; in close() 137 if (data == null) { in establishConnection() 209 if (data == null) { in read() 257 copyLength = count > data.length - out ? data.length - out in read() 259 System.arraycopy(data, out, buffer, offset, copyLength); in read() 261 if (out == data.length) { in read() 283 System.arraycopy(data, out, buffer, offset + charsCopied, in read() [all …]
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | Finished.java | 39 private byte[] data; field in Finished 46 data = bytes; in Finished() 47 length = data.length; in Finished() 59 data = in.read(length); in Finished() 60 length = data.length; in Finished() 67 out.write(data); in send() 83 return data; in getData()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | Statistics.java | 46 Data data = dataMap.get(typeName); in add() local 48 if (data == null) { in add() 51 data.add(item); in add() 81 for (Data data : dataMap.values()) { in writeAnnotation() 82 sortedData.put(data.name, data); in writeAnnotation() 85 for (Data data : sortedData.values()) { in writeAnnotation() 86 data.writeAnnotation(out); in writeAnnotation() 97 for (Data data : dataMap.values()) { in toHuman() 98 sortedData.put(data.name, data); in toHuman() 101 for (Data data : sortedData.values()) { in toHuman() [all …]
|