Searched defs:nIndex (Results 1 - 25 of 35) sorted by relevance

12

/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/pdfium/fpdfsdk/formfiller/
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
/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/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/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/core/fpdfdoc/
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...]
H A Dcpdf_variabletext.cpp343 int32_t nIndex = 0; local
349 nIndex += pdfium::CollectionSize<int32_t>(pSection->m_WordArray);
351 nIndex += kReturnLength;
354 nIndex += newplace.nWordIndex + kReturnLength;
355 return nIndex;
361 int32_t nIndex = 0; local
366 nIndex += pdfium::CollectionSize<int32_t>(pSection->m_WordArray);
367 if (nIndex == index) {
372 if (nIndex > index) {
380 nIndex
[all...]
/external/pdfium/fpdfsdk/
H A Dfpdfppo.cpp135 bool ExportPage(const std::vector<uint16_t>& pageNums, int nIndex);
195 int nIndex) {
196 int curpage = nIndex;
194 ExportPage(const std::vector<uint16_t>& pageNums, int nIndex) argument
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...]
/external/pdfium/xfa/fxfa/
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_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/xfa/fxfa/parser/
H A Dcxfa_box.cpp95 CXFA_Edge* CXFA_Box::GetEdgeIfExists(int32_t nIndex) { argument
96 if (nIndex == 0)
97 return JSObject()->GetOrCreateProperty<CXFA_Edge>(nIndex,
99 return JSObject()->GetProperty<CXFA_Edge>(nIndex, XFA_Element::Edge);
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_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...]
/external/mdnsresponder/mDNSWindows/DNSServiceBrowser/Windows/Sources/
H A DChooserDialog.cpp488 void ChooserDialog::OnInitMenuPopup( CMenu *pPopupMenu, UINT nIndex, BOOL bSysMenu ) argument
490 CDialog::OnInitMenuPopup( pPopupMenu, nIndex, bSysMenu );
492 switch( nIndex )
/external/pdfium/fpdfsdk/pwl/
H A Dcpwl_list_box.cpp358 int32_t CPWL_ListBox::FindNext(int32_t nIndex, wchar_t nChar) const { argument
359 return m_pList->FindNext(nIndex, nChar);
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...]
/external/pdfium/core/fxcodec/jbig2/
H A DJBig2_Context.cpp229 int32_t nIndex) {
235 if (count == nIndex)
492 int32_t nIndex = 0;
503 findReferredSegmentByTypeAndIndex(pSegment, 53, nIndex++);
518 findReferredSegmentByTypeAndIndex(pSegment, 53, nIndex++);
529 findReferredSegmentByTypeAndIndex(pSegment, 53, nIndex++);
543 findReferredSegmentByTypeAndIndex(pSegment, 53, nIndex++);
752 int32_t nIndex = 0; local
763 findReferredSegmentByTypeAndIndex(pSegment, 53, nIndex++);
782 findReferredSegmentByTypeAndIndex(pSegment, 53, nIndex
226 findReferredSegmentByTypeAndIndex( CJBig2_Segment* pSegment, uint8_t cType, int32_t nIndex) argument
[all...]
/external/pdfium/fxjs/
H A Dcjs_publicmethods.cpp326 int nIndex = 0; local
332 StrArray, nIndex,
338 StrArray, nIndex,
341 nIndex++;
403 size_t nIndex = 0; local
406 if (nIndex > 2)
411 number[nIndex++] = ParseStringInteger(value, i, &nSkip, 4);
418 if (nIndex == 2) {
432 } else if (nIndex == 3) {
1723 int nIndex local
[all...]
/external/pdfium/xfa/fde/
H A Dcfde_texteditengine.cpp1150 void CFDE_TextEditEngine::Iterator::SetAt(size_t nIndex) { argument
1151 if (static_cast<size_t>(nIndex) >= engine_->GetLength())
1154 current_position_ = nIndex;
/external/pdfium/xfa/fwl/
H A Dcfwl_listbox.cpp144 int32_t CFWL_ListBox::GetSelIndex(int32_t nIndex) { argument
152 if (index == nIndex)
895 int32_t nIndex) const {
896 if (nIndex < 0 || nIndex >= CountItems(pWidget))
898 return m_ItemArray[nIndex].get();
923 int32_t nIndex = GetItemIndex(this, pItem); local
924 if (nIndex < 0 || static_cast<size_t>(nIndex) >= m_ItemArray.size())
927 int32_t iSel = nIndex
[all...]

Completed in 502 milliseconds

12