22#error !! Including e32std.h in kernel code !!
70 inline TCallBack(TInt (*aFunction)(TAny* aPtr),TAny* aPtr);
181 IMPORT_C
void Deque();
263 IMPORT_C TBool
IsEmpty()
const;
265 IMPORT_C
void Reset();
311 IMPORT_C TBool
IsEmpty()
const;
313 IMPORT_C
void Reset();
356 IMPORT_C
void Reset();
360 IMPORT_C
void DoAddDelta(TAny* aPtr,TInt aDelta);
392 inline explicit TSglQue(TInt aOffset);
395 inline TBool
IsFirst(
const T* aPtr)
const;
396 inline TBool
IsLast(
const T* aPtr)
const;
397 inline T*
First()
const;
398 inline T*
Last()
const;
399 inline void Remove(T& aRef);
424 inline explicit TDblQue(TInt aOffset);
427 inline TBool
IsHead(
const T* aPtr)
const;
428 inline TBool
IsFirst(
const T* aPtr)
const;
429 inline TBool
IsLast(
const T* aPtr)
const;
430 inline T*
First()
const;
431 inline T*
Last()
const;
458 inline explicit TPriQue(TInt aOffset);
459 inline void Add(T& aRef);
460 inline TBool
IsHead(
const T* aPtr)
const;
461 inline TBool
IsFirst(
const T* aPtr)
const;
462 inline TBool
IsLast(
const T* aPtr)
const;
463 inline T*
First()
const;
464 inline T*
Last()
const;
505 inline void Add(T& aRef,TInt aDelta);
506 inline void Remove(T& aRef);
563 IMPORT_C
void DoSet(TAny* aLink);
588 inline void Set(T& aLink);
589 inline operator T*();
616 IMPORT_C
void DoSet(TAny* aLink);
652 inline void Set(T& aLink);
653 inline operator T*();
871 inline void SetPtr(
const TAny* aPtr);
872 IMPORT_C
virtual TInt
Compare(TInt aLeft,TInt aRight)
const;
873 IMPORT_C
virtual TAny*
At(TInt anIndex)
const;
906 IMPORT_C
virtual void Swap(TInt aLeft,TInt aRight)
const;
933 inline TCharF(TUint aChar);
999 IMPORT_C
TRealFormat(TInt aWidth,TInt aDecimalPlaces);
1140 inline TLex8(
const TDesC8& aDes);
1143 inline TBool
Eos()
const;
1146 IMPORT_C
void Inc();
1147 IMPORT_C
void Inc(TInt aNumber);
1150 IMPORT_C
void UnGet();
1167 IMPORT_C TInt
Offset()
const;
1170 IMPORT_C TInt
Val(TInt8& aVal);
1171 IMPORT_C TInt
Val(TInt16& aVal);
1172 IMPORT_C TInt
Val(TInt32& aVal);
1173 IMPORT_C TInt
Val(TInt64& aVal);
1174 inline TInt
Val(TInt& aVal);
1175 IMPORT_C TInt
Val(TUint8& aVal,TRadix aRadix);
1176 IMPORT_C TInt
Val(TUint16& aVal,TRadix aRadix);
1177 IMPORT_C TInt
Val(TUint32& aVal,TRadix aRadix);
1178 IMPORT_C TInt
Val(TInt64& aVal, TRadix aRadix);
1179 inline TInt
Val(TUint& aVal,TRadix aRadix=EDecimal);
1180 IMPORT_C TInt
BoundedVal(TInt32& aVal,TInt aLimit);
1181 IMPORT_C TInt
BoundedVal(TInt64& aVal,
const TInt64& aLimit);
1182 IMPORT_C TInt
BoundedVal(TUint32& aVal,TRadix aRadix,TUint aLimit);
1183 IMPORT_C TInt
BoundedVal(TInt64& aVal, TRadix aRadix,
const TInt64& aLimit);
1184 IMPORT_C TInt
Val(TReal32& aVal);
1185 IMPORT_C TInt
Val(TReal32& aVal,
TChar aPoint);
1186 IMPORT_C TInt
Val(TReal64& aVal);
1187 IMPORT_C TInt
Val(TReal64& aVal,
TChar aPoint);
1189 IMPORT_C
void Assign(
const TUint8* aString);
1190 IMPORT_C
void Assign(
const TDesC8& aDes);
1198 inline TInt
Val(TInt64& aVal,
const TInt64& aLimit) {
return BoundedVal(aVal,aLimit); };
1201 inline TInt
Val(TUint32& aVal,TRadix aRadix,TUint aLimit) {
return BoundedVal(aVal,aRadix,aLimit); };
1204 inline TInt
Val(TInt64& aVal,TRadix aRadix,
const TInt64& aLimit) {
return BoundedVal(aVal,aRadix,aLimit); };
1206 void Scndig(TInt& aSig, TInt& aExp, TUint64& aDl);
1207 void ScndigAfterPoint(TInt& aSig, TUint64& aDl);
1210 const TUint8* iNext;
1238 const TUint16* iPtr;
1269 inline TLex16(
const TUint16* aString);
1270 inline TLex16(
const TDesC16& aDes);
1273 inline TBool
Eos()
const;
1276 IMPORT_C
void Inc();
1277 IMPORT_C
void Inc(TInt aNumber);
1280 IMPORT_C
void UnGet();
1300 IMPORT_C TInt
Val(TInt8& aVal);
1301 IMPORT_C TInt
Val(TInt16& aVal);
1302 IMPORT_C TInt
Val(TInt32& aVal);
1303 IMPORT_C TInt
Val(TInt64& aVal);
1304 inline TInt
Val(TInt& aVal);
1305 IMPORT_C TInt
Val(TUint8& aVal,TRadix aRadix);
1306 IMPORT_C TInt
Val(TUint16& aVal,TRadix aRadix);
1307 IMPORT_C TInt
Val(TUint32& aVal,TRadix aRadix);
1308 IMPORT_C TInt
Val(TInt64& aVal, TRadix aRadix);
1310 inline TInt
Val(TUint& aVal,TRadix aRadix=EDecimal);
1311 IMPORT_C TInt
BoundedVal(TInt32& aVal,TInt aLimit);
1312 IMPORT_C TInt
BoundedVal(TInt64& aVal,
const TInt64& aLimit);
1313 IMPORT_C TInt
BoundedVal(TUint32& aVal,TRadix aRadix,TUint aLimit);
1314 IMPORT_C TInt
BoundedVal(TInt64& aVal, TRadix aRadix,
const TInt64& aLimit);
1315 IMPORT_C TInt
Val(TReal32& aVal);
1316 IMPORT_C TInt
Val(TReal32& aVal,
TChar aPoint);
1317 IMPORT_C TInt
Val(TReal64& aVal);
1318 IMPORT_C TInt
Val(TReal64& aVal,
TChar aPoint);
1320 IMPORT_C
void Assign(
const TUint16* aString);
1321 IMPORT_C
void Assign(
const TDesC16& aDes);
1326 inline TInt
Val(TInt32& aVal,TInt aLimit) {
return BoundedVal(aVal,aLimit); };
1329 inline TInt
Val(TInt64& aVal,
const TInt64& aLimit) {
return BoundedVal(aVal,aLimit); };
1332 inline TInt
Val(TUint32& aVal,TRadix aRadix,TUint aLimit) {
return BoundedVal(aVal,aRadix,aLimit); };
1335 inline TInt
Val(TInt64& aVal,TRadix aRadix,
const TInt64& aLimit) {
return BoundedVal(aVal,aRadix,aLimit); };
1337 void Scndig(TInt& aSig, TInt& aExp, TUint64& aDl);
1340 const TUint16* iNext;
1341 const TUint16* iBuf;
1342 const TUint16* iEnd;
1350#if defined(_UNICODE)
1449 IMPORT_C
void Set(
const TDesC8& aPtr);
1450 IMPORT_C TPtrC8
Des()
const;
1453 IMPORT_C TUint
Check()
const;
1485 IMPORT_C
TDateTime(TInt aYear,TMonth aMonth,TInt aDay,TInt aHour,TInt aMinute, TInt aSecond,TInt aMicroSecond);
1486 IMPORT_C TInt
Set(TInt aYear,TMonth aMonth,TInt aDay,TInt aHour,TInt aMinute, TInt aSecond,TInt aMicroSecond);
1487 IMPORT_C TInt
SetYear(TInt aYear);
1489 IMPORT_C TInt
SetMonth(TMonth aMonth);
1490 IMPORT_C TInt
SetDay(TInt aDay);
1491 IMPORT_C TInt
SetHour(TInt aHour);
1495 inline TInt
Year()
const;
1496 inline TMonth
Month()
const;
1497 inline TInt
Day()
const;
1498 inline TInt
Hour()
const;
1499 inline TInt
Minute()
const;
1540 inline const TInt64&
Int64()
const;
1801 IMPORT_C TInt
Set(
const TDesC& aString);
1821 IMPORT_C TInt
WeekNoInYear(TFirstWeekRule aRule)
const;
1826 IMPORT_C TInt
Parse(
const TDesC& aDes,TInt aCenturyOffset=0);
1866 inline const TInt64&
Int64()
const;
1890 IMPORT_C
static TInt
DaysInMonth(TInt aYear, TMonth aMonth);
1966 IMPORT_C
void Set(TMonth aMonth);
1989 IMPORT_C
void Set(TMonth aMonth);
2014 IMPORT_C
void Set(TInt aDateSuffix);
2038 IMPORT_C
void Set(TAmPm aSelector);
2058 IMPORT_C
void Set();
2094 IMPORT_C
void Set();
2130 IMPORT_C
void Set();
2163 IMPORT_C
void Set();
2315 TDateFormat iDateFormat;
2316 TTimeFormat iTimeFormat;
2317 TLocalePos iCurrencySymbolPosition;
2318 TBool iCurrencySpaceBetween;
2319 TInt iCurrencyDecimalPlaces;
2321 TBool iCurrencyTriadsAllowed;
2322 TChar iThousandsSeparator;
2323 TChar iDecimalSeparator;
2324 TChar iDateSeparator[KMaxDateSeparators];
2325 TChar iTimeSeparator[KMaxTimeSeparators];
2326 TLocalePos iAmPmSymbolPosition;
2327 TBool iAmPmSpaceBetween;
2328 TUint iDaylightSaving;
2329 TDaylightSavingZone iHomeDaylightSavingZone;
2332 TClockFormat iClockFormat;
2333 TUnitsFormat iUnitsGeneral;
2334 TUnitsFormat iUnitsDistanceShort;
2335 TUnitsFormat iUnitsDistanceLong;
2336 TUint iExtraNegativeCurrencyFormatFlags;
2337 TUint16 iLanguageDowngrade[3];
2338 TUint16 iRegionCode;
2339 TDigitType iDigitType;
2444 IMPORT_C TInt
LoadLocale(
const TDesC& aLanguageLocaleDllName,
const TDesC& aRegionLocaleDllName,
const TDesC& aCollationLocaleDllName);
2493 TInt DoLoadLocale(
const TDesC& aLocaleDllName, TLibraryFunction* aExportList);
2494 void DoUpdateLanguageSettings(TLibraryFunction* aExportList);
2495 void DoUpdateLocaleSettings(TLibraryFunction* aExportList);
2496 void DoUpdateTimeDateFormat(TLibraryFunction* aExportList);
2498#ifdef SYMBIAN_DISTINCT_LOCALE_MODEL
2499 void DoUpdateLanguageSettingsV2(TLibraryFunction* aExportList);
2500 void DoUpdateLocaleSettingsV2(TLibraryFunction* aExportList);
2501 TInt CheckLocaleDllName(
const TDesC& aLocaleDllName, TInt& languageID);
2502 void AddExtension(
TDes& aFileName, TInt aExtension);
2511 const LCharSet* iDefaultCharSet;
2512 const LCharSet* iPreferredCharSet;
2548 IMPORT_C
TRect(TInt aAx,TInt aAy,TInt aBx,TInt aBy);
2554 IMPORT_C
void SetRect(TInt aAx,TInt aAy,TInt aBx,TInt aBy);
2557 IMPORT_C
void Move(TInt aDx,TInt aDy);
2559 IMPORT_C
void Resize(TInt aDx,TInt aDy);
2563 IMPORT_C
void Grow(TInt aDx,TInt aDy);
2566 IMPORT_C TBool
IsEmpty()
const;
2573 IMPORT_C TInt
Height()
const;
2577 IMPORT_C
void SetWidth(TInt aWidth);
2580 void Adjust(TInt aDx,TInt aDy);
2641 inline TInt
Count()
const;
2644 IMPORT_C TBool
IsEmpty()
const;
2650 IMPORT_C
void Offset(TInt aXoffset,TInt aYoffset);
2657 IMPORT_C
void Clear();
2658 IMPORT_C
void Tidy();
2659 IMPORT_C TInt
Sort();
2667 IMPORT_C
TRegion(TInt aAllocedRects);
2703 enum {EDefaultGranularity=5};
2711 IMPORT_C
RRegion(TInt aCount,
TRect* aRectangleList,TInt aGran=EDefaultGranularity);
2712 IMPORT_C
void Close();
2717 TRect* iRectangleList;
2750 TInt8 iRectangleBuf[S*
sizeof(
TRect)];
3106 IMPORT_C TInt
Open(
const TDesC& aName,TOwnerType aType=EOwnerProcess);
3107 IMPORT_C
void GetCaps(TDes8& aDes)
const;
3109 IMPORT_C TBool
IsAvailable(TInt aUnit,
const TDesC* aPhysicalDevice,
const TDesC8* anInfo)
const;
3171 IMPORT_C
void Close();
3173 IMPORT_C TInt
Load(
const TDesC& aFileName,
const TDesC& aPath=KNullDesC);
3175 IMPORT_C TInt
Load(
const TDesC& aFileName,
const TDesC& aPath,
const TUidType& aType, TUint32 aModuleVersion);
3177 IMPORT_C TLibraryFunction
Lookup(TInt anOrdinal)
const;
3180 IMPORT_C TInt
GetRamSizes(TInt& aCodeSize, TInt& aConstDataSize);
3181 IMPORT_C TInt
Init();
3198 struct TInfoV2 :
public TInfo
3259 IMPORT_C
static TInt
GetInfo(
const TDesC& aFileName, TDes8& aInfoBuf);
3291 IMPORT_C TInt
CreateLocal(TOwnerType aType=EOwnerProcess);
3292 IMPORT_C
void Close();
3293 IMPORT_C
void Wait();
3319 IMPORT_C TInt
CreateLocal(TOwnerType aType=EOwnerProcess);
3321 IMPORT_C TInt
OpenGlobal(
const TDesC& aName,TOwnerType aType=EOwnerProcess);
3322 IMPORT_C TInt
Open(
RMessagePtr2 aMessage,TInt aParam,TOwnerType aType=EOwnerProcess);
3323 IMPORT_C TInt
Open(TInt aArgumentIndex, TOwnerType aType=EOwnerProcess);
3324 IMPORT_C
void Wait();
3325 IMPORT_C TInt
Poll();
3326 IMPORT_C TInt
Wait(TInt aTimeout);
3349 IMPORT_C TInt
CreateLocal(TOwnerType aType=EOwnerProcess);
3351 IMPORT_C TInt
OpenGlobal(
const TDesC& aName, TOwnerType aType=EOwnerProcess);
3352 IMPORT_C TInt
Open(
RMessagePtr2 aMessage, TInt aParam, TOwnerType aType=EOwnerProcess);
3353 IMPORT_C TInt
Open(TInt aArgumentIndex, TOwnerType aType=EOwnerProcess);
3387 inline TInt
Open(
const TFindChunk& aFind,TOwnerType aType=EOwnerProcess);
3388 IMPORT_C TInt
CreateLocal(TInt aSize,TInt aMaxSize,TOwnerType aType=EOwnerProcess);
3389 IMPORT_C TInt
CreateLocalCode(TInt aSize,TInt aMaxSize,TOwnerType aType=EOwnerProcess);
3390 IMPORT_C TInt
CreateGlobal(
const TDesC& aName,TInt aSize,TInt aMaxSize,TOwnerType aType=EOwnerProcess);
3391 IMPORT_C TInt
CreateDoubleEndedLocal(TInt aInitialBottom, TInt aInitialTop,TInt aMaxSize,TOwnerType aType=EOwnerProcess);
3392 IMPORT_C TInt
CreateDoubleEndedGlobal(
const TDesC& aName,TInt aInitialBottom,TInt aInitialTop,TInt aMaxSize,TOwnerType aType=EOwnerProcess);
3393 IMPORT_C TInt
CreateDisconnectedLocal(TInt aInitialBottom, TInt aInitialTop,TInt aMaxSize,TOwnerType aType=EOwnerProcess);
3397 IMPORT_C TInt
OpenGlobal(
const TDesC& aName,TBool isReadOnly,TOwnerType aType=EOwnerProcess);
3398 IMPORT_C TInt
Open(
RMessagePtr2 aMessage,TInt aParam,TBool isReadOnly,TOwnerType aType=EOwnerProcess);
3399 IMPORT_C TInt
Open(TInt aArgumentIndex, TOwnerType aType=EOwnerProcess);
3400 IMPORT_C TInt
Adjust(TInt aNewSize)
const;
3402 IMPORT_C TInt
Commit(TInt anOffset, TInt aSize)
const;
3403 IMPORT_C TInt
Allocate(TInt aSize)
const;
3404 IMPORT_C TInt
Decommit(TInt anOffset, TInt aSize)
const;
3405 IMPORT_C TInt
Unlock(TInt aOffset, TInt aSize);
3406 IMPORT_C TInt
Lock(TInt aOffset, TInt aSize);
3407 IMPORT_C TUint8*
Base()
const;
3408 IMPORT_C TInt
Size()
const;
3409 IMPORT_C TInt
Bottom()
const;
3410 IMPORT_C TInt
Top()
const;
3414 IMPORT_C TBool
IsPaged()
const;
3453 IMPORT_C
void SetNormal(TInt aInitialSize, TInt aMaxSize);
3454 IMPORT_C
void SetCode(TInt aInitialSize, TInt aMaxSize);
3455 IMPORT_C
void SetDoubleEnded(TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize);
3456 IMPORT_C
void SetDisconnected(TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize);
3457 IMPORT_C
void SetOwner(TOwnerType aType);
3468 IMPORT_C
void SetCache(TInt aMaxSize);
3615struct SStdEpocThreadCreateInfo;
3646 IMPORT_C
static RHeap*
FixedHeap(TAny* aBase, TInt aMaxLength, TInt aAlign=0, TBool aSingleThread=ETrue);
3647 IMPORT_C
static RHeap*
ChunkHeap(
const TDesC* aName, TInt aMinLength, TInt aMaxLength, TInt aGrowBy=1, TInt aAlign=0, TBool aSingleThread=EFalse);
3648 IMPORT_C
static RHeap*
ChunkHeap(
RChunk aChunk, TInt aMinLength, TInt aGrowBy=1, TInt aMaxLength=0, TInt aAlign=0, TBool aSingleThread=EFalse, TUint32 aMode=0);
3649 IMPORT_C
static RHeap*
OffsetChunkHeap(
RChunk aChunk, TInt aMinLength, TInt aOffset, TInt aGrowBy=1, TInt aMaxLength=0, TInt aAlign=0, TBool aSingleThread=EFalse, TUint32 aMode=0);
3652 IMPORT_C
static TInt
CreateThreadHeap(SStdEpocThreadCreateInfo& aInfo,
RHeap*& aHeap, TInt aAlign=0, TBool aSingleThread=EFalse);
3669 inline TUint64
Id()
const;
3670 inline operator TUint()
const;
3736 TInt aStackSize, TAny* aPtr);
3737 IMPORT_C
void SetCreateHeap(TInt aHeapMinSize, TInt aHeapMaxSize);
3739 IMPORT_C
void SetOwner(
const TOwnerType aOwner);
3802 IMPORT_C TInt
Create(
const TDesC& aName, TThreadFunction aFunction, TInt aStackSize, TInt aHeapMinSize, TInt aHeapMaxSize, TAny *aPtr, TOwnerType aType=EOwnerProcess);
3803 IMPORT_C TInt
Create(
const TDesC& aName, TThreadFunction aFunction, TInt aStackSize,
RAllocator* aHeap, TAny* aPtr, TOwnerType aType=EOwnerProcess);
3805 IMPORT_C TInt
Open(
const TDesC& aFullName, TOwnerType aType=EOwnerProcess);
3806 IMPORT_C TInt
Open(
TThreadId aID, TOwnerType aType=EOwnerProcess);
3808 IMPORT_C
void Resume()
const;
3809 IMPORT_C
void Suspend()
const;
3818 IMPORT_C
void Panic(
const TDesC& aCategory,TInt aReason);
3820 IMPORT_C TThreadPriority
Priority()
const;
3821 IMPORT_C
void SetPriority(TThreadPriority aPriority)
const;
3825 IMPORT_C TExitType
ExitType()
const;
3832 IMPORT_C
void HandleCount(TInt& aProcessHandleCount, TInt& aThreadHandleCount)
const;
3833 IMPORT_C
void Context(TDes8& aDes)
const;
3836 inline TInt
Open(
const TFindThread& aFind,TOwnerType aType=EOwnerProcess);
3839 IMPORT_C
static void Rendezvous(TInt aReason);
3926#ifndef __REMOVE_PLATSEC_DIAGNOSTIC_STRINGS__
3927 inline TBool
HasCapability(TCapability aCapability,
const char* aDiagnostic=0)
const;
3931#ifndef __REMOVE_PLATSEC_DIAGNOSTICS__
3955#ifndef __REMOVE_PLATSEC_DIAGNOSTIC_STRINGS__
3956 inline TBool
HasCapability(TCapability aCapability1, TCapability aCapability2,
const char* aDiagnostic=0)
const;
3960#ifndef __REMOVE_PLATSEC_DIAGNOSTICS__
3971 inline TInt
Create(
const TDesC& aName,TThreadFunction aFunction,TInt aStackSize,TAny* aPtr,
RLibrary* aLibrary,
RHeap* aHeap, TInt aHeapMinSize,TInt aHeapMaxSize,TOwnerType aType);
3975 IMPORT_C TBool DoHasCapability(TCapability aCapability,
const char* aDiagnostic)
const;
3976 IMPORT_C TBool DoHasCapability(TCapability aCapability)
const;
3977 IMPORT_C TBool DoHasCapability(TCapability aCapability1, TCapability aCapability2,
const char* aDiagnostic)
const;
3978 IMPORT_C TBool DoHasCapability(TCapability aCapability1, TCapability aCapability2)
const;
3986 {
return KErrNotSupported; }
4026 IMPORT_C TInt
Create(
const TDesC& aFileName,
const TDesC& aCommand,TOwnerType aType=EOwnerProcess);
4027 IMPORT_C TInt
Create(
const TDesC& aFileName,
const TDesC& aCommand,
const TUidType &aUidType, TOwnerType aType=EOwnerProcess);
4028 IMPORT_C TInt
Open(
const TDesC& aName,TOwnerType aType=EOwnerProcess);
4029 IMPORT_C TInt
Open(
TProcessId aId,TOwnerType aType=EOwnerProcess);
4038 IMPORT_C
void Kill(TInt aReason);
4040 IMPORT_C
void Panic(
const TDesC& aCategory,TInt aReason);
4046 IMPORT_C TProcessPriority
Priority()
const;
4047 IMPORT_C TInt
SetPriority(TProcessPriority aPriority)
const;
4053 inline TInt
Open(
const TFindProcess& aFind,TOwnerType aType=EOwnerProcess);
4144#ifndef __REMOVE_PLATSEC_DIAGNOSTIC_STRINGS__
4145 inline TBool
HasCapability(TCapability aCapability,
const char* aDiagnostic=0)
const;
4149#ifndef __REMOVE_PLATSEC_DIAGNOSTICS__
4173#ifndef __REMOVE_PLATSEC_DIAGNOSTIC_STRINGS__
4174 inline TBool
HasCapability(TCapability aCapability1, TCapability aCapability2,
const char* aDiagnostic=0)
const;
4178#ifndef __REMOVE_PLATSEC_DIAGNOSTICS__
4186 IMPORT_C TInt
SetParameter(TInt aSlot,
const TDesC16& aDes);
4187 IMPORT_C TInt
SetParameter(TInt aSlot,
const TDesC8& aDes);
4231 IMPORT_C TBool DoHasCapability(TCapability aCapability,
const char* aDiagnostic)
const;
4232 IMPORT_C TBool DoHasCapability(TCapability aCapability)
const;
4233 IMPORT_C TBool DoHasCapability(TCapability aCapability1, TCapability aCapability2,
const char* aDiagnostic)
const;
4234 IMPORT_C TBool DoHasCapability(TCapability aCapability1, TCapability aCapability2)
const;
4253 IMPORT_C TInt
CreateGlobal(
const TDesC& aName, TInt aMode, TInt aRole, TInt aOpts);
4328 IMPORT_C TInt
Open(
RMessagePtr2 aMessage,TInt aParam,TOwnerType aType=EOwnerProcess);
4330 IMPORT_C TInt
Open(TInt aArgumentIndex, TOwnerType aType=EOwnerProcess);
4331 IMPORT_C TInt
Open(TInt aArgumentIndex,
const TSecurityPolicy& aServerPolicy, TOwnerType aType=EOwnerProcess);
4348 inline TInt
Send(TInt aFunction,
const TIpcArgs& aArgs)
const;
4351 inline TInt
Send(TInt aFunction)
const;
4355 IMPORT_C TInt DoSend(TInt aFunction,
const TIpcArgs* aArgs)
const;
4357 IMPORT_C TInt DoSendReceive(TInt aFunction,
const TIpcArgs* aArgs)
const;
4359 TInt SendSync(TInt aFunction,
const TIpcArgs* aArgs)
const;
4360 IMPORT_C TInt DoShare(TInt aAttachMode);
4399 inline TInt
Send(TInt aFunction,
const TIpcArgs& aArgs)
const;
4402 inline TInt
Send(TInt aFunction)
const;
4406 IMPORT_C TInt DoCreateSubSession(
const RSessionBase& aSession,TInt aFunction,
const TIpcArgs* aArgs);
4407 IMPORT_C TInt DoSend(TInt aFunction,
const TIpcArgs* aArgs)
const;
4409 IMPORT_C TInt DoSendReceive(TInt aFunction,
const TIpcArgs* aArgs)
const;
4410 TInt DoCreateSubSession(
RSessionBase& aSession,TInt aFunction,
const TIpcArgs* aArgs, TBool aAutoClose);
4413 TInt iSubSessionHandle;
4431 IMPORT_C
void Free();
4435 IMPORT_C
void DoAlloc(
const TAny* aPtr,TInt aSize);
4436 IMPORT_C
void DoAllocL(
const TAny* aPtr,TInt aSize);
4439 IMPORT_C
void operator=(
const RRefBase& aRef);
4466 inline operator T*();
4468 inline void Alloc(
const T& anObject,TInt aSize);
4469 inline void AllocL(
const T& anObject);
4470 inline void AllocL(
const T& anObject,TInt aSize);
4533 IMPORT_C
void Close();
4535 IMPORT_C TInt
StartNotifier(
TUid aNotifierUid,
const TDesC8& aBuffer,TDes8& aResponse);
4538 IMPORT_C TInt
UpdateNotifier(
TUid aNotifierUid,
const TDesC8& aBuffer,TDes8& aResponse);
4549 HBufC16* iCombinedBuffer;
4569 IMPORT_C
virtual void Trap()=0;
4574 IMPORT_C
virtual void UnTrap()=0;
4581 IMPORT_C
virtual void Leave(TInt aValue)=0;
4587struct TCollationMethod;
4608 inline static TUint8*
Copy(TAny* aTrg,
const TAny* aSrc, TInt aLength);
4609 inline static TUint8*
Move(TAny* aTrg,
const TAny* aSrc, TInt aLength);
4610 inline static void Fill(TAny* aTrg, TInt aLength,
TChar aChar);
4611 inline static void FillZ(TAny* aTrg, TInt aLength);
4613 inline static TInt
Compare(
const TUint8* aLeft, TInt aLeftL,
const TUint8* aRight, TInt aRightL);
4615 IMPORT_C
static TInt
Compare(
const TUint8* aLeft, TInt aLeftL,
const TUint8* aRight, TInt aRightL);
4618 IMPORT_C
static TInt
Compare(
const TUint16* aLeft, TInt aLeftL,
const TUint16* aRight, TInt aRightL);
4619 IMPORT_C
static TInt
CompareF(
const TUint8* aLeft, TInt aLeftL,
const TUint8* aRight, TInt aRightL);
4620 IMPORT_C
static TInt
CompareF(
const TUint16* aLeft, TInt aLeftL,
const TUint16* aRight, TInt aRightL);
4621 IMPORT_C
static TInt
CompareC(
const TUint8* aLeft, TInt aLeftL,
const TUint8* aRight, TInt aRightL);
4622 IMPORT_C
static TInt
CompareC(
const TUint16* aLeft, TInt aLeftL,
const TUint16* aRight, TInt aRightL);
4623 IMPORT_C
static TInt
CompareC(
const TUint16* aLeft, TInt aLeftL,
const TUint16* aRight, TInt aRightL,
4624 TInt aMaxLevel,
const TCollationMethod* aCollationMethod);
4630 IMPORT_C
static void Swap(TAny* aPtr1, TAny* aPtr2, TInt aLength);
4631 IMPORT_C
static void Crc(TUint16& aCrc,
const TAny* aPtr, TInt aLength);
4632 IMPORT_C
static void Crc32(TUint32& aCrc,
const TAny* aPtr, TInt aLength);
4672 IMPORT_C
static void Exit(TInt aReason);
4676 IMPORT_C
static void Leave(TInt aReason);
4680 inline static const TAny*
LeaveIfNull(
const TAny* aPtr);
4695 IMPORT_C
static TInt
AllocLen(
const TAny* aCell);
4696 IMPORT_C
static TAny*
Alloc(TInt aSize);
4697 IMPORT_C
static TAny*
AllocL(TInt aSize);
4698 IMPORT_C
static TAny*
AllocLC(TInt aSize);
4699 IMPORT_C
static TAny*
AllocZ(TInt aSize);
4700 IMPORT_C
static TAny*
AllocZL(TInt aSize);
4701 IMPORT_C
static TInt
AllocSize(TInt& aTotalAllocSize);
4702 IMPORT_C
static TInt
Available(TInt& aBiggestBlock);
4705 IMPORT_C
static void Free(TAny* aCell);
4706 IMPORT_C
static void FreeZ(TAny*& aCell);
4709 IMPORT_C
static TAny*
ReAlloc(TAny* aCell, TInt aSize, TInt aMode=0);
4710 IMPORT_C
static TAny*
ReAllocL(TAny* aCell, TInt aSize, TInt aMode=0);
4716 IMPORT_C
static TInt
At(
const TTime& aTime);
4729 IMPORT_C
static TInt
SetFloatingPointMode(TFloatingPointMode aMode, TFloatingPointRoundingMode aRoundingMode=EFpRoundToNearest);
4745 IMPORT_C
static TInt
IsRomAddress(TBool& aBool,TAny* aPtr);
4747 IMPORT_C
static TInt
BinarySearch(TInt aCount,
const TKey& aKey,TInt& aPos);
4750 IMPORT_C
static TLanguage
Language();
4752 IMPORT_C
static TUint
Collate(TUint aChar);
4753 IMPORT_C
static TUint
Fold(TUint aChar);
4754 IMPORT_C
static TUint
LowerCase(TUint aChar);
4755 IMPORT_C
static TUint
UpperCase(TUint aChar);
4756 IMPORT_C
static TUint
Fold(TUint aChar,TInt aFlags);
4757 IMPORT_C
static TUint
TitleCase(TUint aChar);
4759 IMPORT_C
static TInt
StringLength(
const TUint8* aString);
4760 IMPORT_C
static TInt
StringLength(
const TUint16* aString);
4780 IMPORT_C
static void __DbgMarkCheck(TBool aKernel, TBool aCountAll, TInt aCount,
const TUint8* aFileName, TInt aLineNum);
4790 IMPORT_C
static void IMB_Range(TAny* aStart, TAny* aEnd);
5005#ifndef __REMOVE_PLATSEC_DIAGNOSTIC_STRINGS__
5010#ifndef __REMOVE_PLATSEC_DIAGNOSTICS__
5034#ifndef __REMOVE_PLATSEC_DIAGNOSTIC_STRINGS__
5035 inline static TBool
CreatorHasCapability(TCapability aCapability1, TCapability aCapability2,
const char* aDiagnostic=0);
5039#ifndef __REMOVE_PLATSEC_DIAGNOSTICS__
5075 IMPORT_C
static TBool DoCreatorHasCapability(TCapability aCapability,
const char* aDiagnostic);
5076 IMPORT_C
static TBool DoCreatorHasCapability(TCapability aCapability);
5077 IMPORT_C
static TBool DoCreatorHasCapability(TCapability aCapability1, TCapability aCapability2,
const char* aDiagnostic);
5078 IMPORT_C
static TBool DoCreatorHasCapability(TCapability aCapability1, TCapability aCapability2);
5115 static TInt
SetTls(TAny* aPtr);
5144template <
class T,TInt S>
5152 inline void Copy(
const T* aList, TInt aLength);
5153 inline void Reset();
5156 inline TInt
Count()
const;
5157 inline TInt
Length()
const;
5160 inline const T&
operator[] (TInt aIndex)
const;
5162 inline T&
At(TInt aIndex);
5163 inline const T&
At(TInt aIndex)
const;
5167 inline const T*
Begin()
const;
5168 inline const T*
End()
const;
5186#define DECLARE_ROM_ARRAY( AName, AData, AType ) \
5187 const TFixedArray<AType,(sizeof(AData)/sizeof((AData)[0]))>& \
5188 AName = *(reinterpret_cast<const TFixedArray<AType, \
5189 (sizeof(AData)/sizeof((AData)[0]))>* > (AData))
5197inline TAny*
operator new(TUint aSize, TLeave);
5202inline TAny*
operator new(TUint aSize, TLeave, TUint aExtraSize);
5203#if !defined(__VC32__) || defined (__MSVCDOTNET__)
5208inline TAny*
operator new[](TUint aSize, TLeave);
5212#ifdef __LEAVE_EQUALS_THROW__
5221#define __ASSERT_ALWAYS_NO_LEAVE(_s) \
5224 TTrapHandler* ____t = User::MarkCleanupStack(); \
5226 User::UnMarkCleanupStack(____t); \
5228 catch (XLeaveException& ) \
5230 User::PanicUnexpectedLeave(); \
5234 User::Invariant(); \
5247#define __ASSERT_ALWAYS_NO_LEAVE(_s) \
5251 if (_t.Trap(_r) == 0) \
5257 User::PanicUnexpectedLeave(); \
5270#define __ASSERT_DEBUG_NO_LEAVE(_s) __ASSERT_ALWAYS_NO_LEAVE(_s)
5272#define __ASSERT_DEBUG_NO_LEAVE(_s) { _s; }
5278#include <e32std.inl>
5280#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
5281#include <e32std_private.h>
A collection of static functions involved in managing access to thread-local storage.
static void FileName(TFileName &aFileName)
static TInt SetTls(TAny *aPtr)
Contains a set of static functions which perform manipulation of data in memory.
static IMPORT_C void Swap(TAny *aPtr1, TAny *aPtr2, TInt aLength)
Swaps a number of bytes of data between two specified locations.
static TUint8 * Move(TAny *aTrg, const TAny *aSrc, TInt aLength)
Moves a block of data from a source location to a target location and returns a pointer to the end of...
static IMPORT_C void Crc32(TUint32 &aCrc, const TAny *aPtr, TInt aLength)
Performs a CCITT CRC-32 checksum on the specified data.
static IMPORT_C void Crc(TUint16 &aCrc, const TAny *aPtr, TInt aLength)
Performs a CCITT CRC checksum on the specified data.
static IMPORT_C TInt CompareF(const TUint8 *aLeft, TInt aLeftL, const TUint8 *aRight, TInt aRightL)
Compares a block of data at one specified location with a block of data at another specified location...
static void FillZ(TAny *aTrg, TInt aLength)
Fills a specified block of data with binary zeroes (i.e.
static IMPORT_C TUint CollationMethodId(TInt aIndex)
Gets the Uid associated with the specified collation method.
static IMPORT_C const TCollationMethod * GetDefaultMatchingTable()
Gets the collation method specific for matching purpose.
static IMPORT_C TInt CompareC(const TUint8 *aLeft, TInt aLeftL, const TUint8 *aRight, TInt aRightL)
Compares a block of data at one specified location with a block of data at another specified location...
static IMPORT_C TInt CollationMethods()
Gets the number of collation methods in this locale.
static TUint8 * Copy(TAny *aTrg, const TAny *aSrc, TInt aLength)
Copies data from a source location to a target location and returns a pointer to the end of the copie...
static TInt Compare(const TUint8 *aLeft, TInt aLeftL, const TUint8 *aRight, TInt aRightL)
Compares a block of data at one specified location with a block of data at another specified location...
static IMPORT_C const TCollationMethod * CollationMethodByIndex(TInt aIndex)
Gets the collation method identified by the specified index.
static IMPORT_C const TCollationMethod * CollationMethodById(TUint aId)
Gets the collation method identified by the specified Uid.
static void Fill(TAny *aTrg, TInt aLength, TChar aChar)
Fills a specified block of data with a specified character, replacing any existing content.
TAllocFail
A set of heap allocation failure flags.
A handle to a change notifier.
IMPORT_C TInt Logon(TRequestStatus &aStatus) const
Issues a request for notification when changes occur in the environment.
IMPORT_C TInt Create()
Creates a change notifier, and opens this handle to that change notifier.
IMPORT_C TInt LogonCancel() const
Cancels an outstanding change notification request.
IMPORT_C TInt MaxSize() const
Gets the maximum size of this chunk.
TInt Open(const TFindChunk &aFind, TOwnerType aType=EOwnerProcess)
Opens a handle to the global chunk found using a TFindChunk object.
IMPORT_C TInt SetRestrictions(TUint aFlags)
Sets or removes restrictions on the ability of the chunk to change.
IMPORT_C TInt AdjustDoubleEnded(TInt aBottom, TInt aTop) const
Changes the number of bytes and the position of this double ended chunk's committed region.
TBool IsReadable() const
Tests whether the chunk is mapped into its process address space.
TRestrictions
Set of flags used by SetRestrictions().
@ EPreventAdjust
Prevent Adjust, Commit, Allocate and Decommit.
IMPORT_C TUint8 * Base() const
Gets a pointer to the base of the chunk's reserved region.
IMPORT_C TInt Adjust(TInt aNewSize) const
Changes the number of bytes committed to the chunk.
IMPORT_C TInt CreateLocal(TInt aSize, TInt aMaxSize, TOwnerType aType=EOwnerProcess)
Creates a local chunk.
IMPORT_C TInt CreateDisconnectedGlobal(const TDesC &aName, TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize, TOwnerType aType=EOwnerProcess)
Creates a global, disconnected, chunk.
IMPORT_C TInt Unlock(TInt aOffset, TInt aSize)
Internal technology API.
IMPORT_C TInt CreateDisconnectedLocal(TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize, TOwnerType aType=EOwnerProcess)
Creates a local, disconnected chunk.
IMPORT_C TInt CreateDoubleEndedGlobal(const TDesC &aName, TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize, TOwnerType aType=EOwnerProcess)
Creates a global, double ended, chunk.
IMPORT_C TInt Decommit(TInt anOffset, TInt aSize) const
Decommits memory from a disconnected chunk.
IMPORT_C TInt Bottom() const
Gets the offset of the bottom of the double ended chunk's committed region from the base of the chunk...
IMPORT_C TInt Lock(TInt aOffset, TInt aSize)
Internal technology API.
IMPORT_C TInt CreateGlobal(const TDesC &aName, TInt aSize, TInt aMaxSize, TOwnerType aType=EOwnerProcess)
Creates a global chunk.
IMPORT_C TInt Allocate(TInt aSize) const
Allocates and commits to a disconnected chunk.
IMPORT_C TInt OpenGlobal(const TDesC &aName, TBool isReadOnly, TOwnerType aType=EOwnerProcess)
Opens a handle to a specific named global chunk.
IMPORT_C TInt Commit(TInt anOffset, TInt aSize) const
Commits memory to a disconnected chunk.
TBool IsWritable() const
Tests whether the chunk mapped into its process address space and is writable.
IMPORT_C TInt CreateLocalCode(TInt aSize, TInt aMaxSize, TOwnerType aType=EOwnerProcess)
Creates a user writable chunk that is marked by the kernel as containing code.
IMPORT_C TInt Create(TChunkCreateInfo &aCreateInfo)
Creates a chunk of the type specified by the parameter aCreateInfo.
IMPORT_C TBool IsPaged() const
This can be used to determine whether the data for the chunk is demand paged or not.
IMPORT_C TInt Top() const
Gets the offset of the top of the double ended chunk's committed region from the base of the chunk's ...
IMPORT_C TInt CreateDoubleEndedLocal(TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize, TOwnerType aType=EOwnerProcess)
Creates a local, double ended, chunk.
IMPORT_C TInt Size() const
Gets the current size of this chunk's committed region.
A handle to a condition variable.
IMPORT_C TInt CreateLocal(TOwnerType aType=EOwnerProcess)
Creates a condition variable and opens this handle to it.
IMPORT_C TInt Wait(RMutex &aMutex)
Wait on a condition variable.
IMPORT_C TInt Open(RMessagePtr2 aMessage, TInt aParam, TOwnerType aType=EOwnerProcess)
Opens a handle to a condition variable using a handle number sent by a client to a server.
IMPORT_C void Broadcast()
Broadcast to a condition variable.
IMPORT_C TInt CreateGlobal(const TDesC &aName, TOwnerType aType=EOwnerProcess)
Creates a global condition variable and opens this handle to it.
IMPORT_C TInt TimedWait(RMutex &aMutex, TInt aTimeout)
Wait on a condition variable with timeout.
IMPORT_C TInt OpenGlobal(const TDesC &aName, TOwnerType aType=EOwnerProcess)
Opens a handle to a global condition variable.
IMPORT_C void Signal()
Signal a condition variable.
A handle to a critical section.
IMPORT_C RCriticalSection()
Default constructor.
IMPORT_C void Signal()
Signals an exit from the critical section.
TBool IsBlocked() const
Tests whether the critical section is occupied by any thread.
IMPORT_C void Wait()
Waits for the critical section to become free.
IMPORT_C TInt CreateLocal(TOwnerType aType=EOwnerProcess)
Creates a critical section and opens this handle to the critical section.
IMPORT_C void Close()
Closes the handle to the critical section.
User side handle to an LDD factory object, an instance of a DLogicalDevice derived class.
IMPORT_C void GetCaps(TDes8 &aDes) const
Gets the device capabilities.
IMPORT_C TBool QueryVersionSupported(const TVersion &aVer) const
Checks if a device supports a particular version.
IMPORT_C TBool IsAvailable(TInt aUnit, const TDesC *aPhysicalDevice, const TDesC8 *anInfo) const
Checks if a specified unit number, additional info and a specific PDD is supported.
TInt Open(const TFindLogicalDevice &aFind, TOwnerType aType=EOwnerProcess)
Opens a handle to an LDD factory object found using a TFindLogicalDevice object.
Represents the default implementation for a heap.
A handle to a dynamically loadable DLL.
TPckgBuf< TInfo > TInfoBuf
IMPORT_C TInt Init()
Internal technology API.
TPckgBuf< TInfoV2 > TInfoBufV2
IMPORT_C TInt Load(const TDesC &aFileName, const TUidType &aType)
Loads the named DLL which matches the specified UID type.
IMPORT_C TInt LoadRomLibrary(const TDesC &aFileName, const TDesC &aPath)
static IMPORT_C TInt GetInfoFromHeader(const TDesC8 &aHeader, TDes8 &aInfoBuf)
Gets information about an executable binary, (DLL or EXE), based on header data from that binaries im...
IMPORT_C void Close()
Closes the DLL.
TPckgBuf< SInfo > SInfoBuf
@ KRequiredImageHeaderSize
IMPORT_C TInt GetRamSizes(TInt &aCodeSize, TInt &aConstDataSize)
Gets the current size of the code and the const data for this DLL.
IMPORT_C TFileName FileName() const
Gets the name of the DLL's file.
IMPORT_C TUidType Type() const
Gets this DLL's UID type.
static IMPORT_C TInt GetInfo(const TDesC &aFileName, TDes8 &aInfoBuf)
Gets information about the specified DLL.
IMPORT_C TLibraryFunction Lookup(TInt anOrdinal) const
Gets a pointer to the function at the specified ordinal within this DLL.
An object that encapsulates the details of a client request.
A handle to a message sent by the client to the server.
IMPORT_C void Signal()
Release the mutex.
IMPORT_C TBool IsHeld()
Test if this mutex is held by the current thread.
IMPORT_C void Wait()
Acquire the mutex, waiting for it to become free if necessary.
TInt Open(const TFindMutex &aFind, TOwnerType aType=EOwnerProcess)
Opens a handle to the global mutex found using a TFindMutex object.
IMPORT_C TInt CreateGlobal(const TDesC &aName, TOwnerType aType=EOwnerProcess)
Creates a global mutex and opens this handle to the mutex.
IMPORT_C TInt OpenGlobal(const TDesC &aName, TOwnerType aType=EOwnerProcess)
Opens a handle to a global mutex.
IMPORT_C TInt CreateLocal(TOwnerType aType=EOwnerProcess)
Creates a mutex and opens this handle to the mutex.
A handle to a session with the extended notifier server that provides support for plug-in notifiers.
IMPORT_C TInt CancelNotifier(TUid aNotifierUid)
Requests the extended notifier server to cancel the notifier identified by the specified UID.
IMPORT_C void Notify(const TDesC &aLine1, const TDesC &aLine2, const TDesC &aBut1, const TDesC &aBut2, TInt &aButtonVal, TRequestStatus &aStatus)
Launches a simple two line dialog that displays two lines of text.
IMPORT_C void StartNotifierAndGetResponse(TRequestStatus &aRs, TUid aNotifierUid, const TDesC8 &aBuffer, TDes8 &aResponse)
Requests the extended notifier server to start the notifier identified by the specified UID.
IMPORT_C void NotifyCancel()
Not implemented by the server.
IMPORT_C TInt InfoPrint(const TDesC &aDes)
IMPORT_C TInt LoadNotifiers(TUid aNotifierUid)
This function has never been implemented on any Symbian OS version.
IMPORT_C TInt StartNotifier(TUid aNotifierUid, const TDesC8 &aBuffer)
Requests the extended notifier server to start the notifier identified by the specified UID.
IMPORT_C TInt Connect()
Connects to the extended notifier server, creating a session with that server.
IMPORT_C TInt UnloadNotifiers(TUid aNotifierUid)
This function has never been implemented on any Symbian OS version.
IMPORT_C void Close()
Closes the notifier.
IMPORT_C void UpdateNotifierAndGetResponse(TRequestStatus &aRs, TUid aNotifierUid, const TDesC8 &aBuffer, TDes8 &aResponse)
Requests the extended notifier server to update the active notifier identified by the specified UID.
IMPORT_C TInt UpdateNotifier(TUid aNotifierUid, const TDesC8 &aBuffer, TDes8 &aResponse)
Requests the extended notifier server to update the active notifier identified by the specified UID.
IMPORT_C RNotifier()
Default constructor.
IMPORT_C TInt Create(const TDesC &aFileName, const TDesC &aCommand, TOwnerType aType=EOwnerProcess)
Starts a new process, loading the specified executable.
IMPORT_C TBool JustInTime() const
Tests whether "Just In Time" debugging is enabled or not for this process.
IMPORT_C TInt DataCaging(TInt aState)
RProcess()
Default constructor.
IMPORT_C TUidType Type() const
Gets the Uid type associated with the process.
IMPORT_C TInt SetPriority(TProcessPriority aPriority) const
Sets the priority of this process to one of the values defined by theTProcessPriority enumeration.
TBool HasCapability(TCapability aCapability, const char *aDiagnostic=0) const
IMPORT_C TExitCategoryName ExitCategory() const
Gets the name of the category associated with the end of the process.
IMPORT_C void Panic(const TDesC &aCategory, TInt aReason)
Panics the process and all of its owned threads, specifying the panic category name and reason code.
IMPORT_C TProcessPriority Priority() const
Gets the priority of this process.
IMPORT_C void Logon(TRequestStatus &aStatus) const
Requests notification when this process dies, normally or otherwise.
IMPORT_C void Rendezvous(TRequestStatus &aStatus) const
Creates a Rendezvous request with the process.
IMPORT_C TBool DefaultDataPaged() const
This can be used to determine whether the data for the process is demand paged by default or not.
IMPORT_C TFileName FileName() const
Gets a copy of the full path name of the loaded executable on which this process is based.
IMPORT_C TExitType ExitType() const
Tests whether the process has ended and, if it has ended, return how it ended.
IMPORT_C TInt SetParameter(TInt aIndex, RHandleBase aHandle)
Sets the specified handle into the specified environment data slot for this process.
IMPORT_C void Terminate(TInt aReason)
Ends this process, and all of its threads, specifying a reason code.
IMPORT_C TInt Open(const TDesC &aName, TOwnerType aType=EOwnerProcess)
Opens a handle to a specifically named process.
IMPORT_C TInt RendezvousCancel(TRequestStatus &aStatus) const
Cancels a previously requested Rendezvous with the process.
IMPORT_C TInt LogonCancel(TRequestStatus &aStatus) const
Cancels an outstanding request for notification of the death of this process.
static TInt RenameMe(const TDesC &aName)
IMPORT_C TInt CreateWithStackOverride(const TDesC &aFileName, const TDesC &aCommand, const TUidType &aUidType, TInt aMinStackSize, TOwnerType aType)
Starts a new process, loading the specified executable which matches the specified UID type and the m...
IMPORT_C void SetJustInTime(TBool aBoolean) const
Enables or disables "Just In Time" debugging for this process.
IMPORT_C TInt ExitReason() const
Gets the specific reason associated with the end of this process.
IMPORT_C void Resume()
Makes the first thread in the process eligible for execution.
static IMPORT_C TAny * ExeExportData(void)
Retrieves pointer to named symbol export data from the current process, i.e.
IMPORT_C void Kill(TInt aReason)
Ends this process, and all of its threads, specifying a reason code.
IMPORT_C TVendorId VendorId() const
IMPORT_C TInt GetMemoryInfo(TModuleMemoryInfo &aInfo) const
Gets the size and base address of the code and various data sections of the process.
IMPORT_C TProcessId Id() const
Gets the Id of this process.
IMPORT_C TInt SecureApi(TInt aState)
IMPORT_C TSecureId SecureId() const
Base class that provides an implementation for the templated RRef class.
IMPORT_C void DoAlloc(const TAny *aPtr, TInt aSize)
Creates a copy of an object, which is to be contained by this reference object.
IMPORT_C void Copy(const RRefBase &aRef)
Provides an implementation for the RRef class copy constructor and assignment operator.
IMPORT_C void DoAllocL(const TAny *aPtr, TInt aSize)
Creates a copy of an object, which is to be contained by this reference object, and leaves on error.
RRefBase()
Default constructor.
IMPORT_C void Free()
Frees the memory holding the contained object.
Contains, or packages, a copy of an instance of another class.
T * operator->()
Gets a pointer to the contained object.
void AllocL(const T &anObject)
Creates a copy of the specified object, which is to be contained by this reference object,...
void Alloc(const T &anObject)
Creates a copy of the specified object, which is to be contained by this reference object.
RRef()
Default constructor.
void operator=(const RRef< T > &anObject)
Assignment operator.
Region with pre-allocated buffer.
RRegionBuf()
Constructs a default object.
IMPORT_C RRegion()
Default constructor.
IMPORT_C void Destroy()
Deletes the region.
IMPORT_C void Close()
Closes the region.
TInt CheckSpare() const
Gets the number of free memory slots in the region.
IMPORT_C void Receive(RMessage2 &aMessage, TRequestStatus &aStatus)
IMPORT_C TInt CreateGlobal(const TDesC &aName)
Client-side handle to a session with a server.
TAttachMode
Indicates whether or not threads in the process are automatically attached to the session when passed...
void SendReceive(TInt aFunction, const TIpcArgs &aArgs, TRequestStatus &aStatus) const
Issues an asynchronous request to the server with the specified function number and arguments.
TInt CreateSession(const TDesC &aServer, const TVersion &aVersion)
Creates a session with a server, specifying no message slots.
TInt ShareProtected()
Creates a session handle that can be be passed via IPC to another process as well as being shared by ...
IMPORT_C TInt Open(RMessagePtr2 aMessage, TInt aParam, TOwnerType aType=EOwnerProcess)
Opens a handle to a session using a handle number sent by a client to a server.
TInt ShareAuto()
Creates a session that can be shared by other threads in the current process.
TInt SetReturnedHandle(TInt aHandleOrError)
Sets the handle-number of this handle to the specified value.
TInt Send(TInt aFunction, const TIpcArgs &aArgs) const
Issues a blind request to the server with the specified function number, and arguments.
Client-side handle to a sub-session.
TInt SubSessionHandle() const
Gets the sub-session handle number.
RSubSessionBase()
Default constructor.
IMPORT_C const RSessionBase Session() const
Returns a copy of the session associated with this sub-session.
void SendReceive(TInt aFunction, const TIpcArgs &aArgs, TRequestStatus &aStatus) const
Sends a message to the server and waits asynchronously for the reply.
TInt CreateSubSession(const RSessionBase &aSession, TInt aFunction, const TIpcArgs &aArgs)
Creates a new sub-session within an existing session.
TInt Send(TInt aFunction, const TIpcArgs &aArgs) const
Sends a blind message to the server - no reply is expected.
IMPORT_C TInt CreateAutoCloseSubSession(RSessionBase &aSession, TInt aFunction, const TIpcArgs &aArgs)
Creates a new sub-session within an existing session.
IMPORT_C void CloseSubSession(TInt aFunction)
Closes the sub-session.
IMPORT_C void SetPriority(TThreadPriority aPriority) const
Sets the priority of the thread to one of the values defined by the TThreadPriority enumeration.
IMPORT_C TExitType ExitType() const
Tests whether the thread has ended and, if it has ended, return how it ended.
IMPORT_C void Logon(TRequestStatus &aStatus) const
Requests notification when this thread dies, normally or otherwise.
IMPORT_C TThreadPriority Priority() const
Gets the priority of this thread.
IMPORT_C void Context(TDes8 &aDes) const
Gets the register contents of this thread.
IMPORT_C void Resume() const
Makes the thread eligible for execution.
IMPORT_C TInt StackInfo(TThreadStackInfo &aInfo) const
Gets information about a thread's user mode stack.
IMPORT_C TInt LogonCancel(TRequestStatus &aStatus) const
Cancels an outstanding request for notification of the death of this thread.
IMPORT_C TInt Create(const TDesC &aName, TThreadFunction aFunction, TInt aStackSize, TInt aHeapMinSize, TInt aHeapMaxSize, TAny *aPtr, TOwnerType aType=EOwnerProcess)
Creates a thread belonging to the current process, and opens this handle to that thread.
IMPORT_C void Kill(TInt aReason)
Ends the thread, specifying a reason code.
IMPORT_C TExitCategoryName ExitCategory() const
Gets the name of the category associated with the end of the thread.
RThread()
Default constructor.
IMPORT_C TInt GetCpuTime(TTimeIntervalMicroSeconds &aCpuTime) const
Gets the CPU usage for this thread.
IMPORT_C void Suspend() const
Suspends execution of this thread.
IMPORT_C TInt Process(RProcess &aProcess) const
Opens a process-relative handle to the process which owns this thread.
IMPORT_C TThreadId Id() const
Gets the Id of this thread.
IMPORT_C TProcessPriority ProcessPriority() const
Gets the priority of the process which owns this thread.
IMPORT_C TInt Open(const TDesC &aFullName, TOwnerType aType=EOwnerProcess)
Opens a handle to specifically named thread.
IMPORT_C void SetProcessPriority(TProcessPriority aPriority) const
Sets the priority of the process which owns this thread to one of the values defined by the TProcessP...
IMPORT_C void RequestSignal() const
Signal this threads request semaphore.
IMPORT_C TInt ExitReason() const
Gets the specific reason associated with the end of this thread.
static TInt RenameMe(const TDesC &aName)
IMPORT_C void Panic(const TDesC &aCategory, TInt aReason)
Panics this thread, specifying the panic category name and reason.
IMPORT_C void Rendezvous(TRequestStatus &aStatus) const
Creates a Rendezvous request with the thread.
IMPORT_C void RequestComplete(TRequestStatus *&aStatus, TInt aReason) const
Signals this thread that an asynchronous request originating from this thread, is complete.
IMPORT_C TInt RequestCount() const
Gets this thread's request semaphore count.
IMPORT_C TVendorId VendorId() const
IMPORT_C TSecureId SecureId() const
IMPORT_C void HandleCount(TInt &aProcessHandleCount, TInt &aThreadHandleCount) const
Gets the number of handles open in this thread, and the number of handles open in the process which o...
IMPORT_C TInt RendezvousCancel(TRequestStatus &aStatus) const
Cancels a previously requested Rendezvous with the thread.
TBool HasCapability(TCapability aCapability, const char *aDiagnostic=0) const
IMPORT_C void Terminate(TInt aReason)
Ends the thread, specifying a reason code.
Asynchronous timer services.
IMPORT_C void Lock(TRequestStatus &aStatus, TTimerLockSpec aLock)
Requests an event on a specified second fraction.
IMPORT_C void At(TRequestStatus &aStatus, const TTime &aTime)
Requests an event at a given system time (in the current time zone).
IMPORT_C void After(TRequestStatus &aStatus, TTimeIntervalMicroSeconds32 anInterval)
Requests an event after the specified interval.
IMPORT_C void HighRes(TRequestStatus &aStatus, TTimeIntervalMicroSeconds32 anInterval)
Requests an event after the specified interval to a resolution of 1ms.
IMPORT_C void AgainHighRes(TRequestStatus &aStatus, TTimeIntervalMicroSeconds32 anInterval)
IMPORT_C void Inactivity(TRequestStatus &aStatus, TTimeIntervalSeconds aSeconds)
Requests an event to be triggered when aSeconds is exactly, (ie not greater or less than),...
IMPORT_C void AfterTicks(TRequestStatus &aStatus, TInt aTicks)
Requests an event after the specified interval.
IMPORT_C void AtUTC(TRequestStatus &aStatus, const TTime &aUTCTime)
Requests an event at a given UTC time.
IMPORT_C void Cancel()
Cancels any outstanding request for a timer event.
IMPORT_C TInt CreateLocal()
Creates a thread-relative timer.
Handle to a thread death notifier.
IMPORT_C TInt Create()
Creates a thread-death notifier, and opens this handle to that thread-death notifier.
IMPORT_C TInt LogonCancel() const
Cancels an outstanding notification request to the thread-death notifier.
IMPORT_C TInt Logon(TRequestStatus &aStatus, TInt &aThreadHandle) const
Issues a request for notification of the death of a thread.
Current locale's am/pm text.
IMPORT_C void Set(TAmPm aSelector)
Re-retrieves the current locale's text for identifying time before or after noon as identified by the...
IMPORT_C TAmPmName()
Default constructor.
A build-independent modifiable buffer descriptor.
Encapsulates a general call-back function.
TCallBack()
Default constructor.
TInt CallBack() const
Calls the callback function.
TAny * iPtr
A pointer that is passed to the callback function when the function is called.
TInt(* iFunction)(TAny *aPtr)
A pointer to the callback function.
Folds a specified character and provides functions to fold additional characters after construction o...
TCharF & operator=(TUint aChar)
Assigns an unsigned integer value to the 'fold character' object.
Converts a specified character to lower case and provides functions to convert additional characters ...
TCharLC & operator=(TUint aChar)
Assigns an unsigned integer value to the 'character to lower case' object.
Converts a specified character to upper case and provides functions to convert additional characters ...
TCharUC & operator=(TUint aChar)
Assigns an unsigned integer value to the 'character to upper case' object.
Holds a character value and provides a number of utility functions to manipulate it and test its prop...
Packages a Uid type together with a checksum.
IMPORT_C TCheckedUid()
Default constructor.
const TUidType & UidType() const
Gets the Uid type contained in this object.
IMPORT_C TPtrC8 Des() const
Gets a pointer descriptor to represent this object's data.
IMPORT_C TUint Check() const
Calculates the checksum of the UIDs.
IMPORT_C void Set(const TUidType &aUidType)
Sets the specified Uid type to be packaged, and recalculates the checksum.
Gets a copy of the currency symbol(s) in use by the current locale.
IMPORT_C TCurrencySymbol()
Default constructor.
IMPORT_C void Set()
Re-retrieves the current locale's currency symbol(s).
Gets a copy of the current locale's date suffix text for a specific day in the month.
IMPORT_C TDateSuffix()
Default constructor.
IMPORT_C void Set(TInt aDateSuffix)
Re-retrieves the current locale's date suffix text for the specified day of the month.
A date and time object in which the individual components are accessible in human-readable form.
TInt Day() const
Gets the day component of the date/time.
TMonth Month() const
Gets the month component of the date/time.
IMPORT_C TInt SetSecond(TInt aSecond)
Sets the second component of the date/time.
IMPORT_C TInt SetYearLeapCheck(TInt aYear)
Sets the year with a leap year check.
IMPORT_C TInt SetHour(TInt aHour)
Sets the hour component of the date/time.
TInt Minute() const
Gets the minute component of the date/time.
IMPORT_C TInt Set(TInt aYear, TMonth aMonth, TInt aDay, TInt aHour, TInt aMinute, TInt aSecond, TInt aMicroSecond)
Sets all date and time components.
IMPORT_C TInt SetDay(TInt aDay)
Sets the day component of the date/time.
IMPORT_C TInt SetMicroSecond(TInt aMicroSecond)
Sets the microsecond component of the date/time.
IMPORT_C TInt SetMinute(TInt aMinute)
Sets the minute component of the date/time.
TInt Second() const
Gets the second component of the date/time.
TInt Hour() const
Gets the hour component of the date/time.
TDateTime()
Constructs an uninitialised TDateTime object.
IMPORT_C TInt SetMonth(TMonth aMonth)
Sets the month component of the date/time.
IMPORT_C TInt SetYear(TInt aYear)
Sets the year without a leap year check.
TInt MicroSecond() const
Gets the microsecond component of the date/time.
TInt Year() const
Gets the year component of the date/time.
Gets a copy of the current locale's abbreviated text name for a day of the week.
IMPORT_C TDayNameAbb()
Default constructor.
IMPORT_C void Set(TDay aDay)
Re-retrieves the current locale's abbreviated text for the specified day of the week.
Gets a copy of the current locale's full text name for a day of the week.
IMPORT_C void Set(TDay aDay)
Re-retrieves the current locale's text for the specified day of the week.
IMPORT_C TDayName()
Default constructor.
A base class that provides implementation for the doubly linked list header.
IMPORT_C void Reset()
Empties the doubly linked list.
IMPORT_C void DoAddLast(TAny *aPtr)
Implements the insertion of the specified list element at the back of the doubly linked list.
IMPORT_C void DoAddFirst(TAny *aPtr)
Implements the insertion of the specified list element at the front of the doubly linked list.
IMPORT_C void SetOffset(TInt aOffset)
Sets the offset of the link object from the start of a doubly linked list element.
IMPORT_C TBool IsEmpty() const
Tests whether the doubly linked list is empty, i.e.
TDblQueLink iHead
The head, or anchor point of the queue.
TInt iOffset
The offset of a component link object within elements that form the list.
IMPORT_C void __DbgTestEmpty() const
Tests whether the queue is empty.
IMPORT_C void DoAddPriority(TAny *aPtr)
Implements the insertion of the specified list element in priority order.
IMPORT_C TDblQueBase()
Default constructor.
A base class that provides implementation for the doubly linked list iterator.
TInt iOffset
The offset of a component link object within elements that form the list.
TDblQueLinkBase * iNext
Pointer to the current element.
IMPORT_C TAny * DoPostDec()
Gets the current item and then moves to the previous item.
TDblQueLinkBase * iHead
Pointer to the anchor for the list.
IMPORT_C void DoSet(TAny *aLink)
Sets the iterator to point to a specific element in the list.
IMPORT_C TAny * DoCurrent()
Gets the current item in the queue.
IMPORT_C void SetToFirst()
Sets the iterator to point to the first element in the doubly linked list.
IMPORT_C void SetToLast()
Sets the iterator to point to the last element in the doubly linked list.
IMPORT_C TAny * DoPostInc()
Gets the current item and then moves to the next item.
A templated class that provides the behaviour for iterating through a set of doubly linked list eleme...
T * operator--(TInt)
Gets a pointer to the iterator's current element and then sets the iterator to point to the previous ...
T * operator++(TInt)
Gets a pointer to the iterator's current element and then sets the iterator to point to the next elem...
void Set(T &aLink)
Sets the iterator to point to a specific element in the list.
A base class that provides implementation for the link object of a doubly linked list.
TDblQueLinkBase * iNext
A pointer to the next link object in the list.
IMPORT_C void AddBefore(TDblQueLinkBase *aLink)
Inserts this link object before the specified link object.
IMPORT_C void Enque(TDblQueLinkBase *aLink)
Inserts this link object after the specified link object.
TDblQueLinkBase()
Default constructor.
TDblQueLinkBase * iPrev
A pointer to the previous link object in the list.
An object embedded within a class T so that objects of type T can form part of a doubly linked list.
IMPORT_C void Deque()
Removes this link object from the doubly linked list.
A templated class that provides the behaviour for managing a doubly linked list.
TBool IsHead(const T *aPtr) const
Tests whether the end of a list has been reached.
T * Last() const
Gets a pointer to the last list element in the doubly linked list.
void AddFirst(T &aRef)
Inserts the specified list element at the front of the doubly linked list.
T * First() const
Gets a pointer to the first list element in the doubly linked list.
TBool IsFirst(const T *aPtr) const
Tests whether the specified element is the first in the doubly linked list.
TBool IsLast(const T *aPtr) const
Tests whether the specified element is the last in the doubly linked list.
void AddLast(T &aRef)
Inserts the specified list element at the back of the doubly linked list.
TDblQue()
Constructs an empty list header and sets the offset value of the link object to zero.
A base class that provides implementation for the TDeltaQue template class.
IMPORT_C TBool FirstDelta(TInt &aValue)
Gets the delta value of the first list element.
IMPORT_C void DoAddDelta(TAny *aPtr, TInt aDelta)
Implements the addition of the specified list element into the list.
IMPORT_C TDeltaQueBase()
Default constructor.
IMPORT_C TAny * DoRemoveFirst()
Implements the removal of the first list element from the linked list if its delta value is zero or n...
IMPORT_C void Reset()
Empties the doubly linked list, and resets the first delta pointer.
IMPORT_C void DoRemove(TAny *aPtr)
Implements the removal of the specified list element from the list.
IMPORT_C TBool CountDown()
Decrements the delta value of the first element by one, and returns true if the result is negative or...
TInt * iFirstDelta
Pointer to the delta value in the first link element.
An object embedded within a class T so that objects of type T can form part of a delta doubly linked ...
TInt iDelta
The delta value.
A templated class that provides the behaviour for managing a doubly linked list in which elements rep...
T * RemoveFirst()
Removes the first list element from the linked list if its delta value is zero or negative.
void Remove(T &aRef)
Removes the specified list element from the linked list.
void Add(T &aRef, TInt aDelta)
Adds the specified list element, having the specified 'distance' from the nominal zero point,...
TDeltaQue()
Constructs an empty list header and sets the offset value of the link object to zero.
IMPORT_C TInt LoadLocaleAspect(TUint aAspectGroup, const TDesC &aLocaleDllName)
Loads a DLL and get some locale information.
IMPORT_C TExtendedLocale()
Default constructor.
IMPORT_C TInt LoadLocale(const TDesC &aLocaleDllName)
Loads a locale Dll and get the locale information.
IMPORT_C TPtrC GetLongDateFormatSpec()
Get the Long Date Format from SLocaleTimeDateFormat object.
IMPORT_C TPtrC GetShortDateFormatSpec()
Get the Short Date Format from SLocaleTimeDateFormat object.
IMPORT_C TPtrC GetTimeFormatSpec()
Get the Time Format from SLocaleTimeDateFormat object.
IMPORT_C void LoadSystemSettings()
Load system wide locale settings.
TLocale * GetLocale()
Get the pointer to the TLocale object contained in this extended locale.
IMPORT_C TPtrC GetCurrencySymbol()
Get the Currency Symbol from SLocaleLocaleSettings object.
IMPORT_C TInt SaveSystemSettings()
Make the current locale information system wide.
IMPORT_C TInt SetCurrencySymbol(const TDesC &aSymbol)
Sets the currency symbol.
IMPORT_C TCollationMethod GetPreferredCollationMethod(TInt index=0)
Get the preferred collation method for the preferred charset.
IMPORT_C TInt GetLocaleDllName(TLocaleAspect aLocaleDataSet, TDes &aDllName)
Returns the name of the DLL containing the given bits of locale information.
Searches for all global chunks by pattern matching against the names of (Kernel side) chunk objects.
IMPORT_C TInt Next(TFullName &aResult)
Finds the full name of the next chunk which matches the match pattern.
TFindChunk()
Constructs this object with a default match pattern.
Base class for searching for global kernel objects.
TInt NextObject(TFullName &aResult, TInt aObjectType)
Implementation for TFindXxxxxxx::Next(TFullName &aResult) methods.
IMPORT_C TFindHandleBase()
Default constructor.
IMPORT_C void Find(const TDesC &aMatch)
Sets a new match pattern.
Searches for DLLs whose full names match a specified pattern.
TFindLibrary()
Constructs this object with a default match pattern.
IMPORT_C TInt Next(TFullName &aResult)
Finds the next DLL whose full name matches the match pattern.
Searches for LDD factory objects by pattern matching against the names of LDD factory objects.
TFindLogicalDevice()
Constructs the LDD factory object with a default match pattern.
IMPORT_C TInt Next(TFullName &aResult)
Finds the full name of the next LDD factory object which matches the match pattern.
Finds all global mutexes whose full names match a specified pattern.
TFindMutex()
Constructs this object with a default match pattern.
IMPORT_C TInt Next(TFullName &aResult)
Finds the next global mutex whose full name matches the match pattern.
Searches for PDD factory objects by pattern matching against the names of PDD factory objects.
IMPORT_C TInt Next(TFullName &aResult)
Finds the full name of the next PDD factory object which matches the match pattern.
TFindPhysicalDevice()
Constructs the PDD factory object with a default match pattern.
Searches for processes by pattern matching against the names of process objects.
IMPORT_C TInt Next(TFullName &aResult)
Gets the full name of the next process which matches the match pattern.
TFindProcess()
Constructs this object with a default match pattern.
Finds all global semaphores whose full names match a specified pattern.
IMPORT_C TInt Next(TFullName &aResult)
Finds the next global semaphore whose full name matches the match pattern.
TFindSemaphore()
Constructs the object with a default match pattern.
Searches for servers by pattern matching against the names of kernel side server objects.
IMPORT_C TInt Next(TFullName &aResult)
Gets the full name of the next server which matches the match pattern.
TFindServer()
Constructs the object with a default match pattern.
Searches for threads by pattern matching against the names of thread objects.
IMPORT_C TInt Next(TFullName &aResult)
Gets the full name of the next global thread which matches the match pattern.
TFindThread()
Constructs this object with a default match pattern.
A thin wrapper class for C++ arrays allowing automatic checking of index values to ensure that all ac...
static TInt CountFunctionR(const CBase *aThis)
static TBool InRange(TInt aIndex)
void Reset()
Fills every element of the array with binary zeroes.
T & operator[](TInt aIndex)
Gets a reference to the specified element within the C++ array.
TArray< T > Array() const
Creates and returns a generic array for this C++ array.
T * Begin()
Gets a pointer to the first element of the array.
void DeleteAll()
Invokes the delete operator on every member of the array.
TFixedArray()
Default constructor.
void Copy(const T *aList, TInt aLength)
Copies the specified set of contiguous objects into the C++ array.
TInt Length() const
Gets the size of an array element, in bytes.
static const TAny * AtFunctionR(const CBase *aThis, TInt aIndex)
T & At(TInt aIndex)
Gets a reference to the specified element within the C++ array.
T * End()
Gets a pointer to the first byte following the end of the array.
TInt Count() const
Gets the size of the array.
virtual IMPORT_C void operator()()=0
A Version 2 client/server class that clients use to package the arguments to be sent to a server.
Defines the characteristics of a key used to access the elements of an array.
IMPORT_C TKey()
Protected default constructor.
virtual IMPORT_C TInt Compare(TInt aLeft, TInt aRight) const
Compares the keys of two array elements.
virtual IMPORT_C TAny * At(TInt anIndex) const
Gets a pointer to the key of a specified array element.
void SetPtr(const TAny *aPtr)
Sets the pointer to a sample element whose key is to be used for comparison.
Provides general string-parsing functions suitable for numeric format conversions and syntactical-ele...
void Assign(const TLex16 &aLex)
Assigns a string to this object from another TLex16 object.
TInt TokenLength() const
Gets the length of the token.
void SkipAndMark(TInt aNumber)
Moves the next character position a specified number of characters.
IMPORT_C TPtrC16 Remainder() const
Gets a descriptor containing all the text from the next character position to the end of the string.
TInt MarkedOffset() const
Gets the offset of the extraction mark from the start of the string.
IMPORT_C TInt Offset() const
Gets the offset of the next character position from the start of the string.
void SkipSpaceAndMark()
Moves the next character position past any white space and copies it to the TLex16's extraction mark.
IMPORT_C void Inc()
Increments to the next character position.
IMPORT_C void UnGet()
Decrements the next character position, allowing the previously "got" character to be re-read.
IMPORT_C TPtrC16 NextToken()
Strips any white space and extracts the next token.
void Mark()
Sets the TLex16's next character position to its extraction mark.
void UnGetToMark()
Sets the next character position to the current extraction mark position.
TLex16 & operator=(const TUint16 *aString)
Allows strings to be assigned to a TLex16.
IMPORT_C TInt BoundedVal(TInt32 &aVal, TInt aLimit)
Parses the string to extract a 32-bit signed integer, and checks that it is within the specified limi...
IMPORT_C TPtrC16 MarkedToken() const
Extracts the marked token.
IMPORT_C void SkipCharacters()
Moves the next character position to the next white space (space or separator).
IMPORT_C TChar Peek() const
Shows the next character to be returned by Get().
IMPORT_C TPtrC16 RemainderFromMark() const
Gets a descriptor containing all the text from the extraction mark to the end of the string.
IMPORT_C void SkipSpace()
Moves the next character position past any white space (space or separator).
IMPORT_C TInt Val(TInt8 &aVal)
Parses the string to extract a signed 8-bit integer.
IMPORT_C TLex16()
Default cosntructor.
TBool Eos() const
Tests whether the next character position is at the end of the string.
IMPORT_C TChar Get()
Gets the next character in the string and increments the next character position.
Provides general string-parsing functions suitable for numeric format conversions and syntactical-ele...
void Assign(const TLex8 &aLex)
Assigns a string to this object from another TLex8 object.
void UnGetToMark()
Sets the next character position to the current extraction mark position.
IMPORT_C TPtrC8 MarkedToken() const
Extracts the marked token.
IMPORT_C TLex8()
Default constructor.
IMPORT_C TChar Peek() const
Shows the next character to be returned by Get().
IMPORT_C TInt BoundedVal(TInt32 &aVal, TInt aLimit)
Parses the string to extract a 32-bit signed integer, and checks that it is within the specified limi...
void SkipSpaceAndMark()
Moves the next character position past any white space and copies it to the TLex8's extraction mark.
TLex8 & operator=(const TUint8 *aString)
Allows strings to be assigned to a TLex8.
TBool Eos() const
Tests whether the next character position is at the end of the string.
IMPORT_C TChar Get()
Gets the next character in the string, and increments the next character position.
void Mark()
Sets the TLex8's next character position to its extraction mark.
IMPORT_C void Inc()
Increments to the next character position.
IMPORT_C void UnGet()
Decrements the next character position, allowing a previously "got" character to be re-read.
IMPORT_C TPtrC8 NextToken()
Strips any white space and extracts the next token.
IMPORT_C TInt Val(TInt8 &aVal)
Parses the string to extract a signed 8-bit integer.
IMPORT_C void SkipSpace()
Moves the next character position past any white space (space or separator).
IMPORT_C TPtrC8 Remainder() const
Gets a descriptor containing all the text from the next character position to the end of the string.
IMPORT_C TPtrC8 RemainderFromMark() const
Gets a descriptor containing all the text from the current extraction mark to the end of the string.
TInt MarkedOffset() const
Gets the offset of the extraction mark from the start of the string.
void SkipAndMark(TInt aNumber)
Moves the next character position a specified number of characters.
IMPORT_C void SkipCharacters()
Moves the next character position to the next white space (space or separator).
TInt TokenLength() const
Gets the length of the token.
IMPORT_C TInt Offset() const
Gets the offset of the next character position from the start of the string.
Defines the extraction mark used by the TLex16 class to indicate the current lexical element being an...
TLexMark16()
Default constructor.
Defines the extraction mark used by the TLex8 class to indicate the current lexical element being ana...
TLexMark8()
Default constructor.
Sets and gets the system's locale settings.
void SetUnitsDistanceLong(TUnitsFormat aFormat)
Sets the units of measurement for long distances.
void SetStartOfWeek(TDay aDay)
Sets the day which is considered to be the first day of the week.
TUnitsFormat UnitsDistanceShort() const
Gets the units of measurement for short distances.
TChar TimeSeparator(TInt aIndex) const
Gets one of the four characters used to separate the hour, second and minute components of the time.
TInt CurrencyDecimalPlaces() const
Gets the number of decimal places to which currency values are set.
void SetCurrencyTriadsAllowed(TBool aBool)
Sets whether triads are allowed in currency values.
void SetDeviceTime(TDeviceTimeState aState)
Sets the device time state.
void SetUnitsGeneral(TUnitsFormat aFormat)
Sets the general units of measurement.
void SetCurrencyNegativeInBrackets(TBool aBool)
Sets whether negative currency values are enclosed in brackets rather than being preceded by a minus ...
TLocalePos AmPmSymbolPosition() const
Gets the am/pm text position (before or after the time value).
void SetDefaults()
Internal component API.
void SetLanguageDowngrade(TInt aIndex, TLanguage aLanguage)
Sets a language in the customisable part of the language downgrade path.
void SetUnitsDistanceShort(TUnitsFormat aFormat)
Sets the units of measurement for short distances.
@ EFlagNegativeCurrencySymbolOpposite
If this flag is set and the currency value being formatted is negative, the position of the currency ...
@ EFlagNegativeLoseSpace
If this flag is set and the currency value being formatted is negative, if there is a space between t...
void SetNegativeCurrencySymbolOpposite(TBool aBool)
Sets whether the position of the currency symbol for negative currency values should be the opposite ...
TBool AmPmSpaceBetween() const
Tests whether or not a space is inserted between the time and the preceding or trailing am/pm text.
TDeviceTimeState
Indicates how the device universal time is maintained.
@ ENITZNetworkTimeSync
Universal time and offset from GMT is supplied by the mobile network and maintained by device RTC.
@ EDeviceUserTime
Universal time is maintained by the device RTC and the user selection of the locale of the device ind...
TUnitsFormat UnitsGeneral() const
Gets the general units of measurement.
void SetDateSeparator(const TChar &aChar, TInt aIndex)
Sets one of the four characters used to separate the day, month and year components of the date.
TDaylightSavingZone HomeDaylightSavingZone() const
Gets the daylight saving zone in which the home city is located.
void SetAmPmSpaceBetween(TBool aSpace)
Sets whether a space is inserted between the time and the preceding or trailing am/pm text.
void SetCurrencySymbolPosition(TLocalePos aPos)
Sets the currency symbol position.
TDay StartOfWeek() const
Gets the day which is considered the first day of the week.
TUnitsFormat UnitsDistanceLong() const
Gets the units of measurement for long distances.
TBool CurrencySpaceBetween() const
Gets whether or not a space is inserted between the currency symbol and the currency value.
void SetCurrencyDecimalPlaces(TInt aPlaces)
Sets the number of decimal places to which currency values should be set.
TDigitType DigitType() const
Gets the number mode stored in the locale.
TUint DaylightSaving() const
Gets the zones in which daylight saving is in effect.
TInt CountryCode() const
Gets the code which is used to select country-specific locale data.
TNegativeCurrencyFormat
Indicates how negative currency values are formatted.
@ EInterveningMinusSign
A minus sign is inserted between the currency symbol and the value.
@ EInBrackets
The currency value and symbol are enclosed in brackets (no minus sign is used).
@ ETrailingMinusSign
A minus sign is inserted after the currency symbol and value.
@ ELeadingMinusSign
A minus sign is inserted before the currency symbol and value.
void SetAmPmSymbolPosition(TLocalePos aPos)
Sets the am/pm text position (before or after the time value).
TTimeIntervalSeconds UniversalTimeOffset() const
Gets the locale's universal time offset.
IMPORT_C void Refresh()
Refreshes the contents of this object with the system's locale settings.
void SetNegativeCurrencyFormat(TNegativeCurrencyFormat aNegativeCurrencyFormat)
Sets the negative currency format.
TLocalePos CurrencySymbolPosition() const
Gets the currency symbol position.
TBool CurrencyTriadsAllowed() const
Gets whether triads are allowed in currency values.
IMPORT_C TInt Set() const
Transfers the locale settings from this object to the system.
void SetTimeFormat(TTimeFormat aFormat)
Sets the time format (12 or 24 hour).
TChar DecimalSeparator() const
Gets the character used to separate a whole number from its fractional part.
TBool NegativeCurrencySymbolOpposite() const
Gets whether in negative currency values, the position of the currency symbol is set to be the opposi...
void SetNegativeLoseSpace(TBool aBool)
Sets whether negative currency values lose the space between the currency symbol and the value.
TNegativeCurrencyFormat NegativeCurrencyFormat() const
Gets the negative currency format.
IMPORT_C TLocale()
Default constructor.
TUint WorkDays() const
Gets a bit mask representing the days of the week which are considered as working days.
TDeviceTimeState DeviceTime() const
Gets the device time state.
void SetThousandsSeparator(const TChar &aChar)
Sets the character to be used to separate groups of three digits to the left of the decimal separator...
void SetCountryCode(TInt aCode)
Sets the value which is used to select country-specific locale data.
void SetCurrencySpaceBetween(TBool aSpace)
Sets whether a space is inserted between the currency symbol and the currency amount.
TBool QueryHomeHasDaylightSavingOn() const
Tests whether or not daylight saving is set for the home city.
void SetDateFormat(TDateFormat aFormat)
Sets the date format.
TLanguage LanguageDowngrade(TInt aIndex) const
Gets the language that is stored at the specified index into the customisable part of the language do...
void SetWorkDays(TUint aMask)
Sets the days of the week which are considered as working days.
TTimeFormat TimeFormat() const
Gets the time format (12 or 24 hour).
TBool NegativeLoseSpace() const
Gets whether negative currency values lose the space between the currency symbol and the value.
TClockFormat ClockFormat() const
Gets the clock display format.
void SetTimeSeparator(const TChar &aChar, TInt aIndex)
Sets one of the four characters used to separate the hour, minute and second components of the date.
TDateFormat DateFormat() const
Gets the date format.
IMPORT_C void FormatCurrency(TDes &aText, TInt aAmount)
Renders a currency value as text, based on the locale's currency and numeric format settings.
void SetDigitType(TDigitType aDigitType)
Sets the number mode for the locale.
void SetClockFormat(TClockFormat aFormat)
Sets the clock display format.
void SetDecimalSeparator(const TChar &aChar)
Sets the character to be used to separate a whole number from its fractional part.
TChar DateSeparator(TInt aIndex) const
Gets one of the four characters used to separate the day, month and year components of the date.
TChar ThousandsSeparator() const
Gets the character used to separate groups of three digits to the left of the decimal separator.
TBool CurrencyNegativeInBrackets() const
Gets whether negative currency values are enclosed in brackets rather than being preceded by a minus ...
Gets a copy of the current locale's abbreviated text name for a month.
IMPORT_C TMonthNameAbb()
Default constructor.
IMPORT_C void Set(TMonth aMonth)
Re-retrieves the current locale's abbreviated text for the specified month.
Gets a copy of the current locale's full text name for a month.
IMPORT_C void Set(TMonth aMonth)
Re-retrieves the current locale's text for the specified month.
IMPORT_C TMonthName()
Default constructor.
Encapsulates the Id of a kernel object.
TBool operator==(TObjectId aId) const
Tests whether this thread Id is equal to the specified Id.
TObjectId()
Default constructor.
TBool operator!=(TObjectId aId) const
Tests whether this thread Id is unequal to the specified thread Id.
TUint64 Id() const
Return the ID as a 64 bit integer.
Packages an object into a modifiable buffer descriptor.
Stores a two-dimensional point in Cartesian co-ordinates.
An object embedded within a class T so that objects of type T can form part of an ordered doubly link...
TInt iPriority
The priority value.
A templated class that provides the behaviour for managing a doubly linked list in which the elements...
T * Last() const
Gets a pointer to the last list element in the linked list.
TBool IsLast(const T *aPtr) const
Tests whether the specified element is the last in the linked list.
TBool IsHead(const T *aPtr) const
Tests whether the end of a list has been reached.
TBool IsFirst(const T *aPtr) const
Tests whether the specified element is the first in the linked list.
TPriQue()
Default constructor.
void Add(T &aRef)
Inserts the specified list element in descending priority order.
T * First() const
Gets a pointer to the first list element in the linked list.
Encapsulates the Id of a process.
TProcessId()
Default constructor.
Contains information about the code and data sections belonging to a process.
A class encapsulating an extended precision real value.
IMPORT_C TBool Contains(const TPoint &aPoint) const
Tests whether a point is located within the rectangle.
IMPORT_C TSize Size() const
Gets the size of the rectangle.
IMPORT_C void SetSize(const TSize &aSize)
Sets the size of the rectangle.
IMPORT_C TInt Height() const
Gets the height of the rectangle.
IMPORT_C TBool Intersects(const TRect &aRect) const
Tests whether this rectangle overlaps with the specified rectangle.
IMPORT_C void SetRect(TInt aAx, TInt aAy, TInt aBx, TInt aBy)
Sets the rectangle's position using four TInts.
IMPORT_C TBool operator!=(const TRect &aRect) const
Compares two rectangles for inequality.
TPoint iTl
The x and y co-ordinates of the top left hand corner of the rectangle.
IMPORT_C void SetWidth(TInt aWidth)
Sets the width of the rectangle.
IMPORT_C TBool operator==(const TRect &aRect) const
Compares two rectangles for equality.
IMPORT_C TRect()
Constructs a default rectangle.
IMPORT_C void BoundingRect(const TRect &aRect)
Gets the minimal rectangle which bounds both this rectangle and the specified rectangle,...
IMPORT_C void SetHeight(TInt aHeight)
Sets the height of the rectangle.
IMPORT_C void Move(TInt aDx, TInt aDy)
Moves the rectangle by adding an x, y offset.
IMPORT_C void Normalize()
Ensures that the rectangle's width and height have positive values.
IMPORT_C void Intersection(const TRect &aRect)
Gets the area of intersection between this rectangle and the specified rectangle, and assigns it to t...
IMPORT_C TBool IsNormalized() const
Tests whether the rectangle is normalised.
IMPORT_C TPoint Center() const
Gets the point at the centre of the rectangle.
IMPORT_C TInt Width() const
Gets the width of the rectangle.
IMPORT_C void Grow(TInt aDx, TInt aDy)
Grows the rectangle using the specified horizontal and vertical offsets.
IMPORT_C void Shrink(TInt aDx, TInt aDy)
Shrinks a rectangle using specified horizontal and vertical offsets.
TPoint iBr
The x and y co-ordinates of the bottom right hand corner of the rectangle.
IMPORT_C void Resize(TInt aDx, TInt aDy)
Resizes a rectangle by adding a horizontal and vertical offset.
IMPORT_C TBool IsEmpty() const
Tests whether the rectangle is empty.
TRegionFix()
Constructs a default fixed size region.
Clipping region - abstract base class.
IMPORT_C void Offset(TInt aXoffset, TInt aYoffset)
Moves the region by adding X and Y offsets to the co-ordinates of its corners.
IMPORT_C void Tidy()
Merges all rectangles within this region which share an adjacent edge of the same length.
IMPORT_C void SubRect(const TRect &aRect, TRegion *aSubtractedRegion=NULL)
Removes a rectangle from this region.
IMPORT_C TRect * RectangleListW()
void AppendRegion(TRegion &aRegion)
IMPORT_C void Union(const TRegion &aRegion)
Replaces this region with the union of it and the specified region.
IMPORT_C void ClipRect(const TRect &aRect)
Clips the region to the specified rectangle.
void MergeRect(const TRect &aRect, TBool aEnclosed)
Merges a rectangle with this region.
IMPORT_C void Copy(const TRegion &aRegion)
Copies another region to this region.
IMPORT_C TInt Sort()
Sorts the region's array of rectangles according to their vertical position on the screen.
IMPORT_C TBool IsEmpty() const
Tests whether the region is empty.
void AppendRect(const TRect &aRect)
TBool CheckError() const
Tests whether the region's error flag is set.
IMPORT_C TBool Contains(const TPoint &aPoint) const
Tests whether a point is located within the region.
IMPORT_C void Intersect(const TRegion &aRegion)
Replaces this region with the area of intersection between it and the specified region.
void ShrinkRegion()
After an RRegion's iCount has reduced try to release some memory.
IMPORT_C const TRect & operator[](TInt aIndex) const
Gets a rectangle from the region.
IMPORT_C void SubRegion(const TRegion &aRegion, TRegion *aSubtractedRegion=NULL)
Removes a region.
TRect * ExpandRegion(TInt aCount)
Ensure that the region is big enough to hold aCount rectangles.
TBool SetListSize(TInt aCount)
Ensure that the region is big enough to hold aCount rectangles.
IMPORT_C TRect BoundingRect() const
Gets the minimal rectangle that bounds the entire region.
IMPORT_C void ForceError()
Sets the error flag, and clears the region.
const TRect * RectangleList() const
Gets a pointer to the array of rectangles defining this region.
void SubtractRegion(const TRegion &aRegion, TRegion *aSubtractedRegion=NULL)
Removes a region.
IMPORT_C void Clear()
Clears this region.
IMPORT_C void AddRect(const TRect &aRect)
Adds a rectangle to this region.
IMPORT_C TBool Intersects(const TRect &aRect) const
Tests whether where there is any intersection between this region and the specified rectangle.
IMPORT_C TBool IsContainedBy(const TRect &aRect) const
Tests whether the region is fully enclosed within the specified rectangle.
void DeleteRect(TRect *aRect)
IMPORT_C void Intersection(const TRegion &aRegion, const TRegion &aRegion2)
Replaces this region with the area of intersection between two specified regions.
TInt Count() const
Gets the number of rectangles in this region.
Indicates the completion status of a request made to a service provider.
A class used to represent the Secure ID of a process or executable image.
Class representing all security attributes of a process or DLL.
Class representing a generic security policy.
A base class that provides implementation for the singly linked list header.
TSglQueLink * iLast
A pointer to the last element in the list.
TSglQueLink * iHead
A pointer to the first element in the list.
IMPORT_C TBool IsEmpty() const
Tests whether the singly linked list is empty, i.e.
TInt iOffset
The offset of a component link object within elements that form the list.
IMPORT_C void Reset()
Empties the singly linked list.
IMPORT_C void DoAddFirst(TAny *aPtr)
Implements the insertion of a list element at the front of the singly linked list.
IMPORT_C TSglQueBase()
Default constructor.
IMPORT_C void SetOffset(TInt aOffset)
Sets the offset of the link object from the start of a singly linked list element.
IMPORT_C void DoAddLast(TAny *aPtr)
Implements the insertion of a list element at the back of the singly linked list.
IMPORT_C void DoRemove(TAny *aPtr)
Implements the removal of a list element from the singly linked list.
A base class that provides implementation for the singly linked list iterator.
IMPORT_C void SetToFirst()
Sets the iterator to point to the first element in the singly linked list.
IMPORT_C TAny * DoPostInc()
IMPORT_C void DoSet(TAny *aLink)
IMPORT_C TAny * DoCurrent()
A templated class that provides the behaviour for iterating through a set of singly linked list eleme...
T * operator++(TInt)
Gets a pointer to the iterator's current element and then sets the iterator to point to the next elem...
void Set(T &aLink)
Sets the iterator to point to a specific element in the list.
An object embedded within a class T so that objects of type T can form part of a singly linked list.
TSglQueLink * iNext
A pointer to the next link object in the list.
A templated class that provides the behaviour for managing a singly linked list.
T * First() const
Gets a pointer to the first list element in the singly linked list.
void AddLast(T &aRef)
Inserts the specified list element at the back of the singly linked list.
TBool IsFirst(const T *aPtr) const
Tests whether the specified element is the first in the singly linked list.
void AddFirst(T &aRef)
Inserts the specified list element at the front of the singly linked list.
T * Last() const
Gets a pointer to the last list element in the singly linked list.
TSglQue()
Constructs an empty list header and sets the offset value of the link object to zero.
void Remove(T &aRef)
Removes the specified element from the singly linked list.
TBool IsLast(const T *aPtr) const
Tests whether the specified element is the last in the singly linked list.
Stores a two-dimensional size as a width and a height value.
Defines the basic behaviour for swapping two elements of an array.
IMPORT_C TSwap()
Default constructor.
virtual IMPORT_C void Swap(TInt aLeft, TInt aRight) const
Swaps two elements of an array.
Encapsulates the Id of a thread.
TThreadId()
Default constructor.
Stores information about a thread's stack.
An object embedded within a class T so that objects of type T can form part of a doubly linked list s...
TUint iTickCount
The tick count.
A class that provides the behaviour for managing a doubly linked list in which elements are added in ...
void Add(TTickCountQueLink &aRef)
Adds the specified list element.
TTickCountQueLink * RemoveFirst()
Removes the first list element from the linked list, if any.
TTickCountQue()
Constructs an empty list header.
TTickCountQueLink * First() const
Gets a pointer to the first list element in the doubly linked list.
Provides a base class for all time interval classes using a 32-bit representation.
TBool operator<(TTimeIntervalBase aInterval) const
Tests whether this time interval is less than the specified time interval.
TBool operator==(TTimeIntervalBase aInterval) const
Tests whether this time interval is the same as the specified time interval.
TBool operator>(TTimeIntervalBase aInterval) const
Tests whether this time interval is greater than the specified time interval.
TBool operator>=(TTimeIntervalBase aInterval) const
Tests whether this time interval is greater than or equal to the specified time interval.
TTimeIntervalBase()
Default constructor.
TBool operator<=(TTimeIntervalBase aInterval) const
Tests whether this time interval is less than or equal to the specified time interval.
TInt Int() const
Gets the time interval as a 32 bit integer.
TBool operator!=(TTimeIntervalBase aInterval) const
Tests whether this time interval is not the same as the specified time interval.
Represents a time interval in days.
TTimeIntervalDays & operator=(TInt aInterval)
Assigns a value to this object.
TTimeIntervalDays()
Default constructor.
Represents a time interval in hours.
TTimeIntervalHours()
Default constructor.
TTimeIntervalHours & operator=(TInt aInterval)
Assigns a value to this object.
Represents a microsecond time interval stored in 32 rather than 64 bits.
TTimeIntervalMicroSeconds32()
Default constructor.
TTimeIntervalMicroSeconds32 & operator=(TInt aInterval)
Assigns a value to this object.
Represents a time interval of a millionth of a second stored as a 64-bit integer.
TBool operator<=(const TTimeIntervalMicroSeconds &aInterval) const
Tests whether this TTimeIntervalMicroSeconds object is less than or equal to the specified TTimeInter...
const TInt64 & Int64() const
Gets the time interval as a 64-bit integer value.
TBool operator==(const TTimeIntervalMicroSeconds &aInterval) const
Tests whether this TTimeIntervalMicroSeconds object is equal to the specified TTimeIntervalMicroSecon...
TTimeIntervalMicroSeconds()
Default constructor.
TTimeIntervalMicroSeconds & operator=(const TInt64 &aInterval)
Assigns a 64-bit integer value to this object.
TBool operator!=(const TTimeIntervalMicroSeconds &aInterval) const
Tests whether this TTimeIntervalMicroSeconds object is not equal to the specified TTimeIntervalMicroS...
TBool operator>=(const TTimeIntervalMicroSeconds &aInterval) const
Tests whether this TTimeIntervalMicroSeconds object is greater than or equal to the specified TTimeIn...
TBool operator<(const TTimeIntervalMicroSeconds &aInterval) const
Tests whether this TTimeIntervalMicroSeconds object is less than the specified TTimeIntervalMicroSeco...
TBool operator>(const TTimeIntervalMicroSeconds &aInterval) const
Tests whether this TTimeIntervalMicroSeconds object is greater than the specified TTimeIntervalMicroS...
Represents a time interval in minutes.
TTimeIntervalMinutes()
Default constructor.
TTimeIntervalMinutes & operator=(TInt aInterval)
Assigns a value to this object.
Represents a time interval in months.
TTimeIntervalMonths()
Default constructor.
TTimeIntervalMonths & operator=(TInt aInterval)
Assigns a value to this object.
Represents a time interval in seconds.
TTimeIntervalSeconds & operator=(TInt aInterval)
Assigns a value to this object.
TTimeIntervalSeconds()
Default constructor.
Represents a time interval in years.
TTimeIntervalYears & operator=(TInt aInterval)
Assigns a value to this object.
TTimeIntervalYears()
Default constructor.
Stores and manipulates the date and time.
IMPORT_C TInt WeekNoInYear() const
Gets the number of the current week in the year.
IMPORT_C TInt DayNoInMonth() const
Gets the day number in the month.
const TInt64 & Int64() const
Gets the 64 bit integer representation of this TTime obect.
IMPORT_C TInt HoursFrom(TTime aTime, TTimeIntervalHours &aInterval) const
Calculates the number of hours difference between the specified TTime and this TTime.
IMPORT_C TDateTime DateTime() const
Converts the TTime object into a TDateTime object.
IMPORT_C void HomeTime()
Sets the date and time of this TTime to the home time.
IMPORT_C TInt Set(const TDesC &aString)
Assigns a date and time contained in a descriptor to this TTime object.
TBool operator==(TTime aTime) const
Tests whether two date/times are equal.
IMPORT_C TInt Parse(const TDesC &aDes, TInt aCenturyOffset=0)
Parses a descriptor containing either or both a date and time, and sets this TTime to the value of th...
IMPORT_C TTime operator+(TTimeIntervalYears aYear) const
Adds a time interval to this TTime, returning the result as a TTime.
IMPORT_C TInt DayNoInYear() const
Gets the day number in the year.
IMPORT_C TTimeIntervalDays DaysFrom(TTime aTime) const
Calculates the number of days difference between the specified TTime and this TTime.
IMPORT_C TInt MinutesFrom(TTime aTime, TTimeIntervalMinutes &aInterval) const
Calculates the number of minutes difference between the specified TTime and this TTime.
IMPORT_C void FormatL(TDes &aDes, const TDesC &aFormat) const
Puts this TTime into a descriptor and formats it according to the format string specified in the seco...
TBool operator>(TTime aTime) const
Tests whether this date/time is later than the specified date/time.
IMPORT_C TTimeIntervalYears YearsFrom(TTime aTime) const
Calculates the number of years between the specified TTime and this TTime.
IMPORT_C TTimeIntervalMonths MonthsFrom(TTime aTime) const
Calculates the number of months between the specified TTime and this TTime.
TBool operator!=(TTime aTime) const
Tests whether two date/times are not equal.
IMPORT_C TTime & operator-=(TTimeIntervalYears aYear)
Subtracts a time interval from this TTime, returning a reference to this TTime.
IMPORT_C void RoundUpToNextMinute()
Rounds this TTime up to the next minute.
TBool operator<=(TTime aTime) const
Tests whether this date/time is earlier than or the same as the specified date/time.
IMPORT_C TTimeIntervalMicroSeconds MicroSecondsFrom(TTime aTime) const
Calculates the number of microseconds difference between the specified TTime and this TTime.
IMPORT_C void UniversalTime()
Sets the date and time of this TTime to the universal time.
IMPORT_C TTime operator-(TTimeIntervalYears aYear) const
Substracts a time interval from this TTime, returning the result as a TTime.
IMPORT_C TInt DaysInMonth() const
Gets the number of days in the current month.
TTime()
Default constructor.
IMPORT_C TInt SecondsFrom(TTime aTime, TTimeIntervalSeconds &aInterval) const
Calculates the number of seconds difference between the specified TTime and this TTime.
TBool operator>=(TTime aTime) const
Tests whether this date/time is later than or the same as the specified date/time.
TBool operator<(TTime aTime) const
Tests whether this date/time is earlier than the specified date/time.
IMPORT_C TTime & operator+=(TTimeIntervalYears aYear)
Adds a time interval to this TTime, returning a reference to this TTime.
TTime & operator=(const TInt64 &aTime)
Assigns a value contained in a 64-bit integer to this TTime object.
IMPORT_C TDay DayNoInWeek() const
Gets the day number within the current week.
IMPORT_C TInt HomeTimeSecure()
Sets the date and time of this TTime to the secure home time.
IMPORT_C TInt UniversalTimeSecure()
Sets the date and time of this TTime to the secure universal time.
Abstract class that defines a handler to work with the TRAP mechanism.
virtual IMPORT_C void Trap()=0
Called when a TRAP is invoked.
IMPORT_C TTrapHandler()
Default constructor.
virtual IMPORT_C void Leave(TInt aValue)=0
Called when a function within a TRAP leaves.
virtual IMPORT_C void UnTrap()=0
Called when a function exits a TRAP without leaving.
Encapsulates a set of three unique identifiers (UIDs) which, in combination, identify a system object...
A globally unique 32-bit number.
A class used to represent the Vendor ID of a process or executable image.
Contains version information.
A utility class whose functions may be used by the other date/time related classes.
static IMPORT_C TTime MaxTTime()
Gets the maximum time value which can be held in a TTime object.
static IMPORT_C TTime MinTTime()
Gets the minimum time value which can be held in a TTime object.
static IMPORT_C TTime NullTTime()
Gets a TTime with a null value.
static IMPORT_C TInt LeapYearsUpTo(TInt aYear)
Gets the number of leap years between 0 AD nominal Gregorian and the specified year - inclusive.
static IMPORT_C TBool IsLeapYear(TInt aYear)
Tests whether a year is a leap year.
static IMPORT_C TInt DaysInMonth(TInt aYear, TMonth aMonth)
Gets the number of days in a month.
A set of static functions for constructing fixed length heaps and local or global heaps.
static IMPORT_C RHeap * FixedHeap(TAny *aBase, TInt aMaxLength, TInt aAlign=0, TBool aSingleThread=ETrue)
Creates a fixed length heap at a specified location.
static IMPORT_C RHeap * ChunkHeap(const TDesC *aName, TInt aMinLength, TInt aMaxLength, TInt aGrowBy=1, TInt aAlign=0, TBool aSingleThread=EFalse)
Creates a heap in a local or global chunk.
static IMPORT_C TInt CreateThreadHeap(SStdEpocThreadCreateInfo &aInfo, RHeap *&aHeap, TInt aAlign=0, TBool aSingleThread=EFalse)
TChunkHeapCreateMode
Flags to control the heap creation.
@ EChunkHeapSwitchTo
On successful creation of the heap this switches the calling thread to use the new heap.
@ EChunkHeapDuplicate
On successful creation of the heap this causes the handle to the heap to be duplicated.
static IMPORT_C RHeap * OffsetChunkHeap(RChunk aChunk, TInt aMinLength, TInt aOffset, TInt aGrowBy=1, TInt aMaxLength=0, TInt aAlign=0, TBool aSingleThread=EFalse, TUint32 aMode=0)
Creates a heap in an existing chunk, offset from the beginning of the chunk.
static IMPORT_C TInt SetupThreadHeap(TBool aNotFirst, SStdEpocThreadCreateInfo &aInfo)
Set of static user functions.
static IMPORT_C void ResetInactivityTime()
Resets all user inactivity timers.
static IMPORT_C TInt SetRealtimeState(TRealtimeState aState)
static IMPORT_C TAny * ReAlloc(TAny *aCell, TInt aSize, TInt aMode=0)
Increases or decreases the size of an existing cell in the current thread's heap.
static IMPORT_C void WaitForRequest(TRequestStatus &aStatus)
Waits for a specific asynchronous request to complete.
static IMPORT_C void Free(TAny *aCell)
Frees the specified cell and returns it to the current thread's default heap.
static IMPORT_C void CommandLine(TDes &aCommand)
Gets a copy of the data which is passed as an argument to the thread function of the current process'...
static IMPORT_C TBool JustInTime()
Tests whether just-in-time debugging is on or off.
static IMPORT_C TInt SetUTCTime(const TTime &aUTCTime)
Sets the UTC time to a specified time value.
static IMPORT_C TInt SetUTCTimeAndOffset(const TTime &aUTCTime, TTimeIntervalSeconds aOffset)
Sets the UTC time and UTC offset to the specified values, atomically.
static IMPORT_C TUint Collate(TUint aChar)
Converts the character to its collated form.
static IMPORT_C TVendorId CreatorVendorId()
static IMPORT_C void Panic(const TDesC &aCategory, TInt aReason)
Panics the current thread, specifying a category name and panic number.
static IMPORT_C void HandleException(TAny *aInfo)
Internal component API.
static IMPORT_C TInt BinarySearch(TInt aCount, const TKey &aKey, TInt &aPos)
Performs a binary search for an array element containing a specified key.
static IMPORT_C TInt LoadPhysicalDevice(const TDesC &aFileName)
Loads the physical device driver (PDD) DLL with the specified filename.
static TUid CreatorIdentity()
static IMPORT_C RAllocator::TAllocFail __DbgGetAllocFail(TBool aKernel)
static IMPORT_C TUint32 __DbgMarkEnd(TBool aKernel, TInt aCount)
Marks the end of heap cell checking at the current nested level for the current thread's default heap...
static IMPORT_C TBool PriorityControl()
Tests whether the current process allows other processes to switch its priority between 'foreground' ...
static IMPORT_C void ModifyExceptionMask(TUint32 aClearMask, TUint32 aSetMask)
Changes the set of exceptions which the current thread's exception handler can deal with.
static IMPORT_C TUint __DbgCheckFailure(TBool aKernel)
Returns the number of heap allocation failures the current debug allocator fail function has caused s...
static IMPORT_C TUint TitleCase(TUint aChar)
Converts a specified character to its title case version.
static IMPORT_C void AfterHighRes(TTimeIntervalMicroSeconds32 aInterval)
Suspends the current thread until a specified time interval has expired to a resolution of 1ms .
static IMPORT_C TInt RenameProcess(const TDesC &aName)
Assigns a new name to the current process, replacing any existing name.
static TBool CreatorHasCapability(TCapability aCapability, const char *aDiagnostic=0)
static IMPORT_C void LeaveNoMemory()
Leaves with the specific reason code KErrNoMemory.
static IMPORT_C void After(TTimeIntervalMicroSeconds32 aInterval)
Suspends the current thread until a specified time interval has expired.
static IMPORT_C void InitProcess()
Internal component API.
static IMPORT_C void WaitForNRequest(TRequestStatus *aStatusArray[], TInt aNum)
Waits for any one of specific asynchronous requests to complete.
static IMPORT_C void SetDebugMask(TUint32 aVal)
Sets the debug mask.
static IMPORT_C TInt RaiseException(TExcType aType)
Raises an exception of a specified type on the current thread.
static IMPORT_C void FreeZ(TAny *&aCell)
Frees the specified cell, returns it to the current thread's default heap, and resets the pointer to ...
static IMPORT_C TInt CountAllocCells()
Gets the total number of cells allocated on the current thread's default heap.
static IMPORT_C TInt InfoPrint(const TDesC &aDes)
Invokes the notifier server to display a text message on the screen for a short time.
static IMPORT_C TTrapHandler * MarkCleanupStack()
Internal component API.
static IMPORT_C TTrapHandler * TrapHandler()
Gets a pointer to the current thread's trap handler.
static IMPORT_C TTimeIntervalSeconds InactivityTime()
Gets the time since the last user activity.
static IMPORT_C void CancelMiscNotifier(TRequestStatus &aStatus)
Internal technology API.
static IMPORT_C TVersion Version()
Retrieves the E32 component version number, which is the kernel architecture version number.
static IMPORT_C void UnMarkCleanupStack(TTrapHandler *aHandler)
Internal component API.
static IMPORT_C void RequestComplete(TRequestStatus *&aStatus, TInt aReason)
Signals the current thread that the asynchronous request associated with the specified request status...
static IMPORT_C void Exit(TInt aReason)
Terminates the current thread, specifying a reason.
static IMPORT_C TAny * AllocZ(TInt aSize)
Allocates a cell of specified size from the current thread's default heap, and clears it to binary ze...
static IMPORT_C TInt LockedDec(TInt &aValue)
Atomically (i.e.
static IMPORT_C TInt SetFloatingPointMode(TFloatingPointMode aMode, TFloatingPointRoundingMode aRoundingMode=EFpRoundToNearest)
Sets the hardware floating point mode for the current thread.
static IMPORT_C TInt LeaveIfError(TInt aReason)
Leaves or returns with a specified reason code.
static IMPORT_C TInt CompressAllHeaps()
Compresses all the chunks containing heaps.
static IMPORT_C TInt GetDesParameter(TInt aSlot, TDes8 &aDes)
Gets the specified environment data item belonging to the current process; this is assumed to be an 8...
static IMPORT_C TInt CommandLineLength()
Gets the length of the data which is passed as an argument to the thread function of the current proc...
static IMPORT_C TAny * Alloc(TInt aSize)
Allocates a cell of specified size from the current thread's heap.
static IMPORT_C TCritical ProcessCritical()
Gets the critical state associated with the current process.
static IMPORT_C TInt SafeInc(TInt &aValue)
Atomically increments the specified value by 1, if the value is > 0.
static IMPORT_C TInt SetUTCTimeSecure(const TTime &aUTCTime)
Sets the secure UTC time to a specified time value.
static IMPORT_C TInt GetTIntParameter(TInt aSlot, TInt &aData)
Gets the specified environment data item belonging to the current process; this is assumed to be a 32...
static IMPORT_C void Check()
Checks the validity of the current thread's default heap.
static IMPORT_C TInt QuickSort(TInt aCount, const TKey &aKey, const TSwap &aSwap)
Quick sorts array elements.
static IMPORT_C TInt LockedInc(TInt &aValue)
Atomically (i.e.
static RHeap * SwitchHeap(RAllocator *aHeap)
Changes the current thread's heap.
static IMPORT_C TInt Available(TInt &aBiggestBlock)
Gets the total free space currently available on the current thread's default heap,...
static IMPORT_C TInt At(const TTime &aTime)
Suspends the current thread until the specified absolute time, in the current time zone.
static IMPORT_C TTrapHandler * SetTrapHandler(TTrapHandler *aHandler)
Sets the current thread's trap handler and returns a pointer to any pre-existing trap handler.
static IMPORT_C TBool IsExceptionHandled(TExcType aType)
Tests whether the specified exception type can be handled by the current thread.
static IMPORT_C void Invariant()
Panics the current thread with a USER 0 panic.
static IMPORT_C TUint Fold(TUint aChar)
Folds the specified character.
static RHeap & Heap()
Gets a reference to the handle to the current thread's heap.
static IMPORT_C TInt SetMachineConfiguration(const TDesC8 &aConfig)
Sets the machine configuration.
static IMPORT_C TExceptionHandler ExceptionHandler()
Gets a pointer to the exception handler for the current thread.
static IMPORT_C TInt IsRomAddress(TBool &aBool, TAny *aPtr)
Tests whether the specified address is in the ROM.
static IMPORT_C TInt SetCurrencySymbol(const TDesC &aSymbol)
Sets the system wide currency symbol.
static IMPORT_C void NotifyOnIdle(TRequestStatus &aStatus)
Internal technology API.
static IMPORT_C void LeaveEnd()
Internal component API.
static IMPORT_C TInt AllocLen(const TAny *aCell)
Gets the length of the specified allocated heap cell.
static IMPORT_C TUint32 NTickCount()
Gets the nanokernel tick count.
static IMPORT_C TUint UpperCase(TUint aChar)
Converts a specified character to upper case.
static IMPORT_C TInt Beep(TInt aFrequency, TTimeIntervalMicroSeconds32 aDuration)
Makes a beep tone with a specified frequency and duration.
static IMPORT_C void SetUTCOffset(TTimeIntervalSeconds aOffset)
Sets the UTC offset to the given number of seconds.
static IMPORT_C void IMB_Range(TAny *aStart, TAny *aEnd)
Does the necessary preparations to guarantee correct execution of code in the specified virtual addre...
static IMPORT_C TSecureId CreatorSecureId()
static IMPORT_C TInt FreePhysicalDevice(const TDesC &aDriverName)
Frees the physical device driver DLL associated with a specified driver name.
static IMPORT_C void SetJustInTime(const TBool aBoolean)
Sets just-in-time debugging for this process on or off.
static IMPORT_C TAny * LeaveIfNull(TAny *aPtr)
Leaves with the reason code KErrNoMemory, if the specified pointer is NULL.
static IMPORT_C TInt AllocSize(TInt &aTotalAllocSize)
Gets the total number of cells allocated on the current thread's default heap, and the total space al...
static IMPORT_C TRegionCode RegionCode()
static IMPORT_C TLanguage Language()
Gets the language of the current locale.
TCritical
A set of values that defines the effect that terminating a thread has, either on its owning process o...
@ EAllThreadsCritical
This value can only be passed to User::SetProcessCritical() and affects any new threads created in th...
@ ESystemCritical
This value can be passed to both: User::SetCritical() and User::SetProcessCritical().
@ EProcessPermanent
This value can only be passed to User::SetCritical() and affects the current thread only.
@ ESystemPermanent
This value can be passed to both: User::SetCritical() and User::SetProcessCritical().
@ ENotCritical
This value can be passed to both:
@ EProcessCritical
This value can only be passed to User::SetCritical() and affects the current thread only.
static IMPORT_C void __DbgMarkStart(TBool aKernel)
Marks the start of heap cell checking for the current thread's default heap, or for the kernel heap.
static IMPORT_C TInt RenameThread(const TDesC &aName)
Assigns a new name to the current thread, replacing any existing name that may have been set.
static IMPORT_C TInt SetExceptionHandler(TExceptionHandler aHandler, TUint32 aMask)
Sets a new exception handler for the current thread.
static IMPORT_C TInt SetProcessCritical(TCritical aCritical)
Sets up or changes the effect that termination of subsequently created threads will have,...
static IMPORT_C TInt MachineConfiguration(TDes8 &aConfig, TInt &aSize)
Gets the machine configuration.
static IMPORT_C void SetPriorityControl(TBool aEnable)
Allows the current process to choose to have its priority switched by another process between 'foregr...
static IMPORT_C TInt SetHomeTime(const TTime &aTime)
Sets the home time to a specified time value.
static IMPORT_C void __DbgMarkCheck(TBool aKernel, TBool aCountAll, TInt aCount, const TUint8 *aFileName, TInt aLineNum)
Checks the current number of allocated heap cells for the current thread's default heap,...
static IMPORT_C RAllocator & Allocator()
Gets the current thread's default current heap.
static IMPORT_C TCritical Critical()
Gets the critical state associated with the current thread.
static IMPORT_C void __DbgSetBurstAllocFail(TBool aKernel, RAllocator::TAllocFail aFail, TUint aRate, TUint aBurst)
Simulates a heap allocation failure for the current thread's default heap, or the kernel heap.
static IMPORT_C TAny * AllocL(TInt aSize)
Allocates a cell of specified size from the current thread's heap, and leaves if there is insufficien...
static IMPORT_C TInt FreeLogicalDevice(const TDesC &aDeviceName)
Frees the logical device driver DLL associated with a specified driver name.
static IMPORT_C TAny * ReAllocL(TAny *aCell, TInt aSize, TInt aMode=0)
Increases or decreases the size of an existing cell, and leaves if there is insufficient memory in th...
static IMPORT_C void __DbgSetAllocFail(TBool aKernel, RAllocator::TAllocFail aFail, TInt aRate)
Simulates a heap allocation failure for the current thread's default heap, or the kernel heap.
static IMPORT_C TBool QueryVersionSupported(const TVersion &aCurrent, const TVersion &aRequested)
Compares two version objects and returns true if the test version is less than the current version.
static IMPORT_C TUint TickCount()
Gets the current tick count.
static IMPORT_C void Leave(TInt aReason)
Leaves the currently executing function, unwinds the call stack, and returns from the most recently e...
static IMPORT_C void WaitForAnyRequest()
Waits for any asynchronous request to complete.
static IMPORT_C RAllocator * SwitchAllocator(RAllocator *aAllocator)
Changes the current thread's heap.
static IMPORT_C TInt ValidateName(const TDesC &aName)
Checks whether a specified name is a valid CObject name.
static IMPORT_C TInt SetCritical(TCritical aCritical)
Sets up or changes the effect that termination of the current thread has, either on its owning proces...
static IMPORT_C void PanicUnexpectedLeave()
Internal component API.
@ ERealtimeStateOff
Thread is not realtime.
@ ERealtimeStateOn
Thread is realtime.
@ ERealtimeStateWarn
Thread is realtime but doesn't want this enforced.
static IMPORT_C TUint LowerCase(TUint aChar)
Converts the specified character to lower case.
static IMPORT_C TInt LoadLogicalDevice(const TDesC &aFileName)
Loads the logical device driver (LDD) DLL with the specified filename.
static IMPORT_C TAny * AllocLC(TInt aSize)
Allocates a cell of specified size from the current thread's default heap, and, if successful,...
static IMPORT_C TInt ParameterLength(TInt aSlot)
Gets the length of the specified item of environment data belonging to the current process.
static IMPORT_C TInt SetHomeTimeSecure(const TTime &aTime)
Sets the secure home time to a specified time value.
static IMPORT_C TTimeIntervalSeconds UTCOffset()
Gets the UTC offset - the difference between UTC and the current local time due to any time zones and...
static IMPORT_C TInt SafeDec(TInt &aValue)
Atomically decrements the specified value by 1, if the value is > 0.
static IMPORT_C TTimerLockSpec LockPeriod()
Returns which of the periods the clock is currently in.
static IMPORT_C TInt StringLength(const TUint8 *aString)
Gets the length of a C style, null terminated, string of single-byte valued characters.
static IMPORT_C TUint32 FastCounter()
Gets the fast counter.
static IMPORT_C TAny * AllocZL(TInt aSize)
Allocates a cell of specified size from the current thread's default heap, clears it to binary zeroes...
TBuf< KMaxExitCategoryName > TExitCategoryName
Defines a modifiable buffer descriptor to contain the category name identifying the cause of thread o...
TDes8 TDes
Defines a build-independent modifiable descriptor.
TPtrC8 TPtrC
Defines a build-independent non-modifiable pointer descriptor.
TDesC8 TDesC
Defines a build-independent non-modifiable descriptor.
TDes8Overflow TDesOverflow
Defines a build-independent descriptor overflow handler.
TLex8 TLex
Provides access to general string-parsing functions suitable for numeric format conversions and synta...
TKeyCmpText
Governs the type of comparison to be made between descriptor keys or between text keys.
@ ECmpFolded
For a Unicode build, this is the same as EcmpFolded16.
@ ECmpFolded16
For descriptor keys, the key is assumed to be the 16 bit variant, derived from TDesc16.
@ ECmpNormal8
For descriptor keys, the key is assumed to be the 8 bit variant, derived from TDesc8.
@ ECmpCollated16
For descriptor keys, the key is assumed to be the 16 bit variant, derived from TDesc16.
@ ECmpNormal16
For descriptor keys, the key is assumed to be the 16 bit variant, derived from TDesc16.
@ ECmpCollated8
For descriptor keys, the key is assumed to be the 8 bit variant, derived from TDesc8.
@ ECmpCollated
For a Unicode build, this is the same as EcmpCollated16.
@ ECmpFolded8
For descriptor keys, the key is assumed to be the 8 bit variant, derived from TDesc8.
@ ECmpNormal
For a Unicode build, this is the same as ECmpNormal16.
void(* TTlsCleanupHandler)(TAny *)
TLocaleAspect
TLocaleAspect.
@ ELocaleLanguageSettings
@ ELocaleTimeDateSettings
TKeyCmpNumeric
Governs the type of comparison to be made between numeric keys.
@ ECmpTInt
The key is assumed to be of type TInt.
@ ECmpTInt64
The key is assumed to be of type TInt64.
@ ECmpTUint16
The key is assumed to be of type TUint16.
@ ECmpTUint8
The key is assumed to be of type TUint8.
@ ECmpTInt8
The key is assumed to be of type TInt8.
@ ECmpTInt16
The key is assumed to be of type TInt16.
@ ECmpTInt32
The key is assumed to be of type TInt32.
@ ECmpTUint32
The key is assumed to be of type TUint32.
@ ECmpTUint
The key is assumed to be of type TUint.
@ EParseDatePresent
Indicates that a date is present.
@ EParseTimePresent
Indicates that a time is present.
TLexMark8 TLexMark
Defines the extraction mark used by the TLex classes to indicate the current lexical element being an...
@ ETraceAllowed
Flags set if executable may be traced.
@ EDebugAllowed
Flags set if executable may be debugged.
TUint8 iHardwareFloatingPoint
Which hardware floating point used, from TFloatingPointType.
TUint8 iDebugAttributes
Bitmask of values from enum TDebugAttributes.
TSecurityInfo iSecurityInfo
Security Info.
TUint32 iModuleVersion
Version number.
const TText * iMonthTable
const TText16 *const * iMsgTable
const TText * iMonthAbbTable
const TText * iDayAbbTable
const TText * iDateSuffixTable
TAny * iLocaleExtraSettingsDllPtr
TText iCurrencySymbol[KMaxCurrencySymbol+1]
This structure specifies the type and properties of the chunk to be created.
IMPORT_C void SetGlobal(const TDesC &aName)
Sets the chunk to be created to be global, i.e.
TUint iVersionNumber
The version number of this TChunkCreateInfo.
TChunkPagingAtt
Attributes that specify whether the chunk to be created is data paged or not.
@ EUnpaged
The chunk will not be data paged.
@ EUnspecified
The chunk will use the creating process's paging attributes.
@ EPaged
The chunk will be data paged.
TBool iGlobal
Specify if chunk is global or not.
IMPORT_C void SetReadOnly()
Sets the global chunk to be created to be read only.
TUint8 iClearByte
The byte to clear all the memory committed to the chunk to.
TInt iInitialBottom
The offset of the bottom of the region to commit to the chunk on creation from the base of the chunk'...
IMPORT_C void SetCache(TInt aMaxSize)
IMPORT_C void SetOwner(TOwnerType aType)
Sets the owner of the chunk to be created.
IMPORT_C void SetPaging(const TChunkPagingAtt aPaging)
Sets the data paging attributes for the chunk to be created.
TUint iAttributes
Attributes to the chunk to be created should have.
TUint iType
The type of the chunk to be created.
IMPORT_C void SetCode(TInt aInitialSize, TInt aMaxSize)
Sets the chunk to be created to be user writable and to be marked by the kernel as containing code.
IMPORT_C void SetNormal(TInt aInitialSize, TInt aMaxSize)
Sets the chunk to be created to have a committed region that always starts at the bottom of the reser...
void SetThreadHeap(TInt aInitialSize, TInt aMaxSize, const TDesC &aName)
Sets the chunk to be created to be a thread heap chunk.
IMPORT_C void SetClearByte(TUint8 aClearByte)
Sets the byte value that all memory committed to the chunk will be cleared to.
TInt iMaxSize
The maximum size in bytes of the chunk to be created.
TInt iInitialTop
The offset of the top of the region to commit to the chunk on creation from the base of the chunk's r...
const TDesC * iName
A pointer to a descriptor containing the name to be assigned to global chunks.
IMPORT_C void SetDoubleEnded(TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize)
Sets the chunk to be created to have a commited region that that can be any contiguous subset of the ...
TOwnerType iOwnerType
An enumeration whose enumerators define the ownership of this chunk handle.
IMPORT_C TChunkCreateInfo()
Default constructor.
IMPORT_C void SetDisconnected(TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize)
Set the chunk to be created to have a committed region consisting of an arbitrary set of MMU pages wi...
This structure specifies the type and properties of the user heap to be created.
void SetPaging(const TChunkHeapPagingAtt aPaging)
Sets the paging attribute of the chunk heap to be created.
TBool iSingleThread
The single thread value of the heap.
TInt iOffset
The offset from the base of the chunk to the start of the heap.
TUint iVersionNumber
The version number of this TChunkHeapCreateInfo.
TInt iAlign
The alignment of the heap.
TChunkHeapPagingAtt iPaging
The paging attributes of the chunk.
void SetGrowBy(TInt aGrowBy)
Sets the increments to the size of the host chunk.
TInt iMaxLength
The maximum size for the heap.
void SetOffset(TInt aOffset)
Sets the offset from the base of the host chunk to the start of the heap.
IMPORT_C void SetUseChunk(const RChunk aChunk)
Sets the chunk heap to be created to use the chunk specified.
TChunkHeapPagingAtt
Attributes that specify whether the chunk heap to be created is data paged or not.
@ EPaged
The chunk heap will be data paged.
@ EUnpaged
The chunk heap will not be data paged.
@ EUnspecified
The chunk heap will use the creating process's paging attributes.
IMPORT_C void SetCreateChunk(const TDesC *aName)
Sets the chunk heap to create a new chunk with the specified name.
TUint iMode
The mode flags for the heap.
RChunk iChunk
The chunk to use for the heap.
TDesC * iName
The name of the chunk to be created for the heap.
void SetMode(TUint aMode)
Sets the mode flags of the chunk heap.
TInt iMinLength
The minimum size for the heap.
TInt iGrowBy
The grow by value of the heap.
void SetAlignment(TInt aAlign)
Sets alignment of the cells of the chunk heap to be created.
void SetSingleThread(TBool aSingleThread)
Sets single thread property of the chunk heap.
This structure specifies the type and properties of the thread to be created.
const TDesC * iName
The Name to be given to the thread to be created.
IMPORT_C void SetOwner(const TOwnerType aOwner)
Sets the owner the thread to be created.
TThreadPagingAtt
Attributes that specify whether the stack and heap of the thread to be created are data paged or not.
@ EUnspecified
The thread will use the creating process's paging attributes.
@ EPaged
The thread will data page its stack and heap.
@ EUnpaged
The thread will not data page its stack and heap.
IMPORT_C void SetCreateHeap(TInt aHeapMinSize, TInt aHeapMaxSize)
Sets the thread to be created to create its own heap.
TThreadFunction iFunction
The function this thread will execute.
TUint iVersionNumber
The version number of this TChunkCreateInfo.
TUint iAttributes
The attributes of the thread.
TInt iStackSize
The size of the stack of the thread to be created.
TInt iHeapMinSize
Minimum size of any heap to be created for the thread.
IMPORT_C void SetUseHeap(const RAllocator *aHeap)
Sets the thread to be created to use the heap whose handle is pointed to by aAllocator.
TInt iHeapMaxSize
Maximum size of any heap to be created for the thread.
RAllocator * iHeap
The heap for the thread to be created to use.
TOwnerType iOwner
The owner of the thread to be created.
TAny * iParameter
The parameter to be passed to the function of the thread to be created.
IMPORT_C void SetPaging(const TThreadPagingAtt aPaging)
Sets the data paging attributes of the thread to be created.