/external/pdfium/xfa/src/fxfa/src/parser/ |
D | xfa_localevalue.cpp | 601 int nIndex = 0, nStart = 0; in ValidateCanonicalDate() local 602 while (pDate[nIndex] != '\0' && nIndex < wCountY) { in ValidateCanonicalDate() 603 if (!XFA_IsDigit(pDate[nIndex])) { in ValidateCanonicalDate() 606 wYear = (pDate[nIndex] - '0') + wYear * 10; in ValidateCanonicalDate() 607 nIndex++; in ValidateCanonicalDate() 610 if (pDate[nIndex] != 0x2D) { in ValidateCanonicalDate() 613 nIndex++; in ValidateCanonicalDate() 615 nStart = nIndex; in ValidateCanonicalDate() 616 while (pDate[nIndex] != '\0' && nIndex - nStart < wCountM && nIndex < nLen) { in ValidateCanonicalDate() 617 if (!XFA_IsDigit(pDate[nIndex])) { in ValidateCanonicalDate() [all …]
|
D | xfa_objectacc_imp.cpp | 1101 CXFA_Script CXFA_Variables::GetScript(int32_t nIndex) { in GetScript() argument 1102 return m_pNode->GetChild(nIndex, XFA_ELEMENT_Script); in GetScript() 1188 CXFA_Corner CXFA_Box::GetCorner(int32_t nIndex) const { in GetCorner() 1193 m_pNode->GetProperty(nIndex, XFA_ELEMENT_Corner, nIndex == 0)); in GetCorner() 1201 CXFA_Edge CXFA_Box::GetEdge(int32_t nIndex) const { in GetEdge() 1205 return CXFA_Edge(m_pNode->GetProperty(nIndex, XFA_ELEMENT_Edge, nIndex == 0)); in GetEdge() 1455 int32_t nIndex) { in XFA_GetEdgeThickness() argument 1458 if (strokes[nIndex * 2 + 1].GetPresence() == XFA_ATTRIBUTEENUM_Visible) { in XFA_GetEdgeThickness() 1459 if (nIndex == 0) { in XFA_GetEdgeThickness() 1462 fThickness += strokes[nIndex * 2 + 1].GetThickness() * (b3DStyle ? 4 : 2); in XFA_GetEdgeThickness() [all …]
|
/external/pdfium/xfa/src/fee/src/fee/ |
D | fde_txtedtblock.h | 52 void GetFieldText(int32_t nIndex, CFX_WideString& wsField); 59 void SetIndex(int32_t nIndex) { m_nIndex = nIndex; } in SetIndex() argument 77 void GetItem(int32_t nIndex, 95 int32_t nIndex, 98 virtual int32_t Insert(int32_t nIndex, 102 virtual int32_t Delete(int32_t nIndex, 107 virtual int32_t Replace(int32_t nIndex, 117 virtual int32_t GetRealIndex(int32_t nIndex) const; 120 int32_t nIndex, 127 void SetIndex(int32_t nIndex) { m_nIndex = nIndex; } in SetIndex() argument [all …]
|
D | fde_txtedtblock.cpp | 106 void CFDE_TxtEdtBlock::GetFieldText(int32_t nIndex, CFX_WideString& wsField) { in GetFieldText() argument 107 CFDE_TxtEdtField* pField = m_EditFieldArr[nIndex]; in GetFieldText() 191 void CFDE_TxtEdtFieldFormatParser::GetItem(int32_t nIndex, in GetItem() argument 194 FDE_LPTXTEDTFORMATITEM lpItem = m_ItemArr[nIndex]; in GetItem() 206 int32_t nIndex, in Create() argument 209 return new CFDE_TxtEdtField_Fixed(wsField, nIndex, pBlock); in Create() 214 return new CFDE_TxtEdtField_Integer(wsField, nIndex, pBlock); in Create() 216 return new CFDE_TxtEdtField_Float(wsField, nIndex, pBlock); in Create() 218 return new CFDE_TxtEdtField_String(wsField, nIndex, pBlock); in Create() 220 return new CFDE_TxtEdtField_Password(wsField, nIndex, pBlock); in Create() [all …]
|
D | fde_txtedtengine.cpp | 104 IFDE_TxtEdtPage* CFDE_TxtEdtEngine::GetPage(int32_t nIndex) { in GetPage() argument 105 if (m_PagePtrArray.GetSize() <= nIndex) { in GetPage() 108 return (IFDE_TxtEdtPage*)m_PagePtrArray[nIndex]; in GetPage() 115 int32_t nIndex = 0; in SetTextByStream() local 133 m_pTxtBuf->Insert(nIndex, lpwstr, nRead); in SetTextByStream() 134 nIndex += nRead; in SetTextByStream() 139 m_pTxtBuf->Insert(nIndex, &m_wLineEnd, 1); in SetTextByStream() 229 int32_t CFDE_TxtEdtEngine::SetCaretPos(int32_t nIndex, FX_BOOL bBefore) { in SetCaretPos() argument 233 FXSYS_assert(nIndex >= 0 && nIndex <= GetTextBufLength()); in SetCaretPos() 239 nIndex = NormalizeCaretPos(nIndex, FDE_FORMAT_CARET_MIDDLE, bBefore); in SetCaretPos() [all …]
|
D | fde_txtedtbuf.cpp | 86 void CFDE_TxtEdtBufIter::SetAt(int32_t nIndex) { in SetAt() argument 87 FXSYS_assert(nIndex >= 0 && nIndex < m_pBuf->m_nTotal); in SetAt() 89 m_pBuf->Index2CP(nIndex, cp); in SetAt() 90 m_nIndex = nIndex; in SetAt() 204 FX_WCHAR CFDE_TxtEdtBuf::GetCharByIndex(int32_t nIndex) const { in GetCharByIndex() 205 FXSYS_assert(nIndex >= 0 && nIndex < GetTextLength()); in GetCharByIndex() 213 if (nTotal > nIndex) { in GetCharByIndex() 218 return pChunkHeader->wChars[pChunkHeader->nUsed - (nTotal - nIndex)]; in GetCharByIndex() 298 void CFDE_TxtEdtBuf::Delete(int32_t nIndex, int32_t nLength) { in Delete() argument 299 FXSYS_assert(nLength > 0 && nIndex >= 0 && nIndex + nLength <= m_nTotal); in Delete() [all …]
|
D | fde_txtedtengine.h | 69 virtual IFDE_TxtEdtPage* GetPage(int32_t nIndex); 82 virtual int32_t SetCaretPos(int32_t nIndex, FX_BOOL bBefore); 101 virtual void SetFormatBlock(int32_t nIndex, 104 virtual void GetEditBlockText(int32_t nIndex, 117 virtual int32_t GetSelRange(int32_t nIndex, int32_t& nStart); 152 int32_t nIndex, 155 int32_t nIndex, 159 int32_t nIndex, 180 int32_t MovePage2Char(int32_t nIndex); 181 void TextPos2ParagPos(int32_t nIndex, FDE_TXTEDTPARAGPOS& ParagPos) const; [all …]
|
D | fde_txtedtbuf.h | 23 virtual void SetAt(int32_t nIndex); 66 virtual FX_WCHAR GetCharByIndex(int32_t nIndex) const; 74 virtual void Delete(int32_t nIndex, int32_t nLength = 1); 85 void Index2CP(int32_t nIndex, FDE_CHUNKPLACE& cp) const;
|
D | fde_txtedtpage.cpp | 20 int32_t nIndex) { in Create() argument 21 return (IFDE_TxtEdtPage*)new CFDE_TxtEdtPage(pEngine, nIndex); in Create() 181 int32_t CFDE_TxtEdtPage::GetCharRect(int32_t nIndex, in GetCharRect() argument 185 FXSYS_assert(nIndex >= 0 && nIndex < m_nCharCount); in GetCharRect() 192 if (nIndex >= pPiece->nStart && in GetCharRect() 193 nIndex < (pPiece->nStart + pPiece->nCount)) { in GetCharRect() 200 rect = rectArr[nIndex - pPiece->nStart]; in GetCharRect() 362 int32_t nIndex = GetCharIndex(fPoint, bBefore); in SelectWord() local 363 if (nIndex == m_pEditEngine->GetTextBufLength()) { in SelectWord() 364 nIndex = m_pEditEngine->GetTextBufLength() - 1; in SelectWord() [all …]
|
/external/pdfium/xfa/src/fwl/src/lightwidget/ |
D | listbox.cpp | 44 int32_t nIndex = m_ListBoxDP.GetItemIndex(GetWidget(), hItem); in DeleteString() local 45 if (nIndex < 0 || nIndex >= m_ListBoxDP.m_arrItem.GetSize()) { in DeleteString() 49 reinterpret_cast<CFWL_ListItem*>(m_ListBoxDP.GetItem(m_pIface, nIndex)); in DeleteString() 51 int32_t iSel = nIndex + 1; in DeleteString() 53 iSel = nIndex - 1; in DeleteString() 63 m_ListBoxDP.m_arrItem.RemoveAt(nIndex); in DeleteString() 87 int32_t CFWL_ListBox::GetSelIndex(int32_t nIndex) { in GetSelIndex() argument 90 return static_cast<IFWL_ListBox*>(m_pIface)->GetSelIndex(nIndex); in GetSelIndex() 122 int32_t nIndex = m_ListBoxDP.GetItemIndex(GetWidget(), hItem); in SetFocusItem() local 123 static_cast<CFWL_ListItem*>(m_ListBoxDP.m_arrItem[nIndex])->m_dwStates |= in SetFocusItem() [all …]
|
/external/pdfium/core/include/fxcrt/ |
D | fx_basic.h | 299 uint8_t* InsertSpaceAt(int nIndex, int nCount); 301 FX_BOOL RemoveAt(int nIndex, int nCount); 329 const TYPE GetAt(int nIndex) const { in GetAt() argument 330 if (nIndex < 0 || nIndex >= m_nSize) { in GetAt() 333 return ((const TYPE*)m_pData)[nIndex]; in GetAt() 336 FX_BOOL SetAt(int nIndex, TYPE newElement) { in SetAt() argument 337 if (nIndex < 0 || nIndex >= m_nSize) { in SetAt() 340 ((TYPE*)m_pData)[nIndex] = newElement; in SetAt() 344 TYPE& ElementAt(int nIndex) { in ElementAt() argument 345 if (nIndex < 0 || nIndex >= m_nSize) { in ElementAt() [all …]
|
/external/deqp/external/glslang/ |
D | osinclude.cpp | 42 bool OS_SetTLSValue (OS_TLSIndex nIndex, void* lpvValue) in OS_SetTLSValue() argument 44 deThreadLocal_set((deThreadLocal)nIndex, lpvValue); in OS_SetTLSValue() 48 bool OS_FreeTLSIndex (OS_TLSIndex nIndex) in OS_FreeTLSIndex() argument 50 deThreadLocal_destroy((deThreadLocal)nIndex); in OS_FreeTLSIndex() 54 void* OS_GetTLSValue (OS_TLSIndex nIndex) in OS_GetTLSValue() argument 56 return deThreadLocal_get((deThreadLocal)nIndex); in OS_GetTLSValue()
|
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_array.cpp | 83 uint8_t* CFX_BasicArray::InsertSpaceAt(int nIndex, int nCount) { in InsertSpaceAt() argument 84 if (nIndex < 0 || nCount <= 0) { in InsertSpaceAt() 87 if (nIndex >= m_nSize) { in InsertSpaceAt() 88 if (!SetSize(nIndex + nCount)) { in InsertSpaceAt() 96 FXSYS_memmove(m_pData + (nIndex + nCount) * m_nUnitSize, in InsertSpaceAt() 97 m_pData + nIndex * m_nUnitSize, in InsertSpaceAt() 98 (nOldSize - nIndex) * m_nUnitSize); in InsertSpaceAt() 99 FXSYS_memset(m_pData + nIndex * m_nUnitSize, 0, nCount * m_nUnitSize); in InsertSpaceAt() 101 return m_pData + nIndex * m_nUnitSize; in InsertSpaceAt() 103 FX_BOOL CFX_BasicArray::RemoveAt(int nIndex, int nCount) { in RemoveAt() argument [all …]
|
D | fx_basic_bstring.cpp | 360 FX_STRSIZE CFX_ByteString::Delete(FX_STRSIZE nIndex, FX_STRSIZE nCount) { in Delete() argument 364 if (nIndex < 0) { in Delete() 365 nIndex = 0; in Delete() 368 if (nCount > 0 && nIndex < nOldLength) { in Delete() 369 FX_STRSIZE mLength = nIndex + nCount; in Delete() 371 m_pData->m_nDataLength = nIndex; in Delete() 376 FXSYS_memmove(m_pData->m_String + nIndex, m_pData->m_String + mLength, in Delete() 684 FX_STRSIZE CFX_ByteString::Insert(FX_STRSIZE nIndex, FX_CHAR ch) { in Insert() argument 686 if (nIndex < 0) { in Insert() 687 nIndex = 0; in Insert() [all …]
|
D | fx_basic_wstring.cpp | 494 void CFX_WideString::SetAt(FX_STRSIZE nIndex, FX_WCHAR ch) { in SetAt() argument 498 ASSERT(nIndex >= 0); in SetAt() 499 ASSERT(nIndex < m_pData->m_nDataLength); in SetAt() 501 m_pData->m_String[nIndex] = ch; in SetAt() 665 FX_STRSIZE CFX_WideString::Insert(FX_STRSIZE nIndex, FX_WCHAR ch) { in Insert() argument 667 if (nIndex < 0) { in Insert() 668 nIndex = 0; in Insert() 671 if (nIndex > nNewLength) { in Insert() 672 nIndex = nNewLength; in Insert() 690 FXSYS_memmove(m_pData->m_String + nIndex + 1, m_pData->m_String + nIndex, in Insert() [all …]
|
/external/pdfium/fpdfsdk/src/fxedit/ |
D | fxet_list.cpp | 146 IFX_Edit* CFX_List::GetItemEdit(int32_t nIndex) const { in GetItemEdit() 147 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nIndex)) { in GetItemEdit() 236 int32_t CFX_List::FindNext(int32_t nIndex, FX_WCHAR nChar) const { in FindNext() argument 237 int32_t nCircleIndex = nIndex; in FindNext() 253 CPDF_Rect CFX_List::GetItemRect(int32_t nIndex) const { in GetItemRect() 254 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nIndex)) { in GetItemRect() 264 FX_BOOL CFX_List::IsItemSelected(int32_t nIndex) const { in IsItemSelected() 265 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nIndex)) { in IsItemSelected() 296 CFX_WideString CFX_List::GetItemText(int32_t nIndex) const { in GetItemText() 297 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nIndex)) { in GetItemText() [all …]
|
/external/pdfium/fpdfsdk/include/fxedit/ |
D | fxet_list.h | 197 TYPE GetAt(int32_t nIndex) const { in GetAt() argument 198 if (nIndex >= 0 && nIndex < CFX_ArrayTemplate<TYPE>::GetSize()) in GetAt() 199 return CFX_ArrayTemplate<TYPE>::GetAt(nIndex); in GetAt() 202 void RemoveAt(int32_t nIndex) { in RemoveAt() argument 203 if (nIndex >= 0 && nIndex < CFX_ArrayTemplate<TYPE>::GetSize()) in RemoveAt() 204 CFX_ArrayTemplate<TYPE>::RemoveAt(nIndex); in RemoveAt() 219 IFX_Edit* GetItemEdit(int32_t nIndex) const override; 221 FX_BOOL IsItemSelected(int32_t nIndex) const override; 226 int32_t FindNext(int32_t nIndex, FX_WCHAR nChar) const override; 228 CPDF_Rect GetItemRect(int32_t nIndex) const override; [all …]
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_basic.cpp | 73 int& nIndex, in SearchNameNode() argument 108 nIndex += i; in SearchNameNode() 111 nIndex += dwCount; in SearchNameNode() 124 SearchNameNode(pKid, csName, nIndex, ppFind, nLevel + 1); in SearchNameNode() 132 int nIndex, in SearchNameNode() argument 143 if (nIndex >= nCurIndex + nCount) { in SearchNameNode() 150 csName = pNames->GetString((nIndex - nCurIndex) * 2); in SearchNameNode() 151 return pNames->GetElementValue((nIndex - nCurIndex) * 2 + 1); in SearchNameNode() 163 SearchNameNode(pKid, nIndex, nCurIndex, csName, ppFind, nLevel + 1); in SearchNameNode() 202 int nIndex = 0; in GetIndex() local [all …]
|
/external/pdfium/xfa/src/fxfa/src/app/ |
D | xfa_ffchoicelist.h | 24 void SetItemState(int32_t nIndex, FX_BOOL bSelected); 25 void InsertItem(const CFX_WideStringC& wsLabel, int32_t nIndex = -1); 26 void DeleteItem(int32_t nIndex); 81 void SetItemState(int32_t nIndex, FX_BOOL bSelected); 82 void InsertItem(const CFX_WideStringC& wsLabel, int32_t nIndex = -1); 83 void DeleteItem(int32_t nIndex);
|
D | xfa_ffimageedit.cpp | 114 FX_STRSIZE nIndex = nLen - 1; in OnLButtonDown() local 115 while (nIndex > 0 && wsFilePath[nIndex] != '.') { in OnLButtonDown() 116 nIndex--; in OnLButtonDown() 118 if (nIndex <= 0) { in OnLButtonDown() 122 wsContentType += wsFilePath.Right(nLen - nIndex - 1); in OnLButtonDown()
|
D | xfa_ffchoicelist.cpp | 156 void CXFA_FFListBox::SetItemState(int32_t nIndex, FX_BOOL bSelected) { in SetItemState() argument 157 FWL_HLISTITEM item = ((CFWL_ListBox*)m_pNormalWidget)->GetSelItem(nIndex); in SetItemState() 163 int32_t nIndex) { in InsertItem() argument 169 void CXFA_FFListBox::DeleteItem(int32_t nIndex) { in DeleteItem() argument 170 if (nIndex < 0) { in DeleteItem() 174 ->DeleteString(((CFWL_ListBox*)m_pNormalWidget)->GetItem(nIndex)); in DeleteItem() 450 void CXFA_FFComboBox::SetItemState(int32_t nIndex, FX_BOOL bSelected) { in SetItemState() argument 452 ((CFWL_ComboBox*)m_pNormalWidget)->SetCurSel(nIndex); in SetItemState() 460 int32_t nIndex) { in InsertItem() argument 465 void CXFA_FFComboBox::DeleteItem(int32_t nIndex) { in DeleteItem() argument [all …]
|
/external/pdfium/xfa/src/fwl/src/core/ |
D | fwl_gridimp.cpp | 24 FWL_HGRIDCOLROW IFWL_Grid::InsertColRow(FX_BOOL bColumn, int32_t nIndex) { in InsertColRow() argument 25 return static_cast<CFWL_GridImp*>(GetImpl())->InsertColRow(bColumn, nIndex); in InsertColRow() 30 FWL_HGRIDCOLROW IFWL_Grid::GetColRow(FX_BOOL bColumn, int32_t nIndex) { in GetColRow() argument 31 return static_cast<CFWL_GridImp*>(GetImpl())->GetColRow(bColumn, nIndex); in GetColRow() 251 FWL_ERR CFWL_GridImp::InsertWidget(IFWL_Widget* pChild, int32_t nIndex) { in InsertWidget() argument 254 CFWL_ContentImp::InsertWidget(pChild, nIndex); in InsertWidget() 270 int32_t nIndex = m_Widgets.Find(pWidget); in RemoveWidget() local 271 m_Widgets.RemoveAt(nIndex, 1); in RemoveWidget() 275 FWL_HGRIDCOLROW CFWL_GridImp::InsertColRow(FX_BOOL bColumn, int32_t nIndex) { in InsertColRow() argument 277 if (nIndex < 0 || nIndex > m_Columns.GetSize()) { in InsertColRow() [all …]
|
D | fwl_contentimp.cpp | 14 FWL_ERR IFWL_Content::InsertWidget(IFWL_Widget* pChild, int32_t nIndex) { in InsertWidget() argument 15 return static_cast<CFWL_ContentImp*>(GetImpl())->InsertWidget(pChild, nIndex); in InsertWidget() 45 FWL_ERR CFWL_ContentImp::InsertWidget(IFWL_Widget* pChild, int32_t nIndex) { in InsertWidget() argument 49 if (nIndex == -1) { in InsertWidget() 55 pMgr->SetWidgetIndex(pChild, nIndex); in InsertWidget()
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_IconList.cpp | 222 int32_t nIndex = 0; in FindItemIndex() local 228 nIndex = i; in FindItemIndex() 233 return nIndex; in FindItemIndex() 263 void CPWL_IconList_Content::SetSelect(int32_t nIndex) { in SetSelect() argument 264 if (m_nSelectIndex != nIndex) { in SetSelect() 266 SelectItem(nIndex, TRUE); in SetSelect() 267 m_nSelectIndex = nIndex; in SetSelect() 270 pNotify->OnNoteListSelChanged(nIndex); in SetSelect() 423 void CPWL_IconList::SetSelect(int32_t nIndex) { in SetSelect() argument 424 m_pListContent->SetSelect(nIndex); in SetSelect() [all …]
|
/external/pdfium/xfa/src/fee/src/fx_wordbreak/ |
D | fx_wordbreak_impl.cpp | 41 void CFX_CharIter::SetAt(int32_t nIndex) { in SetAt() argument 42 if (nIndex < 0 || nIndex >= m_wsText.GetLength()) { in SetAt() 45 m_nIndex = nIndex; in SetAt() 102 void CFX_WordBreak::SetAt(int32_t nIndex) { in SetAt() argument 107 m_pCurIter->SetAt(nIndex); in SetAt()
|