replicant-frameworks_native/include/utils
Mathias Agopian cbb0d62843 improvements (I hope) to to List.h implementation:
- made the helper Node and Iterator classes protected inner classes of List so they don't pollute the android namespace.
- use "int foo()" instead of "int foo(void)" which is more C++ stylish
- made distance() a template function, this way we write it once and it will work with combinations of iterator and const_iterator
- added the inline keyword on some function to make it clear to the compiler and the programmer that we want/intend these to be small inline functions
- added templated comparison operators to Iterator so it can compare iterator and const_iterator
- use size_t instead of "unsigned int" at places
- distance() should return a ptrdiff_t (it's kind of mening less here because it won't really work if the distance is < 0)
- made sure we handle conversions from iterator to const_iterator, but but fail at compile time in the other direction
- added operator->() on iterator and const_iterator
- made a bunch of private constructors explicit to avoid unwanted conversions
2009-04-28 03:06:59 -07:00
..
AndroidUnicode.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ashmem.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Asset.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
AssetDir.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
AssetManager.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Atomic.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Binder.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BpBinder.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Buffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
BufferedTextOutput.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ByteOrder.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
CallStack.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Debug.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Errors.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
executablepath.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
FileMap.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
IBinder.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
IInterface.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
IMemory.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
inet_address.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
IPCThreadState.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
IPermissionController.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
IServiceManager.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
KeyedVector.h fix KeyedVector::replaceValueAt, which wouldn't even compile if used. 2009-04-10 20:27:25 -07:00
List.h improvements (I hope) to to List.h implementation: 2009-04-28 03:06:59 -07:00
Log.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
LogSocket.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
MemoryBase.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
MemoryDealer.h a brand new MessageQueue for SurfaceFlinger. 2009-04-24 16:22:36 -07:00
MemoryHeapBase.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
MemoryHeapPmem.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
misc.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Parcel.h Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
Pipe.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ported.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ProcessState.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
RefBase.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ResourceTypes.h auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:46 -07:00
SharedBuffer.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Singleton.h Squashed commit of the following: 2009-04-24 15:00:41 -07:00
Socket.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
SortedVector.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
StopWatch.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
String8.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
String16.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
string_array.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
SystemClock.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
TextOutput.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
threads.h auto import from //depot/cupcake/@136594 2009-03-05 14:34:35 -08:00
TimerProbe.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Timers.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
TimeUtils.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
TypeHelpers.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Vector.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
VectorImpl.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ZipEntry.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ZipFile.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ZipFileCRO.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ZipFileRO.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ZipUtils.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00