/external/srec/portable/include/ |
PStackSize.h | 34 PORTABLE_API void PSTACK_SIZE_INIT(); 40 PORTABLE_API size_t PSTACK_SIZE_GET();
|
PortPrefix.h | 28 #define PORTABLE_API PORT_EXPORT_DECL 30 #define PORTABLE_API PORT_IMPORT_DECL
|
PStackTrace.h | 54 PORTABLE_API ESR_ReturnCode PStackTraceCreate(void); 62 PORTABLE_API ESR_ReturnCode PStackTraceIsInitialized(ESR_BOOL* value); 70 PORTABLE_API ESR_ReturnCode PStackTraceGetDepth(size_t* depth); 80 PORTABLE_API ESR_ReturnCode PStackTraceGetValue(LCHAR* text, size_t* len); 90 PORTABLE_API ESR_ReturnCode PStackTraceGetFunctionName(LCHAR* text, size_t* len); 98 PORTABLE_API ESR_ReturnCode PStackTracePopLevel(LCHAR* text); 105 PORTABLE_API ESR_ReturnCode PStackTraceDestroy(void);
|
PFileSystemImpl.h | 47 PORTABLE_API PHashTable* PFileSystemPathMap; 52 PORTABLE_API LCHAR PFileSystemCurrentDirectory[P_PATH_MAX]; 57 PORTABLE_API ESR_ReturnCode PFileSystemDestroyImpl(PFileSystem* self); 65 PORTABLE_API ESR_ReturnCode PFileSystemInitializeStreamsImpl(void); 69 PORTABLE_API ESR_ReturnCode PFileSystemShutdownStreamsImpl(void); 81 PORTABLE_API ESR_ReturnCode PFileSystemAddPathImpl(PFileSystem* self, const LCHAR* basePath); 90 PORTABLE_API ESR_ReturnCode PFileSystemRemovePathImpl(PFileSystem* self, const LCHAR* basePath); 102 PORTABLE_API ESR_ReturnCode PFileSystemGetFS(const LCHAR* path, PFileSystem** fileSystem, LCHAR* relativePath); 113 PORTABLE_API ESR_ReturnCode PFileSystemIsDirectoryPath(const LCHAR* path, ESR_BOOL* isDirectory);
|
pcrc.h | 41 PORTABLE_API unsigned int pcrcComputeData(const void *data, unsigned int size); 50 PORTABLE_API unsigned int pcrcComputeString(const LCHAR *str); 67 PORTABLE_API unsigned int pcrcUpdateData(unsigned int crc,
|
pcputimer.h | 43 PORTABLE_API ESR_ReturnCode PCPUTimerCreate(PCPUTimer **timer); 52 PORTABLE_API ESR_ReturnCode PCPUTimerDestroy(PCPUTimer *timer); 61 PORTABLE_API ESR_ReturnCode PCPUTimerStart(PCPUTimer *timer); 68 PORTABLE_API ESR_ReturnCode PCPUTimerStop(PCPUTimer *timer); 78 PORTABLE_API ESR_ReturnCode PCPUTimerGetElapsed(PCPUTimer *timer, 88 PORTABLE_API ESR_ReturnCode PCPUTimerReset(PCPUTimer *timer);
|
ptimer.h | 44 PORTABLE_API ESR_ReturnCode PTimerCreate(PTimer **timer); 51 PORTABLE_API ESR_ReturnCode PTimerDestroy(PTimer *timer); 58 PORTABLE_API ESR_ReturnCode PTimerStart(PTimer *timer); 63 PORTABLE_API ESR_ReturnCode PTimerStop(PTimer *timer); 71 PORTABLE_API ESR_ReturnCode PTimerGetElapsed(PTimer *timer, 79 PORTABLE_API ESR_ReturnCode PTimerReset(PTimer *timer);
|
pstream.h | 71 PORTABLE_API void PortFileInit(void); 72 PORTABLE_API PORT_FILE PortFopen(const char* filename, const char* mode); 73 PORTABLE_API int PortFclose(PORT_FILE PortFile); 74 PORTABLE_API size_t PortFread(void* buffer, size_t size, size_t count, PORT_FILE PortFile); 75 PORTABLE_API size_t PortFwrite(const void* buffer, size_t size, size_t count, PORT_FILE PortFile); 76 PORTABLE_API int PortFseek(PORT_FILE PortFile, long offset, int origin); 77 PORTABLE_API long PortFtell(PORT_FILE PortFile); 78 PORTABLE_API int PortFprintf(PORT_FILE PortFile, const char* format, ...); 79 PORTABLE_API char* PortFgets(char* string, int n, PORT_FILE PortFile); 80 PORTABLE_API int PortFflush(PORT_FILE PortFile) [all...] |
ptrd.h | 89 PORTABLE_API ESR_ReturnCode PtrdSleep(asr_uint32_t sleepTimeMs); 103 PORTABLE_API ESR_ReturnCode PtrdMonitorCreate(PtrdMonitor **monitor); 113 PORTABLE_API ESR_ReturnCode PtrdMonitorDestroy(PtrdMonitor *monitor); 124 PORTABLE_API ESR_ReturnCode PtrdMonitorLockWithLine(PtrdMonitor *monitor, const LCHAR *fname, int line); 144 PORTABLE_API ESR_ReturnCode PtrdMonitorUnlock(PtrdMonitor *monitor); 166 PORTABLE_API ESR_ReturnCode PtrdMonitorWait(PtrdMonitor *monitor); 185 PORTABLE_API ESR_ReturnCode PtrdMonitorWaitTimeout(PtrdMonitor *monitor, 213 PORTABLE_API ESR_ReturnCode PtrdMonitorNotify(PtrdMonitor *monitor); 240 PORTABLE_API ESR_ReturnCode PtrdMonitorNotifyAll(PtrdMonitor *monitor); 256 PORTABLE_API ESR_ReturnCode PtrdMutexCreate(PtrdMutex **mutex) [all...] |
PANSIFileImpl.h | 52 PORTABLE_API ESR_ReturnCode PANSIFileCreateImpl(const LCHAR* filename, ESR_BOOL isLittleEndian, PFile** self); 57 PORTABLE_API ESR_ReturnCode PANSIFileDestroyImpl(PFile* self); 62 PORTABLE_API ESR_ReturnCode PANSIFileOpenImpl(PFile* self, const LCHAR* mode); 67 PORTABLE_API ESR_ReturnCode PANSIFileCloseImpl(PFile* self); 72 PORTABLE_API ESR_ReturnCode PANSIFileReadImpl(PFile* self, void* buffer, size_t size, size_t* count); 77 PORTABLE_API ESR_ReturnCode PANSIFileWriteImpl(PFile* self, void* buffer, size_t size, size_t* count); 82 PORTABLE_API ESR_ReturnCode PANSIFileFlushImpl(PFile* self); 87 PORTABLE_API ESR_ReturnCode PANSIFileSeekImpl(PFile* self, long offset, int origin); 92 PORTABLE_API ESR_ReturnCode PANSIFileGetPositionImpl(PFile* self, size_t* position); 97 PORTABLE_API ESR_ReturnCode PANSIFileIsOpenImpl(PFile* self, ESR_BOOL* isOpen) [all...] |
LCHAR.h | 42 PORTABLE_API ESR_ReturnCode lstrtrim(LCHAR* text); 54 PORTABLE_API ESR_ReturnCode lstrinsert(const LCHAR* source, LCHAR* target, size_t offset, size_t* len); 64 PORTABLE_API ESR_ReturnCode lstrreplace(LCHAR* text, const LCHAR source, const LCHAR target); 74 PORTABLE_API ESR_ReturnCode lstrtoi(const LCHAR* text, int* result, int base); 84 PORTABLE_API ESR_ReturnCode lstrtoui(const LCHAR* text, unsigned int* result, int base); 93 PORTABLE_API ESR_ReturnCode lstrtof(const LCHAR* text, float* result); 102 PORTABLE_API ESR_ReturnCode lstrtob(const LCHAR* text, ESR_BOOL* result); 113 PORTABLE_API ESR_ReturnCode LCHARGetInt( LCHAR* text, int* value, LCHAR** finalPosition); 121 PORTABLE_API ESR_ReturnCode lstrupr(LCHAR* string); 129 PORTABLE_API ESR_ReturnCode lstrlwr(LCHAR* string) [all...] |
phashtable.h | 140 PORTABLE_API ESR_ReturnCode PHashTableCreate(PHashTableArgs *hashArgs, 150 PORTABLE_API ESR_ReturnCode PHashTableDestroy(PHashTable *hashtable); 157 PORTABLE_API ESR_ReturnCode PHashTableGetSize(PHashTable *hashtable, 169 PORTABLE_API ESR_ReturnCode PHashTableGetValue(PHashTable *hashtable, 180 PORTABLE_API ESR_ReturnCode PHashTableContainsKey(PHashTable *hashtable, 195 PORTABLE_API ESR_ReturnCode PHashTablePutValue(PHashTable *hashtable, 213 PORTABLE_API ESR_ReturnCode PHashTableRemoveValue(PHashTable *hashtable, 225 PORTABLE_API ESR_ReturnCode PHashTableGetEntry(PHashTable *hashtable, 238 PORTABLE_API ESR_ReturnCode PHashTableEntryGetKeyValue(PHashTableEntry *entry, 250 PORTABLE_API ESR_ReturnCode PHashTableEntrySetValue(PHashTableEntry *entry [all...] |
ptimestamp.h | 58 PORTABLE_API void PTimeStampSet(PTimeStamp *timestamp); 67 PORTABLE_API int PTimeStampDiff(const PTimeStamp *a, const PTimeStamp *b);
|
PFileSystem.h | 43 /*PORTABLE_API PFile* PSTDIN;*/ 47 /*PORTABLE_API PFile* PSTDOUT;*/ 51 /*PORTABLE_API PFile* PSTDERR;*/ 106 PORTABLE_API ESR_ReturnCode PFileSystemCreate(void); 114 PORTABLE_API ESR_ReturnCode PFileSystemIsCreated(ESR_BOOL* isCreated); 121 PORTABLE_API ESR_ReturnCode PFileSystemDestroy(void); 131 PORTABLE_API ESR_ReturnCode PFileSystemCreatePFile(const LCHAR* path, ESR_BOOL littleEndian, PFile** file); 140 PORTABLE_API ESR_ReturnCode PFileSystemIsAbsolutePath(const LCHAR* path, ESR_BOOL* isAbsolute); 158 PORTABLE_API ESR_ReturnCode PFileSystemGetAbsolutePath(LCHAR* path, size_t* len); 166 PORTABLE_API ESR_ReturnCode PFileSystemCanonicalSlashes(LCHAR* path) [all...] |
ArrayListImpl.h | 68 PORTABLE_API ESR_ReturnCode ArrayList_Add(ArrayList* self, void* element); 73 PORTABLE_API ESR_ReturnCode ArrayList_InsertAt(ArrayList* self, size_t index, void* element); 78 PORTABLE_API ESR_ReturnCode ArrayList_Remove(ArrayList* self, const void* element); 83 PORTABLE_API ESR_ReturnCode ArrayList_RemoveAtIndex(ArrayList* self, size_t index); 88 PORTABLE_API ESR_ReturnCode ArrayList_RemoveAll(ArrayList* self); 93 PORTABLE_API ESR_ReturnCode ArrayList_Contains(ArrayList* self, const void* element, ESR_BOOL* exists); 98 PORTABLE_API ESR_ReturnCode ArrayList_Get(ArrayList* self, size_t index, void** element); 103 PORTABLE_API ESR_ReturnCode ArrayList_Set(ArrayList* self, size_t index, void* element); 108 PORTABLE_API ESR_ReturnCode ArrayList_GetSize(ArrayList* self, size_t* size); 113 PORTABLE_API ESR_ReturnCode ArrayList_Clone(ArrayList* self, ArrayList* clone) [all...] |
PANSIFileSystemImpl.h | 51 PORTABLE_API PFileSystem* PANSIFileSystemSingleton; 56 PORTABLE_API ESR_ReturnCode PANSIFileSystemDestroyImpl(PFileSystem* self); 61 PORTABLE_API ESR_ReturnCode PANSIFileSystemCreatePFileImpl(PFileSystem* self, const LCHAR* path, ESR_BOOL littleEndian, PFile** file); 66 PORTABLE_API ESR_ReturnCode PANSIFileSystemAddPathImpl(PFileSystem* self, const LCHAR* virtualPath, const LCHAR* realPath); 71 PORTABLE_API ESR_ReturnCode PANSIFileSystemRemovePathImpl(PFileSystem* self, const LCHAR* virtualPath); 76 PORTABLE_API ESR_ReturnCode PANSIFileSystemMkdirImpl(PFileSystem* self, const LCHAR* path); 81 PORTABLE_API ESR_ReturnCode PANSIFileSystemChdirImpl(PFileSystem* self, const LCHAR* path); 86 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetcwdImpl(PFileSystem* self, LCHAR* cwd, size_t* len); 96 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetRealPathImpl(PFileSystem* self, LCHAR* path, size_t* len); 106 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetVirtualPathImpl(PFileSystem* self, LCHAR* path, size_t* len) [all...] |
PFile.h | 258 PORTABLE_API ESR_ReturnCode PFileDestroy(PFile* self); 261 PORTABLE_API ESR_ReturnCode PFileOpen(PFile* self, const LCHAR* mode); 269 PORTABLE_API ESR_ReturnCode PFileClose(PFile* self); 283 PORTABLE_API ESR_ReturnCode PFileRead(PFile* self, void* buffer, size_t size, size_t* count); 296 PORTABLE_API ESR_ReturnCode PFileWrite(PFile* self, void* buffer, size_t size, size_t* count); 304 PORTABLE_API ESR_ReturnCode PFileFlush(PFile* self); 314 PORTABLE_API ESR_ReturnCode PFileSeek(PFile* self, long offset, int origin); 323 PORTABLE_API ESR_ReturnCode PFileGetPosition(PFile* self, size_t* position); 332 PORTABLE_API ESR_ReturnCode PFileIsOpen(PFile* self, ESR_BOOL* isOpen); 342 PORTABLE_API ESR_ReturnCode PFileIsEOF(PFile* self, ESR_BOOL* isEof) [all...] |
ArrayList.h | 169 PORTABLE_API ESR_ReturnCode ArrayListCreate(ArrayList** self); 178 PORTABLE_API ESR_ReturnCode ArrayListCreateWithCapacity(ArrayList** self, size_t minCapacity); 187 PORTABLE_API ESR_ReturnCode ArrayListAdd(ArrayList* self, void* element); 203 PORTABLE_API ESR_ReturnCode ArrayListInsertAt(ArrayList* self, 214 PORTABLE_API ESR_ReturnCode ArrayListRemove(ArrayList* self, void* element); 223 PORTABLE_API ESR_ReturnCode ArrayListRemoveAtIndex(ArrayList* self, size_t index); 231 PORTABLE_API ESR_ReturnCode ArrayListRemoveAll(ArrayList* self); 241 PORTABLE_API ESR_ReturnCode ArrayListContains(ArrayList* self, void* element, ESR_BOOL* exists); 250 PORTABLE_API ESR_ReturnCode ArrayListGetSize(ArrayList* self, size_t* size); 260 PORTABLE_API ESR_ReturnCode ArrayListGet(ArrayList* self, size_t index, void** element) [all...] |
PANSIFileSystem.h | 98 PORTABLE_API ESR_ReturnCode PANSIFileSystemCreate(void); 105 PORTABLE_API ESR_ReturnCode PANSIFileSystemDestroy(void); 118 PORTABLE_API ESR_ReturnCode PANSIFileSystemAddPath(const LCHAR* virtualPath, const LCHAR* realPath); 126 PORTABLE_API ESR_ReturnCode PANSIFileSystemRemovePath(const LCHAR* virtualPath); 142 PORTABLE_API ESR_ReturnCode PANSIFileSystemGetcwd(LCHAR* cwd, size_t* len); 151 PORTABLE_API ESR_ReturnCode PANSIFileSystemSetDefault(ESR_BOOL isDefault);
|
PFileImpl.h | 65 PORTABLE_API ESR_ReturnCode PFileCreateImpl(PFile* self, const LCHAR* filename, ESR_BOOL littleEndian); 70 PORTABLE_API ESR_ReturnCode PFileDestroyImpl(PFile* self); 75 PORTABLE_API ESR_ReturnCode PFileGetFilenameImpl(PFile* self, LCHAR* filename, size_t* len); 80 PORTABLE_API ESR_ReturnCode PFileVfprintfImpl(PFile* self, int* result, const LCHAR* format, va_list args);
|
pLastError.h | 35 PORTABLE_API void printGetLastErrorInternal(const LCHAR* text, char* file, int line);
|
ESR_ReturnCode.h | 203 PORTABLE_API const LCHAR* ESR_rc2str(const ESR_ReturnCode rc); 209 PORTABLE_API void _cdecl _penter(void); 213 PORTABLE_API void _cdecl _pexit(void);
|
pmemory.h | 176 PORTABLE_API void *pmalloc(size_t nbBytes, const LCHAR* tag, const LCHAR* file, int line); 178 PORTABLE_API void *pmalloc(size_t nbBytes); 198 PORTABLE_API void *pcalloc(size_t nbItems, size_t itemSize, const LCHAR* tag, const LCHAR* file, int line); 200 PORTABLE_API void *pcalloc(size_t nbItems, size_t itemSize); 218 PORTABLE_API void *prealloc(void* ptr, size_t newSize, const LCHAR* file, int line); 220 PORTABLE_API void *prealloc(void* ptr, size_t newSize); 236 PORTABLE_API void pfree(void* ptr, const LCHAR* file, int line); 238 PORTABLE_API void pfree(void* ptr); 254 PORTABLE_API ESR_ReturnCode PMemInit(void); 262 PORTABLE_API ESR_ReturnCode PMemShutdown(void) [all...] |
plog.h | 135 PORTABLE_API ESR_ReturnCode PLogInit(PLogger *logger, unsigned int logLevel); 143 PORTABLE_API ESR_ReturnCode PLogIsInitialized(ESR_BOOL* isInit); 151 PORTABLE_API ESR_ReturnCode PLogIsLocked(ESR_BOOL* isLocked); 161 PORTABLE_API ESR_ReturnCode PLogShutdown(void); 174 PORTABLE_API ESR_ReturnCode PLogSetFormat(LOG_OUTPUT_FORMAT format); 186 PORTABLE_API ESR_ReturnCode PLogGetLevel(unsigned int *logLevel); 198 PORTABLE_API ESR_ReturnCode PLogSetLevel(unsigned int logLevel); 209 PORTABLE_API ESR_ReturnCode PLogMessage(const LCHAR* msg, ...); 220 PORTABLE_API ESR_ReturnCode PLogError(const LCHAR* msg, ...); 233 PORTABLE_API ESR_ReturnCode PLogCreateFileLogger(PFile* file [all...] |
pendian.h | 102 PORTABLE_API void swap_byte_order(void *buffer,
|