Searched defs:utf (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/back/
H A DStringReferenceImpl.c46 char *utf; local
48 utf = (char *)JNI_FUNC_PTR(env,GetStringUTFChars)(env, string, NULL);
49 (void)outStream_writeString(out, utf);
50 JNI_FUNC_PTR(env,ReleaseStringUTFChars)(env, string, utf);
H A Dutil.c1709 const char *utf; local
1712 utf = JNI_FUNC_PTR(env,GetStringUTFChars)(env, valueString, NULL);
1714 value = jvmtiAllocate((int)strlen(utf) + 1);
1716 (void)strcpy(value, utf);
1718 JNI_FUNC_PTR(env,ReleaseStringUTFChars)(env, valueString, utf);
/openjdk7/jdk/test/java/io/Serializable/corruptedUTFConsumption/
H A DCorruptedUTFConsumption.java28 * ObjectInputStream consumes at most the expected number of utf
29 * bytes, even if the last byte(s) of the utf string indicate that the
49 byte[] utf = bout.toByteArray();
52 utf[utf.length - 1] = (byte) (0xC0 | rand.nextInt() & 0x1F);
53 checkConsume(utf);
56 utf[utf.length - 1] = (byte) (0xE0 | rand.nextInt() & 0x0F);
57 checkConsume(utf);
59 if (utf
68 checkConsume(byte[] utf) argument
[all...]
/openjdk7/jdk/src/share/npt/
H A Dnpt.h38 #include "utf.h"
55 struct UtfInst *utf; member in struct:__anon946
57 /* UTF interfaces, see utf.c */
61 (struct UtfInst *utf, char *options);
63 (struct UtfInst *utf, jbyte *utf8, int len,
66 (struct UtfInst *utf, char *str, int len,
69 (struct UtfInst *utf, jbyte *utf8, int len,
72 (struct UtfInst *utf, jchar *utf16, int len,
75 (struct UtfInst *utf, jchar *utf16, int len,
78 (struct UtfInst *utf, jbyt
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A Djvm.cpp686 JVM_ENTRY(jclass, JVM_FindPrimitiveClass(JNIEnv* env, const char* utf))
689 BasicType t = name2type(utf);
694 THROW_MSG_0(vmSymbols::java_lang_ClassNotFoundException(), (char*) utf); variable
2532 JVM_LEAF(void, JVM_ReleaseUTF(const char *utf))
H A Djni.h616 (JNIEnv *env, const char *utf);
1610 jstring NewStringUTF(const char *utf) { argument
1611 return functions->NewStringUTF(this,utf);
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dunpack.cpp1212 entry* utf = cp_band.getRef(); local
1214 e.refs[0] = utf;
1215 e.value.b = utf->value.b; // copy value of Utf8 string to self
3072 entry* utf = ensureUtf8(b);
3073 e.refs[0] = utf;
3074 e.value.b = utf->value.b;
/openjdk7/jdk/src/share/javavm/export/
H A Djni.h616 (JNIEnv *env, const char *utf);
1610 jstring NewStringUTF(const char *utf) { argument
1611 return functions->NewStringUTF(this,utf);

Completed in 119 milliseconds