PageRenderTime 41ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  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!!!
  5. s/jsdhash_h___/pldhash_h___/
  6. s/jsdhash\.bigdump/pldhash.bigdump/
  7. s/jstypes\.h/nscore.h/
  8. s/jsbit\.h/prbit.h/
  9. s/jsdhash\.h/pldhash.h/
  10. s/jsdhash\.c/pldhash.c/
  11. s/jsdhash:/pldhash:/
  12. s/jsutil\.h/nsDebug.h/
  13. s/JS_DHASH/PL_DHASH/g
  14. s/JS_DHash/PL_DHash/g
  15. s/JSDHash/PLDHash/g
  16. s/JSHash/PLHash/g
  17. s/uint32 /PRUint32/g
  18. s/\([^U]\)int32 /\1PRInt32/g
  19. s/uint16 /PRUint16/g
  20. s/\([^U]\)int16 /\1PRInt16/g
  21. s/uint32/PRUint32/g
  22. s/\([^U]\)int32/\1PRInt32/g
  23. s/uint16/PRUint16/g
  24. s/\([^U]\)int16/\1PRInt16/g
  25. s/JSBool/PRBool/g
  26. s/extern JS_PUBLIC_API(\([^()]*\))/NS_COM_GLUE \1/
  27. s/JS_PUBLIC_API(\([^()]*\))/\1/
  28. s/JS_NewDHashTable/PL_NewDHashTable/
  29. s/JS_ASSERT(0)/NS_NOTREACHED("0")/
  30. s/\( *\)JS_ASSERT(\(.*\));/\1NS_ASSERTION(\2,\n\1 "\2");/
  31. s/JSDHASH_ONELINE_ASSERT(\(.*\));/NS_ASSERTION(\1, "\1");/
  32. s/JS_UNLIKELY/NS_UNLIKELY/g
  33. s/JS_LIKELY/NS_LIKELY/g
  34. s/JS_/PR_/g
  35. s/fprintf(stderr,/printf_stderr(/