Home
last modified time | relevance | path

Searched refs:con (Results 1 – 25 of 162) sorted by relevance

1234567

/external/oprofile/libpopt/
Dpopt.c41 static void prtcon(const char *msg, poptContext con) in prtcon() argument
45 con, con->os, in prtcon()
46 (con->os->nextCharArg ? con->os->nextCharArg : ""), in prtcon()
47 (con->os->nextArg ? con->os->nextArg : ""), in prtcon()
48 con->os->next, in prtcon()
49 (con->os->argv && con->os->argv[con->os->next] in prtcon()
50 ? con->os->argv[con->os->next] : "")); in prtcon()
54 void poptSetExecPath(poptContext con, const char * path, int allowAbsolute) in poptSetExecPath() argument
56 con->execPath = _free(con->execPath); in poptSetExecPath()
57 con->execPath = xstrdup(path); in poptSetExecPath()
[all …]
Dpopt.h221 typedef void (*poptCallbackType) (poptContext con,
251 void poptResetContext(/*@null@*/poptContext con)
259 int poptGetNextOpt(/*@null@*/poptContext con)
269 const char * poptGetOptArg(/*@null@*/poptContext con)
278 const char * poptGetArg(/*@null@*/poptContext con)
287 const char * poptPeekArg(/*@null@*/poptContext con)
296 const char ** poptGetArgs(/*@null@*/poptContext con)
306 const char * poptBadOption(/*@null@*/poptContext con, int flags)
315 poptContext poptFreeContext( /*@only@*/ /*@null@*/ poptContext con)
325 int poptStuffArgs(poptContext con, /*@keep@*/ const char ** argv)
[all …]
Dpopthelp.c30 static void displayArgs(poptContext con, in displayArgs() argument
38 poptPrintHelp(con, stdout, 0); in displayArgs()
40 poptPrintUsage(con, stdout, 0); in displayArgs()
500 static void singleTableHelp(poptContext con, FILE * fp, in singleTableHelp() argument
510 itemHelp(fp, con->aliases, con->numAliases, left, NULL); in singleTableHelp()
511 itemHelp(fp, con->execs, con->numExecs, left, NULL); in singleTableHelp()
533 singleTableHelp(con, fp, opt->arg, left, sub_transdom); in singleTableHelp()
541 static int showHelpIntro(poptContext con, FILE * fp) in showHelpIntro() argument
549 if (!(con->flags & POPT_CONTEXT_KEEP_FIRST)) { in showHelpIntro()
552 fn = con->optionStack->argv[0]; in showHelpIntro()
[all …]
Dpoptconfig.c14 static void configLine(poptContext con, char * line) in configLine() argument
23 if (con->appName == NULL) in configLine()
25 nameLength = strlen(con->appName); in configLine()
30 if (strncmp(line, con->appName, nameLength)) return; in configLine()
89 (void) poptAddItem(con, item, 0); in configLine()
91 (void) poptAddItem(con, item, 1); in configLine()
96 int poptReadConfigFile(poptContext con, const char * fn) in poptReadConfigFile() argument
139 configLine(con, dst); in poptReadConfigFile()
163 int poptReadDefaultConfig(poptContext con, /*@unused@*/ int useEnv) in poptReadDefaultConfig() argument
168 if (con->appName == NULL) return 0; in poptReadDefaultConfig()
[all …]
/external/libsepol/src/
Dcontext_record.c25 const char *sepol_context_get_user(const sepol_context_t * con) in sepol_context_get_user() argument
28 return con->user; in sepol_context_get_user()
34 sepol_context_t * con, const char *user) in hidden_def()
44 free(con->user); in hidden_def()
45 con->user = tmp_user; in hidden_def()
52 const char *sepol_context_get_role(const sepol_context_t * con) in hidden_def()
55 return con->role; in hidden_def()
61 sepol_context_t * con, const char *role) in hidden_def()
70 free(con->role); in hidden_def()
71 con->role = tmp_role; in hidden_def()
[all …]
Dport_record.c16 sepol_context_t *con; member
216 tmp_port->con = NULL; in hidden_def()
237 if (port->con && in hidden_def()
238 (sepol_context_clone(handle, port->con, &new_port->con) < 0)) in hidden_def()
257 sepol_context_free(port->con); in sepol_port_free()
267 return port->con; in hidden_def()
273 sepol_port_t * port, sepol_context_t * con) in hidden_def()
278 if (sepol_context_clone(handle, con, &newcon) < 0) { in hidden_def()
283 sepol_context_free(port->con); in hidden_def()
284 port->con = newcon; in hidden_def()
/external/libselinux/include/selinux/
Dselinux.h19 extern void freecon(security_context_t con);
22 extern void freeconary(security_context_t * con);
28 extern int getcon(security_context_t * con);
38 extern int setcon(const security_context_t con);
42 extern int getpidcon(pid_t pid, security_context_t * con);
46 extern int getprevcon(security_context_t * con);
51 extern int getexeccon(security_context_t * con);
55 extern int setexeccon(const security_context_t con);
60 extern int getfscreatecon(security_context_t * con);
69 extern int getkeycreatecon(security_context_t * con);
[all …]
/external/oprofile/
Dpopt.h221 typedef void (*poptCallbackType) (poptContext con,
251 void poptResetContext(/*@null@*/poptContext con)
259 int poptGetNextOpt(/*@null@*/poptContext con)
269 const char * poptGetOptArg(/*@null@*/poptContext con)
278 const char * poptGetArg(/*@null@*/poptContext con)
287 const char * poptPeekArg(/*@null@*/poptContext con)
296 const char ** poptGetArgs(/*@null@*/poptContext con)
306 const char * poptBadOption(/*@null@*/poptContext con, int flags)
315 poptContext poptFreeContext( /*@only@*/ /*@null@*/ poptContext con)
325 int poptStuffArgs(poptContext con, /*@keep@*/ const char ** argv)
[all …]
/external/libsepol/include/sepol/
Dcontext_record.h13 extern const char *sepol_context_get_user(const sepol_context_t * con);
16 sepol_context_t * con, const char *user);
19 extern const char *sepol_context_get_role(const sepol_context_t * con);
22 sepol_context_t * con, const char *role);
25 extern const char *sepol_context_get_type(const sepol_context_t * con);
28 sepol_context_t * con, const char *type);
31 extern const char *sepol_context_get_mls(const sepol_context_t * con);
34 sepol_context_t * con, const char *mls_range);
41 const sepol_context_t * con,
44 extern void sepol_context_free(sepol_context_t * con);
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_common.c34 static void dispatch_data(DBusConnection *con) in dispatch_data() argument
36 while (dbus_connection_get_dispatch_status(con) == in dispatch_data()
38 dbus_connection_dispatch(con); in dispatch_data()
54 DBusConnection *con = eloop_ctx; in dispatch_initial_dbus_messages() local
55 dispatch_data(con); in dispatch_initial_dbus_messages()
62 dbus_connection_ref(priv->con); in process_watch()
74 dispatch_data(priv->con); in process_watch()
78 dbus_connection_unref(priv->con); in process_watch()
201 if (sig != SIGPOLL || !priv->con) in process_wakeup_main()
204 if (dbus_connection_get_dispatch_status(priv->con) != in process_wakeup_main()
[all …]
Ddbus_new_helpers.c478 obj_desc->connection = iface->con; in wpa_dbus_ctrl_iface_init()
482 if (!dbus_connection_register_object_path(iface->con, in wpa_dbus_ctrl_iface_init()
492 switch (dbus_bus_request_name(iface->con, dbus_service, in wpa_dbus_ctrl_iface_init()
534 DBusConnection *con; in wpa_dbus_register_object_per_iface() local
546 con = ctrl_iface->con; in wpa_dbus_register_object_per_iface()
547 obj_desc->connection = con; in wpa_dbus_register_object_per_iface()
552 if (!dbus_connection_try_register_object_path(con, path, &vtable, in wpa_dbus_register_object_per_iface()
586 DBusConnection *con = ctrl_iface->con; in wpa_dbus_unregister_object_per_iface() local
589 dbus_connection_get_object_path_data(con, path, (void **) &obj_desc); in wpa_dbus_unregister_object_per_iface()
596 eloop_cancel_timeout(flush_object_timeout_handler, con, obj_desc); in wpa_dbus_unregister_object_per_iface()
[all …]
/external/javassist/src/main/javassist/
DURLClassPath.java78 URLConnection con = openClassfile0(classname); in openClassfile() local
79 if (con != null) in openClassfile()
80 return con.getInputStream(); in openClassfile()
103 URLConnection con = openClassfile0(classname); in find() local
104 InputStream is = con.getInputStream(); in find()
107 return con.getURL(); in find()
134 URLConnection con = fetchClass0(host, port, in fetchClass() local
136 int size = con.getContentLength(); in fetchClass()
137 InputStream s = con.getInputStream(); in fetchClass()
174 URLConnection con = url.openConnection(); in fetchClass0() local
[all …]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DHttpsURLConnectionTest.java40 HttpsURLConnection con = new MyHttpsURLConnection(new URL( in testGetPeerPrincipal() local
43 con.getPeerPrincipal(); in testGetPeerPrincipal()
50 HttpsURLConnection con = new MyHttpsURLConnection(null); in testGetLocalPrincipal() local
51 if (con.getLocalPrincipal() != null) { in testGetLocalPrincipal()
65 HttpsURLConnection con = new MyHttpsURLConnection(null); in testSetHostnameVerifier() local
67 con.setHostnameVerifier(null); in testSetHostnameVerifier()
81 HttpsURLConnection con = new MyHttpsURLConnection(null); in testGetSSLSocketFactory() local
82 SSLSocketFactory sf = con.getSSLSocketFactory(); in testGetSSLSocketFactory()
97 HttpsURLConnection con = new MyHttpsURLConnection(null); in testSetSSLSocketFactory() local
99 con.setSSLSocketFactory(null); in testSetSSLSocketFactory()
/external/smack/src/org/jivesoftware/smackx/pubsub/
DPubSubManager.java46 private Connection con; field in PubSubManager
58 con = connection; in PubSubManager()
71 con = connection; in PubSubManager()
87 LeafNode newNode = new LeafNode(con, elem.getNode()); in createNode()
136 sendPubsubPacket(con, to, Type.SET, request); in createNode()
137 Node newNode = isLeafNode ? new LeafNode(con, name) : new CollectionNode(con, name); in createNode()
163 DiscoverInfo infoReply = (DiscoverInfo)SyncPacketSend.getReply(con, info); in getNode()
166 node = new LeafNode(con, id); in getNode()
168 node = new CollectionNode(con, id); in getNode()
197 DiscoverItems nodeItems = (DiscoverItems)SyncPacketSend.getReply(con, items); in discoverNodes()
[all …]
DLeafNode.java56 return (DiscoverItems)SyncPacketSend.getReply(con, items); in discoverItems()
71 PubSub result = (PubSub)SyncPacketSend.getReply(con, request); in getItems()
92 PubSub result = (PubSub)SyncPacketSend.getReply(con, request); in getItems()
121 PubSub result = (PubSub)SyncPacketSend.getReply(con, request); in getItems()
140 PubSub result = (PubSub)SyncPacketSend.getReply(con, request); in getItems()
162 PubSub result = (PubSub)SyncPacketSend.getReply(con, request); in getItems()
183 con.sendPacket(packet); in publish()
225 con.sendPacket(packet); in publish()
247 SyncPacketSend.getReply(con, packet); in send()
299 SyncPacketSend.getReply(con, packet); in send()
[all …]
/external/chromium_org/third_party/openssl/openssl/apps/
Ds_server.c1959 SSL *con=NULL; in sv_body() local
1988 if (con == NULL) { in sv_body()
1989 con=SSL_new(ctx); in sv_body()
1993 SSL_set_tlsext_debug_callback(con, tlsext_cb); in sv_body()
1994 SSL_set_tlsext_debug_arg(con, bio_s_out); in sv_body()
2006 SSL_set0_kssl_ctx(con, kctx); in sv_body()
2012 SSL_set_session_id_context(con, context, in sv_body()
2015 SSL_clear(con); in sv_body()
2018 SSL_set_tlsext_opaque_prf_input(con, "Test server", 11); in sv_body()
2022 if (SSL_version(con) == DTLS1_VERSION) in sv_body()
[all …]
Ds_client.c213 static void print_stuff(BIO *berr,SSL *con,int full);
562 SSL *con=NULL; in MAIN() local
1225 con=SSL_new(ctx); in MAIN()
1246 SSL_set_session(con, sess); in MAIN()
1252 if (!SSL_set_tlsext_host_name(con,servername)) in MAIN()
1261 if (con && (kctx = kssl_ctx_new()) != NULL) in MAIN()
1263 SSL_set0_kssl_ctx(con, kctx); in MAIN()
1270 SSL_set_tlsext_opaque_prf_input(con, "Test client", 11); in MAIN()
1296 if (c_Pause & 0x01) SSL_set_debug(con, 1); in MAIN()
1298 if ( SSL_version(con) == DTLS1_VERSION) in MAIN()
[all …]
/external/openssl/apps/
Ds_server.c1959 SSL *con=NULL; in sv_body() local
1988 if (con == NULL) { in sv_body()
1989 con=SSL_new(ctx); in sv_body()
1993 SSL_set_tlsext_debug_callback(con, tlsext_cb); in sv_body()
1994 SSL_set_tlsext_debug_arg(con, bio_s_out); in sv_body()
2006 SSL_set0_kssl_ctx(con, kctx); in sv_body()
2012 SSL_set_session_id_context(con, context, in sv_body()
2015 SSL_clear(con); in sv_body()
2018 SSL_set_tlsext_opaque_prf_input(con, "Test server", 11); in sv_body()
2022 if (SSL_version(con) == DTLS1_VERSION) in sv_body()
[all …]
Ds_client.c213 static void print_stuff(BIO *berr,SSL *con,int full);
563 SSL *con=NULL; in MAIN() local
1246 con=SSL_new(ctx); in MAIN()
1267 SSL_set_session(con, sess); in MAIN()
1273 if (!SSL_set_tlsext_host_name(con,servername)) in MAIN()
1282 if (con && (kctx = kssl_ctx_new()) != NULL) in MAIN()
1284 SSL_set0_kssl_ctx(con, kctx); in MAIN()
1291 SSL_set_tlsext_opaque_prf_input(con, "Test client", 11); in MAIN()
1317 if (c_Pause & 0x01) SSL_set_debug(con, 1); in MAIN()
1319 if ( SSL_version(con) == DTLS1_VERSION) in MAIN()
[all …]
/external/libselinux/src/
Denabled.c17 security_context_t con; in is_selinux_enabled() local
28 if (getcon(&con) == 0) { in is_selinux_enabled()
29 if (!strcmp(con, "kernel")) in is_selinux_enabled()
31 freecon(con); in is_selinux_enabled()
54 if (getcon(&con) == 0) { in is_selinux_enabled()
55 if (!strcmp(con, "kernel")) in is_selinux_enabled()
57 freecon(con); in is_selinux_enabled()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c55 typedef void (*blend_test_ptr_t)(const void *src, const void *dst, const void *con, void *res);
191 LLVMValueRef con; in add_blend_test() local
196 con = LLVMBuildLoad(builder, const_ptr, "const"); in add_blend_test()
198 res = lp_build_blend_aos(gallivm, blend, &format, type, rt, src, dst, NULL, con, swizzle); in add_blend_test()
208 LLVMValueRef con[4]; in add_blend_test() local
216 con[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, const_ptr, &index, 1, ""), ""); in add_blend_test()
218 lp_build_name(con[i], "con.%c", "rgba"[i]); in add_blend_test()
222 lp_build_blend_soa(gallivm, blend, type, rt, src, dst, con, res); in add_blend_test()
243 const double *con, in compute_blend_ref_term() argument
281 term[0] = factor[0] * con[0]; /* R */ in compute_blend_ref_term()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c55 typedef void (*blend_test_ptr_t)(const void *src, const void *dst, const void *con, void *res);
191 LLVMValueRef con; in add_blend_test() local
196 con = LLVMBuildLoad(builder, const_ptr, "const"); in add_blend_test()
198 res = lp_build_blend_aos(gallivm, blend, &format, type, rt, src, dst, NULL, con, swizzle); in add_blend_test()
208 LLVMValueRef con[4]; in add_blend_test() local
216 con[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, const_ptr, &index, 1, ""), ""); in add_blend_test()
218 lp_build_name(con[i], "con.%c", "rgba"[i]); in add_blend_test()
222 lp_build_blend_soa(gallivm, blend, type, rt, src, dst, con, res); in add_blend_test()
243 const double *con, in compute_blend_ref_term() argument
281 term[0] = factor[0] * con[0]; /* R */ in compute_blend_ref_term()
[all …]
/external/smack/src/org/jivesoftware/smackx/search/
DUserSearchManager.java52 private Connection con; field in UserSearchManager
60 public UserSearchManager(Connection con) { in UserSearchManager() argument
61 this.con = con; in UserSearchManager()
73 return userSearch.getSearchForm(con, searchService); in getSearchForm()
86 return userSearch.sendSearchForm(con, searchForm, searchService); in getSearchResults()
98 ServiceDiscoveryManager discoManager = ServiceDiscoveryManager.getInstanceFor(con); in getSearchServices()
99 DiscoverItems items = discoManager.discoverItems(con.getServiceName()); in getSearchServices()
/external/smack/src/org/jivesoftware/smackx/
DRosterExchangeManager.java51 private Connection con; field in RosterExchangeManager
61 public RosterExchangeManager(Connection con) { in RosterExchangeManager() argument
62 this.con = con; in RosterExchangeManager()
107 con.sendPacket(msg); in send()
125 con.sendPacket(msg); in send()
146 con.sendPacket(msg); in send()
175 con.addPacketListener(packetListener, packetFilter); in init()
179 if (con != null) in destroy()
180 con.removePacketListener(packetListener); in destroy()
/external/valgrind/main/VEX/priv/
Dir_opt.c369 if (ex->Iex.Const.con->tag == Ico_F64i) { in flatten_Expr()
372 IRExpr_Const(ex->Iex.Const.con))); in flatten_Expr()
1040 IRConst *c1 = e1->Iex.Const.con; in sameIRExprs_aux2()
1041 IRConst *c2 = e2->Iex.Const.con; in sameIRExprs_aux2()
1116 IRConst *c1 = e1->Iex.Const.con; in debug_only_hack_sameIRExprs_might_assert()
1117 IRConst *c2 = e2->Iex.Const.con; in debug_only_hack_sameIRExprs_might_assert()
1131 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32()
1132 && e->Iex.Const.con->Ico.U32 == 0); in isZeroU32()
1139 && e->Iex.Const.con->tag == Ico_U32 in isOnesU32()
1140 && e->Iex.Const.con->Ico.U32 == 0xFFFFFFFF ); in isOnesU32()
[all …]

1234567