Searched refs:Pt_t (Results 1 - 23 of 23) sorted by relevance

/ast/src/cmd/dsslib/ip_t/
H A Dpt.h43 struct Pt_s; typedef struct Pt_s Pt_t; typedef in typeref:struct:Pt_s
84 extern Pt_t* ptopen(Ptdisc_t*);
85 extern int ptclose(Pt_t*);
86 extern Ptprefix_t* ptinsert(Pt_t*, Ptaddr_t, Ptaddr_t);
87 extern int ptdelete(Pt_t*, Ptaddr_t, Ptaddr_t);
89 extern Ptprefix_t* ptmatch(Pt_t*, Ptaddr_t);
91 extern int ptprint(Pt_t*, Sfio_t*);
92 extern int ptstats(Pt_t*, Sfio_t*);
93 extern int ptdump(Pt_t*, Sfio_t*);
95 extern Ptcount_t ptaddresses(Pt_t*);
[all...]
H A Dptranges.c30 ptranges(Pt_t* a)
H A Dptunion.c29 Pt_t*
30 ptunion(Pt_t* a, Pt_t* b)
H A Dptcopy.c29 Pt_t*
30 ptcopy(Pt_t* a)
32 Pt_t* b;
H A Dptrebit.c29 Pt_t*
30 ptrebit(Pt_t* a, int m)
32 Pt_t* b;
H A Dptcover.c30 Pt_t*
31 ptcover(Pt_t* a, Pt_t* b)
33 Pt_t* t;
H A Dptinvert.c29 Pt_t*
30 ptinvert(Pt_t* a)
32 Pt_t* t;
H A Dptmatch.c30 ptmatch(Pt_t* tab, Ptaddr_t addr)
H A Dptprint.c30 ptprint(Pt_t* a, Sfio_t* sp)
H A Dptsize.c30 ptsize(Pt_t* a)
H A Dptequal.c30 ptequal(Pt_t* a, Pt_t* b)
H A Dptaddresses.c30 ptaddresses(Pt_t* a)
H A Dptintersect.c29 Pt_t*
30 ptintersect(Pt_t* a, Pt_t* b)
32 Pt_t* t;
H A Dptsubset.c30 ptsubset(Pt_t* a, Pt_t* b)
H A Dptdifference.c29 Pt_t*
30 ptdifference(Pt_t* a, Pt_t* b)
32 Pt_t* t;
H A Dptopen.c73 Pt_t*
76 Pt_t* a;
84 if (!(a = newof(0, Pt_t, 1, 0)) || !(a->dict = dtopen(&prefixdisc, Dtoset)))
101 ptclose(Pt_t* a)
116 ptinsert(Pt_t* tab, Ptaddr_t min, Ptaddr_t max)
157 ptdelete(Pt_t* tab, Ptaddr_t min, Ptaddr_t max)
H A Dptdump.c30 ptdump(Pt_t* a, Sfio_t* sp)
H A Dptstats.c32 ptstats(Pt_t* a, Sfio_t* sp)
H A Dip_t.c713 static Pt_t*
716 Pt_t* pt;
833 Pt_t* pt;
/ast/src/cmd/ksh93/tests/
H A Dpointtype.sh31 typeset -T Pt_t=(
42 Pt_t p
48 Pt_t q=(y=2)
58 [[ ${@p} == Pt_t ]] || err_exit 'type of p is not Pt_t'
59 [[ ${@q} == Pt_t ]] || err_exit 'type of q is not Pt_t'
62 Pt_t pp=( ( x=3 y=4) ( x=5 y=12) (y=2) )
74 Pt_t pp=( [one]=( x=3 y=4) [two]=( x=5 y=12) [three]=(y=2) )
79 [[ ${@pp[1]} == Pt_t ]] || err_exi
[all...]
H A Drecttype.sh31 typeset -T Pt_t=(
41 Pt_t ll=(x=0 y=0)
42 Pt_t ur=(x=1 y=1)
54 Pt_t ur=(x=9 y=9)
55 Pt_t ll=(x=7 y=7)
H A Dattributes.sh273 typeset -T Pt_t=(
276 Pt_t z
281 [[ $(typeset -p z) == "Pt_t z=$x" ]] || err_exit "typeset -p for type failed"
282 [[ $(typeset +p z) == "Pt_t z" ]] || err_exit "typeset +p for type failed"
H A Dtypes.sh117 typeset -T Pt_t=(float x=1. y=0.)
118 Pt_t p=(y=2)

Completed in 68 milliseconds