Home
last modified time | relevance | path

Searched refs:def (Results 1 – 16 of 16) sorted by relevance

/dalvik/libcore/archive/src/main/java/java/util/zip/
DDeflaterOutputStream.java50 protected Deflater def; field in DeflaterOutputStream
66 public DeflaterOutputStream(OutputStream os, Deflater def) { in DeflaterOutputStream() argument
67 this(os, def, BUF_SIZE); in DeflaterOutputStream()
99 public DeflaterOutputStream(OutputStream os, Deflater def, int bsize) { in DeflaterOutputStream() argument
101 if (os == null || def == null) { in DeflaterOutputStream()
107 this.def = def; in DeflaterOutputStream()
122 x = def.deflate(buf); in deflate()
124 } while (!def.needsInput()); in deflate()
139 if (!def.finished()) { in close()
142 def.end(); in close()
[all …]
DZipOutputStream.java151 writeLong(out, currentEntry.compressedSize = def.getTotalOut()); in closeEntry()
152 writeLong(out, currentEntry.size = def.getTotalIn()); in closeEntry()
165 curOffset += writeLong(cDir, def.getTotalOut()); in closeEntry()
166 writeLong(cDir, def.getTotalIn()); in closeEntry()
198 def.reset(); in closeEntry()
292 def.setLevel(compressLevel); in putNextEntry()
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DDeflaterTest.java1177 Deflater def = new Deflater(); in test_getBytesRead() local
1178 assertEquals(0, def.getTotalIn()); in test_getBytesRead()
1179 assertEquals(0, def.getTotalOut()); in test_getBytesRead()
1180 assertEquals(0, def.getBytesRead()); in test_getBytesRead()
1187 def.setInput(input); in test_getBytesRead()
1188 def.finish(); in test_getBytesRead()
1189 int compressedDataLength = def.deflate(output); in test_getBytesRead()
1190 assertEquals(14, def.getTotalIn()); in test_getBytesRead()
1191 assertEquals(compressedDataLength, def.getTotalOut()); in test_getBytesRead()
1192 assertEquals(14, def.getBytesRead()); in test_getBytesRead()
[all …]
DInflaterTest.java795 Deflater def = new Deflater(); in test_getBytesRead() local
797 assertEquals(0, def.getTotalIn()); in test_getBytesRead()
798 assertEquals(0, def.getTotalOut()); in test_getBytesRead()
799 assertEquals(0, def.getBytesRead()); in test_getBytesRead()
806 def.setInput(input); in test_getBytesRead()
807 def.finish(); in test_getBytesRead()
808 def.deflate(output); in test_getBytesRead()
828 Deflater def = new Deflater(); in test_getBytesWritten() local
830 assertEquals(0, def.getTotalIn()); in test_getBytesWritten()
831 assertEquals(0, def.getTotalOut()); in test_getBytesWritten()
[all …]
/dalvik/vm/native/
Djava_lang_reflect_Method.c179 Object* def = dvmGetAnnotationDefaultValue(meth); in Dalvik_java_lang_reflect_Method_getDefaultValue() local
180 dvmReleaseTrackedAlloc(def, NULL); in Dalvik_java_lang_reflect_Method_getDefaultValue()
181 RETURN_PTR(def); in Dalvik_java_lang_reflect_Method_getDefaultValue()
/dalvik/libcore/luni/src/main/java/java/util/
DProperties.java222 Properties def = defaults; in list() local
224 property = (String) def.get(key); in list()
225 def = def.defaults; in list()
259 Properties def = defaults; in list() local
261 property = (String) def.get(key); in list()
262 def = def.defaults; in list()
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/lang/annotation/
DAnnotationFactory.java161 nextNew: for (AnnotationMember def : defs){ in readObject()
163 if (val.name.equals(def.name)) { in readObject()
166 merged.add(val.setDefinition(def)); in readObject()
170 merged.add(def); // brand new element in readObject()
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
DKeyManagerFactory1Test.java145 String def = KeyManagerFactory.getDefaultAlgorithm(); in test_getDefaultAlgorithm() local
147 assertNull("DefaultAlgorithm must be null", def); in test_getDefaultAlgorithm()
149 assertEquals("Invalid default algorithm", def, defaultAlgorithm); in test_getDefaultAlgorithm()
155 if (def == null) { in test_getDefaultAlgorithm()
156 def = ""; in test_getDefaultAlgorithm()
158 Security.setProperty("ssl.KeyManagerFactory.algorithm", def); in test_getDefaultAlgorithm()
160 KeyManagerFactory.getDefaultAlgorithm(), def); in test_getDefaultAlgorithm()
DTrustManagerFactory1Test.java194 String def = TrustManagerFactory.getDefaultAlgorithm(); in test_getDefaultAlgorithm() local
196 assertNull("DefaultAlgorithm must be null", def); in test_getDefaultAlgorithm()
198 assertEquals("Invalid default algorithm", def, defaultAlgorithm); in test_getDefaultAlgorithm()
204 if (def == null) { in test_getDefaultAlgorithm()
205 def = ""; in test_getDefaultAlgorithm()
207 Security.setProperty("ssl.TrustManagerFactory.algorithm", def); in test_getDefaultAlgorithm()
209 TrustManagerFactory.getDefaultAlgorithm(), def); in test_getDefaultAlgorithm()
/dalvik/dx/src/com/android/dx/ssa/
DPhiInsn.java106 RegisterSpec def in updateSourcesToDefinitions() local
110 o.regSpec = o.regSpec.withType(def.getType()); in updateSourcesToDefinitions()
/dalvik/vm/mterp/
Dconfig-portdbg25 # simple def to specify the "debug" interp
Dconfig-portstd27 # simple def to specify the "standard" interp
/dalvik/libcore/security/src/test/java/tests/security/cert/
DCertStore1Test.java148 String def = "Proba.cert.store.type"; in testCertStore01() local
155 Security.setProperty("certstore.type", def); in testCertStore01()
157 assertEquals("Incorrect default type", dt, def); in testCertStore01()
/dalvik/libcore/luni/src/main/native/
DcommonDblParce.c155 U_64 def[DEFAULT_WIDTH]; in createDouble() local
163 f = def; in createDouble()
Dorg_apache_harmony_luni_util_fltparse.c128 U_64 def[DEFAULT_WIDTH]; in createFloat() local
136 f = def; in createFloat()
/dalvik/docs/
Ddex-format.css124 table.bnf td.def {