Home
last modified time | relevance | path

Searched refs:pNew (Results 1 – 25 of 26) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/SVM/
Dmain.cpp125 Node *pNew; in create_linked_lists() local
128 pNew = &pNodes[ allocation_index++ ];// allocate a new node in create_linked_lists()
129 pNew->global_id = i; in create_linked_lists()
130 pNew->position_in_list = j; in create_linked_lists()
131 pNode->pNext = pNew; // link new node onto end of list in create_linked_lists()
132 pNode = pNew; // move to end of list in create_linked_lists()
Dtest_fine_grain_memory_consistency.cpp56 BinNode *pNew = &pNodes[ AtomicFetchAddExplicit(pNumNodes, 1, memory_order_relaxed) ]; in build_hash_table_on_host() local
58 pNew->value = input[i]; in build_hash_table_on_host()
62 pNew->pNext = next; // always inserting at head of list in build_hash_table_on_host()
63 …} while(!AtomicCompareExchangeStrongExplicit(&(pNodes[b].pNext), &next, pNew, memory_order_relaxed… in build_hash_table_on_host()
/external/pdfium/xfa/fxfa/
Dcxfa_ffimageedit.cpp35 auto pNew = pdfium::MakeUnique<CFWL_PictureBox>(GetFWLApp()); in LoadWidget() local
36 CFWL_PictureBox* pPictureBox = pNew.get(); in LoadWidget()
37 SetNormalWidget(std::move(pNew)); in LoadWidget()
Dcxfa_fflistbox.cpp42 auto pNew = pdfium::MakeUnique<CFWL_ListBox>( in LoadWidget() local
44 CFWL_ListBox* pListBox = pNew.get(); in LoadWidget()
47 SetNormalWidget(std::move(pNew)); in LoadWidget()
Dcxfa_ffpushbutton.cpp54 auto pNew = pdfium::MakeUnique<CFWL_PushButton>(GetFWLApp()); in LoadWidget() local
55 CFWL_PushButton* pPushButton = pNew.get(); in LoadWidget()
58 SetNormalWidget(std::move(pNew)); in LoadWidget()
Dcxfa_ffbarcode.cpp143 auto pNew = pdfium::MakeUnique<CFWL_Barcode>(GetFWLApp()); in LoadWidget() local
144 CFWL_Barcode* pFWLBarcode = pNew.get(); in LoadWidget()
145 SetNormalWidget(std::move(pNew)); in LoadWidget()
Dcxfa_ffcheckbutton.cpp35 auto pNew = pdfium::MakeUnique<CFWL_CheckBox>(GetFWLApp()); in LoadWidget() local
36 CFWL_CheckBox* pCheckBox = pNew.get(); in LoadWidget()
37 SetNormalWidget(std::move(pNew)); in LoadWidget()
Dcxfa_ffcombobox.cpp53 auto pNew = pdfium::MakeUnique<CFWL_ComboBox>(GetFWLApp()); in LoadWidget() local
54 CFWL_ComboBox* pComboBox = pNew.get(); in LoadWidget()
55 SetNormalWidget(std::move(pNew)); in LoadWidget()
Dcxfa_textlayout.cpp989 auto pNew = pdfium::MakeUnique<CXFA_PieceLine>(); in AppendTextLine() local
990 CXFA_PieceLine* pPieceLine = pNew.get(); in AppendTextLine()
991 m_pieceLines.push_back(std::move(pNew)); in AppendTextLine()
/external/sqlite/dist/
Dshell.c2685 fsdir_tab *pNew = 0; in fsdirConnect() local
2693 pNew = (fsdir_tab*)sqlite3_malloc( sizeof(*pNew) ); in fsdirConnect()
2694 if( pNew==0 ) return SQLITE_NOMEM; in fsdirConnect()
2695 memset(pNew, 0, sizeof(*pNew)); in fsdirConnect()
2698 *ppVtab = (sqlite3_vtab*)pNew; in fsdirConnect()
3216 completion_vtab *pNew; in completionConnect() local
3239 pNew = sqlite3_malloc( sizeof(*pNew) ); in completionConnect()
3240 *ppVtab = (sqlite3_vtab*)pNew; in completionConnect()
3241 if( pNew==0 ) return SQLITE_NOMEM; in completionConnect()
3242 memset(pNew, 0, sizeof(*pNew)); in completionConnect()
[all …]
Dsqlite3.c24146 void *pNew; in sqlite3MemRealloc() local
24150 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc()
24151 if( pNew ){ in sqlite3MemRealloc()
24152 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); in sqlite3MemRealloc()
24154 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize); in sqlite3MemRealloc()
24158 return pNew; in sqlite3MemRealloc()
26076 sqlite3_debug_mutex *pNew = 0; in debugMutexAlloc() local
26080 pNew = sqlite3Malloc(sizeof(*pNew)); in debugMutexAlloc()
26081 if( pNew ){ in debugMutexAlloc()
26082 pNew->id = id; in debugMutexAlloc()
[all …]
/external/sqlite/dist/orig/
Dshell.c2680 fsdir_tab *pNew = 0; in fsdirConnect() local
2688 pNew = (fsdir_tab*)sqlite3_malloc( sizeof(*pNew) ); in fsdirConnect()
2689 if( pNew==0 ) return SQLITE_NOMEM; in fsdirConnect()
2690 memset(pNew, 0, sizeof(*pNew)); in fsdirConnect()
2693 *ppVtab = (sqlite3_vtab*)pNew; in fsdirConnect()
3211 completion_vtab *pNew; in completionConnect() local
3234 pNew = sqlite3_malloc( sizeof(*pNew) ); in completionConnect()
3235 *ppVtab = (sqlite3_vtab*)pNew; in completionConnect()
3236 if( pNew==0 ) return SQLITE_NOMEM; in completionConnect()
3237 memset(pNew, 0, sizeof(*pNew)); in completionConnect()
[all …]
Dsqlite3.c24146 void *pNew; in sqlite3MemRealloc() local
24150 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc()
24151 if( pNew ){ in sqlite3MemRealloc()
24152 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); in sqlite3MemRealloc()
24154 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize); in sqlite3MemRealloc()
24158 return pNew; in sqlite3MemRealloc()
26076 sqlite3_debug_mutex *pNew = 0; in debugMutexAlloc() local
26080 pNew = sqlite3Malloc(sizeof(*pNew)); in debugMutexAlloc()
26081 if( pNew ){ in debugMutexAlloc()
26082 pNew->id = id; in debugMutexAlloc()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp102 auto pNew = pdfium::MakeUnique<CPDF_Type3GlyphMap>(); in LoadGlyph() local
103 pSizeCache = pNew.get(); in LoadGlyph()
104 m_SizeMap[FaceGlyphsKey] = std::move(pNew); in LoadGlyph()
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c24191 void *pNew; in sqlite3MemRealloc() local
24195 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc()
24196 if( pNew ){ in sqlite3MemRealloc()
24197 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); in sqlite3MemRealloc()
24199 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize); in sqlite3MemRealloc()
24203 return pNew; in sqlite3MemRealloc()
26121 sqlite3_debug_mutex *pNew = 0; in debugMutexAlloc() local
26125 pNew = sqlite3Malloc(sizeof(*pNew)); in debugMutexAlloc()
26126 if( pNew ){ in debugMutexAlloc()
26127 pNew->id = id; in debugMutexAlloc()
[all …]
/external/pdfium/core/fxcrt/
Dbytestring.cpp625 size_t ByteString::Replace(ByteStringView pOld, ByteStringView pNew) { in Replace() argument
630 size_t nReplacementLen = pNew.GetLength(); in Replace()
662 memcpy(pDest, pNew.unterminated_c_str(), pNew.GetLength()); in Replace()
663 pDest += pNew.GetLength(); in Replace()
Dwidestring.cpp844 size_t WideString::Replace(WideStringView pOld, WideStringView pNew) { in Replace() argument
849 size_t nReplacementLen = pNew.GetLength(); in Replace()
883 wmemcpy(pDest, pNew.unterminated_c_str(), pNew.GetLength()); in Replace()
884 pDest += pNew.GetLength(); in Replace()
Dbytestring.h197 size_t Replace(ByteStringView pOld, ByteStringView pNew);
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array.cpp204 CPDF_Object* pNew = pHolder->AddIndirectObject(std::move(m_Objects[index])); in ConvertToIndirectObjectAt() local
205 m_Objects[index] = pNew->MakeReference(pHolder); in ConvertToIndirectObjectAt()
/external/pdfium/fpdfsdk/
Dfpdf_flatten.cpp382 RetainPtr<CPDF_Object> pNew = pObj->Clone(); in FPDFPage_Flatten() local
383 pObj = pNew.Get(); in FPDFPage_Flatten()
384 pDocument->AddIndirectObject(std::move(pNew)); in FPDFPage_Flatten()
Dcpdfsdk_formfillenvironment.cpp576 auto pNew = pdfium::MakeUnique<CPDFSDK_PageView>(this, pUnderlyingPage); in GetPageView() local
577 CPDFSDK_PageView* pPageView = pNew.get(); in GetPageView()
578 m_PageMap[pUnderlyingPage] = std::move(pNew); in GetPageView()
/external/pdfium/core/fpdfdoc/
Dcpdf_interactiveform.cpp489 auto pNew = pdfium::MakeUnique<Node>(short_name, pParent->GetLevel() + 1); in AddChild() local
490 Node* pChild = pNew.get(); in AddChild()
491 pParent->AddChildNode(std::move(pNew)); in AddChild()
973 auto pNew = pdfium::MakeUnique<CPDF_FormControl>(pField, pWidgetDict); in AddControl() local
974 CPDF_FormControl* pControl = pNew.get(); in AddControl()
975 m_ControlMap[pWidgetDict] = std::move(pNew); in AddControl()
/external/aac/libAACenc/src/
Dsf_estim.cpp331 FIXP_DBL ldRatioOld, ldRatioNew, pOld, pNew; in FDKaacEnc_calcSpecPeDiff() local
359 pNew = ldRatioNew; in FDKaacEnc_calcSpecPeDiff()
361 pNew = PE_C2 + fMult(PE_C3, ldRatioNew); in FDKaacEnc_calcSpecPeDiff()
364 fMult(sfbNRelevantLines[sfb], (pNew - pOld))); in FDKaacEnc_calcSpecPeDiff()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp1499 void *pNew = allocCallbackFunc(pUserData, size, alignment, allocationScope); in reallocCallbackFunc() local
1501 if (pNew != DE_NULL) in reallocCallbackFunc()
1508 memcpy(pNew, pOriginal, copySize); in reallocCallbackFunc()
1511 return pNew; in reallocCallbackFunc()
/external/python/pycparser/utils/benchmark/inputs/
Dsqlite-btree.c.ppout8938 MemPage *pNew;
8954 rc = allocateBtreePage(pBt, &pNew, &pgnoNew, 0, 0);
8964 assert( sqlite3PagerIswriteable(pNew->pDbPage) );
8966 zeroPage(pNew, 0x01|0x04|0x08);
8973 rc = rebuildPage(&b, 0, 1, pNew);
8975 releasePage(pNew);
8978 pNew->nFree = pBt->usableSize - pNew->cellOffset - 2 - szCell;
8982 if( szCell>pNew->minLocal ){
8983 ptrmapPutOvflPtr(pNew, pNew, pCell, &rc);
9003 releasePage(pNew);
[all …]

12