Home
last modified time | relevance | path

Searched refs:cap_str (Results 1 – 25 of 29) sorted by relevance

12

/dports/net/ladvd/ladvd-1.1.2/src/proto/
H A Dfdp.c38 void *fdp_start, *cap_str; in fdp_packet() local
105 cap_str = "Router"; in fdp_packet()
107 cap_str = "Switch"; in fdp_packet()
109 cap_str = "Bridge"; in fdp_packet()
111 cap_str = "Host"; in fdp_packet()
115 PUSH_BYTES(cap_str, strlen(cap_str)) in fdp_packet()
233 char *cap_str = NULL; in fdp_decode() local
279 if (!GRAB_STRING(cap_str, tlv_length)) { in fdp_decode()
283 if (strcmp(cap_str, "Router") == 0) in fdp_decode()
289 else if (strcmp(cap_str, "Host") == 0) in fdp_decode()
[all …]
H A Dtlv.c33 const char *cap_str = CAP_STRING; in tlv_value_str() local
55 str[j++] = cap_str[i]; in tlv_value_str()
108 const char *cap_str = CAP_STRING; in tlv_str_cap() local
113 str[j++] = cap_str[i]; in tlv_str_cap()
/dports/mail/dovecot/dovecot-2.3.17/src/imap-login/
H A Dimap-login-client.c94 string_t *cap_str = t_str_new(256); in get_capability() local
98 str_append(cap_str, CAPABILITY_BANNER_STRING); in get_capability()
101 str_append(cap_str, imap_client->set->imap_capability); in get_capability()
103 str_append(cap_str, CAPABILITY_BANNER_STRING); in get_capability()
104 str_append_c(cap_str, ' '); in get_capability()
110 str_append(cap_str, " LITERAL-"); in get_capability()
112 str_append(cap_str, " LITERAL+"); in get_capability()
116 str_append(cap_str, " STARTTLS"); in get_capability()
118 str_append(cap_str, " LOGINDISABLED"); in get_capability()
120 client_authenticate_get_capabilities(client, cap_str); in get_capability()
[all …]
/dports/devel/libvirt/libvirt-7.10.0/tools/
H A Dvirsh-completer-nodedev.c93 const char *cap_str = NULL; in virshNodeDeviceCapabilityNameCompleter() local
98 if (vshCommandOptStringQuiet(ctl, cmd, "cap", &cap_str) < 0) in virshNodeDeviceCapabilityNameCompleter()
106 return virshCommaStringListComplete(cap_str, (const char **)tmp); in virshNodeDeviceCapabilityNameCompleter()
H A Dvirsh-nodedev.c390 const char *cap_str = NULL; in cmdNodeListDevices() local
402 ignore_value(vshCommandOptStringQuiet(ctl, cmd, "cap", &cap_str)); in cmdNodeListDevices()
404 if (cap_str) { in cmdNodeListDevices()
405 if ((ncaps = vshStringToArray(cap_str, &caps)) < 0) in cmdNodeListDevices()
414 if (tree && (cap_str || inactive)) { in cmdNodeListDevices()
/dports/comms/nanovna-saver/nanovna-saver-0.3.8/NanoVNASaver/Marker/
H A DDelta.py61 cap_str = format_capacitance(
80 x_str = cap_str
116 self.label['serc'].setText(cap_str)
H A DWidget.py304 cap_str = format_capacitance(RFTools.impedance_to_capacitance(imp, s11.freq))
312 x_str = cap_str
339 self.label['serc'].setText(cap_str)
/dports/net-mgmt/openbmp/openbmp-0.14.0/Server/src/bgp/
H A DparseBGP.cpp207 string cap_str; in handleUpEvent() local
210 cap_str.append(", "); in handleUpEvent()
216 cap_str.append((*it)); in handleUpEvent()
219 strncpy(up_event->sent_cap, cap_str.c_str(), sizeof(up_event->sent_cap)); in handleUpEvent()
252 string cap_str; in handleUpEvent() local
255 cap_str.append(", "); in handleUpEvent()
261 cap_str.append((*it)); in handleUpEvent()
264 strncpy(up_event->recv_cap, cap_str.c_str(), sizeof(up_event->recv_cap)); in handleUpEvent()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/usb/typec/
H A Dstusb160x.c536 const char *cap_str; in stusb160x_get_fw_caps() local
545 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in stusb160x_get_fw_caps()
547 ret = typec_find_port_power_role(cap_str); in stusb160x_get_fw_caps()
565 ret = fwnode_property_read_string(fwnode, "typec-power-opmode", &cap_str); in stusb160x_get_fw_caps()
567 ret = typec_find_pwr_opmode(cap_str); in stusb160x_get_fw_caps()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/usb/typec/
H A Dstusb160x.c536 const char *cap_str; in stusb160x_get_fw_caps() local
545 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in stusb160x_get_fw_caps()
547 ret = typec_find_port_power_role(cap_str); in stusb160x_get_fw_caps()
565 ret = fwnode_property_read_string(fwnode, "typec-power-opmode", &cap_str); in stusb160x_get_fw_caps()
567 ret = typec_find_pwr_opmode(cap_str); in stusb160x_get_fw_caps()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/usb/typec/
H A Dstusb160x.c536 const char *cap_str; in stusb160x_get_fw_caps() local
545 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in stusb160x_get_fw_caps()
547 ret = typec_find_port_power_role(cap_str); in stusb160x_get_fw_caps()
565 ret = fwnode_property_read_string(fwnode, "typec-power-opmode", &cap_str); in stusb160x_get_fw_caps()
567 ret = typec_find_pwr_opmode(cap_str); in stusb160x_get_fw_caps()
/dports/graphics/box/box-0.4.0/libs/g/
H A Di_style.c174 const char *cap_str = (char *) box_string->ptr; in style_border_cap_string() local
178 int index = g_string_find_in_list(cap_styles, cap_str); in style_border_cap_string()
/dports/net-im/climm/climm-0.7.1/src/
H A Dpacket.c46 #define cap_str "\xbc\xd2\x00\x04\xac\x96\xdd\x96" macro
72 …{ CAP_STR_2001, 16, "\xa0\xe9\x3f\x37" cap_mstr cap_str, "CAP_STR_2001", NULL }, /* PSIG_INF…
73 …{ CAP_STR_2002, 16, "\x10\xcf\x40\xd1" cap_mstr cap_str, "CAP_STR_2002", NULL }, /* PSIG_STA…
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/mmc/core/
H A Dblock.c2281 char cap_str[10]; in mmc_blk_alloc_req() local
2387 cap_str, sizeof(cap_str)); in mmc_blk_alloc_req()
2390 cap_str, md->read_only ? "(ro)" : ""); in mmc_blk_alloc_req()
2538 char cap_str[10]; in mmc_blk_alloc_rpmb_part() local
2577 cap_str, sizeof(cap_str)); in mmc_blk_alloc_rpmb_part()
2580 rpmb_name, mmc_card_id(card), mmc_card_name(card), cap_str, in mmc_blk_alloc_rpmb_part()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/mmc/core/
H A Dblock.c2281 char cap_str[10]; in mmc_blk_alloc_req() local
2387 cap_str, sizeof(cap_str)); in mmc_blk_alloc_req()
2390 cap_str, md->read_only ? "(ro)" : ""); in mmc_blk_alloc_req()
2538 char cap_str[10]; in mmc_blk_alloc_rpmb_part() local
2577 cap_str, sizeof(cap_str)); in mmc_blk_alloc_rpmb_part()
2580 rpmb_name, mmc_card_id(card), mmc_card_name(card), cap_str, in mmc_blk_alloc_rpmb_part()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/mmc/core/
H A Dblock.c2281 char cap_str[10]; in mmc_blk_alloc_req() local
2387 cap_str, sizeof(cap_str)); in mmc_blk_alloc_req()
2390 cap_str, md->read_only ? "(ro)" : ""); in mmc_blk_alloc_req()
2538 char cap_str[10]; in mmc_blk_alloc_rpmb_part() local
2577 cap_str, sizeof(cap_str)); in mmc_blk_alloc_rpmb_part()
2580 rpmb_name, mmc_card_id(card), mmc_card_name(card), cap_str, in mmc_blk_alloc_rpmb_part()
/dports/textproc/p5-Regexp-Debugger/Regexp-Debugger-0.002006/lib/Regexp/
H A DDebugger.pm1908 my $cap_str = _quote_ws(substr($_,$start,$end-$start));
1911 my $cap_len = length($cap_str);
1914 substr($cap_str, $middle, -$middle, '....');
1919 _info_colourer(sprintf qq{%*s = '%s'}, $max_name_width, $name, $cap_str);
/dports/sysutils/smartmontools/smartmontools-7.2/
H A Dscsiprint.cpp1936 char cap_str[64], si_str[64]; in scsiGetDriveInfo() local
1937 format_with_thousands_sep(cap_str, sizeof(cap_str), capacity); in scsiGetDriveInfo()
1939 jout("User Capacity: %s bytes [%s]\n", cap_str, si_str); in scsiGetDriveInfo()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/usb/typec/tcpm/
H A Dtcpm.c5814 const char *cap_str; in tcpm_fw_get_caps() local
5831 ret = fwnode_property_read_string(fwnode, "data-role", &cap_str); in tcpm_fw_get_caps()
5833 ret = typec_find_port_data_role(cap_str); in tcpm_fw_get_caps()
5839 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in tcpm_fw_get_caps()
5843 ret = typec_find_port_power_role(cap_str); in tcpm_fw_get_caps()
5869 ret = fwnode_property_read_string(fwnode, "try-power-role", &cap_str); in tcpm_fw_get_caps()
5873 port->typec_caps.prefer_role = typec_find_power_role(cap_str); in tcpm_fw_get_caps()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/usb/typec/tcpm/
H A Dtcpm.c5814 const char *cap_str; in tcpm_fw_get_caps() local
5831 ret = fwnode_property_read_string(fwnode, "data-role", &cap_str); in tcpm_fw_get_caps()
5833 ret = typec_find_port_data_role(cap_str); in tcpm_fw_get_caps()
5839 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in tcpm_fw_get_caps()
5843 ret = typec_find_port_power_role(cap_str); in tcpm_fw_get_caps()
5869 ret = fwnode_property_read_string(fwnode, "try-power-role", &cap_str); in tcpm_fw_get_caps()
5873 port->typec_caps.prefer_role = typec_find_power_role(cap_str); in tcpm_fw_get_caps()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/usb/typec/tcpm/
H A Dtcpm.c5814 const char *cap_str; in tcpm_fw_get_caps() local
5831 ret = fwnode_property_read_string(fwnode, "data-role", &cap_str); in tcpm_fw_get_caps()
5833 ret = typec_find_port_data_role(cap_str); in tcpm_fw_get_caps()
5839 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in tcpm_fw_get_caps()
5843 ret = typec_find_port_power_role(cap_str); in tcpm_fw_get_caps()
5869 ret = fwnode_property_read_string(fwnode, "try-power-role", &cap_str); in tcpm_fw_get_caps()
5873 port->typec_caps.prefer_role = typec_find_power_role(cap_str); in tcpm_fw_get_caps()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/vector/
H A Dgdevxps.c58 static const char *cap_str[] = {"Flat", "Round", "Square", "Triangle"}; variable
82 {/* XPS_START_CAP */ {0.0, 0}, {0.0, 0}, "StrokeStartLineCap=\"%s\"", cap_str},
83 {/* XPS_END_CAP */ {0.0, 0}, {0.0, 0}, "StrokeEndLineCap=\"%s\"", cap_str},
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/vector/
H A Dgdevxps.c58 static const char *cap_str[] = {"Flat", "Round", "Square", "Triangle"}; variable
82 {/* XPS_START_CAP */ {0.0, 0}, {0.0, 0}, "StrokeStartLineCap=\"%s\"", cap_str},
83 {/* XPS_END_CAP */ {0.0, 0}, {0.0, 0}, "StrokeEndLineCap=\"%s\"", cap_str},
/dports/print/abcm2ps/abcm2ps-8.13.23/
H A Dsubs.c100 static void cap_str(char *p) in cap_str() function
1424 cap_str(buf); in trim_title()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/
H A Dswitch_core_session.c2091 char *flag_str = NULL, *cap_str = NULL, *direction_s = NULL, *uuid = NULL;
2103 cap_str = xml_find_var(tag, "caps");
2107 parse_array(cap_str, caps, CC_FLAG_MAX);

12