Lines Matching refs:npt
48 NptEnv *npt; in nptInitialize() local
57 npt = (NptEnv*)calloc(sizeof(NptEnv), 1); in nptInitialize()
58 if ( npt == NULL ) { in nptInitialize()
64 npt->options = strdup(options); in nptInitialize()
66 npt->utfInitialize = &utfInitialize; in nptInitialize()
67 npt->utfTerminate = &utfTerminate; in nptInitialize()
68 npt->utf8ToPlatform = &utf8ToPlatform; in nptInitialize()
69 npt->utf8FromPlatform = &utf8FromPlatform; in nptInitialize()
70 npt->utf8ToUtf16 = &utf8ToUtf16; in nptInitialize()
71 npt->utf16ToUtf8m = &utf16ToUtf8m; in nptInitialize()
72 npt->utf16ToUtf8s = &utf16ToUtf8s; in nptInitialize()
73 npt->utf8sToUtf8mLength = &utf8sToUtf8mLength; in nptInitialize()
74 npt->utf8sToUtf8m = &utf8sToUtf8m; in nptInitialize()
75 npt->utf8mToUtf8sLength = &utf8mToUtf8sLength; in nptInitialize()
76 npt->utf8mToUtf8s = &utf8mToUtf8s; in nptInitialize()
78 (*pnpt) = npt; in nptInitialize()
82 nptTerminate(NptEnv* npt, char *options) in nptTerminate() argument
86 if ( npt->options != NULL ) { in nptTerminate()
87 (void)free(npt->options); in nptTerminate()
89 (void)free(npt); in nptTerminate()