Fixed GCC tool chain build fail.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cecil Sheng <cecil.sheng@hpe.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18419 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Cecil Sheng 2015-09-09 06:29:14 +00:00 committed by ydong10
parent 12e37e6576
commit ddd097e33f
1 changed files with 128 additions and 128 deletions

View File

@ -172,74 +172,74 @@ onigenc_str_bytelen_null(OnigEncoding enc, const UChar* s)
}
const UChar OnigEncAsciiToLowerCaseTable[] = {
0u, 1u, 2u, 3u, 4u, 5u, 6u, 7u,
10u, 11u, 12u, 13u, 14u, 15u, 16u, 17u,
20u, 21u, 22u, 23u, 24u, 25u, 26u, 27u,
30u, 31u, 32u, 33u, 34u, 35u, 36u, 37u,
40u, 41u, 42u, 43u, 44u, 45u, 46u, 47u,
50u, 51u, 52u, 53u, 54u, 55u, 56u, 57u,
60u, 61u, 62u, 63u, 64u, 65u, 66u, 67u,
70u, 71u, 72u, 73u, 74u, 75u, 76u, 77u,
100u, 141u, 142u, 143u, 144u, 145u, 146u, 147u,
150u, 151u, 152u, 153u, 154u, 155u, 156u, 157u,
160u, 161u, 162u, 163u, 164u, 165u, 166u, 167u,
170u, 171u, 172u, 133u, 134u, 135u, 136u, 137u,
140u, 141u, 142u, 143u, 144u, 145u, 146u, 147u,
150u, 151u, 152u, 153u, 154u, 155u, 156u, 157u,
160u, 161u, 162u, 163u, 164u, 165u, 166u, 167u,
170u, 171u, 172u, 173u, 174u, 175u, 176u, 177u,
200u, 201u, 202u, 203u, 204u, 205u, 206u, 207u,
210u, 211u, 212u, 213u, 214u, 215u, 216u, 217u,
220u, 221u, 222u, 223u, 224u, 225u, 226u, 227u,
230u, 231u, 232u, 233u, 234u, 235u, 236u, 237u,
240u, 241u, 242u, 243u, 244u, 245u, 246u, 247u,
250u, 251u, 252u, 253u, 254u, 255u, 256u, 257u,
260u, 261u, 262u, 263u, 264u, 265u, 266u, 267u,
270u, 271u, 272u, 273u, 274u, 275u, 276u, 277u,
300u, 301u, 302u, 303u, 304u, 305u, 306u, 307u,
310u, 311u, 312u, 313u, 314u, 315u, 316u, 317u,
320u, 321u, 322u, 323u, 324u, 325u, 326u, 327u,
330u, 331u, 332u, 333u, 334u, 335u, 336u, 337u,
340u, 341u, 342u, 343u, 344u, 345u, 346u, 347u,
350u, 351u, 352u, 353u, 354u, 355u, 356u, 357u,
360u, 361u, 362u, 363u, 364u, 365u, 366u, 367u,
370u, 371u, 372u, 373u, 374u, 375u, 376u, 377u,
0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007,
0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017,
0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027,
0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037,
0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047,
0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057,
0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067,
0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077,
0100, 0141, 0142, 0143, 0144, 0145, 0146, 0147,
0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157,
0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167,
0170, 0171, 0172, 0133, 0134, 0135, 0136, 0137,
0140, 0141, 0142, 0143, 0144, 0145, 0146, 0147,
0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157,
0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167,
0170, 0171, 0172, 0173, 0174, 0175, 0176, 0177,
0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207,
0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217,
0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227,
0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237,
0240, 0241, 0242, 0243, 0244, 0245, 0246, 0247,
0250, 0251, 0252, 0253, 0254, 0255, 0256, 0257,
0260, 0261, 0262, 0263, 0264, 0265, 0266, 0267,
0270, 0271, 0272, 0273, 0274, 0275, 0276, 0277,
0300, 0301, 0302, 0303, 0304, 0305, 0306, 0307,
0310, 0311, 0312, 0313, 0314, 0315, 0316, 0317,
0320, 0321, 0322, 0323, 0324, 0325, 0326, 0327,
0330, 0331, 0332, 0333, 0334, 0335, 0336, 0337,
0340, 0341, 0342, 0343, 0344, 0345, 0346, 0347,
0350, 0351, 0352, 0353, 0354, 0355, 0356, 0357,
0360, 0361, 0362, 0363, 0364, 0365, 0366, 0367,
0370, 0371, 0372, 0373, 0374, 0375, 0376, 0377,
};
#ifdef USE_UPPER_CASE_TABLE
const UChar OnigEncAsciiToUpperCaseTable[256] = {
0u, 1u, 2u, 3u, 4u, 5u, 6u, 7u,
10u, 11u, 12u, 13u, 14u, 15u, 16u, 17u,
20u, 21u, 22u, 23u, 24u, 25u, 26u, 27u,
30u, 31u, 32u, 33u, 34u, 35u, 36u, 37u,
40u, 41u, 42u, 43u, 44u, 45u, 46u, 47u,
50u, 51u, 52u, 53u, 54u, 55u, 56u, 57u,
60u, 61u, 62u, 63u, 64u, 65u, 66u, 67u,
70u, 71u, 72u, 73u, 74u, 75u, 76u, 77u,
100u, 101u, 102u, 103u, 104u, 105u, 106u, 107u,
110u, 111u, 112u, 113u, 114u, 115u, 116u, 117u,
120u, 121u, 122u, 123u, 124u, 125u, 126u, 127u,
130u, 131u, 132u, 133u, 134u, 135u, 136u, 137u,
140u, 101u, 102u, 103u, 104u, 105u, 106u, 107u,
110u, 111u, 112u, 113u, 114u, 115u, 116u, 117u,
120u, 121u, 122u, 123u, 124u, 125u, 126u, 127u,
130u, 131u, 132u, 173u, 174u, 175u, 176u, 177u,
200u, 201u, 202u, 203u, 204u, 205u, 206u, 207u,
210u, 211u, 212u, 213u, 214u, 215u, 216u, 217u,
220u, 221u, 222u, 223u, 224u, 225u, 226u, 227u,
230u, 231u, 232u, 233u, 234u, 235u, 236u, 237u,
240u, 241u, 242u, 243u, 244u, 245u, 246u, 247u,
250u, 251u, 252u, 253u, 254u, 255u, 256u, 257u,
260u, 261u, 262u, 263u, 264u, 265u, 266u, 267u,
270u, 271u, 272u, 273u, 274u, 275u, 276u, 277u,
300u, 301u, 302u, 303u, 304u, 305u, 306u, 307u,
310u, 311u, 312u, 313u, 314u, 315u, 316u, 317u,
320u, 321u, 322u, 323u, 324u, 325u, 326u, 327u,
330u, 331u, 332u, 333u, 334u, 335u, 336u, 337u,
340u, 341u, 342u, 343u, 344u, 345u, 346u, 347u,
350u, 351u, 352u, 353u, 354u, 355u, 356u, 357u,
360u, 361u, 362u, 363u, 364u, 365u, 366u, 367u,
370u, 371u, 372u, 373u, 374u, 375u, 376u, 377u,
0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007,
0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017,
0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027,
0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037,
0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047,
0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057,
0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067,
0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077,
0100, 0101, 0102, 0103, 0104, 0105, 0106, 0107,
0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117,
0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127,
0130, 0131, 0132, 0133, 0134, 0135, 0136, 0137,
0140, 0101, 0102, 0103, 0104, 0105, 0106, 0107,
0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117,
0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127,
0130, 0131, 0132, 0173, 0174, 0175, 0176, 0177,
0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207,
0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217,
0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227,
0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237,
0240, 0241, 0242, 0243, 0244, 0245, 0246, 0247,
0250, 0251, 0252, 0253, 0254, 0255, 0256, 0257,
0260, 0261, 0262, 0263, 0264, 0265, 0266, 0267,
0270, 0271, 0272, 0273, 0274, 0275, 0276, 0277,
0300, 0301, 0302, 0303, 0304, 0305, 0306, 0307,
0310, 0311, 0312, 0313, 0314, 0315, 0316, 0317,
0320, 0321, 0322, 0323, 0324, 0325, 0326, 0327,
0330, 0331, 0332, 0333, 0334, 0335, 0336, 0337,
0340, 0341, 0342, 0343, 0344, 0345, 0346, 0347,
0350, 0351, 0352, 0353, 0354, 0355, 0356, 0357,
0360, 0361, 0362, 0363, 0364, 0365, 0366, 0367,
0370, 0371, 0372, 0373, 0374, 0375, 0376, 0377,
};
#endif
@ -279,74 +279,74 @@ const unsigned short OnigEncAsciiCtypeTable[256] = {
};
const UChar OnigEncISO_8859_1_ToLowerCaseTable[256] = {
0u, 1u, 2u, 3u, 4u, 5u, 6u, 7u,
10u, 11u, 12u, 13u, 14u, 15u, 16u, 17u,
20u, 21u, 22u, 23u, 24u, 25u, 26u, 27u,
30u, 31u, 32u, 33u, 34u, 35u, 36u, 37u,
40u, 41u, 42u, 43u, 44u, 45u, 46u, 47u,
50u, 51u, 52u, 53u, 54u, 55u, 56u, 57u,
60u, 61u, 62u, 63u, 64u, 65u, 66u, 67u,
70u, 71u, 72u, 73u, 74u, 75u, 76u, 77u,
100u, 141u, 142u, 143u, 144u, 145u, 146u, 147u,
150u, 151u, 152u, 153u, 154u, 155u, 156u, 157u,
160u, 161u, 162u, 163u, 164u, 165u, 166u, 167u,
170u, 171u, 172u, 133u, 134u, 135u, 136u, 137u,
140u, 141u, 142u, 143u, 144u, 145u, 146u, 147u,
150u, 151u, 152u, 153u, 154u, 155u, 156u, 157u,
160u, 161u, 162u, 163u, 164u, 165u, 166u, 167u,
170u, 171u, 172u, 173u, 174u, 175u, 176u, 177u,
200u, 201u, 202u, 203u, 204u, 205u, 206u, 207u,
210u, 211u, 212u, 213u, 214u, 215u, 216u, 217u,
220u, 221u, 222u, 223u, 224u, 225u, 226u, 227u,
230u, 231u, 232u, 233u, 234u, 235u, 236u, 237u,
240u, 241u, 242u, 243u, 244u, 245u, 246u, 247u,
250u, 251u, 252u, 253u, 254u, 255u, 256u, 257u,
260u, 261u, 262u, 263u, 264u, 265u, 266u, 267u,
270u, 271u, 272u, 273u, 274u, 275u, 276u, 277u,
340u, 341u, 342u, 343u, 344u, 345u, 346u, 347u,
350u, 351u, 352u, 353u, 354u, 355u, 356u, 357u,
360u, 361u, 362u, 363u, 364u, 365u, 366u, 327u,
370u, 371u, 372u, 373u, 374u, 375u, 376u, 337u,
340u, 341u, 342u, 343u, 344u, 345u, 346u, 347u,
350u, 351u, 352u, 353u, 354u, 355u, 356u, 357u,
360u, 361u, 362u, 363u, 364u, 365u, 366u, 367u,
370u, 371u, 372u, 373u, 374u, 375u, 376u, 377u,
0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007,
0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017,
0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027,
0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037,
0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047,
0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057,
0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067,
0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077,
0100, 0141, 0142, 0143, 0144, 0145, 0146, 0147,
0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157,
0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167,
0170, 0171, 0172, 0133, 0134, 0135, 0136, 0137,
0140, 0141, 0142, 0143, 0144, 0145, 0146, 0147,
0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157,
0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167,
0170, 0171, 0172, 0173, 0174, 0175, 0176, 0177,
0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207,
0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217,
0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227,
0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237,
0240, 0241, 0242, 0243, 0244, 0245, 0246, 0247,
0250, 0251, 0252, 0253, 0254, 0255, 0256, 0257,
0260, 0261, 0262, 0263, 0264, 0265, 0266, 0267,
0270, 0271, 0272, 0273, 0274, 0275, 0276, 0277,
0340, 0341, 0342, 0343, 0344, 0345, 0346, 0347,
0350, 0351, 0352, 0353, 0354, 0355, 0356, 0357,
0360, 0361, 0362, 0363, 0364, 0365, 0366, 0327,
0370, 0371, 0372, 0373, 0374, 0375, 0376, 0337,
0340, 0341, 0342, 0343, 0344, 0345, 0346, 0347,
0350, 0351, 0352, 0353, 0354, 0355, 0356, 0357,
0360, 0361, 0362, 0363, 0364, 0365, 0366, 0367,
0370, 0371, 0372, 0373, 0374, 0375, 0376, 0377
};
#ifdef USE_UPPER_CASE_TABLE
const UChar OnigEncISO_8859_1_ToUpperCaseTable[256] = {
0u, 1u, 2u, 3u, 4u, 5u, 6u, 7u,
10u, 11u, 12u, 13u, 14u, 15u, 16u, 17u,
20u, 21u, 22u, 23u, 24u, 25u, 26u, 27u,
30u, 31u, 32u, 33u, 34u, 35u, 36u, 37u,
40u, 41u, 42u, 43u, 44u, 45u, 46u, 47u,
50u, 51u, 52u, 53u, 54u, 55u, 56u, 57u,
60u, 61u, 62u, 63u, 64u, 65u, 66u, 67u,
70u, 71u, 72u, 73u, 74u, 75u, 76u, 77u,
100u, 101u, 102u, 103u, 104u, 105u, 106u, 107u,
110u, 111u, 112u, 113u, 114u, 115u, 116u, 117u,
120u, 121u, 122u, 123u, 124u, 125u, 126u, 127u,
130u, 131u, 132u, 133u, 134u, 135u, 136u, 137u,
140u, 101u, 102u, 103u, 104u, 105u, 106u, 107u,
110u, 111u, 112u, 113u, 114u, 115u, 116u, 117u,
120u, 121u, 122u, 123u, 124u, 125u, 126u, 127u,
130u, 131u, 132u, 173u, 174u, 175u, 176u, 177u,
200u, 201u, 202u, 203u, 204u, 205u, 206u, 207u,
210u, 211u, 212u, 213u, 214u, 215u, 216u, 217u,
220u, 221u, 222u, 223u, 224u, 225u, 226u, 227u,
230u, 231u, 232u, 233u, 234u, 235u, 236u, 237u,
240u, 241u, 242u, 243u, 244u, 245u, 246u, 247u,
250u, 251u, 252u, 253u, 254u, 255u, 256u, 257u,
260u, 261u, 262u, 263u, 264u, 265u, 266u, 267u,
270u, 271u, 272u, 273u, 274u, 275u, 276u, 277u,
300u, 301u, 302u, 303u, 304u, 305u, 306u, 307u,
310u, 311u, 312u, 313u, 314u, 315u, 316u, 317u,
320u, 321u, 322u, 323u, 324u, 325u, 326u, 327u,
330u, 331u, 332u, 333u, 334u, 335u, 336u, 337u,
300u, 301u, 302u, 303u, 304u, 305u, 306u, 307u,
310u, 311u, 312u, 313u, 314u, 315u, 316u, 317u,
320u, 321u, 322u, 323u, 324u, 325u, 326u, 367u,
330u, 331u, 332u, 333u, 334u, 335u, 336u, 377u,
0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007,
0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017,
0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027,
0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037,
0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047,
0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057,
0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067,
0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077,
0100, 0101, 0102, 0103, 0104, 0105, 0106, 0107,
0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117,
0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127,
0130, 0131, 0132, 0133, 0134, 0135, 0136, 0137,
0140, 0101, 0102, 0103, 0104, 0105, 0106, 0107,
0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117,
0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127,
0130, 0131, 0132, 0173, 0174, 0175, 0176, 0177,
0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207,
0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217,
0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227,
0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237,
0240, 0241, 0242, 0243, 0244, 0245, 0246, 0247,
0250, 0251, 0252, 0253, 0254, 0255, 0256, 0257,
0260, 0261, 0262, 0263, 0264, 0265, 0266, 0267,
0270, 0271, 0272, 0273, 0274, 0275, 0276, 0277,
0300, 0301, 0302, 0303, 0304, 0305, 0306, 0307,
0310, 0311, 0312, 0313, 0314, 0315, 0316, 0317,
0320, 0321, 0322, 0323, 0324, 0325, 0326, 0327,
0330, 0331, 0332, 0333, 0334, 0335, 0336, 0337,
0300, 0301, 0302, 0303, 0304, 0305, 0306, 0307,
0310, 0311, 0312, 0313, 0314, 0315, 0316, 0317,
0320, 0321, 0322, 0323, 0324, 0325, 0326, 0367,
0330, 0331, 0332, 0333, 0334, 0335, 0336, 0377,
};
#endif