Searched refs:nIndex (Results 1 - 25 of 55) sorted by relevance

123

/external/swiftshader/src/OpenGL/compiler/
H A Dossource_posix.cpp44 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) argument
46 if (nIndex == OS_INVALID_TLS_INDEX) {
51 if (pthread_setspecific(nIndex, lpvValue) == 0)
58 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) argument
60 if (nIndex == OS_INVALID_TLS_INDEX) {
68 if (pthread_key_delete(nIndex) == 0)
H A Dossource_win.cpp40 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) argument
42 if (nIndex == OS_INVALID_TLS_INDEX) {
47 if (TlsSetValue(nIndex, lpvValue))
54 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) argument
56 if (nIndex == OS_INVALID_TLS_INDEX) {
61 if (TlsFree(nIndex))
H A Dosinclude.h60 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue);
61 bool OS_FreeTLSIndex(OS_TLSIndex nIndex);
63 inline void* OS_GetTLSValue(OS_TLSIndex nIndex) argument
65 ASSERT(nIndex != OS_INVALID_TLS_INDEX);
67 return TlsGetValue(nIndex);
69 return pthread_getspecific(nIndex);
/external/deqp/external/glslang/
H A Dosinclude.cpp43 bool OS_SetTLSValue (OS_TLSIndex nIndex, void* lpvValue) argument
45 deThreadLocal_set((deThreadLocal)nIndex, lpvValue);
49 bool OS_FreeTLSIndex (OS_TLSIndex nIndex) argument
51 deThreadLocal_destroy((deThreadLocal)nIndex);
55 void* OS_GetTLSValue (OS_TLSIndex nIndex) argument
57 return deThreadLocal_get((deThreadLocal)nIndex);
/external/pdfium/xfa/fxfa/parser/
H A Dcxfa_localevalue.cpp447 int nIndex = 0; local
449 while (pDate[nIndex] != '\0' && nIndex < wCountY) {
450 if (!FXSYS_isDecimalDigit(pDate[nIndex]))
453 wYear = (pDate[nIndex] - '0') + wYear * 10;
454 nIndex++;
457 if (pDate[nIndex] != 0x2D)
459 nIndex++;
462 nStart = nIndex;
463 while (pDate[nIndex] !
523 int nIndex = 0; local
[all...]
H A Dcxfa_rectangle.cpp445 int32_t nIndex,
448 ASSERT(nIndex >= 0 && nIndex < 8);
450 int32_t n = (nIndex & 1) ? nIndex - 1 : nIndex;
462 CXFA_Stroke* stroke = strokes[nIndex];
464 CXFA_Stroke* strokeBefore = strokes[(nIndex + 1 * 8 - 1) % 8];
465 CXFA_Stroke* strokeAfter = strokes[nIndex + 1];
473 CXFA_Stroke* strokeBefore = strokes[(nIndex
442 GetPath(const std::vector<CXFA_Stroke*>& strokes, CFX_RectF rtWidget, CXFA_GEPath& path, int32_t nIndex, bool bStart, bool bCorner) argument
[all...]
H A Dcxfa_box.h32 CXFA_Edge* GetEdgeIfExists(int32_t nIndex);
H A Dcxfa_rectangle.h70 int32_t nIndex,
/external/pdfium/xfa/fxfa/
H A Dcxfa_fflistbox.h27 void SetItemState(int32_t nIndex, bool bSelected);
28 void InsertItem(const WideStringView& wsLabel, int32_t nIndex);
29 void DeleteItem(int32_t nIndex);
H A Dcxfa_ffcombobox.h52 void SetItemState(int32_t nIndex, bool bSelected);
53 void InsertItem(const WideStringView& wsLabel, int32_t nIndex);
54 void DeleteItem(int32_t nIndex);
H A Dcxfa_fflistbox.cpp166 void CXFA_FFListBox::SetItemState(int32_t nIndex, bool bSelected) { argument
168 pListBox->SetSelItem(pListBox->GetSelItem(nIndex), bSelected);
173 void CXFA_FFListBox::InsertItem(const WideStringView& wsLabel, int32_t nIndex) { argument
180 void CXFA_FFListBox::DeleteItem(int32_t nIndex) { argument
182 if (nIndex < 0)
185 pListBox->DeleteString(pListBox->GetItem(nullptr, nIndex));
H A Dcxfa_widgetacc.h134 Optional<WideString> GetChoiceListItem(int32_t nIndex, bool bSaveValue);
140 int32_t GetSelectedItem(int32_t nIndex);
150 bool DeleteItem(int32_t nIndex, bool bNotify, bool bScriptModify);
153 bool GetItemState(int32_t nIndex);
154 void SetItemState(int32_t nIndex,
217 int32_t nIndex);
H A Dcxfa_ffcombobox.cpp273 void CXFA_FFComboBox::SetItemState(int32_t nIndex, bool bSelected) { argument
274 ToComboBox(m_pNormalWidget.get())->SetCurSel(bSelected ? nIndex : -1);
280 int32_t nIndex) {
286 void CXFA_FFComboBox::DeleteItem(int32_t nIndex) { argument
287 if (nIndex < 0)
290 ToComboBox(m_pNormalWidget.get())->RemoveAt(nIndex);
279 InsertItem(const WideStringView& wsLabel, int32_t nIndex) argument
/external/pdfium/core/fxge/
H A Dcfx_unicodeencodingex.cpp46 FT_UInt nIndex = FXFT_Get_Char_Index(face, charcode); local
47 if (nIndex > 0)
48 return nIndex;
59 nIndex = FXFT_Get_Char_Index(face, charcode);
60 if (nIndex > 0) {
62 return nIndex;
/external/pdfium/core/fpdfdoc/
H A Dcpdf_nametree.h28 bool DeleteValueAndName(int nIndex);
30 CPDF_Object* LookupValueAndName(int nIndex, WideString* csName) const;
H A Dcpdf_nametree.cpp151 // value that |csName| points to; |nIndex| will be the index of |csName|,
159 size_t* nIndex,
202 *nIndex += i;
205 *nIndex += dwCount;
219 CPDF_Object* pFound = SearchNameNodeByName(pKid, csName, nLevel + 1, nIndex,
227 // Get the key-value pair at |nIndex| in the tree with root |pNode|. If
232 size_t nIndex,
244 if (nIndex >= *nCurIndex + nCount) {
251 *pFindIndex = nIndex - *nCurIndex;
253 *csName = pNames->GetUnicodeTextAt((nIndex
156 SearchNameNodeByName(const CPDF_Dictionary* pNode, const WideString& csName, int nLevel, size_t* nIndex, CPDF_Array** ppFind, int* pFindIndex) argument
231 SearchNameNodeByIndex(const CPDF_Dictionary* pNode, size_t nIndex, int nLevel, size_t* nCurIndex, WideString* csName, CPDF_Array** ppFind, int* pFindIndex) argument
383 DeleteValueAndName(int nIndex) argument
406 LookupValueAndName(int nIndex, WideString* csName) const argument
[all...]
/external/pdfium/fpdfsdk/pwl/
H A Dcpwl_list_impl.cpp281 int32_t nIndex = GetLastSelected(); local
282 int32_t nFindIndex = FindNext(nIndex, nChar);
284 if (nFindIndex != nIndex) {
299 CFX_FloatRect CPWL_ListCtrl::GetItemRect(int32_t nIndex) const {
300 return InToOut(GetItemRectInternal(nIndex));
303 CFX_FloatRect CPWL_ListCtrl::GetItemRectInternal(int32_t nIndex) const {
304 if (!pdfium::IndexInBounds(m_ListItems, nIndex) || !m_ListItems[nIndex])
307 CFX_FloatRect rcItem = m_ListItems[nIndex]->GetRect();
508 void CPWL_ListCtrl::SetTopItem(int32_t nIndex) { argument
602 FindNext(int32_t nIndex, wchar_t nChar) const argument
624 SetItemSelect(int32_t nIndex, bool bSelected) argument
[all...]
H A Dcpwl_list_impl.h63 CFX_FloatRect GetItemRect(int32_t nIndex) const;
72 void SetTopItem(int32_t nIndex);
85 CPWL_EditImpl* GetItemEdit(int32_t nIndex) const;
87 bool IsItemSelected(int32_t nIndex) const;
91 int32_t FindNext(int32_t nIndex, wchar_t nChar) const;
136 CFX_FloatRect GetItemRectInternal(int32_t nIndex) const;
146 WideString GetItemText(int32_t nIndex) const;
/external/pdfium/fpdfsdk/
H A Dcpdfsdk_widget.cpp304 int nIndex = pFormField->GetSelectedIndex(i); local
305 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems(false))
306 pWidgetAcc->SetItemState(nIndex, true, false, false, true);
314 int nIndex = pFormField->GetSelectedIndex(i); local
315 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems(false))
316 pWidgetAcc->SetItemState(nIndex, true, false, false, true);
395 int nIndex = pWidgetAcc->GetSelectedItem(i); local
397 if (nIndex >
409 int nIndex = pWidgetAcc->GetSelectedItem(i); local
[all...]
H A Dcpdfsdk_widget.h83 int GetSelectedIndex(int nIndex) const;
90 WideString GetOptionLabel(int nIndex) const;
92 bool IsOptionSelected(int nIndex) const;
/external/pdfium/xfa/fgas/font/
H A Dcfgas_pdffontmgr.cpp122 auto nIndex = bsDRName.Find(bsPsName); local
123 if (nIndex.has_value() && !bStrictMatch)
126 if (!nIndex.has_value() || nIndex.value() != 0)
/external/mdnsresponder/mDNSWindows/ControlPanel/
H A DBrowsingPage.cpp106 int nIndex; local
156 nIndex = m_browseListCtrl.InsertItem( m_browseListCtrl.GetItemCount(), L"");
157 m_browseListCtrl.SetItemText( nIndex, 1, subKeyName );
158 m_browseListCtrl.SetCheck( nIndex, enabled );
282 int nIndex; local
284 nIndex = m_browseListCtrl.InsertItem( m_browseListCtrl.GetItemCount(), L"");
285 m_browseListCtrl.SetItemText( nIndex, 1, dlg.m_text );
286 m_browseListCtrl.SetCheck( nIndex, 1 );
/external/pdfium/fpdfsdk/formfiller/
H A Dcffl_combobox.cpp20 m_State.nIndex = 0;
203 m_State.nIndex = pComboBox->GetSelect();
217 if (m_State.nIndex >= 0) {
218 pComboBox->SetSelect(m_State.nIndex);
H A Dcffl_combobox.h16 int nIndex; member in struct:FFL_ComboBoxState
/external/protobuf/php/ext/google/protobuf/
H A Dprotobuf.c15 uint nIndex = (ulong)def & PROTOBUF_G(upb_def_to_php_obj_map).nTableMask; local

Completed in 455 milliseconds

123