/external/OpenCL-CTS/test_conformance/api/ |
D | test_native_kernel.cpp | 50 cl_int inBuffer[ n_elems ], outBuffer[ n_elems ]; in test_native_kernel() local 52 cl_int* inBuffer = (cl_int *)_malloca( n_elems * sizeof(cl_int) ); in test_native_kernel() local 66 generate_random_data( kInt, n_elems, seed, inBuffer ); in test_native_kernel() 70 … 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, n_elems * sizeof(cl_int), inBuffer, &error ); in test_native_kernel() 105 if( inBuffer[ i ] != outBuffer[ i ] ) in test_native_kernel() 108 i, (int)inBuffer[ i ], (int)outBuffer[ i ] ); in test_native_kernel()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_astype.cpp | 135 char *inBuffer = (char*)malloc( inBufferSize ); in test_astype_set() local 141 d, inBuffer ); in test_astype_set() 145 streams[ 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, inBufferSize, inBuffer, &error ); in test_astype_set() 171 char *expected = inBuffer; in test_astype_set() 181 free(inBuffer); in test_astype_set() 191 free(inBuffer); in test_astype_set() 207 free(inBuffer); in test_astype_set() 215 free(inBuffer); in test_astype_set()
|
D | test_async_copy.cpp | 89 void *inBuffer, *outBuffer; in test_copy() local 153 inBuffer = (void*)malloc(globalBufferSize); in test_copy() 168 generate_random_data( vecType, globalBufferSize/get_explicit_type_size(vecType), d, inBuffer ); in test_copy() 171 …streams[ 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, globalBufferSize, inBuffer, &error ); in test_copy() 197 if( memcmp( inBuffer, outBuffer, globalBufferSize ) != 0 ) in test_copy() 200 unsigned char * inchar = (unsigned char*)inBuffer; in test_copy() 229 free(inBuffer); in test_copy()
|
D | test_async_strided_copy.cpp | 74 void *inBuffer, *outBuffer; in test_strided_copy() local 154 inBuffer = (void*)malloc(globalBufferSize); in test_strided_copy() 169 generate_random_data( vecType, globalBufferSize/get_explicit_type_size(vecType), d, inBuffer ); in test_strided_copy() 172 …streams[ 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, globalBufferSize, inBuffer, &error ); in test_strided_copy() 202 if (memcmp( ((char *)inBuffer)+i, ((char *)outBuffer)+i, typeSize) != 0 ) in test_strided_copy() 204 unsigned char * inchar = (unsigned char*)inBuffer + i; in test_strided_copy() 222 free(inBuffer); in test_strided_copy()
|
D | test_vloadstore.cpp | 56 clProtectedArray inBuffer( bufferSize ); in test_vload() local 70 generate_random_data( type, numElements * vecSize, d, (void *)inBuffer ); in test_vload() 112 …streams[ 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, bufferSize, (void *)inBuffer, &error… in test_vload() 156 …memcpy( referenceBuffer + i * typeSize * vecSize, ( (char *)(void *)inBuffer ) + ( ( offsets[ i ] … in test_vload() 163 char *in = (char *)(void *)inBuffer; in test_vload() 546 char inBuffer[ numStores * typeSize * vecSize ]; in test_vstore() local 548 char* inBuffer = (char*)_malloca( numStores * typeSize * vecSize * sizeof(cl_char)); in test_vstore() local 558 generate_random_data( type, numStores * vecSize, d, (void *)inBuffer ); in test_vstore() 596 …CL_MEM_COPY_HOST_PTR, numStores * typeSize * vecSize * sizeof(cl_char), (void *)inBuffer, &error ); in test_vstore() 662 …enceBuffer + ( ( offsets[ i ] * vecSize ) + addressOffset ) * typeSize, inBuffer + i * typeSize * … in test_vstore() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmFromHlslTests.cpp | 113 vk::Move<vk::VkBuffer> inBuffer = createBuffer(vk, device, &inBufferCreateInfo); in iterate() local 114 …ocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *inBuffer), MemoryRequireme… in iterate() 115 …VK_CHECK(vk.bindBufferMemory(device, *inBuffer, inAllocation->getMemory(), inAllocation->getOffset… in iterate() 151 …const VkDescriptorBufferInfo inputBufferDescriptorInfo = makeDescriptorBufferInfo(*inBuffer, 0ull,… in iterate() 183 …fferMemoryBarrier(VK_ACCESS_HOST_WRITE_BIT, VK_ACCESS_SHADER_READ_BIT, *inBuffer, 0ull, inBufferSi… in iterate()
|
/external/sonic/ |
D | Main.java | 34 byte inBuffer[] = new byte[bufferSize]; in runSonic() 45 numRead = audioStream.read(inBuffer, 0, bufferSize); in runSonic() 49 sonic.writeBytesToStream(inBuffer, numRead); in runSonic()
|
D | main.c | 30 short inBuffer[BUFFER_SIZE], outBuffer[BUFFER_SIZE]; in runSonic() local 40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); in runSonic() 44 sonicWriteShortToStream(stream, inBuffer, samplesRead); in runSonic()
|
D | Sonic.java | 307 byte inBuffer[], in addBytesToInputBuffer() argument 316 sample = (short)((inBuffer[xByte] & 0xff) | (inBuffer[xByte + 1] << 8)); in addBytesToInputBuffer() 938 byte inBuffer[], in writeBytesToStream() argument 941 addBytesToInputBuffer(inBuffer, numBytes); in writeBytesToStream()
|
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaAlone.cpp | 542 Byte *inBuffer = NULL; in main2() local 546 inBuffer = (Byte *)MyAlloc((size_t)inSize); in main2() 547 if (!inBuffer) in main2() 551 if (ReadStream_FAIL(inStream, inBuffer, inSize) != S_OK) in main2() 574 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize, in main2() 587 if (Lzma86_GetUnpackSize(inBuffer, inSize, &outSize64) != 0) in main2() 600 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize); in main2() 615 MyFree(inBuffer); in main2()
|
/external/libxaac/fuzzer/ |
D | xaac_dec_fuzzer.cpp | 62 IA_ERRORCODE configXAACDecoder(uint8_t* inBuffer, uint32_t inBufferLength, 66 IA_ERRORCODE decodeXAACStream(uint8_t* inBuffer, uint32_t inBufferLength, 323 IA_ERRORCODE Codec::configXAACDecoder(uint8_t* inBuffer, in configXAACDecoder() argument 330 memcpy(mInputBuffer, inBuffer, inBufferLength); in configXAACDecoder() 638 IA_ERRORCODE Codec::decodeXAACStream(uint8_t* inBuffer, uint32_t inBufferLength, in decodeXAACStream() argument 646 configXAACDecoder(inBuffer, inBufferLength, bytesConsumed); in decodeXAACStream() 649 memcpy(mInputBuffer, inBuffer, inBufferLength); in decodeXAACStream()
|
/external/skqp/src/pdf/ |
D | SkDeflate.cpp | 39 unsigned char* inBuffer, in do_deflate() argument 41 zStream->next_in = inBuffer; in do_deflate()
|
/external/skia/src/pdf/ |
D | SkDeflate.cpp | 40 unsigned char* inBuffer, in do_deflate() argument 42 zStream->next_in = inBuffer; in do_deflate()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageAstcDecodeModeTests.cpp | 211 …Buffer inBuffer (vk, device, allocator, compressedBufferCI, MemoryRequirement::HostVisibl… in iterate() local 221 const Allocation& alloc = inBuffer.getAllocation(); in iterate() 277 inBuffer.get(), 0ull, bufferSizeCompresed); in iterate() 292 …vk.cmdCopyBufferToImage(*cmdBuffer, inBuffer.get(), image->get(), VK_IMAGE_LAYOUT_TRANSFER_DST_OPT… in iterate()
|
/external/lzma/CPP/Windows/ |
D | FileIO.h | 78 bool DeviceIoControl(DWORD controlCode, LPVOID inBuffer, DWORD inSize, 81 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize,
|
/external/libcups/cups/ |
D | tls-sspi.c | 1336 SecBufferDesc inBuffer; /* Array of SecBuffer structs */ in http_sspi_client() local 1486 inBuffer.cBuffers = 2; in http_sspi_client() 1487 inBuffer.pBuffers = inBuffers; in http_sspi_client() 1488 inBuffer.ulVersion = SECBUFFER_VERSION; in http_sspi_client() 1507 …pi->creds, &sspi->context, NULL, dwSSPIFlags, 0, SECURITY_NATIVE_DREP, &inBuffer, 0, NULL, &outBuf… in http_sspi_client() 2085 SecBufferDesc inBuffer; /* Array of SecBuffer structs */ in http_sspi_server() local 2194 inBuffer.cBuffers = 2; in http_sspi_server() 2195 inBuffer.pBuffers = inBuffers; in http_sspi_server() 2196 inBuffer.ulVersion = SECBUFFER_VERSION; in http_sspi_server() 2207 …scRet = AcceptSecurityContext(&sspi->creds, (fInitContext?NULL:&sspi->context), &inBuffer, dwSSPIF… in http_sspi_server()
|
/external/skqp/tools/ |
D | remote_demo.cpp | 254 auto inBuffer = read_SkData(readFd); in renderer() local 255 if (inBuffer == nullptr) { in renderer()
|
/external/skia/tools/ |
D | remote_demo.cpp | 255 auto inBuffer = read_SkData(readFd); in renderer() local 256 if (inBuffer == nullptr) { in renderer()
|
/external/mdnsresponder/mDNSWindows/ |
D | mDNSWin32.c | 99 mDNSlocal OSStatus GetWindowsVersionString( char *inBuffer, size_t inBufferSize ); 139 mDNSlocal OSStatus TCHARtoUTF8( const TCHAR *inString, char *inBuffer, size_t inBufferSize ); 140 mDNSlocal OSStatus WindowsLatin1toUTF8( const char *inString, char *inBuffer, size_t inBufferSize… 1162 mDNSexport long mDNSPlatformReadTCP( TCPSocket *sock, void *inBuffer, unsigned long inBufferSize, m… in mDNSPlatformReadTCP() argument 1186 memcpy( inBuffer, sock->bptr, bytesToCopy ); in mDNSPlatformReadTCP() 4231 mDNSlocal OSStatus GetWindowsVersionString( char *inBuffer, size_t inBufferSize ) in GetWindowsVersionString() argument 4318 if( inBuffer && ( inBufferSize > 0 ) ) in GetWindowsVersionString() 4321 strncpy( inBuffer, versionString, inBufferSize ); in GetWindowsVersionString() 4322 inBuffer[ inBufferSize ] = '\0'; in GetWindowsVersionString() 4446 TCHARtoUTF8( const TCHAR *inString, char *inBuffer, size_t inBufferSize ) in TCHARtoUTF8() argument [all …]
|
/external/mdnsresponder/mDNSWindows/SystemService/ |
D | Service.c | 1356 int inBuffer; in ServiceSpecificRun() local 1375 inBuffer = 0; in ServiceSpecificRun() 1377 …err = WSAIoctl( gInterfaceListChangedSocket, SIO_ADDRESS_LIST_CHANGE, &inBuffer, 0, &outBuffer, 0,… in ServiceSpecificRun() 1632 int inBuffer; in SetupNotifications() local 1659 inBuffer = 0; in SetupNotifications() 1661 err = WSAIoctl( sock, SIO_ADDRESS_LIST_CHANGE, &inBuffer, 0, &outBuffer, 0, &outSize, NULL, NULL ); in SetupNotifications()
|
/external/mdnsresponder/mDNSShared/ |
D | DebugServices.c | 1614 DEBUG_EXPORT const char * DebugGetErrorString( int_least32_t inErrorCode, char *inBuffer, size_t in… in DebugGetErrorString() argument 1969 if( inBuffer && ( inBufferSize > 0 ) ) in DebugGetErrorString() 2003 if( inBuffer && ( inBufferSize > 0 ) ) in DebugGetErrorString() 2005 dst = inBuffer; in DebugGetErrorString() 2012 s = inBuffer; in DebugGetErrorString()
|
D | DebugServices.h | 1528 …DEBUG_EXPORT const char * DebugGetErrorString( int_least32_t inErrorCode, char *inBuffer, size_t i…
|