Lines Matching refs:LCHAR
78 const LCHAR* stackTrace;
97 const LCHAR* tag;
125 static ESR_ReturnCode getStackTrace(LCHAR* stackTrace, size_t* len)
133 LCHAR* index;
175 static int getIndex(const LCHAR *key)
313 free((LCHAR*) gMemoryMap[i].tag);
433 LCHAR stackTrace[P_MAX_STACKTRACE];
467 LCHAR truncatedTag[TAG_SIZE];
469 LCHAR TAG_PREFIX[] = L("...");
529 LCHAR stackTrace[P_MAX_STACKTRACE];
530 LCHAR* index;
568 void *pmalloc(size_t nbBytes, const LCHAR* tag, const LCHAR* file, int line)
582 LCHAR* stackTrace;
606 gMemoryMap[idx].tag = malloc(sizeof(LCHAR) * (LSTRLEN(tag) + 1));
609 LSTRCPY((LCHAR*) gMemoryMap[idx].tag, tag);
632 stackTrace = malloc(sizeof(LCHAR) * (stackTraceSize + 1));
640 data->stackTrace = realloc(stackTrace, sizeof(LCHAR) * (LSTRLEN(stackTrace) + 1));
701 void *pcalloc(size_t nbItems, size_t itemSize, const LCHAR* tag, const LCHAR* file, int line)
734 void *prealloc(void *ptr, size_t newSize, const LCHAR *file, int line)
748 const LCHAR* oldStackTrace;
859 LCHAR stackTrace[P_MAX_STACKTRACE];
886 void pfree(void* ptr, const LCHAR* file, int line)
930 LCHAR stackTrace[P_MAX_STACKTRACE];
947 free((LCHAR*) data->stackTrace);