Searched refs:rth (Results 1 - 25 of 40) 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) < 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) < 0) {
H A Dtc_filter.c162 ll_init_map(&rth);
170 if (rtnl_talk(&rth, &req.n, 0, 0, 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) < 0) {
H A Dtc_qdisc.c180 ll_init_map(&rth);
189 if (rtnl_talk(&rth, &req.n, 0, 0, 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) < 0) {
H A Dm_action.c463 req.n.nlmsg_seq = rth.dump = ++rth.seq;
467 if (rtnl_talk(&rth, &req.n, 0, 0, ans) < 0) {
512 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0) {
570 if (rtnl_dump_request(&rth, event, (void *)&req.t, msg_size) < 0) {
574 ret = rtnl_dump_filter(&rth, print_action, stdout);
582 if (rtnl_talk(&rth, &req.n, 0, 0, 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
117 rtnl_send(struct rtnl_handle *rth, const void *buf, int len) argument
122 rtnl_send_check(struct rtnl_handle *rth, const void *buf, int len) argument
155 rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len) argument
179 rtnl_dump_filter_l(struct rtnl_handle *rth, const struct rtnl_dump_filter_arg *arg) argument
265 rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter, void *arg1) argument
[all...]
H A Dll_map.c195 int ll_init_map(struct rtnl_handle *rth) argument
202 if (rtnl_wilddump_request(rth, AF_UNSPEC, RTM_GETLINK) < 0) {
207 if (rtnl_dump_filter(rth, ll_remember_index, 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.h23 extern int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions);
24 extern int rtnl_open_byproto(struct rtnl_handle *rth, unsigned subscriptions, int protocol);
25 extern void rtnl_close(struct rtnl_handle *rth);
26 extern int rtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type);
27 extern int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len);
38 extern int rtnl_dump_filter_l(struct rtnl_handle *rth,
40 extern int rtnl_dump_filter(struct rtnl_handle *rth, rtnl_filter_t filter,
44 extern int rtnl_send(struct rtnl_handle *rth, const void *buf, int);
45 extern int rtnl_send_check(struct rtnl_handle *rth, const void *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) < 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) < 0) {
351 nlh->nlmsg_seq = rth.dump = ++rth.seq;
353 if (rtnl_send(&rth, nl
370 struct rtnl_handle rth; local
[all...]
/external/iproute2/ip/
H A Dip.c37 struct rtnl_handle rth = { .fd = -1 }; variable in typeref:struct:rtnl_handle
119 if (rtnl_open(&rth, 0) < 0) {
143 rtnl_close(&rth);
260 if (rtnl_open(&rth, 0) < 0)
269 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) < 0) {
173 if (rtnl_listen(&rth, dump_msg, (void*)fp) < 0)
H A Dxfrm_policy.c250 struct rtnl_handle rth; local
393 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
399 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0)
402 rtnl_close(&rth);
563 struct rtnl_handle rth; local
656 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
676 if (rtnl_talk(&rth, &req.n, 0, 0, res_nlbuf) < 0)
679 rtnl_close(&rth);
715 struct rtnl_handle *rth = xb->rth; local
776 struct rtnl_handle rth; local
964 struct rtnl_handle rth; local
993 struct rtnl_handle rth; local
[all...]
H A Dipaddrlabel.c47 extern struct rtnl_handle rth;
112 if (rtnl_wilddump_request(&rth, af, RTM_GETADDRLABEL) < 0) {
117 if (rtnl_dump_filter(&rth, print_addrlabel, stdout) < 0) {
186 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0)
234 if (rtnl_wilddump_request(&rth, af, RTM_GETADDRLABEL) < 0) {
239 if (rtnl_dump_filter(&rth, flush_addrlabel, NULL) < 0) {
249 ll_init_map(&rth);
H A Dxfrm_state.c238 struct rtnl_handle rth; local
545 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
551 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0)
554 rtnl_close(&rth);
561 struct rtnl_handle rth; local
681 if (rtnl_open_byproto(&rth, 0, NETLINK_XFRM) < 0)
688 if (rtnl_talk(&rth, &req.n, 0, 0, res_n) < 0)
696 rtnl_close(&rth);
818 struct rtnl_handle rth; local
871 if (rtnl_open_byproto(&rth,
909 struct rtnl_handle *rth = xb->rth; local
959 struct rtnl_handle rth; local
1111 struct rtnl_handle rth; local
1139 struct rtnl_handle rth; local
[all...]
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) < 0)
245 fn->nlmsg_seq = ++rth.seq;
377 ll_init_map(&rth);
396 if (rtnl_wilddump_request(&rth, filter.family, RTM_GETNEIGH) < 0) {
401 if (rtnl_dump_filter(&rth, print_neigh, stdout) < 0) {
430 if (rtnl_dump_request(&rth, RTM_GETNEIGH, &ndm, sizeof(struct ndmsg)) < 0) {
435 if (rtnl_dump_filter(&rth, print_neigh, stdout) < 0) {
H A Diprule.c29 extern struct rtnl_handle rth;
223 if (rtnl_wilddump_request(&rth, af, RTM_GETRULE) < 0) {
228 if (rtnl_dump_filter(&rth, print_rule, stdout) < 0) {
378 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0)
426 if (rtnl_wilddump_request(&rth, af, RTM_GETRULE) < 0) {
431 if (rtnl_dump_filter(&rth, flush_rule, NULL) < 0) {
H A Dip_common.h54 extern struct rtnl_handle rth;
H A Diproute.c119 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) {
323 fn->nlmsg_seq = ++rth.seq;
970 ll_init_map(&rth);
1017 if (rtnl_talk(&rth, &req.n, 0, 0, NULL) < 0)
1023 static int rtnl_rtcache_request(struct rtnl_handle *rth, int family) argument
1039 req.nlh.nlmsg_seq = rth->dump = ++rth->seq;
1043 return sendto(rth->fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr));
1246 ll_init_map(&rth);
1290 if (rtnl_wilddump_request(&rth, do_ipv
[all...]

Completed in 1191 milliseconds

12