Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/util/regex/
DPatternSyntaxException.java45 private final String desc; field in PatternSyntaxException
62 public PatternSyntaxException(String desc, String regex, int index) { in PatternSyntaxException() argument
63 this.desc = desc; in PatternSyntaxException()
84 return desc; in getDescription()
109 sb.append(desc); in getMessage()
/libcore/ojluni/src/main/java/java/io/
DSerialCallbackContext.java41 private final ObjectStreamClass desc; field in SerialCallbackContext
48 public SerialCallbackContext(Object obj, ObjectStreamClass desc) { in SerialCallbackContext() argument
50 this.desc = desc; in SerialCallbackContext()
60 return desc; in getDesc()
DObjectOutputStream.java687 protected void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor() argument
690 desc.writeNonProxy(this); in writeClassDescriptor()
1157 ObjectStreamClass desc; in writeObject0() local
1179 desc = ObjectStreamClass.lookup(cl, true); in writeObject0()
1180 if (desc.hasWriteReplaceMethod() && in writeObject0()
1181 (obj = desc.invokeWriteReplace(obj)) != null && in writeObject0()
1185 desc = ObjectStreamClass.lookup(cl, true); in writeObject0()
1193 desc = ObjectStreamClass.lookup(cl, true); in writeObject0()
1230 writeArray(obj, desc, unshared); in writeObject0()
1232 writeEnum((Enum<?>) obj, desc, unshared); in writeObject0() local
[all …]
DObjectInputStream.java677 protected Class<?> resolveClass(ObjectStreamClass desc) in resolveClass() argument
680 String name = desc.getName(); in resolveClass()
886 ObjectStreamClass desc = new ObjectStreamClass(); in readClassDescriptor() local
887 desc.readNonProxy(this); in readClassDescriptor()
888 return desc; in readClassDescriptor()
1559 ObjectStreamClass desc = readClassDesc(false); in readClass() local
1560 Class<?> cl = desc.forClass(); in readClass()
1563 ClassNotFoundException resolveEx = desc.getResolveException(); in readClass()
1626 ObjectStreamClass desc = new ObjectStreamClass(); in readProxyDesc() local
1627 int descHandle = handles.assign(unshared ? unsharedMarker : desc); in readProxyDesc()
[all …]
DSyncFailedException.java45 public SyncFailedException(String desc) { in SyncFailedException() argument
46 super(desc); in SyncFailedException()
DObjectStreamClass.java1183 final ObjectStreamClass desc; field in ObjectStreamClass.ClassDataSlot
1187 ClassDataSlot(ObjectStreamClass desc, boolean hasData) { in ClassDataSlot() argument
1188 this.desc = desc; in ClassDataSlot()
1382 ObjectStreamClass desc = new ObjectStreamClass(); in getVariantFor() local
1384 desc.initProxy(cl, null, superDesc); in getVariantFor()
1386 desc.initNonProxy(this, cl, null, superDesc); in getVariantFor()
1388 return desc; in getVariantFor()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationFactory.java60 AnnotationMember[] desc = cache.get(annotationType); in getElementsDescription() local
61 if (desc != null) { in getElementsDescription()
62 return desc; in getElementsDescription()
69 AnnotationMember[] desc = new AnnotationMember[declaredMethods.length]; in getElementsDescription() local
75 desc[i] = new AnnotationMember(name, element.getDefaultValue(), type, element); in getElementsDescription()
77 desc[i] = new AnnotationMember(name, t, type, element); in getElementsDescription()
81 cache.put(annotationType, desc); in getElementsDescription()
83 return desc; in getElementsDescription()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DDeflaterTest.java963 private void helper_end_test(Deflater defl, String desc) { in helper_end_test() argument
971 fail("defl.getTotalOut() can still be used after " + desc in helper_end_test()
972 + " is called in test_" + desc); in helper_end_test()
978 fail("defl.getTotalIn() can still be used after " + desc in helper_end_test()
979 + " is called in test_" + desc); in helper_end_test()
985 fail("defl.getAdler() can still be used after " + desc in helper_end_test()
986 + " is called in test_" + desc); in helper_end_test()
993 fail("defl.setDictionary() can still be used after " + desc in helper_end_test()
994 + " is called in test_" + desc); in helper_end_test()
1000 fail("defl.getTotalIn() can still be used after " + desc in helper_end_test()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectOutputStream.java95 protected void writeClassDescriptor(java.io.ObjectStreamClass desc) throws java.io.IOException { in writeClassDescriptor() argument
203 private void writeClassDesc(java.io.ObjectStreamClass desc, boolean unshared) in writeClassDesc() argument
212 private void writeProxyDesc(java.io.ObjectStreamClass desc, boolean unshared) in writeProxyDesc() argument
217 private void writeNonProxyDesc(java.io.ObjectStreamClass desc, boolean unshared) in writeNonProxyDesc() argument
227 java.lang.Object array, java.io.ObjectStreamClass desc, boolean unshared) in writeArray() argument
232 private void writeEnum(java.lang.Enum<?> en, java.io.ObjectStreamClass desc, boolean unshared) in writeEnum() argument
238 java.lang.Object obj, java.io.ObjectStreamClass desc, boolean unshared) in writeOrdinaryObject() argument
247 private void writeSerialData(java.lang.Object obj, java.io.ObjectStreamClass desc) in writeSerialData() argument
252 private void defaultWriteFields(java.lang.Object obj, java.io.ObjectStreamClass desc) in defaultWriteFields() argument
639 PutFieldImpl(java.io.ObjectStreamClass desc) { in PutFieldImpl() argument
[all …]
DObjectInputStream.java72 protected java.lang.Class<?> resolveClass(java.io.ObjectStreamClass desc) in resolveClass() argument
245 private void readExternalData(java.io.Externalizable obj, java.io.ObjectStreamClass desc) in readExternalData() argument
250 private void readSerialData(java.lang.Object obj, java.io.ObjectStreamClass desc) in readSerialData() argument
259 private void defaultReadFields(java.lang.Object obj, java.io.ObjectStreamClass desc) in defaultReadFields() argument
621 GetFieldImpl(java.io.ObjectStreamClass desc) { in GetFieldImpl() argument
678 private final java.io.ObjectStreamClass desc; field in ObjectInputStream.GetFieldImpl
681 desc = null;
DObjectStreamClass.java487 ClassDataSlot(java.io.ObjectStreamClass desc, boolean hasData) { in ClassDataSlot() argument
491 final java.io.ObjectStreamClass desc; field in ObjectStreamClass.ClassDataSlot
494 desc = null;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectInputStream2Test.java177 protected Class resolveClass(ObjectStreamClass desc) in resolveClass() argument
179 if (desc.getName().endsWith("ObjectInputStream2Test$TestClass1")) { in resolveClass()
182 return super.resolveClass(desc); in resolveClass()
DObjectStreamFieldTest.java372 protected void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor() argument
374 descs = desc; in writeClassDescriptor()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java1023 public void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor() argument
1037 public void writeClassDescriptor(ObjectStreamClass desc) in writeClassDescriptor() argument
1039 super.writeClassDescriptor(desc); in writeClassDescriptor()
1066 protected Class resolveClass(ObjectStreamClass desc) in resolveClass() argument
1068 if (desc.getName().equals( in resolveClass()
1072 return super.resolveClass(desc); in resolveClass()
1143 ObjectStreamClass desc = ObjectStreamClass in test_readClassDescriptor() local
1145 oos.writeClassDescriptor(desc); in test_readClassDescriptor()
1154 assertEquals(desc.getClass(), obj.getClass()); in test_readClassDescriptor()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodType.java1111 String desc = methodDescriptor; in toMethodDescriptorString() local
1112 if (desc == null) { in toMethodDescriptorString()
1113 desc = BytecodeDescriptor.unparse(this); in toMethodDescriptorString()
1114 methodDescriptor = desc; in toMethodDescriptorString()
1116 return desc; in toMethodDescriptorString()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DOpTestCase.java168 String desc, in exerciseTerminalOpsInt() argument
176 m.put("Ref " + desc, mRef); in exerciseTerminalOpsInt()
177 m.put("Int " + desc, s -> mInt.apply(s.mapToInt(e -> e)).mapToObj(e -> e)); in exerciseTerminalOpsInt()
178 m.put("Long " + desc, s -> mLong.apply(s.mapToLong(e -> e)).mapToObj(e -> (int) e)); in exerciseTerminalOpsInt()
179 m.put("Double " + desc, s -> mDouble.apply(s.mapToDouble(e -> e)).mapToObj(e -> (int) e)); in exerciseTerminalOpsInt()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DOpTestCase.java169 String desc, in exerciseTerminalOpsInt() argument
177 m.put("Ref " + desc, mRef); in exerciseTerminalOpsInt()
178 m.put("Int " + desc, s -> mInt.apply(s.mapToInt(e -> e)).mapToObj(e -> e)); in exerciseTerminalOpsInt()
179 m.put("Long " + desc, s -> mLong.apply(s.mapToLong(e -> e)).mapToObj(e -> (int) e)); in exerciseTerminalOpsInt()
180 m.put("Double " + desc, s -> mDouble.apply(s.mapToDouble(e -> e)).mapToObj(e -> (int) e)); in exerciseTerminalOpsInt()