acpi_ps_get_next_package_length (	struct acpi_parse_state         *parser_state){	u32                             encoded_length;	u32                             length = 0;	ACPI_FUNCTION_TRACE ("ps_get_next_package_length");	encoded_length = (u32) ACPI_GET8 (parser_state->aml);	parser_state->aml++;	switch (encoded_length >> 6) /* bits 6-7 contain encoding scheme */ {	case 0: /* 1-byte encoding (bits 0-5) */		length = (encoded_length & 0x3F);		break;	case 1: /* 2-byte encoding (next byte + bits 0-3) */		length = ((ACPI_GET8 (parser_state->aml) << 04) |				 (encoded_length & 0x0F));		parser_state->aml++;		break;	case 2: /* 3-byte encoding (next 2 bytes + bits 0-3) */		length = ((ACPI_GET8 (parser_state->aml + 1) << 12) |				  (ACPI_GET8 (parser_state->aml)    << 04) |				  (encoded_length & 0x0F));		parser_state->aml += 2;		break;	case 3: /* 4-byte encoding (next 3 bytes + bits 0-3) */		length = ((ACPI_GET8 (parser_state->aml + 2) << 20) |				  (ACPI_GET8 (parser_state->aml + 1) << 12) |				  (ACPI_GET8 (parser_state->aml)    << 04) |				  (encoded_length & 0x0F));		parser_state->aml += 3;		break;	default:		/* Can't get here, only 2 bits / 4 cases */		break;	}	return_VALUE (length);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/44f6c01242da4e162f28d8e1216a8c7a91174605/psargs.c/buggy/drivers/acpi/parser/psargs.c