Searched refs:option_length (Results 1 – 3 of 3) sorted by relevance
53 let option_length = self.option_content.len(); in into_le_bytes() localVariable55 let padded_option_length = integer_ceil(option_length, 4); in into_le_bytes()56 let pad_length = padded_option_length - option_length; in into_le_bytes()59 bytes.extend_from_slice(&u16::to_le_bytes(option_length.try_into().ok()?)); in into_le_bytes()67 let option_length = self.option_content.len(); in byte_size() localVariable69 let padded_option_length = integer_ceil(option_length, 4); in byte_size()
114 std::size_t option_length = option_list.find(","); in GetLayerOptionFlags() local115 if (option_length == option_list.npos) { in GetLayerOptionFlags()116 option_length = option_list.size(); in GetLayerOptionFlags()120 const std::string option = option_list.substr(0, option_length); in GetLayerOptionFlags()128 option_list.erase(0, option_length); in GetLayerOptionFlags()
77 u_short option_length; member433 opthdr->option_length = SWAPSHORT(opthdr->option_length); in get_opthdr_from_block_data()447 padded_option_len = opthdr->option_length; in get_optvalue_from_block_data()500 if (opthdr->option_length != 0) { in process_idb_options()503 opthdr->option_length); in process_idb_options()509 if (opthdr->option_length != 1) { in process_idb_options()512 opthdr->option_length); in process_idb_options()566 if (opthdr->option_length != 8) { in process_idb_options()569 opthdr->option_length); in process_idb_options()