patch_scalar.cocci 583 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. @uvlong@
  2. typedef uvlong;
  3. typedef uint64_t;
  4. @@
  5. -uvlong
  6. +uint64_t
  7. @@
  8. typedef u64int;
  9. @@
  10. -u64int
  11. +uint64_t
  12. @vlong@
  13. typedef vlong, int64_t;
  14. @@
  15. -vlong
  16. +int64_t
  17. @@
  18. typedef u32int;
  19. typedef uint32_t;
  20. @@
  21. -u32int
  22. +uint32_t
  23. @@
  24. typedef ulong;
  25. @@
  26. -ulong
  27. +uint32_t
  28. @@
  29. typedef int32_t;
  30. @@
  31. -long
  32. +int32_t
  33. @ushort@
  34. typedef ushort, uint16_t;
  35. @@
  36. -ushort
  37. +uint16_t
  38. @@
  39. typedef u16int;
  40. @@
  41. -u16int
  42. +uint16_t
  43. @@
  44. typedef int16_t;
  45. @@
  46. -short
  47. +int16_t
  48. @@
  49. typedef uchar, uint8_t;
  50. @@
  51. -uchar
  52. +uint8_t
  53. @@
  54. typedef u8int;
  55. @@
  56. -u8int
  57. +uint8_t
  58. @@
  59. typedef uintptr;
  60. typedef uintptr_t;
  61. @@
  62. - uintptr
  63. + uintptr_t