Searched refs:bufferPtr (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
D | CivicLocation.java | 126 int bufferPtr = 0; in parseCivicTLVs() local 131 while (bufferPtr < bufferLength) { in parseCivicTLVs() 132 int civicAddressType = civicTLVs[bufferPtr + TLV_TYPE_INDEX] & BYTE_MASK; in parseCivicTLVs() 133 int civicAddressTypeLength = civicTLVs[bufferPtr + TLV_LENGTH_INDEX]; in parseCivicTLVs() 135 if (bufferPtr + TLV_VALUE_INDEX + civicAddressTypeLength > bufferLength) { in parseCivicTLVs() 139 new String(civicTLVs, bufferPtr + TLV_VALUE_INDEX, in parseCivicTLVs() 142 bufferPtr += civicAddressTypeLength + TLV_VALUE_INDEX; in parseCivicTLVs()
|
D | ResponderLocation.java | 473 int bufferPtr = 0; in parseInformationElementBuffer() local 482 byte[] leadBufferBytes = Arrays.copyOfRange(buffer, bufferPtr, expectedLeadBytes.length); in parseInformationElementBuffer() 491 bufferPtr += expectedLeadBytes.length; in parseInformationElementBuffer() 493 while (bufferPtr + 1 < bufferLength) { in parseInformationElementBuffer() 494 byte subelement = buffer[bufferPtr++]; in parseInformationElementBuffer() 495 int subelementLength = buffer[bufferPtr++]; in parseInformationElementBuffer() 497 if ((bufferPtr + subelementLength) > bufferLength || subelementLength <= 0) { in parseInformationElementBuffer() 502 Arrays.copyOfRange(buffer, bufferPtr, bufferPtr + subelementLength); in parseInformationElementBuffer() 551 bufferPtr += subelementLength; in parseInformationElementBuffer()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMemory.cpp | 118 void* bufferPtr = nullptr; in TEST_F() local 119 ASSERT_EQ(AHardwareBuffer_lock(buffer, desc.usage, -1, NULL, &bufferPtr), 0); in TEST_F() 120 memcpy((uint8_t*)bufferPtr + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F() 121 memcpy((uint8_t*)bufferPtr + offsetForMatrix3, matrix3, sizeof(matrix3)); in TEST_F()
|
D | TestTrivialModel.cpp | 175 void* bufferPtr = nullptr; in testAddTwoWithHardwareBufferInput() local 176 ASSERT_EQ(AHardwareBuffer_lock(matrix1Buffer, cpuUsage, -1, NULL, &bufferPtr), 0); in testAddTwoWithHardwareBufferInput() 177 memcpy((uint8_t*)bufferPtr, matrix1, sizeof(matrix1)); in testAddTwoWithHardwareBufferInput()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | TransposeConv2D.cpp | 258 int32_t* bufferPtr = tempBuffer; in transposeConvNhwc() local 261 for (uint32_t d = 0; d < outputDepth; d++, bufferPtr++, outPtr++) { in transposeConvNhwc() 262 int32_t outVal = *bufferPtr + biasData[d]; in transposeConvNhwc() 399 int32_t* bufferPtr = tempBuffer; in transposeConvQuant8PerChannelNhwc() local 402 for (uint32_t d = 0; d < outputDepth; d++, bufferPtr++, outPtr++) { in transposeConvQuant8PerChannelNhwc() 403 int32_t outVal = *bufferPtr + biasData[d]; in transposeConvQuant8PerChannelNhwc()
|