/external/swiftshader/src/OpenGL/compiler/ |
ossource_posix.cpp | 44 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) 46 if (nIndex == OS_INVALID_TLS_INDEX) { 51 if (pthread_setspecific(nIndex, lpvValue) == 0) 58 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) 60 if (nIndex == OS_INVALID_TLS_INDEX) { 68 if (pthread_key_delete(nIndex) == 0)
|
ossource_win.cpp | 40 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) 42 if (nIndex == OS_INVALID_TLS_INDEX) { 47 if (TlsSetValue(nIndex, lpvValue)) 54 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) 56 if (nIndex == OS_INVALID_TLS_INDEX) { 61 if (TlsFree(nIndex))
|
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) 65 ASSERT(nIndex != OS_INVALID_TLS_INDEX); 67 return TlsGetValue(nIndex); 69 return pthread_getspecific(nIndex);
|
/external/deqp-deps/glslang/glslang/OSDependent/ |
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/deqp-deps/glslang/glslang/OSDependent/Unix/ |
ossource.cpp | 110 inline pthread_key_t TLSIndexToPthreadKey(OS_TLSIndex nIndex) 112 return (pthread_key_t)((uintptr_t)nIndex - 1); 130 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) 132 if (nIndex == OS_INVALID_TLS_INDEX) { 137 if (pthread_setspecific(TLSIndexToPthreadKey(nIndex), lpvValue) == 0) 143 void* OS_GetTLSValue(OS_TLSIndex nIndex) 146 // This function should return 0 if nIndex is invalid. 148 assert(nIndex != OS_INVALID_TLS_INDEX); 149 return pthread_getspecific(TLSIndexToPthreadKey(nIndex)); 152 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) [all...] |
/external/deqp-deps/glslang/glslang/OSDependent/Windows/ |
ossource.cpp | 61 inline DWORD ToNativeTLSIndex (OS_TLSIndex nIndex) 63 return (DWORD)((uintptr_t)nIndex - 1); 80 bool OS_SetTLSValue(OS_TLSIndex nIndex, void *lpvValue) 82 if (nIndex == OS_INVALID_TLS_INDEX) { 87 if (TlsSetValue(ToNativeTLSIndex(nIndex), lpvValue)) 93 void* OS_GetTLSValue(OS_TLSIndex nIndex) 95 assert(nIndex != OS_INVALID_TLS_INDEX); 96 return TlsGetValue(ToNativeTLSIndex(nIndex)); 99 bool OS_FreeTLSIndex(OS_TLSIndex nIndex) 101 if (nIndex == OS_INVALID_TLS_INDEX) [all...] |
/external/deqp/external/glslang/ |
osinclude.cpp | 43 bool OS_SetTLSValue (OS_TLSIndex nIndex, void* lpvValue) 45 deThreadLocal_set((deThreadLocal)nIndex, lpvValue); 49 bool OS_FreeTLSIndex (OS_TLSIndex nIndex) 51 deThreadLocal_destroy((deThreadLocal)nIndex); 55 void* OS_GetTLSValue (OS_TLSIndex nIndex) 57 return deThreadLocal_get((deThreadLocal)nIndex);
|
/external/pdfium/xfa/fxfa/parser/ |
cxfa_localevalue.cpp | 447 int nIndex = 0; 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] != '\0' && nIndex - nStart < wCountM && nIndex < nLen) [all...] |
cxfa_rectangle.cpp | 445 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 + 8 - 2) % 8] [all...] |
/external/pdfium/xfa/fxfa/ |
cxfa_fflistbox.h | 27 void SetItemState(int32_t nIndex, bool bSelected); 28 void InsertItem(const WideStringView& wsLabel, int32_t nIndex); 29 void DeleteItem(int32_t nIndex);
|
cxfa_ffcombobox.h | 52 void SetItemState(int32_t nIndex, bool bSelected); 53 void InsertItem(const WideStringView& wsLabel, int32_t nIndex); 54 void DeleteItem(int32_t nIndex);
|
cxfa_fflistbox.cpp | 166 void CXFA_FFListBox::SetItemState(int32_t nIndex, bool bSelected) { 168 pListBox->SetSelItem(pListBox->GetSelItem(nIndex), bSelected); 173 void CXFA_FFListBox::InsertItem(const WideStringView& wsLabel, int32_t nIndex) { 180 void CXFA_FFListBox::DeleteItem(int32_t nIndex) { 182 if (nIndex < 0) 185 pListBox->DeleteString(pListBox->GetItem(nullptr, nIndex));
|
cxfa_widgetacc.h | 134 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);
|
cxfa_ffcombobox.cpp | 273 void CXFA_FFComboBox::SetItemState(int32_t nIndex, bool bSelected) { 274 ToComboBox(m_pNormalWidget.get())->SetCurSel(bSelected ? nIndex : -1); 280 int32_t nIndex) { 286 void CXFA_FFComboBox::DeleteItem(int32_t nIndex) { 287 if (nIndex < 0) 290 ToComboBox(m_pNormalWidget.get())->RemoveAt(nIndex);
|
/external/pdfium/core/fxge/ |
cfx_unicodeencodingex.cpp | 46 FT_UInt nIndex = FXFT_Get_Char_Index(face, charcode); 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/ |
cpdf_nametree.h | 28 bool DeleteValueAndName(int nIndex); 30 CPDF_Object* LookupValueAndName(int nIndex, WideString* csName) const;
|
cpdf_nametree.cpp | 151 // 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 - *nCurIndex) * 2) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
VectorAverage.java | 158 int nIndex = 0; 161 while (nIndex < lineCount) { 162 String[] separated = lines[nIndex].split("="); 163 nIndex++; 173 while (nIndex < lineCount) { 174 String[] separated = lines[nIndex].split("="); 175 nIndex++; 187 while (nIndex < lineCount) { 188 double value = Double.parseDouble(lines[nIndex]); 190 nIndex++ [all...] |
/external/pdfium/fpdfsdk/pwl/ |
cpwl_list_impl.cpp | 281 int32_t nIndex = GetLastSelected(); 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) { [all...] |
cpwl_list_impl.h | 63 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/ |
cpdfsdk_widget.cpp | 304 int nIndex = pFormField->GetSelectedIndex(i); 305 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems(false)) 306 pWidgetAcc->SetItemState(nIndex, true, false, false, true); 314 int nIndex = pFormField->GetSelectedIndex(i); 315 if (nIndex > -1 && nIndex < pWidgetAcc->CountChoiceListItems(false)) 316 pWidgetAcc->SetItemState(nIndex, true, false, false, true); 395 int nIndex = pWidgetAcc->GetSelectedItem(i); 397 if (nIndex > -1 && nIndex < pFormField->CountOptions()) [all...] |
cpdfsdk_widget.h | 83 int GetSelectedIndex(int nIndex) const; 90 WideString GetOptionLabel(int nIndex) const; 92 bool IsOptionSelected(int nIndex) const;
|
/external/pdfium/xfa/fgas/font/ |
cfgas_pdffontmgr.cpp | 122 auto nIndex = bsDRName.Find(bsPsName); 123 if (nIndex.has_value() && !bStrictMatch) 126 if (!nIndex.has_value() || nIndex.value() != 0)
|
/external/mdnsresponder/mDNSWindows/ControlPanel/ |
BrowsingPage.cpp | 106 int nIndex; 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; 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/ |
cffl_combobox.cpp | 20 m_State.nIndex = 0; 203 m_State.nIndex = pComboBox->GetSelect(); 217 if (m_State.nIndex >= 0) { 218 pComboBox->SetSelect(m_State.nIndex);
|