Lines Matching refs:LineNo
157 …nst sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 LineNo);
158 static void removeLine(osl_TProfileImpl* pProfile, sal_uInt32 LineNo);
1621 …tic const sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 LineNo) in insertLine() argument
1649 LineNo = LineNo > pProfile->m_NoLines ? pProfile->m_NoLines : LineNo; in insertLine()
1651 if (LineNo < pProfile->m_NoLines) in insertLine()
1656 memmove(&pProfile->m_Lines[LineNo + 1], &pProfile->m_Lines[LineNo], in insertLine()
1657 (pProfile->m_NoLines - LineNo) * sizeof(sal_Char *)); in insertLine()
1665 if (pSec->m_Line >= LineNo) in insertLine()
1669 if (pSec->m_Entries[n].m_Line >= LineNo) in insertLine()
1676 pProfile->m_Lines[LineNo] = strdup(Line); in insertLine()
1678 return (pProfile->m_Lines[LineNo]); in insertLine()
1681 static void removeLine(osl_TProfileImpl* pProfile, sal_uInt32 LineNo) in removeLine() argument
1683 if (LineNo < pProfile->m_NoLines) in removeLine()
1685 free(pProfile->m_Lines[LineNo]); in removeLine()
1686 pProfile->m_Lines[LineNo]=0; in removeLine()
1687 if (pProfile->m_NoLines - LineNo > 1) in removeLine()
1692 memmove(&pProfile->m_Lines[LineNo], &pProfile->m_Lines[LineNo + 1], in removeLine()
1693 (pProfile->m_NoLines - LineNo - 1) * sizeof(sal_Char *)); in removeLine()
1704 if (pSec->m_Line > LineNo) in removeLine()
1708 if (pSec->m_Entries[n].m_Line > LineNo) in removeLine()
1714 pProfile->m_Lines[LineNo] = 0; in removeLine()