Home
last modified time | relevance | path

Searched refs:val_len (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/contrib/openzfs/module/icp/include/
H A Dgeneric_impl.c147 size_t val_len; in generic_impl_setname() local
151 val_len = strlen(val); in generic_impl_setname()
152 while ((val_len > 0) && !!isspace(val[val_len-1])) /* trim '\n' */ in generic_impl_setname()
153 val_len--; in generic_impl_setname()
159 if (val_len == strlen(name) && in generic_impl_setname()
160 strncmp(val, name, val_len) == 0) { in generic_impl_setname()
172 if (val_len == strlen(name) && in generic_impl_setname()
173 strncmp(val, name, val_len) == 0) { in generic_impl_setname()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_pci.c116 long val_len; in process_pci_value() local
129 OPENSSL_hexstr2buf(val->value + 4, &val_len); in process_pci_value()
137 (*policy)->length + val_len + 1); in process_pci_value()
141 tmp_data2, val_len); in process_pci_value()
142 (*policy)->length += val_len; in process_pci_value()
198 val_len = strlen(val->value + 5); in process_pci_value()
200 (*policy)->length + val_len + 1); in process_pci_value()
204 val->value + 5, val_len); in process_pci_value()
205 (*policy)->length += val_len; in process_pci_value()
/freebsd/contrib/ntp/sntp/libopts/
H A Dsave-flags.c215 unsigned int val_len; in save_flags_str2mask() local
234 val_len = strspn(str, name_chars); in save_flags_str2mask()
235 if (val_len == 0) in save_flags_str2mask()
237 val = find_save_flags_bnm(str, val_len); in save_flags_str2mask()
245 str += val_len; in save_flags_str2mask()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_flow_action.c145 size_t val_len; in parse_esp_ip() local
162 val_len = min_t(size_t, len, sizeof(user_val.ipv4)); in parse_esp_ip()
164 val_len); in parse_esp_ip()
176 val_len = min_t(size_t, len, sizeof(user_val.ipv6)); in parse_esp_ip()
178 val_len); in parse_esp_ip()
190 val_len, out); in parse_esp_ip()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_mbox.c367 tag->val_len == 0) { in bcm2835_mbox_err()
368 tag->val_len = BCM2835_MBOX_TAG_VAL_LEN_RESPONSE | in bcm2835_mbox_err()
371 if ((tag->val_len & BCM2835_MBOX_TAG_VAL_LEN_RESPONSE) == 0) { in bcm2835_mbox_err()
376 tag->val_len &= ~BCM2835_MBOX_TAG_VAL_LEN_RESPONSE; in bcm2835_mbox_err()
454 msg.tag_hdr.val_len = sizeof(msg.body.req); in bcm2835_mbox_set_power_state()
476 msg.tag_hdr.val_len = sizeof(msg.body.req); in bcm2835_mbox_notify_xhci_reset()
496 msg.tag_hdr.val_len = sizeof(msg.body.req); in bcm2835_mbox_get_clock_rate()
516 msg.physical_w_h.tag_hdr.val_len = 0; in bcm2835_mbox_fb_get_w_h()
538 msg.bpp.tag_hdr.val_len = 0; in bcm2835_mbox_fb_get_bpp()
H A Dbcm2835_mbox_prop.h49 uint32_t val_len; member
55 (tag_)->tag_hdr.val_len = sizeof((tag_)->body.req); \
H A Dbcm2835_ft5406.c212 msg.tag_hdr.val_len = sizeof(msg.body); in ft5406ts_init()
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c373 size_t i, val_len; in fletcher_4_impl_set() local
375 val_len = strlen(val); in fletcher_4_impl_set()
376 while ((val_len > 0) && !!isspace(val[val_len-1])) /* trim '\n' */ in fletcher_4_impl_set()
377 val_len--; in fletcher_4_impl_set()
383 if (val_len == strlen(name) && in fletcher_4_impl_set()
384 strncmp(val, name, val_len) == 0) { in fletcher_4_impl_set()
396 if (val_len == strlen(name) && in fletcher_4_impl_set()
397 strncmp(val, name, val_len) == 0) { in fletcher_4_impl_set()
/freebsd/crypto/heimdal/lib/wind/
H A Dmap_table.h11 unsigned short val_len; member
H A Dnormalize_table.h13 unsigned short val_len; member
H A Dmap.c71 for (j = 0; j < s->val_len; ++j) { in _wind_stringprep_map()
H A Dnormalize.c150 t->val_len, in compat_decomp()
/freebsd/contrib/unbound/sldns/
H A Dstr2wire.c1318 size_t i, count, val_len; in sldns_str2wire_svcbparam_mandatory() local
1321 val_len = strlen(val); in sldns_str2wire_svcbparam_mandatory()
1341 svcparamkey = sldns_str2wire_svcparam_key_lookup(val, val_len); in sldns_str2wire_svcbparam_mandatory()
1362 val_len -= next_key - val + 1; in sldns_str2wire_svcbparam_mandatory()
1483 size_t val_len; in sldns_str2wire_svcbparam_alpn_value() local
1485 val_len = strlen(val); in sldns_str2wire_svcbparam_alpn_value()
1487 if (val_len > sizeof(unescaped_dst)) { in sldns_str2wire_svcbparam_alpn_value()
1490 while (val_len) { in sldns_str2wire_svcbparam_alpn_value()
1494 ? (size_t)(next_str - val) : val_len; in sldns_str2wire_svcbparam_alpn_value()
1508 val_len -= next_str - val + 1; in sldns_str2wire_svcbparam_alpn_value()
[all …]
/freebsd/contrib/wpa/src/wps/
H A Dwps_upnp.c821 size_t val_len; in upnp_wps_device_send_wlan_event() local
847 val = base64_encode(raw, raw_len, &val_len); in upnp_wps_device_send_wlan_event()
/freebsd/sys/dev/axgbe/
H A Dxgbe-phy-v2.c496 unsigned int val_len) in xgbe_phy_i2c_write() argument
506 i2c_op.len = val_len; in xgbe_phy_i2c_write()
517 unsigned int reg_len, void *val, unsigned int val_len) in xgbe_phy_i2c_read() argument
523 target, reg_len, val_len); in xgbe_phy_i2c_read()
545 i2c_op.len = val_len; in xgbe_phy_i2c_read()
/freebsd/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h2853 __u8 val_len; member