Home
last modified time | relevance | path

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

/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/sqlite/dist/orig/
Dshell.c3376 sqlite3_vtab *pNew; in seriesConnect() local
3392 pNew = *ppVtab = sqlite3_malloc( sizeof(*pNew) ); in seriesConnect()
3393 if( pNew==0 ) return SQLITE_NOMEM; in seriesConnect()
3394 memset(pNew, 0, sizeof(*pNew)); in seriesConnect()
5102 fsdir_tab *pNew = 0; in fsdirConnect() local
5110 pNew = (fsdir_tab*)sqlite3_malloc( sizeof(*pNew) ); in fsdirConnect()
5111 if( pNew==0 ) return SQLITE_NOMEM; in fsdirConnect()
5112 memset(pNew, 0, sizeof(*pNew)); in fsdirConnect()
5115 *ppVtab = (sqlite3_vtab*)pNew; in fsdirConnect()
5641 completion_vtab *pNew; in completionConnect() local
[all …]
Dsqlite3.c25854 void *pNew;
25858 pNew = sqlite3MemMalloc(nByte);
25859 if( pNew ){
25860 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize));
25862 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize);
25866 return pNew;
27789 sqlite3_debug_mutex *pNew = 0;
27793 pNew = sqlite3Malloc(sizeof(*pNew));
27794 if( pNew ){
27795 pNew->id = id;
[all …]
/external/sqlite/dist/
Dshell.c3381 sqlite3_vtab *pNew; in seriesConnect() local
3397 pNew = *ppVtab = sqlite3_malloc( sizeof(*pNew) ); in seriesConnect()
3398 if( pNew==0 ) return SQLITE_NOMEM; in seriesConnect()
3399 memset(pNew, 0, sizeof(*pNew)); in seriesConnect()
5107 fsdir_tab *pNew = 0; in fsdirConnect() local
5115 pNew = (fsdir_tab*)sqlite3_malloc( sizeof(*pNew) ); in fsdirConnect()
5116 if( pNew==0 ) return SQLITE_NOMEM; in fsdirConnect()
5117 memset(pNew, 0, sizeof(*pNew)); in fsdirConnect()
5120 *ppVtab = (sqlite3_vtab*)pNew; in fsdirConnect()
5646 completion_vtab *pNew; in completionConnect() local
[all …]
Dsqlite3.c25854 void *pNew;
25858 pNew = sqlite3MemMalloc(nByte);
25859 if( pNew ){
25860 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize));
25862 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize);
25866 return pNew;
27789 sqlite3_debug_mutex *pNew = 0;
27793 pNew = sqlite3Malloc(sizeof(*pNew));
27794 if( pNew ){
27795 pNew->id = id;
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_type3cache.cpp91 auto pNew = std::make_unique<CPDF_Type3GlyphMap>(); in LoadGlyph() local
92 pSizeCache = pNew.get(); in LoadGlyph()
93 m_SizeMap[keygen] = std::move(pNew); in LoadGlyph()
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c24477 void *pNew; in sqlite3MemRealloc() local
24481 pNew = sqlite3MemMalloc(nByte); in sqlite3MemRealloc()
24482 if( pNew ){ in sqlite3MemRealloc()
24483 memcpy(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize)); in sqlite3MemRealloc()
24485 randomFill(&((char*)pNew)[pOldHdr->iSize], nByte - (int)pOldHdr->iSize); in sqlite3MemRealloc()
24489 return pNew; in sqlite3MemRealloc()
26407 sqlite3_debug_mutex *pNew = 0; in debugMutexAlloc() local
26411 pNew = sqlite3Malloc(sizeof(*pNew)); in debugMutexAlloc()
26412 if( pNew ){ in debugMutexAlloc()
26413 pNew->id = id; in debugMutexAlloc()
[all …]
/external/pdfium/core/fxcrt/
Dbytestring.cpp637 size_t ByteString::Replace(ByteStringView pOld, ByteStringView pNew) { in Replace() argument
642 size_t nReplacementLen = pNew.GetLength(); in Replace()
674 memcpy(pDest, pNew.unterminated_c_str(), pNew.GetLength()); in Replace()
675 pDest += pNew.GetLength(); in Replace()
Dwidestring.cpp871 size_t WideString::Replace(WideStringView pOld, WideStringView pNew) { in Replace() argument
876 size_t nReplacementLen = pNew.GetLength(); in Replace()
910 wmemcpy(pDest, pNew.unterminated_c_str(), pNew.GetLength()); in Replace()
911 pDest += pNew.GetLength(); in Replace()
Dbytestring.h204 size_t Replace(ByteStringView pOld, ByteStringView pNew);
Dwidestring.h207 size_t Replace(WideStringView pOld, WideStringView pNew);
/external/pdfium/core/fpdfdoc/
Dcpdf_interactiveform.cpp451 auto pNew = std::make_unique<Node>(short_name, pParent->GetLevel() + 1); in AddChild() local
452 Node* pChild = pNew.get(); in AddChild()
453 pParent->AddChildNode(std::move(pNew)); in AddChild()
882 auto pNew = std::make_unique<CPDF_FormControl>(pField, pWidgetDict, this); in AddControl() local
883 CPDF_FormControl* pControl = pNew.get(); in AddControl()
884 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/pdfium/fpdfsdk/
Dcpdfsdk_formfillenvironment.cpp620 auto pNew = std::make_unique<CPDFSDK_PageView>(this, pUnderlyingPage); in GetOrCreatePageView() local
621 CPDFSDK_PageView* pPageView = pNew.get(); in GetOrCreatePageView()
622 m_PageMap[pUnderlyingPage] = std::move(pNew); in GetOrCreatePageView()
/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 …]
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp1020 auto pNew = std::make_unique<PieceLine>(); in AppendTextLine() local
1021 PieceLine* pPieceLine = pNew.get(); in AppendTextLine()
1022 m_pieceLines.push_back(std::move(pNew)); in AppendTextLine()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp2528 void *pNew = allocCallbackFunc(pUserData, size, alignment, allocationScope); in reallocCallbackFunc() local
2530 if (pNew != DE_NULL) in reallocCallbackFunc()
2537 memcpy(pNew, pOriginal, copySize); in reallocCallbackFunc()
2540 return pNew; in reallocCallbackFunc()