Lines Matching refs:LineNo
163 …ic const sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 LineNo);
164 static void removeLine(osl_TProfileImpl* pProfile, sal_uInt32 LineNo);
1486 …tic const sal_Char* insertLine(osl_TProfileImpl* pProfile, const sal_Char* Line, sal_uInt32 LineNo) in insertLine() argument
1511 LineNo = LineNo > pProfile->m_NoLines ? pProfile->m_NoLines : LineNo; in insertLine()
1513 if (LineNo < pProfile->m_NoLines) in insertLine()
1518 memmove(&pProfile->m_Lines[LineNo + 1], &pProfile->m_Lines[LineNo], in insertLine()
1519 (pProfile->m_NoLines - LineNo) * sizeof(sal_Char *)); in insertLine()
1526 if (pSec->m_Line >= LineNo) in insertLine()
1530 if (pSec->m_Entries[n].m_Line >= LineNo) in insertLine()
1537 pProfile->m_Lines[LineNo] = strdup(Line); in insertLine()
1539 return (pProfile->m_Lines[LineNo]); in insertLine()
1542 static void removeLine(osl_TProfileImpl* pProfile, sal_uInt32 LineNo) in removeLine() argument
1544 if (LineNo < pProfile->m_NoLines) in removeLine()
1546 free(pProfile->m_Lines[LineNo]); in removeLine()
1547 if (pProfile->m_NoLines - LineNo > 1) in removeLine()
1552 memmove(&pProfile->m_Lines[LineNo], &pProfile->m_Lines[LineNo + 1], in removeLine()
1553 (pProfile->m_NoLines - LineNo - 1) * sizeof(sal_Char *)); in removeLine()
1560 if (pSec->m_Line > LineNo) in removeLine()
1564 if (pSec->m_Entries[n].m_Line > LineNo) in removeLine()
1570 pProfile->m_Lines[LineNo] = 0; in removeLine()