Searched refs:proto_str (Results 1 – 7 of 7) sorted by relevance
/external/selinux/libsepol/src/ |
D | ports.c | 177 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/ |
D | ports_file.c | 32 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()
|
D | ports_local.c | 96 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()
|
D | nodes_file.c | 32 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()
|
D | pywrap-test.py | 207 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/ |
D | seobject.py | 1195 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.c | 1941 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()
|