gecko-dev/xpcom/base
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
..
AvailableMemoryTracker.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
AvailableMemoryTracker.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
ClearOnShutdown.cpp Bug 716523 - ClearOnShutdown() should assert if called after XPCOM shutdown. r=bsmedberg 2012-01-26 15:54:03 -05:00
ClearOnShutdown.h Bug 772987 - Part 3: Update comment in ClearOnShutdown. r=glandium 2012-07-26 15:33:45 -04:00
FunctionTimer.cpp Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
FunctionTimer.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makefile.in Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
MapsMemoryReporter.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
MapsMemoryReporter.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
StackWalk.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
StaticPtr.h Bug 772987 - Part 1: Add Static{Auto,Ref}Ptr. r=bsmedberg 2012-07-26 15:33:45 -04:00
VisualEventTracer.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
VisualEventTracer.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
dmd.h Bug 704400 - Implement --enable-dmd. r=khuey. 2011-12-08 19:09:36 -08:00
nsAgg.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsAllocator.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsAtomicRefcnt.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsAutoPtr.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsAutoRef.h Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
nsCom.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsConsoleMessage.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsConsoleMessage.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsConsoleService.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsConsoleService.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsCrashOnException.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsCrashOnException.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsCycleCollector.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsCycleCollector.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDebugImpl.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsDebugImpl.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsError.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsErrorService.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsErrorService.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsExceptionService.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsExceptionService.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIAllocator.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIConsoleListener.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIConsoleMessage.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIConsoleService.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsICycleCollectorListener.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDebug.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDebug2.idl Bug 763138: Telemetry should indicate whether a debugger is attached. r=bsmedberg,smichaud 2012-06-28 14:57:52 -04:00
nsIErrorService.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIException.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIExceptionService.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIID.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIInterfaceRequestor.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIMacUtils.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIMemory.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIMemoryReporter.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsIMutable.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIProgrammingLanguage.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsISizeOf.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISupports.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISupportsBase.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISupportsObsolete.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsITraceRefcnt.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIUUIDGenerator.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIVersionComparator.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIWeakReference.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsInterfaceRequestorAgg.cpp Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
nsInterfaceRequestorAgg.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsMacUtilsImpl.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsMacUtilsImpl.h Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg 2012-06-05 19:51:58 -04:00
nsMemoryImpl.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsMemoryImpl.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsMemoryReporterManager.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsMemoryReporterManager.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsObjCExceptions.h Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
nsSetDllDirectory.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsStackWalk.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsStackWalk.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsStackWalkPrivate.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsSystemInfo.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsSystemInfo.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsTraceRefcntImpl.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsTraceRefcntImpl.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsUUIDGenerator.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsUUIDGenerator.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsVersionComparatorImpl.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsVersionComparatorImpl.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsWeakPtr.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsWindowsHelpers.h Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg 2012-07-25 10:23:26 -04:00
nscore.h Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
nsrootidl.idl Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
pure.h
pure_api.c