/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_localevalue.cpp | 381 size_t nIndex = 0; in ValidateCanonicalDate() local 383 while (nIndex < wCountY && spDate[nIndex] != '\0') { in ValidateCanonicalDate() 384 if (!FXSYS_IsDecimalDigit(spDate[nIndex])) in ValidateCanonicalDate() 387 wYear = (spDate[nIndex] - '0') + wYear * 10; in ValidateCanonicalDate() 388 nIndex++; in ValidateCanonicalDate() 391 if (nIndex >= spDate.size() || spDate[nIndex] != 0x2D) in ValidateCanonicalDate() 393 nIndex++; in ValidateCanonicalDate() 396 nStart = nIndex; in ValidateCanonicalDate() 397 while (nIndex < spDate.size() && spDate[nIndex] != '\0' && in ValidateCanonicalDate() 398 nIndex - nStart < wCountM) { in ValidateCanonicalDate() [all …]
|
D | cxfa_rectangle.cpp | 443 int32_t nIndex, in GetPath() argument 446 ASSERT(nIndex >= 0); in GetPath() 447 ASSERT(nIndex < 8); in GetPath() 449 int32_t n = (nIndex & 1) ? nIndex - 1 : nIndex; in GetPath() 461 CXFA_Stroke* stroke = strokes[nIndex]; in GetPath() 463 CXFA_Stroke* strokeBefore = strokes[(nIndex + 1 * 8 - 1) % 8]; in GetPath() 464 CXFA_Stroke* strokeAfter = strokes[nIndex + 1]; in GetPath() 472 CXFA_Stroke* strokeBefore = strokes[(nIndex + 8 - 2) % 8]; in GetPath() 473 CXFA_Stroke* strokeAfter = strokes[(nIndex + 2) % 8]; in GetPath() 494 switch (nIndex) { in GetPath() [all …]
|
/external/deqp-deps/glslang/glslang/OSDependent/Windows/ |
D | ossource.cpp | 61 inline DWORD ToNativeTLSIndex (OS_TLSIndex nIndex) in ToNativeTLSIndex() argument 63 return (DWORD)((uintptr_t)nIndex - 1); in ToNativeTLSIndex() 80 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) in OS_SetTLSValue() argument 82 if (nIndex == OS_INVALID_TLS_INDEX) { in OS_SetTLSValue() 87 if (TlsSetValue(ToNativeTLSIndex(nIndex), lpvValue)) in OS_SetTLSValue() 93 void* OS_GetTLSValue(OS_TLSIndex nIndex) in OS_GetTLSValue() argument 95 assert(nIndex != OS_INVALID_TLS_INDEX); in OS_GetTLSValue() 96 return TlsGetValue(ToNativeTLSIndex(nIndex)); in OS_GetTLSValue() 99 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) in OS_FreeTLSIndex() argument 101 if (nIndex == OS_INVALID_TLS_INDEX) { in OS_FreeTLSIndex() [all …]
|
/external/deqp-deps/glslang/glslang/OSDependent/Unix/ |
D | ossource.cpp | 113 inline pthread_key_t TLSIndexToPthreadKey(OS_TLSIndex nIndex) in TLSIndexToPthreadKey() argument 115 return (pthread_key_t)((uintptr_t)nIndex - 1); in TLSIndexToPthreadKey() 133 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) in OS_SetTLSValue() argument 135 if (nIndex == OS_INVALID_TLS_INDEX) { in OS_SetTLSValue() 140 if (pthread_setspecific(TLSIndexToPthreadKey(nIndex), lpvValue) == 0) in OS_SetTLSValue() 146 void* OS_GetTLSValue(OS_TLSIndex nIndex) in OS_GetTLSValue() argument 151 assert(nIndex != OS_INVALID_TLS_INDEX); in OS_GetTLSValue() 152 return pthread_getspecific(TLSIndexToPthreadKey(nIndex)); in OS_GetTLSValue() 155 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) in OS_FreeTLSIndex() argument 157 if (nIndex == OS_INVALID_TLS_INDEX) { in OS_FreeTLSIndex() [all …]
|
/external/swiftshader/src/OpenGL/compiler/ |
D | ossource_posix.cpp | 44 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) in OS_SetTLSValue() argument 46 if (nIndex == OS_INVALID_TLS_INDEX) { in OS_SetTLSValue() 51 if (pthread_setspecific(nIndex, lpvValue) == 0) in OS_SetTLSValue() 58 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) in OS_FreeTLSIndex() argument 60 if (nIndex == OS_INVALID_TLS_INDEX) { in OS_FreeTLSIndex() 68 if (pthread_key_delete(nIndex) == 0) in OS_FreeTLSIndex()
|
D | ossource_win.cpp | 40 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) in OS_SetTLSValue() argument 42 if (nIndex == OS_INVALID_TLS_INDEX) { in OS_SetTLSValue() 47 if (TlsSetValue(nIndex, lpvValue)) in OS_SetTLSValue() 54 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) in OS_FreeTLSIndex() argument 56 if (nIndex == OS_INVALID_TLS_INDEX) { in OS_FreeTLSIndex() 61 if (TlsFree(nIndex)) in OS_FreeTLSIndex()
|
D | osinclude.h | 60 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue); 61 bool OS_FreeTLSIndex(OS_TLSIndex nIndex); 63 inline void* OS_GetTLSValue(OS_TLSIndex nIndex) in OS_GetTLSValue() argument 65 ASSERT(nIndex != OS_INVALID_TLS_INDEX); in OS_GetTLSValue() 67 return TlsGetValue(nIndex); in OS_GetTLSValue() 69 return pthread_getspecific(nIndex); in OS_GetTLSValue()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_nametree.cpp | 159 size_t* nIndex, in SearchNameNodeByName() argument 202 *nIndex += i; in SearchNameNodeByName() 205 *nIndex += dwCount; in SearchNameNodeByName() 219 CPDF_Object* pFound = SearchNameNodeByName(pKid, csName, nLevel + 1, nIndex, in SearchNameNodeByName() 232 size_t nIndex, in SearchNameNodeByIndex() argument 244 if (nIndex >= *nCurIndex + nCount) { in SearchNameNodeByIndex() 251 *pFindIndex = nIndex - *nCurIndex; in SearchNameNodeByIndex() 253 *csName = pNames->GetUnicodeTextAt((nIndex - *nCurIndex) * 2); in SearchNameNodeByIndex() 254 return pNames->GetDirectObjectAt((nIndex - *nCurIndex) * 2 + 1); in SearchNameNodeByIndex() 266 pKid, nIndex, nLevel + 1, nCurIndex, csName, ppFind, pFindIndex); in SearchNameNodeByIndex() [all …]
|
D | cpdf_annot.cpp | 212 size_t nIndex) { in RectFromQuadPointsArray() argument 214 ASSERT(nIndex < pArray->size() / 8); in RectFromQuadPointsArray() 228 pArray->GetNumberAt(4 + nIndex * 8), pArray->GetNumberAt(5 + nIndex * 8), in RectFromQuadPointsArray() 229 pArray->GetNumberAt(2 + nIndex * 8), pArray->GetNumberAt(3 + nIndex * 8)); in RectFromQuadPointsArray() 251 size_t nIndex) { in RectFromQuadPoints() argument 254 if (nIndex >= nQuadPointCount) in RectFromQuadPoints() 256 return RectFromQuadPointsArray(pArray, nIndex); in RectFromQuadPoints()
|
D | cpdf_nametree.h | 27 bool DeleteValueAndName(int nIndex); 29 CPDF_Object* LookupValueAndName(int nIndex, WideString* csName) const;
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_list_impl.cpp | 279 int32_t nIndex = GetLastSelected(); in OnChar() local 280 int32_t nFindIndex = FindNext(nIndex, nChar); in OnChar() 282 if (nFindIndex != nIndex) { in OnChar() 297 CFX_FloatRect CPWL_ListCtrl::GetItemRect(int32_t nIndex) const { in GetItemRect() 298 return InToOut(GetItemRectInternal(nIndex)); in GetItemRect() 301 CFX_FloatRect CPWL_ListCtrl::GetItemRectInternal(int32_t nIndex) const { in GetItemRectInternal() 302 if (!IsValid(nIndex)) in GetItemRectInternal() 305 CFX_FloatRect rcItem = m_ListItems[nIndex]->GetRect(); in GetItemRectInternal() 513 void CPWL_ListCtrl::SetTopItem(int32_t nIndex) { in SetTopItem() argument 514 if (IsValid(nIndex)) { in SetTopItem() [all …]
|
D | cpwl_list_impl.h | 63 CFX_FloatRect GetItemRect(int32_t nIndex) const; 72 void SetTopItem(int32_t nIndex); 86 CPWL_EditImpl* GetItemEdit(int32_t nIndex) const; 88 bool IsItemSelected(int32_t nIndex) const; 92 int32_t FindNext(int32_t nIndex, wchar_t nChar) const; 137 CFX_FloatRect GetItemRectInternal(int32_t nIndex) const; 147 WideString GetItemText(int32_t nIndex) const; 148 void SetItemSelect(int32_t nIndex, bool bSelected);
|
/external/deqp/external/glslang/ |
D | osinclude.cpp | 43 bool OS_SetTLSValue (OS_TLSIndex nIndex, void* lpvValue) in OS_SetTLSValue() argument 45 deThreadLocal_set((deThreadLocal)nIndex, lpvValue); in OS_SetTLSValue() 49 bool OS_FreeTLSIndex (OS_TLSIndex nIndex) in OS_FreeTLSIndex() argument 51 deThreadLocal_destroy((deThreadLocal)nIndex); in OS_FreeTLSIndex() 55 void* OS_GetTLSValue (OS_TLSIndex nIndex) in OS_GetTLSValue() argument 57 return deThreadLocal_get((deThreadLocal)nIndex); in OS_GetTLSValue()
|
/external/pdfium/core/fxge/ |
D | cfx_unicodeencodingex.cpp | 63 FT_UInt nIndex = FT_Get_Char_Index(face, charcode); in GlyphFromCharCode() local 64 if (nIndex > 0) in GlyphFromCharCode() 65 return nIndex; in GlyphFromCharCode() 76 nIndex = FT_Get_Char_Index(face, charcode); in GlyphFromCharCode() 77 if (nIndex > 0) { in GlyphFromCharCode() 79 return nIndex; in GlyphFromCharCode()
|
/external/deqp-deps/glslang/glslang/OSDependent/ |
D | osinclude.h | 47 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue); 48 bool OS_FreeTLSIndex(OS_TLSIndex nIndex); 49 void* OS_GetTLSValue(OS_TLSIndex nIndex);
|
/external/mdnsresponder/mDNSWindows/ControlPanel/ |
D | BrowsingPage.cpp | 106 int nIndex; in OnSetActive() local 156 nIndex = m_browseListCtrl.InsertItem( m_browseListCtrl.GetItemCount(), L""); in OnSetActive() 157 m_browseListCtrl.SetItemText( nIndex, 1, subKeyName ); in OnSetActive() 158 m_browseListCtrl.SetCheck( nIndex, enabled ); in OnSetActive() 282 int nIndex; in OnBnClickedAddBrowseDomain() local 284 nIndex = m_browseListCtrl.InsertItem( m_browseListCtrl.GetItemCount(), L""); in OnBnClickedAddBrowseDomain() 285 m_browseListCtrl.SetItemText( nIndex, 1, dlg.m_text ); in OnBnClickedAddBrowseDomain() 286 m_browseListCtrl.SetCheck( nIndex, 1 ); in OnBnClickedAddBrowseDomain()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_fflistbox.cpp | 162 void CXFA_FFListBox::SetItemState(int32_t nIndex, bool bSelected) { in SetItemState() argument 164 pListBox->SetSelItem(pListBox->GetSelItem(nIndex), bSelected); in SetItemState() 169 void CXFA_FFListBox::InsertItem(const WideString& wsLabel, int32_t nIndex) { in InsertItem() argument 175 void CXFA_FFListBox::DeleteItem(int32_t nIndex) { in DeleteItem() argument 177 if (nIndex < 0) in DeleteItem() 180 pListBox->DeleteString(pListBox->GetItem(nullptr, nIndex)); in DeleteItem()
|
D | cxfa_fflistbox.h | 28 void InsertItem(const WideString& wsLabel, int32_t nIndex) override; 29 void DeleteItem(int32_t nIndex) override; 32 void SetItemState(int32_t nIndex, bool bSelected);
|
D | cxfa_ffcombobox.h | 54 void InsertItem(const WideString& wsLabel, int32_t nIndex) override; 55 void DeleteItem(int32_t nIndex) override; 63 void SetItemState(int32_t nIndex, bool bSelected);
|
D | cxfa_ffcombobox.cpp | 288 void CXFA_FFComboBox::SetItemState(int32_t nIndex, bool bSelected) { in SetItemState() argument 289 ToComboBox(GetNormalWidget())->SetCurSel(bSelected ? nIndex : -1); in SetItemState() 294 void CXFA_FFComboBox::InsertItem(const WideString& wsLabel, int32_t nIndex) { in InsertItem() argument 300 void CXFA_FFComboBox::DeleteItem(int32_t nIndex) { in DeleteItem() argument 301 if (nIndex < 0) in DeleteItem() 304 ToComboBox(GetNormalWidget())->RemoveAt(nIndex); in DeleteItem()
|
D | cxfa_ffdropdown.h | 22 virtual void InsertItem(const WideString& wsLabel, int32_t nIndex) = 0; 23 virtual void DeleteItem(int32_t nIndex) = 0;
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_widget.cpp | 287 int nIndex = pFormField->GetSelectedIndex(i); in Synchronize() local 288 if (nIndex > -1 && nIndex < node->CountChoiceListItems(false)) in Synchronize() 289 node->SetItemState(nIndex, true, false, false, true); in Synchronize() 436 int CPDFSDK_Widget::GetSelectedIndex(int nIndex) const { in GetSelectedIndex() 441 if (nIndex < node->CountSelectedItems()) in GetSelectedIndex() 442 return node->GetSelectedItem(nIndex); in GetSelectedIndex() 447 return pFormField->GetSelectedIndex(nIndex); in GetSelectedIndex() 467 WideString CPDFSDK_Widget::GetOptionLabel(int nIndex) const { in GetOptionLabel() 469 return pFormField->GetOptionLabel(nIndex); in GetOptionLabel() 477 bool CPDFSDK_Widget::IsOptionSelected(int nIndex) const { in IsOptionSelected() [all …]
|
D | cpdfsdk_widget.h | 78 int GetSelectedIndex(int nIndex) const; 81 WideString GetOptionLabel(int nIndex) const; 83 bool IsOptionSelected(int nIndex) const;
|
/external/pdfium/xfa/fgas/font/ |
D | cfgas_pdffontmgr.cpp | 121 auto nIndex = bsDRName.Find(bsPsName); in PsNameMatchDRFontName() local 122 if (nIndex.has_value() && !bStrictMatch) in PsNameMatchDRFontName() 125 if (!nIndex.has_value() || nIndex.value() != 0) in PsNameMatchDRFontName()
|
/external/pdfium/xfa/fwl/ |
D | cfwl_listbox.cpp | 137 int32_t CFWL_ListBox::GetSelIndex(int32_t nIndex) { in GetSelIndex() argument 145 if (index == nIndex) in GetSelIndex() 889 int32_t nIndex) const { in GetItem() 890 if (nIndex < 0 || nIndex >= CountItems(pWidget)) in GetItem() 892 return m_ItemArray[nIndex].get(); in GetItem() 916 int32_t nIndex = GetItemIndex(this, pItem); in DeleteString() local 917 if (nIndex < 0 || static_cast<size_t>(nIndex) >= m_ItemArray.size()) in DeleteString() 920 int32_t iSel = nIndex + 1; in DeleteString() 922 iSel = nIndex - 1; in DeleteString() 928 m_ItemArray.erase(m_ItemArray.begin() + nIndex); in DeleteString()
|