Searched defs:arg (Results 476 - 500 of 1505) sorted by relevance

<<11121314151617181920>>

/external/iptables/extensions/
H A Dlibip6t_SNAT.c49 char *arg, *start, *end = NULL, *colon = NULL, *dash, *error; local
52 arg = strdup(orig_arg);
53 if (arg == NULL)
56 start = strchr(arg, '[');
58 start = arg;
60 colon = strchr(arg, ':');
114 if (colon == arg || colon == arg+2) {
115 free(arg);
143 free(arg);
[all...]
H A Dlibxt_addrtype.c86 static void parse_types(const char *arg, uint16_t *mask) argument
90 while ((comma = strchr(arg, ',')) != NULL) {
91 if (comma == arg || !parse_type(arg, comma-arg, mask))
93 "addrtype: bad type `%s'", arg);
94 arg = comma + 1;
97 if (strlen(arg) == 0 || !parse_type(arg, strlen(arg), mas
[all...]
H A Dlibxt_devgroup.c45 static void devgroup_parse_groupspec(const char *arg, unsigned int *group, argument
51 ok = xtables_strtoui(arg, &end, group, 0, UINT32_MAX);
60 "Bad group value \"%s\"", arg);
62 *group = xtables_lmap_name2id(devgroups, arg);
65 "Device group \"%s\" not found", arg);
78 devgroup_parse_groupspec(cb->arg, &id, &mask);
86 devgroup_parse_groupspec(cb->arg, &id, &mask);
/external/jemalloc/test/unit/
H A Dstats.c146 thd_start(void *arg) argument
/external/jpeg/
H A Dcjpeg.c211 char * arg; local
236 arg = argv[argn];
237 if (*arg != '-') {
245 arg++; /* advance past switch marker character */
247 if (keymatch(arg, "arithmetic", 1)) {
257 } else if (keymatch(arg, "baseline", 1)) {
261 } else if (keymatch(arg, "dct", 2)) {
274 } else if (keymatch(arg, "debug", 1) || keymatch(arg, "verbose", 1)) {
286 } else if (keymatch(arg, "grayscal
[all...]
H A Djpegtran.c126 char * arg; local
142 arg = argv[argn];
143 if (*arg != '-') {
151 arg++; /* advance past switch marker character */
153 if (keymatch(arg, "arithmetic", 1)) {
163 } else if (keymatch(arg, "copy", 1)) {
176 } else if (keymatch(arg, "debug", 1) || keymatch(arg, "verbose", 1)) {
188 } else if (keymatch(arg, "flip", 1)) {
199 } else if (keymatch(arg, "grayscal
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dion.h120 * @arg: additional data to pass to the custom ioctl, typically a user
123 * This works just like the regular cmd and arg fields of an ioctl.
127 unsigned long arg; member in struct:ion_custom_data
/external/libedit/src/
H A Deln.c123 void *arg = va_arg(ap, void *); local
124 ret = ch_resizefun(el, p, arg);
/external/libnl/lib/
H A Dcache_mngr.c101 static int event_input(struct nl_msg *msg, void *arg) argument
103 struct nl_cache_mngr *mngr = arg;
143 * @arg sk Netlink socket.
144 * @arg protocol Netlink Protocol this manager is used for
145 * @arg flags Flags
196 * @arg mngr Cache manager.
197 * @arg name Name of cache to keep track of
198 * @arg cb Function to be called upon changes.
199 * @arg result Pointer to store added cache.
289 * @arg mng
[all...]
H A Dhandlers.c50 static int nl_valid_handler_verbose(struct nl_msg *msg, void *arg) argument
52 FILE *ofd = arg ? arg : stdout;
61 static int nl_invalid_handler_verbose(struct nl_msg *msg, void *arg) argument
63 FILE *ofd = arg ? arg : stderr;
72 static int nl_overrun_handler_verbose(struct nl_msg *msg, void *arg) argument
74 FILE *ofd = arg ? arg : stderr;
84 struct nlmsgerr *e, void *arg)
83 nl_error_handler_verbose(struct sockaddr_nl *who, struct nlmsgerr *e, void *arg) argument
96 nl_valid_handler_debug(struct nl_msg *msg, void *arg) argument
107 nl_finish_handler_debug(struct nl_msg *msg, void *arg) argument
118 nl_msg_in_handler_debug(struct nl_msg *msg, void *arg) argument
128 nl_msg_out_handler_debug(struct nl_msg *msg, void *arg) argument
138 nl_skipped_handler_debug(struct nl_msg *msg, void *arg) argument
149 nl_ack_handler_debug(struct nl_msg *msg, void *arg) argument
285 nl_cb_set(struct nl_cb *cb, enum nl_cb_type type, enum nl_cb_kind kind, nl_recvmsg_msg_cb_t func, void *arg) argument
314 nl_cb_set_all(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_msg_cb_t func, void *arg) argument
335 nl_cb_err(struct nl_cb *cb, enum nl_cb_kind kind, nl_recvmsg_err_cb_t func, void *arg) argument
[all...]
H A Dnl.c98 * @arg sk Netlink socket.
99 * @arg protocol Netlink protocol to use.
160 * @arg sk Netlink socket.
181 * @arg sk Netlink socket.
182 * @arg buf Data buffer.
183 * @arg size Size of data buffer.
200 * @arg sk Netlink socket.
201 * @arg msg Netlink message to be sent.
202 * @arg hdr Sendmsg() message header.
228 * @arg s
721 ack_wait_handler(struct nl_msg *msg, void *arg) argument
[all...]
/external/libnl/lib/genl/
H A Dctrl.c56 struct genl_info *info, void *arg)
59 struct nl_parser_param *pp = arg;
148 * @arg cache Generic netlink family cache.
149 * @arg id Family identifier.
182 * @arg cache Generic netlink family cache.
183 * @arg name Family name.
214 * @arg sk Netlink socket.
215 * @arg name Name of generic netlink family
55 ctrl_msg_parser(struct nl_cache_ops *ops, struct genl_cmd *cmd, struct genl_info *info, void *arg) argument
/external/libnl/lib/route/
H A Dclass_obj.c132 * @arg class the parent class
133 * @arg cache a qdisc cache including at laest all qdiscs of the
163 * @arg class the parent class
164 * @arg cache a class cache including all classes of the interface
166 * @arg cb callback function
167 * @arg arg argument to be passed to callback function
170 void (*cb)(struct nl_object *, void *), void *arg)
182 nl_cache_foreach_filter(cache, (struct nl_object *) filter, cb, arg);
188 * @arg clas
169 rtnl_class_foreach_child(struct rtnl_class *class, struct nl_cache *cache, void (*cb)(struct nl_object *, void *), void *arg) argument
194 rtnl_class_foreach_cls(struct rtnl_class *class, struct nl_cache *cache, void (*cb)(struct nl_object *, void *), void *arg) argument
[all...]
H A Dqdisc_obj.c73 static void qdisc_dump_details(struct nl_object *arg, struct nl_dump_params *p) argument
75 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) arg;
78 qdisc_dump_line(arg, p);
90 static void qdisc_dump_stats(struct nl_object *arg, struct nl_dump_params *p) argument
92 struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) arg;
95 qdisc_dump_details(arg, p);
128 * @arg qdisc the parent qdisc
129 * @arg cache a class cache including all classes of the interface
131 * @arg cb callback function
132 * @arg ar
134 rtnl_qdisc_foreach_child(struct rtnl_qdisc *qdisc, struct nl_cache *cache, void (*cb)(struct nl_object *, void *), void *arg) argument
160 rtnl_qdisc_foreach_cls(struct rtnl_qdisc *qdisc, struct nl_cache *cache, void (*cb)(struct nl_object *, void *), void *arg) argument
[all...]
/external/libnl/src/lib/
H A Dct.c38 void nl_cli_ct_parse_family(struct nfnl_ct *ct, char *arg) argument
42 if ((family = nl_str2af(arg)) == AF_UNSPEC)
45 arg, nl_geterror(NLE_INVAL));
50 void nl_cli_ct_parse_protocol(struct nfnl_ct *ct, char *arg) argument
54 if ((proto = nl_str2ip_proto(arg)) < 0)
57 arg, nl_geterror(proto));
62 void nl_cli_ct_parse_mark(struct nfnl_ct *ct, char *arg) argument
64 uint32_t mark = nl_cli_parse_u32(arg);
68 void nl_cli_ct_parse_timeout(struct nfnl_ct *ct, char *arg) argument
70 uint32_t timeout = nl_cli_parse_u32(arg);
74 nl_cli_ct_parse_id(struct nfnl_ct *ct, char *arg) argument
80 nl_cli_ct_parse_use(struct nfnl_ct *ct, char *arg) argument
86 nl_cli_ct_parse_src(struct nfnl_ct *ct, int reply, char *arg) argument
95 nl_cli_ct_parse_dst(struct nfnl_ct *ct, int reply, char *arg) argument
104 nl_cli_ct_parse_src_port(struct nfnl_ct *ct, int reply, char *arg) argument
110 nl_cli_ct_parse_dst_port(struct nfnl_ct *ct, int reply, char *arg) argument
116 nl_cli_ct_parse_tcp_state(struct nfnl_ct *ct, char *arg) argument
128 nl_cli_ct_parse_status(struct nfnl_ct *ct, char *arg) argument
[all...]
H A Droute.c47 void nl_cli_route_parse_family(struct rtnl_route *route, char *arg) argument
51 if ((family = nl_str2af(arg)) != AF_UNSPEC)
55 void nl_cli_route_parse_dst(struct rtnl_route *route, char *arg) argument
60 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route));
68 void nl_cli_route_parse_src(struct rtnl_route *route, char *arg) argument
73 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route));
81 void nl_cli_route_parse_pref_src(struct rtnl_route *route, char *arg) argument
86 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route));
114 char *arg, *endptr; local
117 int ret = getsubopt(&subopts, tokens, &arg);
155 char *arg, *endptr; local
197 nl_cli_route_parse_table(struct rtnl_route *route, char *arg) argument
211 nl_cli_route_parse_prio(struct rtnl_route *route, char *arg) argument
222 nl_cli_route_parse_scope(struct rtnl_route *route, char *arg) argument
232 nl_cli_route_parse_protocol(struct rtnl_route *route, char *arg) argument
248 nl_cli_route_parse_type(struct rtnl_route *route, char *arg) argument
260 nl_cli_route_parse_iif(struct rtnl_route *route, char *arg, struct nl_cache *link_cache) argument
[all...]
/external/libnl/src/
H A Dnl-addr-list.c50 static void env_dump(struct nl_object *obj, void *arg) argument
52 struct nl_dump_params *p = arg;
H A Dnl-route-delete.c61 static void delete_cb(struct nl_object *obj, void *arg) argument
/external/libsepol/src/
H A Dinterfaces.c240 void *fn_arg), void *arg)
255 status = fn(iface, arg);
237 sepol_iface_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_iface_t * iface, void *fn_arg), void *arg) argument
H A Dnodes.c348 void *fn_arg), void *arg)
363 status = fn(node, arg);
382 status = fn(node, arg);
345 sepol_node_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_node_t * node, void *fn_arg), void *arg) argument
H A Dports.c279 void *fn_arg), void *arg)
294 status = fn(port, arg);
276 sepol_port_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_port_t * port, void *fn_arg), void *arg) argument
H A Dusers.c348 void *fn_arg), void *arg)
365 status = fn(user, arg);
345 sepol_user_iterate(sepol_handle_t * handle, const sepol_policydb_t * p, int (*fn) (const sepol_user_t * user, void *fn_arg), void *arg) argument
/external/libunwind/src/dwarf/
H A DGfde.c50 unw_word_t base, void *arg)
76 if ((ret = dwarf_readu32 (as, a, &addr, &u32val, arg)) < 0)
88 if ((ret = dwarf_readu32 (as, a, &addr, &cie_id, arg)) < 0)
104 if ((ret = dwarf_readu64 (as, a, &addr, &u64val, arg)) < 0)
108 if ((ret = dwarf_readu64 (as, a, &addr, &cie_id, arg)) < 0)
118 if ((ret = dwarf_readu8 (as, a, &addr, &version, arg)) < 0)
132 if ((ret = dwarf_readu8 (as, a, &addr, &ch, arg)) < 0)
142 if ((ret = dwarf_read_uleb128 (as, a, &addr, &dci->code_align, arg)) < 0
143 || (ret = dwarf_read_sleb128 (as, a, &addr, &dci->data_align, arg)) < 0)
149 if ((ret = dwarf_readu8 (as, a, &addr, &ch, arg)) <
48 parse_cie(unw_addr_space_t as, unw_accessors_t *a, unw_word_t addr, const unw_proc_info_t *pi, struct dwarf_cie_info *dci, unw_word_t base, void *arg) argument
223 dwarf_extract_proc_info_from_fde(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addrp, unw_proc_info_t *pi, int need_unwind_info, unw_word_t base, void *arg) argument
[all...]
/external/libunwind/src/ia64/
H A DGresume.c34 local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg) argument
167 ia64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg) argument
169 return local_resume (as, cursor, arg);
/external/libunwind/src/mi/
H A DGdyn-remote.c41 unw_dyn_op_t *op, void *arg)
45 if ((ret = fetch8 (as, a, addr, &op->tag, arg)) < 0
46 || (ret = fetch8 (as, a, addr, &op->qp, arg)) < 0
47 || (ret = fetch16 (as, a, addr, &op->reg, arg)) < 0
48 || (ret = fetch32 (as, a, addr, &op->when, arg)) < 0
49 || (ret = fetchw (as, a, addr, &op->val, arg)) < 0)
56 unw_word_t *addr, unw_dyn_region_info_t **regionp, void *arg)
68 if ((ret = fetchw (as, a, addr, &next_addr, arg)) < 0
69 || (ret = fetch32 (as, a, addr, (int32_t *) &insn_count, arg)) < 0
70 || (ret = fetch32 (as, a, addr, (int32_t *) &op_count, arg)) <
40 intern_op(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_dyn_op_t *op, void *arg) argument
55 intern_regions(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_dyn_region_info_t **regionp, void *arg) argument
100 intern_array(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_word_t table_len, unw_word_t **table_data, void *arg) argument
154 intern_dyn_info(unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, unw_dyn_info_t *di, void *arg) argument
204 unwi_dyn_remote_find_proc_info(unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, int need_unwind_info, void *arg) argument
289 unwi_dyn_remote_put_unwind_info(unw_addr_space_t as, unw_proc_info_t *pi, void *arg) argument
304 unwi_dyn_validate_cache(unw_addr_space_t as, void *arg) argument
[all...]

Completed in 471 milliseconds

<<11121314151617181920>>