Lines Matching refs:sal_Char
92 sal_Char* m_pReadPtr;
93 sal_Char m_ReadBuf[512];
94 sal_Char* m_pWriteBuf;
125 sal_Char m_FileName[PATH_MAX + 1];
130 sal_Char** m_Lines;
141 static osl_TFile* openFileImpl(const sal_Char* pszFilename, oslProfileOption ProfileFlags);
147 static sal_Char* OslProfile_getLine(osl_TFile* pFile);
148 static sal_Bool OslProfile_putLine(osl_TFile* pFile, const sal_Char *pszLine);
149 static sal_Char* stripBlanks(sal_Char* String, sal_uInt32* pLen);
150 static sal_Char* addLine(osl_TProfileImpl* pProfile, const sal_Char* Line);
151 static sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 LineNo);
155 sal_Char* Entry, sal_uInt32 Len);
157 int Line, sal_Char* Entry, sal_uInt32 Len);
159 static sal_Bool addSection(osl_TProfileImpl* pProfile, int Line, const sal_Char* Section, sal_uInt3…
161 static osl_TProfileSection* findEntry(osl_TProfileImpl* pProfile, const sal_Char* Section,
162 const sal_Char* Entry, sal_uInt32 *pNoEntry);
171 static void osl_ProfileGenerateExtension(sal_Char* pszFileName, sal_Char* pszExtension, sal_Char* p…
172 static oslProfile SAL_CALL osl_psz_openProfile(const sal_Char *pszProfileName, oslProfileOption Fla…
191 static oslProfile SAL_CALL osl_psz_openProfile(const sal_Char *pszProfileName, oslProfileOption Fla… in osl_psz_openProfile()
195 sal_Char Filename[PATH_MAX]; in osl_psz_openProfile()
484 const sal_Char* pszSection, const sal_Char* pszEntry, in osl_readProfileString()
485 sal_Char* pszString, sal_uInt32 MaxLen, in osl_readProfileString()
486 const sal_Char* pszDefault) in osl_readProfileString()
489 sal_Char* pStr=0; in osl_readProfileString()
541 pStr=(sal_Char*)pszDefault; in osl_readProfileString()
580 const sal_Char* pszSection, const sal_Char* pszEntry, in osl_readProfileBool()
583 sal_Char Line[32]; in osl_readProfileBool()
612 const sal_Char* pszSection, const sal_Char* pszEntry, in osl_readProfileIdent()
613 sal_uInt32 FirstId, const sal_Char* Strings[], in osl_readProfileIdent()
617 sal_Char Line[256]; in osl_readProfileIdent()
645 const sal_Char* pszSection, const sal_Char* pszEntry, in osl_writeProfileString()
646 const sal_Char* pszString) in osl_writeProfileString()
651 sal_Char* pStr; in osl_writeProfileString()
652 sal_Char* Line = 0; in osl_writeProfileString()
694 Line = (sal_Char*) malloc(strlen(pszEntry)+strlen(pszString)+48); in osl_writeProfileString()
789 const sal_Char* pszSection, const sal_Char* pszEntry, in osl_writeProfileBool()
812 const sal_Char* pszSection, const sal_Char* pszEntry, in osl_writeProfileIdent()
813 sal_uInt32 FirstId, const sal_Char* Strings[], in osl_writeProfileIdent()
838 const sal_Char *pszSection, const sal_Char *pszEntry) in osl_removeProfileEntry()
922 sal_uInt32 SAL_CALL osl_getProfileSectionEntries(oslProfile Profile, const sal_Char *pszSection, in osl_getProfileSectionEntries()
923 sal_Char* pszBuffer, sal_uInt32 MaxLen) in osl_getProfileSectionEntries()
1025 sal_uInt32 SAL_CALL osl_getProfileSections(oslProfile Profile, sal_Char* pszBuffer, sal_uInt32 MaxL… in osl_getProfileSections()
1146 sal_Char* pEnvValue; in OslProfile_lockFile()
1219 static osl_TFile* openFileImpl(const sal_Char* pszFilename, oslProfileOption ProfileFlags ) in openFileImpl()
1361 static sal_Char* OslProfile_getLine(osl_TFile* pFile) in OslProfile_getLine()
1364 sal_Char* pChr; in OslProfile_getLine()
1365 sal_Char* pLine = NULL; in OslProfile_getLine()
1366 sal_Char* pNewLine; in OslProfile_getLine()
1413 pNewLine = (sal_Char*) rtl_allocateMemory( nLineBytes + Max + 1 ); in OslProfile_getLine()
1449 static sal_Bool OslProfile_putLine(osl_TFile* pFile, const sal_Char *pszLine) in OslProfile_putLine()
1464 pFile->m_pWriteBuf = (sal_Char*) malloc(Len+3); in OslProfile_putLine()
1472 sal_Char* pTmp; in OslProfile_putLine()
1474 pTmp=(sal_Char*) realloc(pFile->m_pWriteBuf,( ( pFile->m_nWriteBufLen + Len ) * 2) ); in OslProfile_putLine()
1502 static sal_Char* stripBlanks(sal_Char* String, sal_uInt32* pLen) in stripBlanks()
1522 static sal_Char* addLine(osl_TProfileImpl* pProfile, const sal_Char* Line) in addLine()
1529 pProfile->m_Lines = calloc(pProfile->m_MaxLines, sizeof(sal_Char *)); in addLine()
1537 pProfile->m_Lines = (sal_Char **)realloc(pProfile->m_Lines, in addLine()
1538 pProfile->m_MaxLines * sizeof(sal_Char *)); in addLine()
1563 static sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 LineNo) in insertLine()
1570 pProfile->m_Lines = calloc(pProfile->m_MaxLines, sizeof(sal_Char *)); in insertLine()
1575 pProfile->m_Lines = (sal_Char **)realloc(pProfile->m_Lines, in insertLine()
1576 pProfile->m_MaxLines * sizeof(sal_Char *)); in insertLine()
1580 (pProfile->m_MaxLines - pProfile->m_NoLines - 1) * sizeof(sal_Char*)); in insertLine()
1599 (pProfile->m_NoLines - LineNo) * sizeof(sal_Char *)); in insertLine()
1635 (pProfile->m_NoLines - LineNo - 1) * sizeof(sal_Char *)); in removeLine()
1639 (pProfile->m_MaxLines - pProfile->m_NoLines) * sizeof(sal_Char*)); in removeLine()
1667 sal_Char* Entry, sal_uInt32 Len) in setEntry()
1678 int Line, sal_Char* Entry, sal_uInt32 Len) in addEntry()
1737 static sal_Bool addSection(osl_TProfileImpl* pProfile, int Line, const sal_Char* Section, sal_uInt3… in addSection()
1814 static osl_TProfileSection* findEntry(osl_TProfileImpl* pProfile, const sal_Char* Section, in findEntry()
1815 const sal_Char* Entry, sal_uInt32 *pNoEntry) in findEntry()
1820 const sal_Char* pStr; in findEntry()
1868 sal_Char* pStr; in loadProfile()
1869 sal_Char* pChar; in loadProfile()
1871 sal_Char* pLine; in loadProfile()
1872 sal_Char* bWasAdded = NULL; in loadProfile()
1900 pStr = (sal_Char *)stripBlanks(pProfile->m_Lines[i], NULL); in loadProfile()
2026 sal_Char* pszExtension = "tmp"; in osl_openTmpProfileImpl()
2027 sal_Char pszTmpName[PATH_MAX]; in osl_openTmpProfileImpl()
2057 sal_Char pszBakFile[PATH_MAX]; in osl_ProfileSwapProfileNames()
2058 sal_Char pszTmpFile[PATH_MAX]; in osl_ProfileSwapProfileNames()
2059 sal_Char pszIniFile[PATH_MAX]; in osl_ProfileSwapProfileNames()
2084 static void osl_ProfileGenerateExtension(sal_Char* pszFileName, sal_Char* pszExtension, sal_Char* p… in osl_ProfileGenerateExtension()