Home
last modified time | relevance | path

Searched refs:value_length (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dread.c272 uint16_t name_length, value_length; in ipp_read_attribute_group() local
331 if (iread(fd, &value_length, 2) != 2) { in ipp_read_attribute_group()
336 value_length = (uint16_t)ntohs(value_length); in ipp_read_attribute_group()
338 if (validate_length(value_tag, value_length) < 0) { in ipp_read_attribute_group()
341 value_length, _ipp_tag_string(value_tag)); in ipp_read_attribute_group()
350 if (iread(fd, &v, value_length) != value_length) { in ipp_read_attribute_group()
365 if (iread(fd, &v, value_length) != value_length) { in ipp_read_attribute_group()
512 if ((v = calloc(1, value_length + 1)) == NULL) { in ipp_read_attribute_group()
518 if (iread(fd, v, value_length) != value_length) { in ipp_read_attribute_group()
525 int rc, i = value_length; in ipp_read_attribute_group()
[all …]
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_text.c483 int value_length; in idm_nvlist_add_binary() local
498 value_length = strlen(value); in idm_nvlist_add_binary()
499 binary_length = (value_length + 1) / 2; in idm_nvlist_add_binary()
502 if (idm_base16_str_to_binary(value, value_length, in idm_nvlist_add_binary()
517 value_length = strlen(value); in idm_nvlist_add_binary()
518 binary_array = kmem_alloc(value_length, KM_NOSLEEP); in idm_nvlist_add_binary()
523 if (iscsi_base64_str_to_binary(value, value_length, in idm_nvlist_add_binary()
524 binary_array, value_length, &binary_length) != 0) { in idm_nvlist_add_binary()
525 kmem_free(binary_array, value_length); in idm_nvlist_add_binary()
532 kmem_free(binary_array, value_length); in idm_nvlist_add_binary()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_iomb.h357 uint8_t value_length; member
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_nvram.c577 kv_len = vkvp->value_length; in pmcs_validate_vpd()