Home
last modified time | relevance | path

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

/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("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("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/opencv3/samples/cpp/
Dselect3dobj.cpp218 int npt = nobjpt; in select3DBox() local
227 imgpt[npt] = m; in select3DBox()
231 int nearestIdx = npt-1; in select3DBox()
235 for( int i = 1; i < npt; i++ ) in select3DBox()
240 if( npt == 2 ) in select3DBox()
255 imgpt[npt] = a; in select3DBox()
259 imgpt[npt] = d1*Z + a; in select3DBox()
262 box[npt] = image2plane(imgpt[npt], R, tvec, cameraMatrix, npt<3 ? 0 : Z); in select3DBox()
264 if( (npt == 0 && mouse.event == EVENT_LBUTTONDOWN) || in select3DBox()
265 (npt > 0 && norm(box[npt] - box[npt-1]) > eps && in select3DBox()
[all …]
Ddrawing.cpp99 int npt[] = {3, 3}; in main() local
101 polylines(image, ppt, npt, 2, true, randomColor(rng), rng.uniform(1,10), lineType); in main()
124 int npt[] = {3, 3}; in main() local
126 fillPoly(image, ppt, npt, 2, randomColor(rng), lineType); in main()
Dstereo_calib.cpp194 int npt = (int)imagePoints[0][i].size(); in StereoCalib() local
202 for( j = 0; j < npt; j++ ) in StereoCalib()
210 npoints += npt; in StereoCalib()
/external/opencv3/samples/cpp/tutorial_code/core/Matrix/
DDrawing_2.cpp209 int npt[] = {3, 3}; in Drawing_Random_Polylines() local
211 polylines(image, ppt, npt, 2, true, randomColor(rng), rng.uniform(1,10), lineType); in Drawing_Random_Polylines()
244 int npt[] = {3, 3}; in Drawing_Random_Filled_Polygons() local
246 fillPoly( image, ppt, npt, 2, randomColor(rng), lineType ); in Drawing_Random_Filled_Polygons()
DDrawing_1.cpp147 int npt[] = { 20 }; in MyPolygon() local
151 npt, in MyPolygon()
/external/opencv3/modules/python/test/
Dtest.py130 npt = 100
132 a = np.random.randn(npt,2).astype('float32')*50 + 150
/external/opencv3/doc/tutorials/core/basic_geometric_drawing/
Dbasic_geometric_drawing.markdown202 int npt[] = { 20 };
206 npt,
216 - The total number of vertices to be drawn are **npt**