Lines Matching defs:length

315  *	    char **: an array of ITAB_FIELDS length which contains
468 * output: int: length of MAC address, or -1 for error
541 * uint16_t *: set to the length of the binary data returned
552 uint16_t length;
585 * Maximum (worst-case) encoded length is one byte more than
611 * option length and code in the size of the packet we allocate
616 length = n_entries * type_size;
617 if (hlen + length > 0)
618 result = malloc(hlen + length);
632 (void) memcpy(optstart, value, length);
707 * End of component. Write the length
709 * length (i.e., ".."), the just omit
736 * will result in zero for the last component length.
747 length = (optstart - result) - hlen;
801 length = maclen + sizeof (dllt);
834 length = reslen + sizeof (den);
854 length = maclen + sizeof (dll);
870 length = reslen + 2;
882 reslen = length;
977 * code and length fields in.
984 d6o->d6o_len = htons(length);
987 result[1] = length;
992 *lengthp = length + hlen;
1049 * uint16_t: the payload length (only used if just_payload is true)
1057 uint16_t length, boolean_t just_payload, int *ierrnop)
1078 length = ntohs(d6o.d6o_len);
1081 length = payload[1];
1092 n_entries = MIN(ie->ds_max, length / type_size);
1094 n_entries = MIN(ie->ds_max * ie->ds_gran, length / type_size);
1097 n_entries = length / type_size;
1099 if ((length % type_size) != 0) {
1100 inittab_msg("inittab_decode: length of string not compatible "
1140 if ((result = malloc(4 * length + 1)) == NULL) {
1145 while (length > 0) {
1150 while (length > 0) {
1152 length--;
1153 /* Upper two bits of length must be zero */
1154 if ((slen & 0xc0) != 0 || slen > length) {
1155 length = 0;
1163 length -= slen;
1181 if (resultp != dstart && length > 0)
1196 if (length < 2) {
1205 if (length < sizeof (dllt)) {
1211 length -= sizeof (dllt);
1213 length * 3;
1225 if (length < sizeof (den)) {
1231 length -= sizeof (den);
1232 n_entries = sizeof ("2,4294967295,") + length * 2;
1244 if (length < sizeof (dll)) {
1250 length -= sizeof (dll);
1251 n_entries = sizeof ("3,65535,") + length * 3;
1261 n_entries = sizeof ("0,") + length * 2;
1272 if (length > 0) {
1275 length--;
1277 while (length-- > 0) {
1282 while (length-- > 0) {
1310 if ((length / type_size) % ie->ds_gran != 0) {
1387 * uint16_t *: set to the length of the binary data returned
1408 * uint16_t: the payload length (only used if just_payload is true)
1414 inittab_decode(const dhcp_symbol_t *ie, const uchar_t *payload, uint16_t length,
1419 return (inittab_decode_e(ie, payload, length, just_payload, &ierrno));
1478 * uint8_t: the length of each number
1555 * uint8_t: the length of each number