1ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define __extension__
2ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao
3ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define __stpcpy(dest, src) (__extension__ (__builtin_constant_p (src) ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8 ? __stpcpy_small (dest, __stpcpy_args (src), strlen (src) + 1) : ((char *) __mempcpy (dest, src, strlen (src) + 1) - 1)) : __stpcpy (dest, src)))
4ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define stpcpy(dest, src) __stpcpy (dest, src)
5ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define __stpcpy_args(src) __extension__ __STRING2_SMALL_GET16 (src, 0), __extension__ __STRING2_SMALL_GET16 (src, 4), __extension__ __STRING2_SMALL_GET32 (src, 0), __extension__ __STRING2_SMALL_GET32 (src, 4)
6ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao
7ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define __mempcpy(dest, src, n) (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n) && __string2_1bptr_p (src) && n <= 8 ? __mempcpy_small (dest, __mempcpy_args (src), n) : __mempcpy (dest, src, n)))
8ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define mempcpy(dest, src, n) __mempcpy (dest, src, n)
9ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define __mempcpy_args(src) ((char *) (src))[0], ((char *) (src))[2], ((char *) (src))[4], ((char *) (src))[6], __extension__ __STRING2_SMALL_GET16 (src, 0), __extension__ __STRING2_SMALL_GET16 (src, 4), __extension__ __STRING2_SMALL_GET32 (src, 0), __extension__ __STRING2_SMALL_GET32 (src, 4)
10ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao
11ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define __STRING2_SMALL_GET16(src, idx) (((__const unsigned char *) (__const char *) (src))[idx + 1] << 8 | ((__const unsigned char *) (__const char *) (src))[idx])
12ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao
13ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao#define __STRING2_SMALL_GET32(src, idx) (((((__const unsigned char *) (__const char *) (src))[idx + 3] << 8 | ((__const unsigned char *) (__const char *) (src))[idx + 2]) << 8 | ((__const unsigned char *) (__const char *) (src))[idx + 1]) << 8 | ((__const unsigned char *) (__const char *) (src))[idx])
14ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liao
15ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
16ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
17ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
18ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
19ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
20ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
21ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
22ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
23ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
24ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
25ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
26ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
27ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
28ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
29ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
30ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
31ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
32ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
33ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
34ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
35ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
36ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
37ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
38ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
39ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
40ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
41ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
42ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
43ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
44ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
45ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
46ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
47ea285162342df160e7860e26528bc7110bc6c0cdShih-wei Liaostpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
48