/external/selinux/libsepol/src/ |
D | ports.c | 184 const char *proto_str; in sepol_port_exists() local 186 proto_str = sepol_port_get_proto_str(proto); in sepol_port_exists() 208 low, high, proto_str); in sepol_port_exists() 222 const char *proto_str; in sepol_port_query() local 224 proto_str = sepol_port_get_proto_str(proto); in sepol_port_query() 247 low, high, proto_str); in sepol_port_query() 262 const char *proto_str; in sepol_port_modify() local 265 proto_str = sepol_port_get_proto_str(proto); in sepol_port_modify() 281 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 | 237 proto_str = semanage.semanage_port_get_proto_str(proto) 245 print("Port: %s %s Context: %s" % (range_str, proto_str, con_str)) 368 proto_str = semanage.semanage_node_get_proto_str(proto) 375 print("Network Node: %s/%s (%s) Context: %s" % (addr, mask, proto_str, con_str))
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | reuseport_addr_any.c | 240 static void test_proto(int proto, const char *proto_str) in test_proto() argument 256 fprintf(stderr, "%s IPv4 ... ", proto_str); in test_proto() 259 fprintf(stderr, "%s IPv6 ... ", proto_str); in test_proto() 262 fprintf(stderr, "%s IPv4 mapped to IPv6 ... ", proto_str); in test_proto()
|
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/ |
D | object_detection_stage.cc | 170 std::string proto_str((std::istreambuf_iterator<char>(t)), in PopulateGroundTruth() 173 ground_truth_proto.ParseFromString(proto_str); in PopulateGroundTruth()
|
/external/icing/icing/file/ |
D | file-backed-proto-log.h | 709 std::string proto_str; in WriteProto() local 710 google::protobuf::io::StringOutputStream proto_stream(&proto_str); in WriteProto() 727 final_size = proto_str.size(); in WriteProto() 741 final_size = proto_str.size(); in WriteProto() 755 if (!filesystem_->Write(fd_.get(), proto_str.data(), proto_str.size())) { in WriteProto()
|
D | portable-file-backed-proto-log.h | 880 std::string proto_str; in WriteProto() local 881 google::protobuf::io::StringOutputStream proto_stream(&proto_str); in WriteProto() 898 final_size = proto_str.size(); in WriteProto() 912 final_size = proto_str.size(); in WriteProto() 924 if (!filesystem_->Write(fd_.get(), proto_str.data(), proto_str.size())) { in WriteProto()
|
/external/selinux/python/semanage/ |
D | seobject.py | 1217 proto_str = semanage_port_get_proto_str(proto) 1222 (k, proto_d, low, high) = self.__genkey(port_str, proto_str) 1234 …log_change("resrc=port op=delete lport=%s proto=%s" % (port_str, socket.getprotobyname(proto_str))) 1279 proto_str = semanage_port_get_proto_str(proto) 1282 ddict[(low, high, proto_str)] = (ctype, level) 1298 proto_str = semanage_port_get_proto_str(proto) 1301 if (ctype, proto_str) not in ddict.keys(): 1302 ddict[(ctype, proto_str)] = [] 1304 ddict[(ctype, proto_str)].append("%d" % low) 1306 ddict[(ctype, proto_str)].append("%d-%d" % (low, high))
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 2075 const char *proto_str; in PyCSimpleType_new() local 2098 proto_str = PyUnicode_AsUTF8AndSize(proto, &proto_len); in PyCSimpleType_new() 2099 if (!proto_str) in PyCSimpleType_new() 2112 if (!strchr(SIMPLE_TYPE_CHARS, *proto_str)) { in PyCSimpleType_new() 2119 fmt = _ctypes_get_fielddesc(proto_str); in PyCSimpleType_new() 2122 "_type_ '%s' not supported", proto_str); in PyCSimpleType_new() 2138 stgdict->format = _ctypes_alloc_format_string_for_type(proto_str[0], 1); in PyCSimpleType_new() 2140 stgdict->format = _ctypes_alloc_format_string_for_type(proto_str[0], 0); in PyCSimpleType_new() 2172 switch (*proto_str) { in PyCSimpleType_new()
|
/external/pigweed/pw_rpc/py/pw_rpc/ |
D | descriptors.py | 224 proto_str = repr(proto).strip() or "''"
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 2021 const char *proto_str; in PyCSimpleType_new() local 2042 proto_str = PyString_AS_STRING(proto); in PyCSimpleType_new() 2055 if (!strchr(SIMPLE_TYPE_CHARS, *proto_str)) { in PyCSimpleType_new() 2082 stgdict->format = _ctypes_alloc_format_string_for_type(proto_str[0], 1); in PyCSimpleType_new() 2084 stgdict->format = _ctypes_alloc_format_string_for_type(proto_str[0], 0); in PyCSimpleType_new()
|