/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/js/plify_jsdhash.sed
sed | 35 lines | 35 code | 0 blank | 0 comment | 0 complexity | b2adb8284d4d48562d0b49244750c411 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
- / * Double hashing implementation./a\
- * GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!!
- / * Double hashing, a la Knuth 6./a\
- * GENERATED BY js/src/plify_jsdhash.sed -- DO NOT EDIT!!!
- s/jsdhash_h___/pldhash_h___/
- s/jsdhash\.bigdump/pldhash.bigdump/
- s/jstypes\.h/nscore.h/
- s/jsbit\.h/prbit.h/
- s/jsdhash\.h/pldhash.h/
- s/jsdhash\.c/pldhash.c/
- s/jsdhash:/pldhash:/
- s/jsutil\.h/nsDebug.h/
- s/JS_DHASH/PL_DHASH/g
- s/JS_DHash/PL_DHash/g
- s/JSDHash/PLDHash/g
- s/JSHash/PLHash/g
- s/uint32 /PRUint32/g
- s/\([^U]\)int32 /\1PRInt32/g
- s/uint16 /PRUint16/g
- s/\([^U]\)int16 /\1PRInt16/g
- s/uint32/PRUint32/g
- s/\([^U]\)int32/\1PRInt32/g
- s/uint16/PRUint16/g
- s/\([^U]\)int16/\1PRInt16/g
- s/JSBool/PRBool/g
- s/extern JS_PUBLIC_API(\([^()]*\))/NS_COM_GLUE \1/
- s/JS_PUBLIC_API(\([^()]*\))/\1/
- s/JS_NewDHashTable/PL_NewDHashTable/
- s/JS_ASSERT(0)/NS_NOTREACHED("0")/
- s/\( *\)JS_ASSERT(\(.*\));/\1NS_ASSERTION(\2,\n\1 "\2");/
- s/JSDHASH_ONELINE_ASSERT(\(.*\));/NS_ASSERTION(\1, "\1");/
- s/JS_UNLIKELY/NS_UNLIKELY/g
- s/JS_LIKELY/NS_LIKELY/g
- s/JS_/PR_/g
- s/fprintf(stderr,/printf_stderr(/