Home
last modified time | relevance | path

Searched refs:npt (Results 1 – 21 of 21) sorted by relevance

/external/oj-libjdwp/src/share/npt/
Dnpt.c48 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()
[all …]
DREADME.txt6 -Isrc/share/npt and -I/src/${platform}/npt (platform is solaris or windows)
11 #include "npt.h"
13 NptEnv *npt;
15 NPT_INITIALIZE(&npt, NPT_VERSION, NULL);
16 if (npt == NULL) {
20 /* To use the npt utf functions, they require initialization */
21 npt->utf = (npt->utfInitialize)(NULL);
22 if (npt->utf == NULL) {
36 (npt->utfTerminate)(npt->utf,NULL);
37 NPT_TERMINATE(&npt, NULL);
Dnpt.h101 (NptEnv* npt, char *options);
103 (NptEnv* npt, char *options);
/external/iptables/extensions/
Dlibip6t_SNPT.c35 struct ip6t_npt_tginfo *npt = cb->data; in SNPT_parse() local
40 npt->src_pfx = cb->val.haddr; in SNPT_parse()
41 npt->src_pfx_len = cb->val.hlen; in SNPT_parse()
44 npt->dst_pfx = cb->val.haddr; in SNPT_parse()
45 npt->dst_pfx_len = cb->val.hlen; in SNPT_parse()
53 const struct ip6t_npt_tginfo *npt = (const void *)target->data; in SNPT_print() local
55 printf(" SNPT src-pfx %s/%u", xtables_ip6addr_to_numeric(&npt->src_pfx.in6), in SNPT_print()
56 npt->src_pfx_len); in SNPT_print()
57 printf(" dst-pfx %s/%u", xtables_ip6addr_to_numeric(&npt->dst_pfx.in6), in SNPT_print()
58 npt->dst_pfx_len); in SNPT_print()
Dlibip6t_DNPT.c35 struct ip6t_npt_tginfo *npt = cb->data; in DNPT_parse() local
40 npt->src_pfx = cb->val.haddr; in DNPT_parse()
41 npt->src_pfx_len = cb->val.hlen; in DNPT_parse()
44 npt->dst_pfx = cb->val.haddr; in DNPT_parse()
45 npt->dst_pfx_len = cb->val.hlen; in DNPT_parse()
53 const struct ip6t_npt_tginfo *npt = (const void *)target->data; in DNPT_print() local
55 printf(" DNPT src-pfx %s/%u", xtables_ip6addr_to_numeric(&npt->src_pfx.in6), in DNPT_print()
56 npt->src_pfx_len); in DNPT_print()
57 printf(" dst-pfx %s/%u", xtables_ip6addr_to_numeric(&npt->dst_pfx.in6), in DNPT_print()
58 npt->dst_pfx_len); in DNPT_print()
/external/tensorflow/tensorflow/python/eager/
Dops_test.py210 npt = np.arange(1, 19, dtype=np.float32).reshape(3, 2, 3)
211 t = constant_op.constant(npt)
213 self.assertAllEqual(npt[:, :, :], t[:, :, :])
214 self.assertAllEqual(npt[::, ::, ::], t[::, ::, ::])
215 self.assertAllEqual(npt[::1, ::1, ::1], t[::1, ::1, ::1])
216 self.assertAllEqual(npt[::1, ::5, ::2], t[::1, ::5, ::2])
217 self.assertAllEqual(npt[::-1, :, :], t[::-1, :, :])
218 self.assertAllEqual(npt[:, ::-1, :], t[:, ::-1, :])
219 self.assertAllEqual(npt[:, :, ::-1], t[:, :, ::-1])
220 self.assertAllEqual(npt[-2::-1, :, ::1], t[-2::-1, :, ::1])
[all …]
/external/oj-libjdwp/src/solaris/npt/
Dnpt_md.h55 #define NPT_TERMINATE(npt,options) \ argument
60 if ( (npt) == NULL ) NPT_ERROR("NptEnv* is NULL"); \
61 _handle = (npt)->libhandle; \
64 ((NptTerminate)_sym)((npt), (options)); \
/external/openssh/openbsd-compat/
Dgetcwd.c192 char *npt; in getcwd() local
199 if ((npt = realloc(pt, ptsize *= 2)) == NULL) in getcwd()
201 bpt = npt + (bpt - pt); in getcwd()
202 pt = npt; in getcwd()
/external/oj-libjdwp/src/share/back/
Dtransport.c68 (void)(gdata->npt->utf8FromPlatform)(gdata->npt->utf, in printLastError()
113 (void)(gdata->npt->utf8ToPlatform)(gdata->npt->utf, in loadTransportLibrary()
395 (void)(gdata->npt->utf8ToPlatform)(gdata->npt->utf, in launch()
DinStream.c382 new_length = (gdata->npt->utf8sToUtf8mLength) in inStream_readString()
383 (gdata->npt->utf, (jbyte*)string, length); in inStream_readString()
388 (gdata->npt->utf8sToUtf8m) in inStream_readString()
389 (gdata->npt->utf, (jbyte*)string, length, in inStream_readString()
Derror_messages.c73 if (gdata->npt != NULL) { in vprint_message()
74 (void)(gdata->npt->utf8ToPlatform)(gdata->npt->utf, in vprint_message()
DoutStream.c310 new_length = (gdata->npt->utf8mToUtf8sLength) in outStream_writeString()
311 (gdata->npt->utf, (jbyte*)string, length); in outStream_writeString()
319 (gdata->npt->utf8mToUtf8s) in outStream_writeString()
320 (gdata->npt->utf, (jbyte*)string, length, in outStream_writeString()
DdebugInit.c342 NPT_INITIALIZE(npt_lib, &(gdata->npt), NPT_VERSION, NULL); in Agent_OnLoad()
343 if (gdata->npt == NULL) { in Agent_OnLoad()
347 gdata->npt->utf = (gdata->npt->utfInitialize)(NULL); in Agent_OnLoad()
348 if (gdata->npt->utf == NULL) { in Agent_OnLoad()
Dutil.h144 NptEnv *npt; member
/external/oj-libjdwp/
DMETADATA16 "src/share/npt/ "
17 "src/solaris/npt/ "
DAndroid.bp88 "src/share/npt",
89 "src/solaris/npt",
103 "src/share/npt/*.c",
104 "src/solaris/npt/*.c",
/external/tensorflow/tensorflow/python/distribute/v1/
Dall_reduce_test.py133 npt = np.zeros(shape).astype(np.float32)
134 alias = np.frombuffer(npt.data, dtype=np.float32)
138 state_ops.init_variable(var, npt).op.run()
/external/tensorflow/tensorflow/compiler/tests/
Deager_test.py116 npt = np.arange(1, 19, dtype=np.float32).reshape(3, 2, 3)
117 t = constant_op.constant(npt)
119 self.assertAllEqual(npt[0:-1:-1, :, :], t[0:-1:-1, :, :])
121 self.assertAllEqual(npt[-1:0, :, :], t[-1:0, :, :])
123 self.assertAllEqual(npt[-1:0, 2:2, 2:3:-1], t[-1:0, 2:2, 2:3:-1])
/external/llvm-project/clang/test/SemaCXX/
Dconstexpr-builtin-bit-cast.cpp243 nullptr_t npt = __builtin_bit_cast(nullptr_t, 0ul); in test_to_nullptr() local
/external/toolchain-utils/android_bench_suite/panorama_input/
Dtest_034.ppm2618  ��npt���������������������JPR
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt138350 npt %16854