Searched refs:bufferPtr (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | CivicLocation.java | 125 int bufferPtr = 0; in parseCivicTLVs() local 130 while (bufferPtr < bufferLength) { in parseCivicTLVs() 131 int civicAddressType = civicTLVs[bufferPtr + TLV_TYPE_INDEX] & BYTE_MASK; in parseCivicTLVs() 132 int civicAddressTypeLength = civicTLVs[bufferPtr + TLV_LENGTH_INDEX]; in parseCivicTLVs() 134 if (bufferPtr + TLV_VALUE_INDEX + civicAddressTypeLength > bufferLength) { in parseCivicTLVs() 138 new String(civicTLVs, bufferPtr + TLV_VALUE_INDEX, in parseCivicTLVs() 141 bufferPtr += civicAddressTypeLength + TLV_VALUE_INDEX; in parseCivicTLVs()
|
D | ResponderLocation.java | 472 int bufferPtr = 0; in parseInformationElementBuffer() local 481 byte[] leadBufferBytes = Arrays.copyOfRange(buffer, bufferPtr, expectedLeadBytes.length); in parseInformationElementBuffer() 487 bufferPtr += expectedLeadBytes.length; in parseInformationElementBuffer() 489 while (bufferPtr + 1 < bufferLength) { in parseInformationElementBuffer() 490 byte subelement = buffer[bufferPtr++]; in parseInformationElementBuffer() 491 int subelementLength = buffer[bufferPtr++]; in parseInformationElementBuffer() 493 if ((bufferPtr + subelementLength) > bufferLength || subelementLength <= 0) { in parseInformationElementBuffer() 498 Arrays.copyOfRange(buffer, bufferPtr, bufferPtr + subelementLength); in parseInformationElementBuffer() 547 bufferPtr += subelementLength; in parseInformationElementBuffer()
|
/frameworks/ml/nn/runtime/test/ |
D | TestMemory.cpp | 108 void* bufferPtr = nullptr; in TEST_F() local 109 ASSERT_EQ(AHardwareBuffer_lock(buffer, desc.usage, -1, NULL, &bufferPtr), 0); in TEST_F() 110 memcpy((uint8_t*)bufferPtr + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F() 111 memcpy((uint8_t*)bufferPtr + offsetForMatrix3, matrix3, sizeof(matrix3)); in TEST_F()
|
/frameworks/ml/nn/common/operations/ |
D | TransposeConv2D.cpp | 251 int32_t* bufferPtr = tempBuffer; in transposeConvNhwc() local 254 for (uint32_t d = 0; d < outputDepth; d++, bufferPtr++, outPtr++) { in transposeConvNhwc() 255 int32_t outVal = *bufferPtr + biasData[d]; in transposeConvNhwc() 391 int32_t* bufferPtr = tempBuffer; in transposeConvQuant8PerChannelNhwc() local 394 for (uint32_t d = 0; d < outputDepth; d++, bufferPtr++, outPtr++) { in transposeConvQuant8PerChannelNhwc() 395 int32_t outVal = *bufferPtr + biasData[d]; in transposeConvQuant8PerChannelNhwc()
|