Home
last modified time | relevance | path

Searched refs:hostPtr (Results 1 – 25 of 179) sorted by relevance

12345678

/dports/emulators/bochs/bochs-2.7/misc/
H A Dbswap.h64 *(hostPtr) = nativeVar16; in WriteHostWordToLittleEndian()
69 *(hostPtr) = nativeVar32; in WriteHostDWordToLittleEndian()
85 *(hostPtr) = nativeVar64; in WriteHostQWordToLittleEndian()
91 return *(hostPtr); in ReadHostWordFromLittleEndian()
96 return *(hostPtr); in ReadHostDWordFromLittleEndian()
113 return *(hostPtr); in ReadHostQWordFromLittleEndian()
142 return bx_ppc_load_le16(hostPtr); in ReadHostWordFromLittleEndian()
147 return bx_ppc_load_le32(hostPtr); in ReadHostDWordFromLittleEndian()
174 return bx_bswap16(*hostPtr); in ReadHostWordFromLittleEndian()
179 return bx_bswap32(*hostPtr); in ReadHostDWordFromLittleEndian()
[all …]
/dports/misc/mnn/MNN-1.2.0/source/backend/opencl/core/
H A DOpenCLBackend.cpp439 void* hostPtr; in copyFromDevice() local
546 if(hostPtr != nullptr) { in copyFromDevice()
547 free(hostPtr); in copyFromDevice()
548 hostPtr = nullptr; in copyFromDevice()
562 if(hostPtr != nullptr) { in copyFromDevice()
563 free(hostPtr); in copyFromDevice()
564 hostPtr = nullptr; in copyFromDevice()
582 void* hostPtr; in copyToDevice() local
676 if(nullptr != hostPtr){ in copyToDevice()
677 free(hostPtr); in copyToDevice()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/mem_obj/
H A Dbuffer.cpp51 void *hostPtr, in Buffer() argument
63 hostPtr, in Buffer()
156 void *hostPtr, in create() argument
167 void *hostPtr, in create() argument
320 if (hostPtr) { in create()
446 void *hostPtr, in checkMemory() argument
462 if (hostPtr) { in checkMemory()
470 if (hostPtr) { in checkMemory()
476 if (alignUp(hostPtr, MemoryConstants::cacheLineSize) != hostPtr || in checkMemory()
488 if (hostPtr) { in checkMemory()
[all …]
H A Dbuffer.h34 void *hostPtr,
71 void *hostPtr,
77 void *hostPtr,
85 void *hostPtr,
99 void *hostPtr,
110 void *hostPtr,
172 void *hostPtr,
182 void *hostPtr,
207 void *hostPtr, in BufferHw() argument
224 void *hostPtr, in create() argument
[all …]
H A Dimage.h27 void *hostPtr,
49 const void *hostPtr,
67 const void *hostPtr,
76 const void *hostPtr,
80 cl_mem_flags_intel flagsIntel, size_t size, void *hostPtr,
93 const void *hostPtr);
99 const void *hostPtr);
210 void *hostPtr,
267 void *hostPtr,
319 void *hostPtr, in create() argument
[all …]
H A Dmem_obj.cpp37 void *hostPtr, in MemObj() argument
43 memoryStorage(memoryStorage), hostPtr(hostPtr), in MemObj()
151 srcParamSize = sizeof(hostPtr); in getMemObjectInfo()
152 srcParam = &hostPtr; in getMemObjectInfo()
230 return hostPtr; in getHostPtr()
300 ptrToReturn = this->hostPtr; in getCpuAddressForMapping()
309 ptrToReturn = this->hostPtr; in getCpuAddressForMemoryTransfer()
345 …IsRequired(size_t offsetInMemObject, size_t offsetInHostPtr, const void *hostPtr, cl_command_type … in checkIfMemoryTransferIsRequired() argument
347 auto hostStorage = ptrOffset(hostPtr, offsetInHostPtr); in checkIfMemoryTransferIsRequired()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/framework/vulkan/
H A DvkMemUtil.cpp99 , m_hostPtr (hostPtr) in Allocation()
189 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation()
191 , m_hostPtr (hostPtr) in SimpleAllocation()
211 MovePtr<HostPtr> hostPtr; in allocate() local
216 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocate()
245 MovePtr<HostPtr> hostPtr; in allocate() local
253 return MovePtr<Allocation>(new SimpleAllocation(mem, hostPtr)); in allocate()
274 MovePtr<HostPtr> hostPtr; in allocateExtended() local
325 void* hostPtr = DE_NULL; in mapMemory() local
327 TCU_CHECK(hostPtr); in mapMemory()
[all …]
/dports/science/chrono/chrono-7.0.1/src/chrono_cosimulation/
H A DChHostInfo.cpp36 hostPtr = gethostbyname(sName); in ChHostInfo()
37 if (hostPtr == NULL) { in ChHostInfo()
60 hostPtr = gethostbyname(hostName.c_str()); in ChHostInfo()
62 if (hostPtr == NULL) { in ChHostInfo()
85 hostPtr = gethostbyaddr((char*)&netAddr, sizeof(netAddr), AF_INET); in ChHostInfo()
86 if (hostPtr == NULL) { in ChHostInfo()
115 addr_ptr = (struct in_addr*)*hostPtr->h_addr_list; in getHostIPAddress()
182 if ((hostPtr = gethostent()) == NULL) in getNextHost()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/mem_obj/
H A Dbuffer_bcs_tests.cpp95 uint32_t hostPtr = 0; member
131 uint32_t hostPtr = 0; in HWTEST_F() local
147 …(Buffer::create(newBcsMockContext.get(), CL_MEM_COPY_HOST_PTR, sizeof(hostPtr), &hostPtr, retVal)); in HWTEST_F()
474 uint8_t hostPtr[64] = {}; in HWTEST_TEMPLATED_F() local
503 void *hostPtr = reinterpret_cast<void *>(0x12340000); in HWTEST_TEMPLATED_F() local
537 void *hostPtr = reinterpret_cast<void *>(0x12340000); in HWTEST_TEMPLATED_F() local
572 void *hostPtr = reinterpret_cast<void *>(0x12340000); in waitForCacheFlushFromBcsTest() local
636 void *hostPtr = reinterpret_cast<void *>(0x12340000); in HWTEST_TEMPLATED_F() local
679 void *hostPtr = reinterpret_cast<void *>(0x12340000); in HWTEST_TEMPLATED_F() local
735 void *hostPtr = reinterpret_cast<void *>(0x12340000); in HWTEST_TEMPLATED_F() local
[all …]
H A Dimage_tests.cpp137 hostPtr, in TEST()
188 hostPtr, in TEST()
239 hostPtr, in TEST()
290 hostPtr, in TEST()
341 hostPtr, in TEST()
392 hostPtr, in TEST()
443 hostPtr, in TEST()
494 hostPtr, in TEST()
545 hostPtr, in TEST()
647 hostPtr, in TEST()
[all …]
H A Dimage_from_subbuffer_tests.cpp41 hostPtr = alignedMalloc(size, 16); in SetUp()
42 ASSERT_NE(nullptr, hostPtr); in SetUp()
44 …Buffer = clCreateBuffer(&context, CL_MEM_USE_HOST_PTR | CL_MEM_READ_WRITE, size, hostPtr, &retVal); in SetUp()
59 alignedFree(hostPtr); in TearDown()
73 void *hostPtr; member in ImageFromSubBufferTest
H A Dget_mem_object_info_subbuffer_tests.cpp130 void *hostPtr = 0; in TEST_F() local
133 EXPECT_EQ(sizeof(hostPtr), sizeReturned); in TEST_F()
135 retVal = subBuffer->getMemObjectInfo(CL_MEM_HOST_PTR, sizeof(hostPtr), &hostPtr, nullptr); in TEST_F()
138 EXPECT_EQ(expected, hostPtr); in TEST_F()
H A Dmem_obj_tests.cpp82 uint8_t hostPtr[size] = {}; in TEST() local
85 MockGraphicsAllocation *mockAllocation = new MockGraphicsAllocation(hostPtr, sizeof(hostPtr)); in TEST()
88 …size, hostPtr, hostPtr, GraphicsAllocationHelper::toMultiGraphicsAllocation(mockAllocation), true,… in TEST()
91 memset(hostPtr, 0, size); in TEST()
97 EXPECT_TRUE(memcmp(hostPtr, expectedHostPtr, size) == 0); in TEST()
102 uint8_t hostPtr[size] = {}; in TEST() local
105 MockGraphicsAllocation *mockAllocation = new MockGraphicsAllocation(hostPtr, sizeof(hostPtr)); in TEST()
108 …size, hostPtr, hostPtr, GraphicsAllocationHelper::toMultiGraphicsAllocation(mockAllocation), true,… in TEST()
121 uint8_t hostPtr = 0; in TEST() local
125 1, nullptr, &hostPtr, 0, true, false, false); in TEST()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/memory_manager/
H A Dmigration_controller.cpp49 auto hostPtr = migrationSyncData->getHostPtr(); in migrateMemory() local
53 memcpy_s(hostPtr, size, srcLockPtr, size); in migrateMemory()
64 …n, region, pImage->getHostPtrRowPitch(), pImage->getHostPtrSlicePitch(), hostPtr, nullptr, 0, null… in migrateMemory()
67 …srcCmdQ->enqueueReadBuffer(pBuffer, CL_TRUE, 0u, pBuffer->getSize(), hostPtr, nullptr, 0, nullptr,… in migrateMemory()
74 memcpy_s(dstLockPtr, size, hostPtr, size); in migrateMemory()
85 …n, region, pImage->getHostPtrRowPitch(), pImage->getHostPtrSlicePitch(), hostPtr, nullptr, 0, null… in migrateMemory()
88 …dstCmdQ->enqueueWriteBuffer(pBuffer, CL_TRUE, 0u, pBuffer->getSize(), hostPtr, nullptr, 0, nullptr… in migrateMemory()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/api/
H A Dcl_enqueue_read_buffer_rect_tests.inl40 ptr, //hostPtr
66 ptr, //hostPtr
99 nullptr, //hostPtr
136 ptr, //hostPtr
166 ptr, //hostPtr
202 ptr, //hostPtr
221 ptr, //hostPtr
240 ptr, //hostPtr
259 ptr, //hostPtr
325 ptr, //hostPtr
H A Dcl_enqueue_write_buffer_rect_tests.inl39 ptr, //hostPtr
65 ptr, //hostPtr
98 nullptr, //hostPtr
128 ptr, //hostPtr
157 ptr, //hostPtr
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Backends/NNPI/
H A DNNPIAdapterContainer.cpp59 void *hostPtr = nullptr; in allocateHostResource() local
62 UINT32_MAX, &hostPtr), in allocateHostResource()
64 if (hostPtr == nullptr) { in allocateHostResource()
70 hostResourceMap_.insert({hostPtr, hostResource}); in allocateHostResource()
71 return hostPtr; in allocateHostResource()
/dports/databases/mysql55-client/mysql-5.5.62/storage/ndb/src/common/portlib/win32/
H A DNdbTCP.c23 struct hostent * hostPtr; in Ndb_getInAddr() local
31 hostPtr = gethostbyname(address); in Ndb_getInAddr()
32 if (hostPtr != NULL) { in Ndb_getInAddr()
33 dst->s_addr = ((struct in_addr *) *hostPtr->h_addr_list)->s_addr; in Ndb_getInAddr()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/fixtures/
H A Dbuffer_fixture.h20 static void *hostPtr; member
47 …auto hostPtr = Traits::flags & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR) ? Traits::hostPtr : nu… member
52 hostPtr,
/dports/security/portsentry/portsentry_beta/
H A Dportsentry_util.c117 struct hostent *hostPtr = NULL; in CleanAndResolve() local
133 hostPtr = gethostbyaddr ((char *) &addr.s_addr, sizeof (addr.s_addr), AF_INET); in CleanAndResolve()
134 if (hostPtr != NULL) in CleanAndResolve()
135 snprintf (resolvedHost, DNSMAXBUF, "%s", hostPtr->h_name); in CleanAndResolve()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/command_queue/
H A Denqueue_read_buffer_rect_fixture.h29 hostPtr = ::alignedMalloc(slicePitch * rowPitch, 4096); in SetUp()
46 ::alignedFree(hostPtr); in TearDown()
71 hostPtr,
83 void *hostPtr = nullptr; member
H A Denqueue_write_buffer_rect_fixture.h30 hostPtr = ::alignedMalloc(slicePitch * rowPitch, 4096); in SetUp()
48 ::alignedFree(hostPtr); in TearDown()
72 hostPtr,
85 void *hostPtr = nullptr; member
H A Dblit_enqueue_tests.cpp1099 int hostPtr = 0; member
1298 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
1316 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
1383 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
1407 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
1438 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
1497 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
1537 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
1572 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
1596 int hostPtr = 0; in HWTEST_TEMPLATED_F() local
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/storage/ndb/src/common/portlib/
H A DNdbTCP.cpp69 struct hostent host, * hostPtr;
72 hostPtr = gethostbyname_r(address, &host, &buf[0], 1024, &h_errno);
73 if (hostPtr != NULL) {
74 dst->s_addr = ((struct in_addr *) *hostPtr->h_addr_list)->s_addr;
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/os_interface/windows/
H A Dwddm_memory_manager.cpp151 void *hostPtr = nullptr, *alignedPtr = nullptr; in allocateHugeGraphicsMemory() local
156 if (allocationData.hostPtr) { in allocateHugeGraphicsMemory()
157 hostPtr = const_cast<void *>(allocationData.hostPtr); in allocateHugeGraphicsMemory()
159 alignedPtr = alignDown(hostPtr, MemoryConstants::pageSize); in allocateHugeGraphicsMemory()
165 if (nullptr == hostPtr) { in allocateHugeGraphicsMemory()
178 if (allocationData.hostPtr) { in allocateHugeGraphicsMemory()
182 wddmAllocation->setDriverAllocatedCpuPtr(hostPtr); in allocateHugeGraphicsMemory()
305 auto inputPtr = allocationData.hostPtr; in allocateGraphicsMemoryWithHostPtr()
341 if (allocationData.hostPtr) { in allocate32BitGraphicsMemoryImpl()
344 offset = ptrDiff(allocationData.hostPtr, ptrAligned); in allocate32BitGraphicsMemoryImpl()
[all …]

12345678