Searched defs:con (Results 1 - 25 of 58) sorted by relevance

123

/external/libselinux/src/
H A Dfreecon.c6 void freecon(security_context_t con) argument
8 free(con);
H A Dcheck_context.c12 int security_check_context(const security_context_t con) argument
27 ret = write(fd, con, strlen(con) + 1);
H A Dcanonicalize_context.c12 int security_canonicalize_context(const security_context_t con, argument
36 strncpy(buf, con, size);
47 strncpy(buf, con, size);
H A Dget_initial_context.c14 int security_get_initial_context(const char * name, security_context_t * con) argument
43 *con = strdup(buf);
44 if (!(*con)) {
H A Denabled.c18 security_context_t con; local
29 if (getcon(&con) == 0) {
30 if (!strcmp(con, "kernel"))
32 freecon(con);
55 if (getcon(&con) == 0) {
56 if (!strcmp(con, "kernel"))
58 freecon(con);
H A Dlabel.c109 int selabel_lookup(struct selabel_handle *rec, security_context_t *con, argument
118 *con = strdup(lr->ctx_raw);
119 return *con ? 0 : -1;
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_common_i.h17 DBusConnection *con; member in struct:wpas_dbus_priv
H A Ddbus_common.c33 static void dispatch_data(DBusConnection *con) argument
35 while (dbus_connection_get_dispatch_status(con) ==
37 dbus_connection_dispatch(con);
53 DBusConnection *con = eloop_ctx; local
54 dispatch_data(con);
61 dbus_connection_ref(priv->con);
73 dispatch_data(priv->con);
77 dbus_connection_unref(priv->con);
200 if (sig != SIGPOLL || !priv->con)
203 if (dbus_connection_get_dispatch_status(priv->con) !
[all...]
H A Ddbus_new_introspect.c176 static void add_child_nodes(struct wpabuf *xml, DBusConnection *con, argument
183 dbus_connection_list_registered(con, path, &children);
H A Ddbus_old.c386 dbus_connection_send(iface->con, _signal, NULL);
453 dbus_connection_send(iface->con, _signal, NULL);
489 dbus_connection_send(iface->con, _signal, NULL);
533 dbus_connection_send(iface->con, _signal, NULL);
591 dbus_connection_send(iface->con, _signal, NULL);
616 if (!dbus_connection_register_object_path(iface->con,
626 switch (dbus_bus_request_name(iface->con, WPAS_DBUS_SERVICE,
664 DBusConnection * con; local
674 con = ctrl_iface->con;
707 DBusConnection *con; local
[all...]
H A Ddbus_new_helpers.c478 obj_desc->connection = iface->con;
482 if (!dbus_connection_register_object_path(iface->con,
492 switch (dbus_bus_request_name(iface->con, dbus_service,
534 DBusConnection *con; local
546 con = ctrl_iface->con;
547 obj_desc->connection = con;
552 if (!dbus_connection_try_register_object_path(con, path, &vtable,
586 DBusConnection *con = ctrl_iface->con; local
658 do_send_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument
708 do_send_deprecated_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument
744 send_prop_changed_signal( DBusConnection *con, const char *path, const char *interface, const struct wpa_dbus_object_desc *obj_dsc) argument
769 DBusConnection *con = eloop_ctx; local
778 recursive_flush_changed_properties(DBusConnection *con, const char *path) argument
808 wpa_dbus_flush_all_changed_properties(DBusConnection *con) argument
831 wpa_dbus_flush_object_changed_properties(DBusConnection *con, const char *path) argument
[all...]
/external/libsepol/src/
H A Dcontext_record.c25 const char *sepol_context_get_user(const sepol_context_t * con) argument
28 return con->user;
34 sepol_context_t * con, const char *user)
44 free(con->user);
45 con->user = tmp_user;
52 const char *sepol_context_get_role(const sepol_context_t * con)
55 return con->role;
61 sepol_context_t * con, const char *role)
70 free(con->role);
71 con
133 sepol_context_t *con = local
[all...]
H A Dport_record.c16 sepol_context_t *con; member in struct:sepol_port
216 tmp_port->con = NULL;
237 if (port->con &&
238 (sepol_context_clone(handle, port->con, &new_port->con) < 0))
257 sepol_context_free(port->con);
267 return port->con;
273 sepol_port_t * port, sepol_context_t * con)
278 if (sepol_context_clone(handle, con, &newcon) < 0) {
283 sepol_context_free(port->con);
[all...]
H A Dcontext.c333 context_struct_t *con = NULL; local
334 int ret = context_from_record(handle, &policydb->p, &con, context);
335 context_destroy(con);
336 free(con);
H A Dnode_record.c25 sepol_context_t *con; member in struct:sepol_node
589 tmp_node->con = NULL;
619 if (node->con &&
620 (sepol_context_clone(handle, node->con, &new_node->con) < 0))
642 sepol_context_free(node->con);
654 return node->con;
660 sepol_node_t * node, sepol_context_t * con)
665 if (sepol_context_clone(handle, con, &newcon) < 0) {
670 sepol_context_free(node->con);
[all...]
H A Dnodes.c88 context_struct_t *con = &node->context[0]; local
129 if (context_to_record(handle, policydb, con, &tmp_con) < 0)
H A Dports.c108 context_struct_t *con = &port->context[0]; local
124 if (context_to_record(handle, policydb, con, &tmp_con) < 0)
H A Dmls.c695 context_struct_t *con = malloc(sizeof(context_struct_t)); local
696 if (!con) {
701 context_init(con);
703 ret = mls_from_string(handle, &policydb->p, mls, con);
704 context_destroy(con);
705 free(con);
/external/oprofile/libpopt/
H A Dpoptconfig.c14 static void configLine(poptContext con, char * line) argument
15 /*@modifies con @*/
23 if (con->appName == NULL)
25 nameLength = strlen(con->appName);
30 if (strncmp(line, con->appName, nameLength)) return;
89 (void) poptAddItem(con, item, 0);
91 (void) poptAddItem(con, item, 1);
96 int poptReadConfigFile(poptContext con, const char * fn) argument
139 configLine(con, dst);
163 int poptReadDefaultConfig(poptContext con, /* argument
[all...]
H A Dpopthelp.c24 * @param con context
30 static void displayArgs(poptContext con, argument
38 poptPrintHelp(con, stdout, 0);
40 poptPrintUsage(con, stdout, 0);
494 * @param con context
500 static void singleTableHelp(poptContext con, FILE * fp, argument
510 itemHelp(fp, con->aliases, con->numAliases, left, NULL);
511 itemHelp(fp, con->execs, con
541 showHelpIntro(poptContext con, FILE * fp) argument
564 poptPrintHelp(poptContext con, FILE * fp, int flags) argument
705 singleTableUsage(poptContext con, FILE * fp, size_t cursor, const struct poptOption * opt, const char * translation_domain, poptDone done) argument
785 poptPrintUsage(poptContext con, FILE * fp, int flags) argument
815 poptSetOtherOptionHelp(poptContext con, const char * text) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
H A DSQL_Results.java39 SQL_Results(Connection con) throws SQLException { argument
40 super(con);
/external/oprofile/libopt++/
H A Dpopt_options.cpp93 poptContext con = op_poptGetContext(NULL, argc, argv, &options[0], 0); local
99 while ((file = poptGetArg(con)) != 0)
105 return con;
114 poptContext con = local
117 poptFreeContext(con);
/external/chromium/android/autofill/
H A Durl_fetcher_proxy.h100 scoped_refptr<net::URLRequestContextGetter> con = request_context(); local
101 CHECK(con.get()) << "No URLRequestContextGetter!";
102 scoped_refptr<base::MessageLoopProxy> mlp = con->GetIOMessageLoopProxy();
/external/openssl/ssl/
H A Dbio_ssl.c542 BIO *ret=NULL,*con=NULL,*ssl=NULL; local
544 if ((con=BIO_new(BIO_s_connect())) == NULL)
548 if ((ret=BIO_push(ssl,con)) == NULL)
552 if (con != NULL) BIO_free(con);
/external/quake/quake/src/QW/client/
H A Dconsole.c27 console_t *con; // point to either con_main or con_chat variable
155 void Con_Resize (console_t *con) argument
170 Q_memset (con->text, ' ', CON_TEXTSIZE);
188 Q_memcpy (tbuf, con->text, CON_TEXTSIZE);
189 Q_memset (con->text, ' ', CON_TEXTSIZE);
195 con->text[(con_totallines - 1 - i) * con_linewidth + j] =
196 tbuf[((con->current - i + oldtotallines) %
204 con->current = con_totallines - 1;
205 con->display = con
[all...]

Completed in 290 milliseconds

123