File: fix-region

package info (click to toggle)
xorg-server 2:1.20.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 43,244 kB
  • sloc: ansic: 372,231; xml: 17,683; sh: 5,277; objc: 3,482; makefile: 3,285; python: 514; yacc: 483; cpp: 479; lex: 281; asm: 214; awk: 52; perl: 5
file content (38 lines) | stat: -rw-r--r-- 1,794 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
sed -i \
    -e 's/REGION_NIL\b/RegionNil/g' \
    -e 's/REGION_NAR\b/RegionNar/g' \
    -e 's/REGION_NUM_RECTS\b/RegionNumRects/g' \
    -e 's/REGION_SIZE\b/RegionSize/g' \
    -e 's/REGION_RECTS\b/RegionRects/g' \
    -e 's/REGION_BOXPTR\b/RegionBoxptr/g' \
    -e 's/REGION_BOX\b/RegionBox/g' \
    -e 's/REGION_TOP\b/RegionTop/g' \
    -e 's/REGION_END\b/RegionEnd/g' \
    -e 's/REGION_SZOF\b/RegionSizeof/g' \
    -e 's/REGION_CREATE *([^,]*, */RegionCreate(/g' \
    -e 's/REGION_COPY *([^,]*, */RegionCopy(/g' \
    -e 's/REGION_DESTROY *([^,]*, */RegionDestroy(/g' \
    -e 's/REGION_INTERSECT *([^,]*, */RegionIntersect(/g' \
    -e 's/REGION_UNION *([^,]*, */RegionUnion(/g' \
    -e 's/REGION_SUBTRACT *([^,]*, */RegionSubtract(/g' \
    -e 's/REGION_INVERSE *([^,]*, */RegionInverse(/g' \
    -e 's/REGION_TRANSLATE *([^,]*, */RegionTranslate(/g' \
    -e 's/RECT_IN_REGION *([^,]*, */RegionContainsRect(/g' \
    -e 's/POINT_IN_REGION *([^,]*, */RegionContainsPoint(/g' \
    -e 's/REGION_EQUAL *([^,]*, */RegionEqual(/g' \
    -e 's/REGION_APPEND *([^,]*, */RegionAppend(/g' \
    -e 's/REGION_VALIDATE *([^,]*, */RegionValidate(/g' \
    -e 's/BITMAP_TO_REGION\b/BitmapToRegion/g' \
    -e 's/RECTS_TO_REGION *([^,]*, */RegionFromRects(/g' \
    -e 's/REGION_BREAK *([^,]*, */RegionBreak(/g' \
    -e 's/REGION_INIT *([^,]*, */RegionInit(/g' \
    -e 's/REGION_UNINIT *([^,]*, */RegionUninit(/g' \
    -e 's/REGION_RESET *([^,]*, */RegionReset(/g' \
    -e 's/REGION_NOTEMPTY *([^,]*, */RegionNotEmpty(/g' \
    -e 's/REGION_BROKEN *([^,]*, */RegionBroken(/g' \
    -e 's/REGION_EMPTY *([^,]*, */RegionEmpty(/g' \
    -e 's/REGION_EXTENTS *([^,]*, */RegionExtents(/g' \
    -e 's/REGION_NULL *([^,]*, */RegionNull(/g' \
    -e 's/REGION_NULL$/RegionNull/g' \
    "$@"