Home
last modified time | relevance | path

Searched refs:proto_str (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/src/
Dports.c177 const char *proto_str; in sepol_port_exists() local
179 proto_str = sepol_port_get_proto_str(proto); in sepol_port_exists()
201 low, high, proto_str); in sepol_port_exists()
215 const char *proto_str; in sepol_port_query() local
217 proto_str = sepol_port_get_proto_str(proto); in sepol_port_query()
240 low, high, proto_str); in sepol_port_query()
255 const char *proto_str; in sepol_port_modify() local
258 proto_str = sepol_port_get_proto_str(proto); in sepol_port_modify()
274 low, high, proto_str); in sepol_port_modify()
/external/selinux/libsemanage/src/
Dports_file.c32 const char *proto_str = semanage_port_get_proto_str(proto); in port_print() local
35 if (fprintf(str, "portcon %s ", proto_str) < 0) in port_print()
56 low, high, proto_str); in port_print()
Dports_local.c96 const char *proto_str = semanage_port_get_proto_str(proto); in hidden_def() local
118 low, high, proto_str, low2, high2, proto_str2); in hidden_def()
Dnodes_file.c32 const char *proto_str = semanage_node_get_proto_str(proto); in node_print() local
45 (str, "nodecon %s %s %s %s\n", proto_str, addr, mask, con_str) < 0) in node_print()
Dpywrap-test.py207 proto_str = semanage.semanage_port_get_proto_str(proto)
214 print "Port: ", range_str, " ", proto_str, " Context: ", con_str
327 proto_str = semanage.semanage_node_get_proto_str(proto)
333 print "Network Node: ", addr, "/", mask, " (", proto_str, ")", "Context: ", con_str
/external/selinux/python/semanage/
Dseobject.py1195 proto_str = semanage_port_get_proto_str(proto)
1200 (k, proto_d, low, high) = self.__genkey(port_str, proto_str)
1212 …log_change("resrc=port op=delete lport=%s proto=%s" % (port_str, socket.getprotobyname(proto_str)))
1257 proto_str = semanage_port_get_proto_str(proto)
1260 ddict[(low, high, proto_str)] = (ctype, level)
1276 proto_str = semanage_port_get_proto_str(proto)
1279 if (ctype, proto_str) not in ddict.keys():
1280 ddict[(ctype, proto_str)] = []
1282 ddict[(ctype, proto_str)].append("%d" % low)
1284 ddict[(ctype, proto_str)].append("%d-%d" % (low, high))
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c1941 const char *proto_str; in PyCSimpleType_new() local
1962 proto_str = PyString_AS_STRING(proto); in PyCSimpleType_new()
1975 if (!strchr(SIMPLE_TYPE_CHARS, *proto_str)) { in PyCSimpleType_new()
2002 stgdict->format = _ctypes_alloc_format_string(">", proto_str); in PyCSimpleType_new()
2004 stgdict->format = _ctypes_alloc_format_string("<", proto_str); in PyCSimpleType_new()