PageRenderTime 87ms CodeModel.GetById 85ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 1ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/js/plify_jsdhash.sed

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
sed | 35 lines | 35 code | 0 blank | 0 comment | 0 complexity | b2adb8284d4d48562d0b49244750c411 MD5 | raw file
 1/ * Double hashing implementation./a\
 2 * GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!!
 3/ * Double hashing, a la Knuth 6./a\
 4 * GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!!
 5s/jsdhash_h___/pldhash_h___/
 6s/jsdhash\.bigdump/pldhash.bigdump/
 7s/jstypes\.h/nscore.h/
 8s/jsbit\.h/prbit.h/
 9s/jsdhash\.h/pldhash.h/
10s/jsdhash\.c/pldhash.c/
11s/jsdhash:/pldhash:/
12s/jsutil\.h/nsDebug.h/
13s/JS_DHASH/PL_DHASH/g
14s/JS_DHash/PL_DHash/g
15s/JSDHash/PLDHash/g
16s/JSHash/PLHash/g
17s/uint32  /PRUint32/g
18s/\([^U]\)int32  /\1PRInt32/g
19s/uint16  /PRUint16/g
20s/\([^U]\)int16  /\1PRInt16/g
21s/uint32/PRUint32/g
22s/\([^U]\)int32/\1PRInt32/g
23s/uint16/PRUint16/g
24s/\([^U]\)int16/\1PRInt16/g
25s/JSBool/PRBool/g
26s/extern JS_PUBLIC_API(\([^()]*\))/NS_COM_GLUE \1/
27s/JS_PUBLIC_API(\([^()]*\))/\1/
28s/JS_NewDHashTable/PL_NewDHashTable/
29s/JS_ASSERT(0)/NS_NOTREACHED("0")/
30s/\( *\)JS_ASSERT(\(.*\));/\1NS_ASSERTION(\2,\n\1             "\2");/
31s/JSDHASH_ONELINE_ASSERT(\(.*\));/NS_ASSERTION(\1, "\1");/
32s/JS_UNLIKELY/NS_UNLIKELY/g
33s/JS_LIKELY/NS_LIKELY/g
34s/JS_/PR_/g
35s/fprintf(stderr,/printf_stderr(/