Searched refs:npt (Results 1 - 17 of 17) sorted by relevance

/openjdk7/jdk/src/share/npt/
H A Dnpt.c32 #include "npt.h"
48 NptEnv *npt; local
57 npt = (NptEnv*)calloc(sizeof(NptEnv), 1);
58 if ( npt == NULL ) {
64 npt->options = strdup(options);
66 npt->utfInitialize = &utfInitialize;
67 npt->utfTerminate = &utfTerminate;
68 npt->utf8ToPlatform = &utf8ToPlatform;
69 npt->utf8FromPlatform = &utf8FromPlatform;
70 npt
82 nptTerminate(NptEnv* npt, char *options) argument
[all...]
H A Dnpt.h90 /* Typedefs for the only 2 'extern' functions in npt library:
101 (NptEnv* npt, char *options);
103 (NptEnv* npt, char *options);
/openjdk7/jdk/make/java/npt/
H A DMakefile31 LIBRARY = npt
33 LIBRARY_OUTPUT = npt
41 SRCDIR=$(SHARE_SRC)/npt
42 PSRCDIR=$(PLATFORM_SRC)/npt
53 npt.c \
/openjdk7/jdk/src/solaris/npt/
H A Dnpt_md.h37 #define NPT_LIBNAME "npt"
55 #define NPT_TERMINATE(npt,options) \
60 if ( (npt) == NULL ) NPT_ERROR("NptEnv* is NULL"); \
61 _handle = (npt)->libhandle; \
64 ((NptTerminate)_sym)((npt), (options)); \
/openjdk7/jdk/src/windows/npt/
H A Dnpt_md.h36 #define NPT_LIBNAME "npt"
54 #define NPT_TERMINATE(npt,options) \
59 if ( (npt) == NULL ) NPT_ERROR("NptEnv* is NULL"); \
60 _handle = (npt)->libhandle; \
61 if ( _handle == NULL ) NPT_ERROR("npt->libhandle is NULL"); \
64 ((NptTerminate)_sym)((npt), (options)); \
/openjdk7/jdk/make/java/
H A DMakefile46 SUBDIRS_misc = npt java_crw_demo java_hprof_demo \
/openjdk7/jdk/make/java/java_hprof_demo/
H A DMakefile81 -I$(SHARE_SRC)/npt \
82 -I$(PLATFORM_SRC)/npt \
/openjdk7/jdk/make/jpda/back/
H A DMakefile45 -I$(SHARE_SRC)/npt \
46 -I$(PLATFORM_SRC)/npt \
/openjdk7/jdk/src/share/back/
H A Dtransport.c68 (void)(gdata->npt->utf8FromPlatform)(gdata->npt->utf,
113 (void)(gdata->npt->utf8ToPlatform)(gdata->npt->utf,
392 (void)(gdata->npt->utf8ToPlatform)(gdata->npt->utf,
H A DinStream.c382 new_length = (gdata->npt->utf8sToUtf8mLength)
383 (gdata->npt->utf, (jbyte*)string, length);
388 (gdata->npt->utf8sToUtf8m)
389 (gdata->npt->utf, (jbyte*)string, length,
H A Derror_messages.c73 if (gdata->npt != NULL) {
74 (void)(gdata->npt->utf8ToPlatform)(gdata->npt->utf,
H A DoutStream.c312 new_length = (gdata->npt->utf8mToUtf8sLength)
313 (gdata->npt->utf, (jbyte*)string, length);
321 (gdata->npt->utf8mToUtf8s)
322 (gdata->npt->utf, (jbyte*)string, length,
H A DdebugInit.c277 NPT_INITIALIZE(npt_lib, &(gdata->npt), NPT_VERSION, NULL);
279 if (gdata->npt == NULL) {
283 gdata->npt->utf = (gdata->npt->utfInitialize)(NULL);
284 if (gdata->npt->utf == NULL) {
H A Dutil.h57 #include "npt.h"
127 NptEnv *npt; member in struct:__anon513
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_init.c749 (void)(gdata->npt->utf8ToPlatform)
750 (gdata->npt->utf, (jbyte*)gdata->utf8_output_filename, ulen,
1972 NPT_INITIALIZE(npt_lib, &(gdata->npt), NPT_VERSION, NULL);
1973 if ( gdata->npt == NULL ) {
1974 HPROF_ERROR(JNI_TRUE, "Cannot load npt library");
1976 gdata->npt->utf = (gdata->npt->utfInitialize)(NULL);
1977 if ( gdata->npt->utf == NULL ) {
1978 HPROF_ERROR(JNI_TRUE, "Cannot initialize npt utf functions");
H A Dhprof.h71 #include "npt.h" /* To get NptEnv for doing character conversions */
211 NptEnv *npt; /* NptEnv* for this session, see npt.h */ member in struct:__anon533
/openjdk7/jdk/make/common/
H A DDemo.gmk135 # If the npt library is used we need to find the npt.h file
137 # The npt library is delivered as part of the JRE
138 DEMO_CPPFLAGS += -I$(SHARE_SRC)/npt -I$(PLATFORM_SRC)/npt

Completed in 108 milliseconds