]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/emu_jisx0213_2000.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Modules / cjkcodecs / emu_jisx0213_2000.h
diff --git a/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/emu_jisx0213_2000.h b/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/emu_jisx0213_2000.h
deleted file mode 100644 (file)
index ca22858..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/* These routines may be quite inefficient, but it's used only to emulate old\r
- * standards. */\r
-\r
-#ifndef EMULATE_JISX0213_2000_ENCODE_INVALID\r
-#define EMULATE_JISX0213_2000_ENCODE_INVALID 1\r
-#endif\r
-\r
-#define EMULATE_JISX0213_2000_ENCODE_BMP(assi, c)                       \\r
-    if (config == (void *)2000 && (                                     \\r
-                    (c) == 0x9B1C || (c) == 0x4FF1 ||                   \\r
-                    (c) == 0x525D || (c) == 0x541E ||                   \\r
-                    (c) == 0x5653 || (c) == 0x59F8 ||                   \\r
-                    (c) == 0x5C5B || (c) == 0x5E77 ||                   \\r
-                    (c) == 0x7626 || (c) == 0x7E6B))                    \\r
-        return EMULATE_JISX0213_2000_ENCODE_INVALID;                    \\r
-    else if (config == (void *)2000 && (c) == 0x9B1D)                   \\r
-        (assi) = 0x8000 | 0x7d3b;                                       \\r
-\r
-#define EMULATE_JISX0213_2000_ENCODE_EMP(assi, c)                       \\r
-    if (config == (void *)2000 && (c) == 0x20B9F)                       \\r
-        return EMULATE_JISX0213_2000_ENCODE_INVALID;\r
-\r
-#ifndef EMULATE_JISX0213_2000_DECODE_INVALID\r
-#define EMULATE_JISX0213_2000_DECODE_INVALID 2\r
-#endif\r
-\r
-#define EMULATE_JISX0213_2000_DECODE_PLANE1(assi, c1, c2)               \\r
-    if (config == (void *)2000 &&                                       \\r
-                    (((c1) == 0x2E && (c2) == 0x21) ||                  \\r
-                     ((c1) == 0x2F && (c2) == 0x7E) ||                  \\r
-                     ((c1) == 0x4F && (c2) == 0x54) ||                  \\r
-                     ((c1) == 0x4F && (c2) == 0x7E) ||                  \\r
-                     ((c1) == 0x74 && (c2) == 0x27) ||                  \\r
-                     ((c1) == 0x7E && (c2) == 0x7A) ||                  \\r
-                     ((c1) == 0x7E && (c2) == 0x7B) ||                  \\r
-                     ((c1) == 0x7E && (c2) == 0x7C) ||                  \\r
-                     ((c1) == 0x7E && (c2) == 0x7D) ||                  \\r
-                     ((c1) == 0x7E && (c2) == 0x7E)))                   \\r
-        return EMULATE_JISX0213_2000_DECODE_INVALID;\r
-\r
-#define EMULATE_JISX0213_2000_DECODE_PLANE2(assi, c1, c2)               \\r
-    if (config == (void *)2000 && (c1) == 0x7D && (c2) == 0x3B)         \\r
-        (assi) = 0x9B1D;\r