/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/ |
DataPathInBandTestCase.java | 254 int numBytes = is.read(buffer, 0, MSG_SERVER_TO_CLIENT.length); 258 new String(buffer, 0, numBytes))); 260 if (numBytes != MSG_SERVER_TO_CLIENT.length) { 264 + "got -- " + numBytes); 322 int numBytes = is.read(buffer, 0, MSG_CLIENT_TO_SERVER.length); 326 new String(buffer, 0, numBytes))); 328 if (numBytes != MSG_CLIENT_TO_SERVER.length) { 332 + "got -- " + numBytes);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
FileUtils.java | 135 public static void createFile(File file, int numBytes) throws IOException { 140 byte[] buffer = new byte[numBytes];
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
FileUtils.java | 135 public static void createFile(File file, int numBytes) throws IOException { 140 byte[] buffer = new byte[numBytes];
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/snappy/ |
FramedSnappyCompressorOutputStream.java | 136 private void writeLittleEndian(final int numBytes, long num) throws IOException { 137 ByteUtils.toLittleEndian(consumer, num, numBytes);
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
ClientSocketBenchmark.java | 67 public void processMessage(byte[] inMessage, int numBytes, OutputStream os) { 70 bytesCounter.addAndGet(numBytes);
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
OpenSSLServerSocketImplTest.java | 120 int numBytes = client.readMessage(responseBuffer); 121 byte[] response = Arrays.copyOfRange(responseBuffer, 0, numBytes);
|
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/ |
ClientSocketBenchmark.java | 69 public void processMessage(byte[] inMessage, int numBytes, OutputStream os) { 72 bytesCounter.addAndGet(numBytes);
|
/external/deqp/executor/ |
xeTcpIpLink.hpp | 52 void onTestLogData (const deUint8* bytes, size_t numBytes) const; 53 void onInfoLogData (const deUint8* bytes, size_t numBytes) const;
|
xeTestCaseListParser.cpp | 79 void TestCaseListParser::parse (const deUint8* bytes, int numBytes) 82 m_xmlParser.feed(bytes, numBytes);
|
xeTestLogParser.cpp | 52 void TestLogParser::parse (const deUint8* bytes, size_t numBytes) 54 m_containerParser.feed(bytes, numBytes);
|
xeTestResultParser.hpp | 70 ParseResult parse (const deUint8* bytes, int numBytes);
|
xeTestLogWriter.cpp | 181 int numBytes; 183 Base64Formatter (const deUint8* data_, int numBytes_) : data(data_), numBytes(numBytes_) {} 198 int numBytes = fmt.numBytes; 201 DE_ASSERT(data && (numBytes > 0)); 204 while (srcNdx < numBytes) 206 int numRead = de::min(3, numBytes - srcNdx); 229 inline Base64Formatter toBase64 (const deUint8* bytes, int numBytes) { return Base64Formatter(bytes, numBytes); }
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
ApplicationThreadDeframer.java | 134 public void bytesRead(final int numBytes) { 139 storedListener.bytesRead(numBytes);
|
/external/lzma/Java/SevenZip/Compression/LZ/ |
InWindow.java | 31 int numBytes = _bufferOffset + _streamPos - offset;
34 for (int i = 0; i < numBytes; i++)
|
/cts/tests/tests/nativemidi/jni/ |
native-lib.cpp | 120 void incNumBytesSent(int numBytes) { mNumBytesSent += numBytes; } 126 void incNumBytesReceived(int numBytes) { mNumBytesReceived += numBytes; } 406 jlong ctx, jbyteArray data, jint offset, jint numBytes, jlong timestamp) { 410 context->incNumBytesSent(numBytes); 418 context->midiInputPort, (uint8_t*)bufferPtr + offset, numBytes, timestamp); 422 sendRec.numDataBytes = numBytes; 424 memcpy(sendRec.dataBuff.get(), (uint8_t*)bufferPtr + offset, numBytes); 436 JNIEnv* env, jobject j_object, jlong ctx, jbyteArray data, jint offset, jint numBytes) { [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmComputeShaderCase.cpp | 67 size_t numBytes, 88 numBytes, // size 151 void setMemory (const DeviceInterface& vkdi, const VkDevice& device, Allocation* destAlloc, size_t numBytes, const void* data, bool coherent = false) 155 deMemcpy((deUint8*)hostPtr, data, numBytes); 161 void fillMemoryWithValue (const DeviceInterface& vkdi, const VkDevice& device, Allocation* destAlloc, size_t numBytes, deUint8 value, bool coherent = false) 165 deMemset((deUint8*)hostPtr, value, numBytes); 494 const size_t numBytes = inputBytes.size(); 497 BufferHandleUp* buffer = new BufferHandleUp(createBufferAndBindMemory(vkdi, device, descType, allocator, numBytes, &bufferAlloc, m_shaderSpec.coherentMemory)); 499 setMemory(vkdi, device, &*bufferAlloc, numBytes, &inputBytes.front(), m_shaderSpec.coherentMemory); 511 const size_t numBytes = inputBytes.size() [all...] |
/external/deqp/execserver/tools/ |
xsClient.cpp | 85 void readBytes (de::Socket& socket, vector<deUint8>& dst, size_t numBytes) 88 dst.resize(numBytes); 89 while (numRead < numBytes) 91 size_t numLeft = numBytes - numRead;
|
/external/deqp/framework/platform/android/ |
tcuAndroidExecService.cpp | 254 int TestProcess::readTestLog (deUint8* dst, int numBytes) 274 return m_logReader.read(dst, numBytes); 282 int TestProcess::readInfoLog (deUint8* dst, int numBytes) 285 DE_UNREF(dst && numBytes);
|
/external/gptfdisk/ |
support.h | 83 void ReverseBytes(void* theValue, int numBytes); // Reverses byte-order of theValue
|
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/ |
Core.java | 159 long numBytes);
|
SharedBufferHandle.java | 146 * Map the part (at offset |offset| of length |numBytes|) of the buffer given by this handle 147 * into memory. |offset + numBytes| must be less than or equal to the size of the buffer. On 153 public ByteBuffer map(long offset, long numBytes, MapFlags flags);
|
/frameworks/av/media/libstagefright/include/ |
HTTPBase.h | 59 virtual void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
IndexDataManager.cpp | 103 size_t numBytes = (numIndices / verticesPerPrimitive) * verticesPerPrimitive * bytesPerIndex; 104 if(numBytes > 0) 106 memcpy(outPtr, inPtr, numBytes); 107 outPtr += numBytes; 146 size_t numBytes = 3 * bytesPerIndex; 147 memcpy(outPtr, inPtr + (tri * bytesPerIndex), numBytes); 148 outPtr += numBytes;
|
/external/deqp/framework/platform/ios/ |
tcuIOSApp.mm | 134 int readInfoLog (deUint8* dst, int numBytes) { DE_UNREF(dst && numBytes); return 0; /* not supported */ } 135 int readTestLog (deUint8* dst, int numBytes); 201 int LocalTestProcess::readTestLog (deUint8* dst, int numBytes) 220 return m_logReader.read(dst, numBytes);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 424 if (convSession->output.fromConvertData.numBytes > 0) { 425 convResult->data = new char[convSession->output.fromConvertData.numBytes]; 428 convResult->length = convSession->output.fromConvertData.numBytes; 634 int numBytes) { 640 numBytes > -1) { 643 size = FwdLockFile_read(session->fileDesc, buffer, numBytes); 680 ssize_t numBytes, 686 ssize_t numBytes, 696 (numBytes > -1) && 703 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes); [all...] |