Searched refs:quantity (Results 1 - 4 of 4) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/ |
H A D | panic_dialog.c | 483 unsigned int *quantity, unsigned int *depth, 581 unsigned int data, quantity, depth; local 592 quantity = 0; 598 if (quantity == 0) { 599 dataPtr += decode_rle(dataPtr, &quantity, &depth, &value); 612 quantity--; 634 unsigned int quantity, index, data, depth; local 641 quantity = 0; 647 if (quantity == 0) { 648 dataPtr += decode_rle(dataPtr, &quantity, 683 unsigned int quantity, index, data, depth; local 747 decode_rle(const unsigned char *dataPtr, unsigned int *quantity, unsigned int *depth, const unsigned char **value ) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/panic_ui/ |
H A D | setupdialog.c | 14 unsigned int encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, unsigned char value); 326 The quantity and value will be described by either two or three bytes. If the 328 the quantity (run-length) and the following 8 bits are the value (index into 330 are the quantity and the following 8 are the value. Visually, the two possible 331 encodings are: (q = quantity, v = value) 340 encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, unsigned char value) argument 346 if (quantity < 128) { 347 fileArr[filePos] = single_mask | quantity; 350 fileArr[filePos] = double_mask | (quantity >> 8); // high 7 bits (plus mask) 351 fileArr[filePos+1] = (unsigned char) quantity; // lo [all...] |
H A D | qtif2kraw.c | 327 unsigned int quantity, 551 The quantity is described in the first byte. If the MSB is zero, then the next seven bits 552 are the quantity. If the MSB is set, bits 0-3 of the quantity are in the least significant bits. 553 If bit 5 is set, then the quantity is further described in the next byte, where an additional 554 7 bits (4-10) worth of quantity will be found. If the MSB of this byte is set, then an additional 555 7 bits (11-17) worth of quantity will be found in the next byte. This repeats until the MSB of 556 a quantity byte is zero, thus ending the chain. 559 If the MSB is set, then bits 5/6 describe the number of value bytes following the quantity bytes. 561 encodings are: (q = quantity, 572 encode_length(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, unsigned int mask) argument 598 encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, union RunData * value, int depth) argument [all...] |
H A D | genimage.c | 20 unsigned int * quantity, 462 unsigned int quantity, depth; local 465 i += decode_rle( &fileArr[i], &quantity, &depth, &value ); 466 pixels += quantity * depth; 478 unsigned int quantity, line, col, depth, sum; local 484 quantity = 0; 488 if ( quantity == 0 ) { 489 dataIn += decode_rle( dataIn, &quantity, &depth, &value ); 491 sum += quantity * depth; 498 quantity 971 encode_length(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, unsigned int mask) argument 999 encode_rle(unsigned char * fileArr, unsigned int filePos, unsigned int quantity, union RunData * value, int depth) argument 1039 decode_rle( unsigned char * dataPtr, unsigned int * quantity, unsigned int * depth, unsigned char ** value ) argument [all...] |
Completed in 32 milliseconds