Searched refs:rth (Results 1 - 25 of 38) sorted by relevance

12

/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DClonerToResultTree.java133 SerializationHandler rth,
143 dtm.dispatchCharactersEvents(node, rth, false);
157 // rth.startElement(ns, localName, dtm.getNodeNameX(node), null);
160 rth.startElement(ns, localName, dtm.getNodeNameX(node));
167 SerializerUtils.addAttributes(rth, node);
168 SerializerUtils.processNSDecls(rth, node, nodeType, dtm);
173 rth.startCDATA();
174 dtm.dispatchCharactersEvents(node, rth, false);
175 rth.endCDATA();
178 SerializerUtils.addAttribute(rth, nod
132 cloneToResultTree(int node, int nodeType, DTM dtm, SerializationHandler rth, boolean shouldCloneAttributes) argument
[all...]
/external/iproute2/tc/
H A Dtc_monitor.c69 struct rtnl_handle rth; local
98 if (rtnl_open(&rth, groups) < 0)
101 ll_init_map(&rth);
103 if (rtnl_listen(&rth, accept_tcmsg, (void*)stdout) < 0) {
104 rtnl_close(&rth);
108 rtnl_close(&rth);
H A Dtc_common.h4 extern struct rtnl_handle rth;
H A Dtc.c41 struct rtnl_handle rth; variable in typeref:struct:rtnl_handle
265 if (rtnl_open(&rth, 0) < 0) {
289 rtnl_close(&rth);
348 if (rtnl_open(&rth, 0) < 0) {
354 rtnl_close(&rth);
H A Dtc_class.c133 ll_init_map(&rth);
141 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
286 ll_init_map(&rth);
296 if (rtnl_dump_request(&rth, RTM_GETTCLASS, &t, sizeof(t)) < 0) {
301 if (rtnl_dump_filter(&rth, print_class, stdout, NULL, NULL) < 0) {
H A Dtc_filter.c162 ll_init_map(&rth);
170 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0) {
329 ll_init_map(&rth);
339 if (rtnl_dump_request(&rth, RTM_GETTFILTER, &t, sizeof(t)) < 0) {
344 if (rtnl_dump_filter(&rth, print_filter, stdout, NULL, NULL) < 0) {
H A Dtc_qdisc.c180 ll_init_map(&rth);
189 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
311 ll_init_map(&rth);
321 if (rtnl_dump_request(&rth, RTM_GETQDISC, &t, sizeof(t)) < 0) {
326 if (rtnl_dump_filter(&rth, print_qdisc, stdout, NULL, NULL) < 0) {
H A Dm_action.c463 req.n.nlmsg_seq = rth.dump = ++rth.seq;
467 if (rtnl_talk(&rth, &req.n, 0, 0, ans, NULL, NULL) < 0) {
512 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0) {
570 if (rtnl_dump_request(&rth, event, (void *)&req.t, msg_size) < 0) {
574 ret = rtnl_dump_filter(&rth, print_action, stdout, NULL, NULL);
582 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0) {
/external/iproute2/lib/
H A Dlibnetlink.c30 void rtnl_close(struct rtnl_handle *rth) argument
32 if (rth->fd >= 0) {
33 close(rth->fd);
34 rth->fd = -1;
38 int rtnl_open_byproto(struct rtnl_handle *rth, unsigned subscriptions, argument
44 memset(rth, 0, sizeof(*rth));
46 rth->fd = socket(AF_NETLINK, SOCK_RAW, protocol);
47 if (rth->fd < 0) {
52 if (setsockopt(rth
87 rtnl_open(struct rtnl_handle *rth, unsigned subscriptions) argument
92 rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type) argument
110 rtnl_send(struct rtnl_handle *rth, const char *buf, int len) argument
115 rtnl_send_check(struct rtnl_handle *rth, const char *buf, int len) argument
148 rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) argument
175 rtnl_dump_filter_l(struct rtnl_handle *rth, const struct rtnl_dump_filter_arg *arg) argument
259 rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter, void *arg1, rtnl_filter_t junk, void *arg2) argument
[all...]
H A Dll_map.c186 int ll_init_map(struct rtnl_handle *rth) argument
188 if (rtnl_wilddump_request(rth, AF_UNSPEC, RTM_GETLINK) < 0) {
193 if (rtnl_dump_filter(rth, ll_remember_index, &idxmap, NULL, NULL) < 0) {
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DElemTextLiteral.java206 SerializationHandler rth = transformer.getResultTreeHandler();
210 rth.processingInstruction(javax.xml.transform.Result.PI_DISABLE_OUTPUT_ESCAPING, "");
213 rth.characters(m_ch, 0, m_ch.length);
217 rth.processingInstruction(javax.xml.transform.Result.PI_ENABLE_OUTPUT_ESCAPING, "");
H A DElemValueOf.java216 SerializationHandler rth = transformer.getResultTreeHandler();
228 rth.processingInstruction(
235 expr.executeCharsToContentHandler(xctxt, rth);
240 rth.processingInstruction(
/external/iproute2/include/
H A Dll_map.h6 extern int ll_init_map(struct rtnl_handle *rth);
H A Dlibnetlink.h22 extern int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions);
23 extern int rtnl_open_byproto(struct rtnl_handle *rth, unsigned subscriptions, int protocol);
24 extern void rtnl_close(struct rtnl_handle *rth);
25 extern int rtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type);
26 extern int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len);
39 extern int rtnl_dump_filter_l(struct rtnl_handle *rth,
41 extern int rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter,
50 extern int rtnl_send(struct rtnl_handle *rth, const char *buf, int);
51 extern int rtnl_send_check(struct rtnl_handle *rth, const char *buf, int);
/external/iproute2/genl/
H A Dctrl.c44 struct rtnl_handle rth; local
63 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) {
70 if (rtnl_talk(&rth, nlh, 0, 0, nlh, NULL, NULL) < 0) {
111 rtnl_close(&rth);
286 struct rtnl_handle rth; local
306 if (rtnl_open_byproto(&rth, 0, NETLINK_GENERIC) < 0) {
337 if (rtnl_talk(&rth, nlh, 0, 0, nlh, NULL, NULL) < 0) {
351 nlh->nlmsg_seq = rth.dump = ++rth.seq;
353 if (rtnl_send(&rth, (cons
370 struct rtnl_handle rth; local
[all...]
/external/iproute2/ip/
H A Dxfrm_state.c239 struct rtnl_handle rth; local
512 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
518 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
521 rtnl_close(&rth);
528 struct rtnl_handle rth; local
648 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
655 if (rtnl_talk(&rth, &req.n, 0, 0, res_n, NULL, NULL) < 0)
663 rtnl_close(&rth);
785 struct rtnl_handle rth; local
838 if (rtnl_open_byproto(&rth,
876 struct rtnl_handle *rth = xb->rth; local
926 struct rtnl_handle rth; local
1078 struct rtnl_handle rth; local
1106 struct rtnl_handle rth; local
[all...]
H A Dip.c35 struct rtnl_handle rth = { .fd = -1 }; variable in typeref:struct:rtnl_handle
112 if (rtnl_open(&rth, 0) < 0) {
136 rtnl_close(&rth);
247 if (rtnl_open(&rth, 0) < 0)
256 rtnl_close(&rth);
H A Drtmon.c70 struct rtnl_handle rth; local
156 if (rtnl_open(&rth, groups) < 0)
159 if (rtnl_wilddump_request(&rth, AF_UNSPEC, RTM_GETLINK) < 0) {
166 if (rtnl_dump_filter(&rth, dump_msg, fp, NULL, NULL) < 0) {
173 if (rtnl_listen(&rth, dump_msg, (void*)fp) < 0)
H A Dxfrm_policy.c228 struct rtnl_handle rth; local
352 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
358 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
361 rtnl_close(&rth);
522 struct rtnl_handle rth; local
599 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
614 if (rtnl_talk(&rth, &req.n, 0, 0, res_nlbuf, NULL, NULL) < 0)
617 rtnl_close(&rth);
653 struct rtnl_handle *rth = xb->rth; local
714 struct rtnl_handle rth; local
902 struct rtnl_handle rth; local
931 struct rtnl_handle rth; local
[all...]
H A Dipaddrlabel.c47 extern struct rtnl_handle rth;
118 if (rtnl_wilddump_request(&rth, af, RTM_GETADDRLABEL) < 0) {
123 if (rtnl_dump_filter(&rth, print_addrlabel, stdout, NULL, NULL) < 0) {
192 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
240 if (rtnl_wilddump_request(&rth, af, RTM_GETADDRLABEL) < 0) {
245 if (rtnl_dump_filter(&rth, flush_addrlabel, NULL, NULL, NULL) < 0) {
255 ll_init_map(&rth);
H A Dipmonitor.c122 rtnl_close(&rth);
189 if (rtnl_open(&rth, groups) < 0)
191 ll_init_map(&rth);
193 if (rtnl_listen(&rth, accept_msg, stdout) < 0)
H A Dipneigh.c86 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) {
170 ll_init_map(&rth);
177 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
244 fn->nlmsg_seq = ++rth.seq;
372 ll_init_map(&rth);
391 if (rtnl_wilddump_request(&rth, filter.family, RTM_GETNEIGH) < 0) {
396 if (rtnl_dump_filter(&rth, print_neigh, stdout, NULL, NULL) < 0) {
423 if (rtnl_wilddump_request(&rth, filter.family, RTM_GETNEIGH) < 0) {
428 if (rtnl_dump_filter(&rth, print_neigh, stdout, NULL, NULL) < 0) {
H A Diprule.c29 extern struct rtnl_handle rth;
210 if (rtnl_wilddump_request(&rth, af, RTM_GETRULE) < 0) {
215 if (rtnl_dump_filter(&rth, print_rule, stdout, NULL, NULL) < 0) {
358 if (rtnl_talk(&rth, &req.n, 0, 0, NULL, NULL, NULL) < 0)
406 if (rtnl_wilddump_request(&rth, af, RTM_GETRULE) < 0) {
411 if (rtnl_dump_filter(&rth, flush_rule, NULL, NULL, NULL) < 0) {
H A Dip_common.h51 extern struct rtnl_handle rth;
H A Dxfrm_monitor.c301 extern struct rtnl_handle rth;
314 rtnl_close(&rth);
370 //ll_init_map(&rth);
372 if (rtnl_open_byproto(&rth, groups, NETLINK_XFRM) < 0)
375 if (rtnl_listen(&rth, xfrm_accept_msg, (void*)stdout) < 0)

Completed in 225 milliseconds

12