/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/ |
D | Server.java | 71 nativeHandle = allocate(serverDef); in Server() 76 start(nativeHandle); in start() 81 stop(nativeHandle); in stop() 88 handle = nativeHandle; in join() 112 delete(nativeHandle); in close() 113 nativeHandle = 0; in close() 118 private static native void start(long nativeHandle); in start() argument 120 private static native void stop(long nativeHandle); in stop() argument 122 private static native void join(long nativeHandle); in join() argument 124 private static native void delete(long nativeHandle); in delete() argument [all …]
|
D | Graph.java | 32 nativeHandle = allocate(); in Graph() 36 Graph(long nativeHandle) { in Graph() argument 37 this.nativeHandle = nativeHandle; in Graph() 49 if (nativeHandle == 0) { in close() 61 delete(nativeHandle); in close() 62 nativeHandle = 0; in close() 73 long oph = operation(nativeHandle, name); in operation() 131 importGraphDef(nativeHandle, graphDef, prefix); in importGraphDef() 143 return toGraphDef(nativeHandle); in toGraphDef() 204 ref.nativeHandle(), in addGradients() [all …]
|
D | Session.java | 69 nativeHandle = in Session() 70 (config == null) ? allocate(r.nativeHandle()) : allocate2(r.nativeHandle(), null, config); in Session() 78 Session(Graph g, long nativeHandle) { in Session() argument 80 this.nativeHandle = nativeHandle; in Session() 94 if (nativeHandle == 0) { in close() 106 delete(nativeHandle); in close() 107 nativeHandle = 0; in close() 327 nativeHandle, in runHelper() 361 if (nativeHandle == 0) { in Reference() 371 if (nativeHandle == 0) { in close() [all …]
|
D | EagerSession.java | 328 if (nativeHandle != 0L) { in close() 333 delete(nativeHandle); in close() 334 nativeHandle = 0L; in close() 347 long nativeHandle() { in nativeHandle() method in EagerSession 349 return nativeHandle; in nativeHandle() 508 private long nativeHandle; field in EagerSession 512 this.nativeHandle = allocate(options.async, options.devicePlacementPolicy.code, options.config); in EagerSession() 521 if (nativeHandle == 0L) { in checkSession()
|
D | Tensor.java | 143 long nativeHandle; in create() local 146 nativeHandle = allocate(t.dtype.c(), t.shapeCopy, byteSize); in create() 147 setValue(nativeHandle, obj); in create() 149 nativeHandle = allocateNonScalarBytes(t.shapeCopy, (Object[]) obj); in create() 151 nativeHandle = allocateScalarBytes((byte[]) obj); in create() 153 t.nativeRef = new NativeReference(nativeHandle); in create() 304 long nativeHandle = allocate(t.dtype.c(), t.shapeCopy, nbytes); in allocateForBuffer() local 305 t.nativeRef = new NativeReference(nativeHandle); in allocateForBuffer()
|
D | GraphOperation.java | 126 return shape(r.nativeHandle(), getUnsafeNativeHandle(), outputIdx); in shape() 136 return DataType.fromC(dtype(r.nativeHandle(), getUnsafeNativeHandle(), outputIdx)); in dtype()
|
D | EagerOperationBuilder.java | 30 this.nativeRef = new NativeReference(session, this, allocate(session.nativeHandle(), type)); in EagerOperationBuilder()
|
D | GraphOperationBuilder.java | 27 this.unsafeNativeHandle = allocate(r.nativeHandle(), type, name); in GraphOperationBuilder()
|
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/ |
D | Tensor.java | 48 delete(nativeHandle); in close() 49 nativeHandle = 0; in close() 69 return numBytes(nativeHandle); in numBytes() 93 return index(nativeHandle); in index() 102 return name(nativeHandle); in name() 117 if (hasDelegateBufferHandle(nativeHandle)) { in setTo() 127 writeMultiDimensionalArray(nativeHandle, src); in setTo() 137 writeDirectBuffer(nativeHandle, src); in setTo() 144 writeDirectBuffer(nativeHandle, src); in setTo() 151 writeDirectBuffer(nativeHandle, src); in setTo() [all …]
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | NativeAudioThread.java | 172 public native int nativeProcessNext(long nativeHandle, double[] samples, long offset); in nativeProcessNext() argument 173 public native int nativeDestroy(long nativeHandle); in nativeDestroy() argument 176 public native int[] nativeGetRecorderBufferPeriod(long nativeHandle); in nativeGetRecorderBufferPeriod() argument 177 public native int nativeGetRecorderMaxBufferPeriod(long nativeHandle); in nativeGetRecorderMaxBufferPeriod() argument 178 public native double nativeGetRecorderVarianceBufferPeriod(long nativeHandle); in nativeGetRecorderVarianceBufferPeriod() argument 179 public native int[] nativeGetPlayerBufferPeriod(long nativeHandle); in nativeGetPlayerBufferPeriod() argument 180 public native int nativeGetPlayerMaxBufferPeriod(long nativeHandle); in nativeGetPlayerMaxBufferPeriod() argument 181 public native double nativeGetPlayerVarianceBufferPeriod(long nativeHandle); in nativeGetPlayerVarianceBufferPeriod() argument 182 public native BufferCallbackTimes nativeGetPlayerCallbackTimeStamps(long nativeHandle); in nativeGetPlayerCallbackTimeStamps() argument 183 public native BufferCallbackTimes nativeGetRecorderCallbackTimeStamps(long nativeHandle); in nativeGetRecorderCallbackTimeStamps() argument [all …]
|
/external/tensorflow/tensorflow/tools/android/inference_interface/java/org/tensorflow/contrib/android/ |
D | RunStats.java | 29 nativeHandle = allocate(); in RunStats() 34 if (nativeHandle != 0) { in close() 35 delete(nativeHandle); in close() 37 nativeHandle = 0; in close() 42 add(nativeHandle, runMetadata); in add() 47 return summary(nativeHandle); in summary() 50 private long nativeHandle; field in RunStats
|
/external/deqp/external/vulkancts/modules/vulkan/util/ |
D | vktExternalMemoryUtil.cpp | 486 NativeHandle& nativeHandle) in getMemoryNative() argument 503 nativeHandle = fd; in getMemoryNative() 523 nativeHandle.setWin32Handle(NativeHandle::WIN32HANDLETYPE_NT, handle); in getMemoryNative() 527 nativeHandle.setWin32Handle(NativeHandle::WIN32HANDLETYPE_KMT, handle); in getMemoryNative() 551 nativeHandle = ahb; in getMemoryNative() 602 NativeHandle& nativeHandle, in getFenceNative() argument 629 nativeHandle = fd; in getFenceNative() 649 nativeHandle.setWin32Handle(NativeHandle::WIN32HANDLETYPE_NT, handle); in getFenceNative() 653 nativeHandle.setWin32Handle(NativeHandle::WIN32HANDLETYPE_KMT, handle); in getFenceNative() 795 NativeHandle& nativeHandle) in getSemaphoreNative() argument [all …]
|
D | vktExternalMemoryUtil.hpp | 211 NativeHandle& nativeHandle); 231 NativeHandle& nativeHandle); 259 NativeHandle& nativeHandle,
|
/external/minigbm/cros_gralloc/gralloc4/ |
D | CrosGralloc4Utils.cc | 459 const native_handle_t* nativeHandle = fenceHandle.getNativeHandle(); in convertToFenceFd() local 460 if (nativeHandle && nativeHandle->numFds > 1) { in convertToFenceFd() 464 *outFenceFd = (nativeHandle && nativeHandle->numFds == 1) ? nativeHandle->data[0] : -1; in convertToFenceFd()
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationCrossInstanceSharingTests.cpp | 731 NativeHandle& nativeHandle, in importAndBindMemory() argument 738 …catedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle) in importAndBindMemory() 739 … : importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 749 NativeHandle& nativeHandle, in importAndBindMemory() argument 756 …icatedMemory(vkd, device, image, requirements, externalType, exportedMemoryTypeIndex, nativeHandle) in importAndBindMemory() 757 … : importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 769 NativeHandle& nativeHandle, in importResource() argument 825 …de::MovePtr<vk::Allocation> allocation = importAndBindMemory(vkd, device, *image, nativeHandle, e… in importResource() 853 …de::MovePtr<vk::Allocation> allocation = importAndBindMemory(vkd, device, *buffer, nativeHandle, e… in importResource()
|
D | vktSynchronizationSignalOrderTests.cpp | 294 NativeHandle& nativeHandle, in importAndBindMemory() argument 302 …atedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 304 …ory = importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 314 NativeHandle& nativeHandle, in importAndBindMemory() argument 322 …catedMemory(vkd, device, image, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 324 …ory = importMemory(vkd, device, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 453 NativeHandle& nativeHandle, in importResource() argument 508 …MovePtr<Allocation> allocation = importAndBindMemory(vkd, device, *image, nativeHandle, externalT… in importResource() 539 nativeHandle, in importResource()
|
D | vktSynchronizationWin32KeyedMutexTests.cpp | 320 NativeHandle& nativeHandle, in importAndBindMemory() argument 344 …ortMemory(vkd, device, requirements.memoryRequirements, externalType, nativeHandle, !!dedicatedReq… in importAndBindMemory() 353 NativeHandle& nativeHandle, in importAndBindMemory() argument 377 …ortMemory(vkd, device, requirements.memoryRequirements, externalType, nativeHandle, !!dedicatedReq… in importAndBindMemory() 389 NativeHandle& nativeHandle, in importResource() argument 443 …cation> allocation = importAndBindMemory(vkd, device, *image, nativeHandle, externalType); in importResource() 471 …ation> allocation = importAndBindMemory(vkd, device, *buffer, nativeHandle, externalType); in importResource()
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.hpp | 36 buffer_handle_t nativeHandle = nullptr; member
|
D | VkImage.cpp | 194 if(GrallocModule::getInstance()->import(backingMemory.nativeHandle, &importedBufferHandle) != 0) in prepareForExternalUseANDROID()
|
D | libVulkan.cpp | 1519 backmem.nativeHandle = nativeBufferInfo->handle; in vkCreateImage()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiExternalMemoryTests.cpp | 579 NativeHandle& nativeHandle) in submitDummySignalAndGetSemaphoreNative() argument 631 getSemaphoreNative(vk, device, semaphore, externalType, nativeHandle); in submitDummySignalAndGetSemaphoreNative() 691 NativeHandle& nativeHandle, in submitDummySignalAndGetFenceNative() argument 744 getFenceNative(vk, device, fence, externalType, nativeHandle, expectFenceUnsignaled); in submitDummySignalAndGetFenceNative() 3934 NativeHandle nativeHandle(ahb); in ValidateAHardwareBuffer() local
|