/aosp12/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | BinaryDictOffdeviceUtils.java | 157 final byte[] tmpBuffer = new byte[12]; in process() 158 if (tmpBuffer.length != input.read(tmpBuffer)) { in process() 167 + ((tmpBuffer[MAGIC_NUMBER_START_OFFSET + 1] & 0xFF) << 16) in process() 168 + ((tmpBuffer[MAGIC_NUMBER_START_OFFSET + 2] & 0xFF) << 8) in process() 169 + (tmpBuffer[MAGIC_NUMBER_START_OFFSET + 3] & 0xFF); in process() 173 final int version = ((tmpBuffer[VERSION_START_OFFSET] & 0xFF) << 8) in process() 174 + (tmpBuffer[VERSION_START_OFFSET + 1] & 0xFF); in process() 180 + ((tmpBuffer[HEADER_SIZE_OFFSET + 1] & 0xFF) << 16) in process() 181 + ((tmpBuffer[HEADER_SIZE_OFFSET + 2] & 0xFF) << 8) in process() 182 + (tmpBuffer[HEADER_SIZE_OFFSET + 3] & 0xFF); in process() [all …]
|
/aosp12/hardware/google/gchips/gralloc3/src/ |
H A D | GrallocAllocator.cpp | 110 buffer_handle_t tmpBuffer; in allocate() local 118 &tmpBuffer); in allocate() 124 1, &tmpBuffer, nullptr); in allocate() 134 mali_gralloc_query_getstride(tmpBuffer, &tmpStride); in allocate() 143 mali_gralloc_buffer_free(tmpBuffer); in allocate() 149 grallocBuffers.emplace_back(hidl_handle(tmpBuffer)); in allocate()
|
H A D | GrallocWrapper.cpp | 66 [&](const auto& tmpError, const auto& tmpBuffer) in importBuffer() 73 *outBufferHandle = static_cast<buffer_handle_t>(tmpBuffer); in importBuffer()
|
/aosp12/hardware/google/gchips/gralloc4/src/hidl_common/ |
H A D | Allocator.cpp | 52 buffer_handle_t tmpBuffer = nullptr; in allocate() local 60 allocResult = fb_allocator(&bufferDescriptor, &tmpBuffer); in allocate() 65 allocResult = mali_gralloc_buffer_allocate(grallocBufferDescriptor, 1, &tmpBuffer, nullptr); in allocate() 72 auto hnd = const_cast<private_handle_t *>(reinterpret_cast<const private_handle_t *>(tmpBuffer)); in allocate() 122 mali_gralloc_buffer_free(tmpBuffer); in allocate() 128 grallocBuffers.emplace_back(hidl_handle(tmpBuffer)); in allocate()
|
/aosp12/packages/apps/Nfc/src/com/android/nfc/snep/ |
H A D | SnepMessenger.java | 59 byte[] tmpBuffer = Arrays.copyOfRange(buffer, 0, length); in sendMessage() 61 mSocket.send(tmpBuffer); in sendMessage() 87 tmpBuffer = Arrays.copyOfRange(buffer, offset, offset + length); in sendMessage() 89 mSocket.send(tmpBuffer); in sendMessage() 110 tmpBuffer = Arrays.copyOfRange(buffer, offset, offset + length); in sendMessage() 112 mSocket.send(tmpBuffer); in sendMessage()
|
/aosp12/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/ |
H A D | Gralloc0Hal.h | 88 const native_handle_t* tmpBuffer; in allocateBuffers() local 90 error = allocateOneBuffer(descriptorInfo, &tmpBuffer, &tmpStride); in allocateBuffers() 95 buffers.push_back(tmpBuffer); in allocateBuffers()
|
H A D | Gralloc1Hal.h | 103 const native_handle_t* tmpBuffer; in allocateBuffers() local 105 error = allocateOneBuffer(desc, &tmpBuffer, &tmpStride); in allocateBuffers() 110 buffers.push_back(tmpBuffer); in allocateBuffers()
|
/aosp12/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
H A D | NdefPushClient.java | 108 byte[] tmpBuffer = Arrays.copyOfRange(buffer, offset, offset+length); in push() 110 sock.send(tmpBuffer); in push()
|
/aosp12/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | HandoverClient.java | 117 byte[] tmpBuffer = Arrays.copyOfRange(buffer, offset, offset+length); in sendHandoverRequest() 119 sock.send(tmpBuffer); in sendHandoverRequest()
|
H A D | HandoverServer.java | 225 byte[] tmpBuffer = Arrays.copyOfRange(buffer, offset, offset+length); in run() 226 mSock.send(tmpBuffer); in run()
|
/aosp12/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
H A D | genPCLm.cpp | 1632 void *tmpBuffer = NULL; in Encapsulate() local 1643 tmpBuffer = malloc(scanlineWidth * currStripHeight); in Encapsulate() 1644 if (!tmpBuffer) { in Encapsulate() 1649 memcpy(tmpBuffer, leftoverScanlineBuffer, scanlineWidth * numLeftoverScanlines); in Encapsulate() 1651 whereAreWe = (ubyte *) tmpBuffer + (scanlineWidth * numLeftoverScanlines); in Encapsulate() 1666 localInBuffer = tmpBuffer; in Encapsulate() 1685 if (tmpBuffer) { in Encapsulate() 1686 free(tmpBuffer); in Encapsulate() 1866 if (tmpBuffer) { in Encapsulate() 1867 free(tmpBuffer); in Encapsulate()
|
/aosp12/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
H A D | MapperVts.cpp | 138 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 141 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
|
/aosp12/hardware/libhardware/modules/camera/3_4/arc/ |
H A D | exif_utils.cpp | 399 void* tmpBuffer = exif_mem_alloc(mem, size); in AddVariableLengthEntry() local 400 if (!tmpBuffer) { in AddVariableLengthEntry() 406 entry->data = static_cast<unsigned char*>(tmpBuffer); in AddVariableLengthEntry()
|
/aosp12/hardware/interfaces/graphics/mapper/3.0/utils/vts/ |
H A D | MapperVts.cpp | 153 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 156 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
|
/aosp12/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/ |
H A D | vendor_graphicbuffer_meta.cpp | 317 get_mapper()->importBuffer(handle, [&](const auto& tmpError, const auto& tmpBuffer) { in import_buffer() argument 322 bufferHandle = static_cast<native_handle_t*>(tmpBuffer); in import_buffer()
|
/aosp12/hardware/interfaces/sensors/common/vts/utils/ |
H A D | GrallocWrapper.cpp | 189 mMapper->importBuffer(rawHandle, [&](auto error, void* tmpBuffer) { in importBuffer() argument 194 bufferHandle = static_cast<native_handle_t*>(tmpBuffer); in importBuffer()
|
/aosp12/hardware/interfaces/graphics/mapper/4.0/utils/vts/ |
H A D | MapperVts.cpp | 163 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 168 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
|
/aosp12/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 336 Color8888* tmpBuffer = prevBuffer; in drawFrame() local 338 currBuffer = tmpBuffer; in drawFrame()
|
/aosp12/frameworks/native/libs/ui/ |
H A D | Gralloc2.cpp | 159 [&](const auto& tmpError, const auto& tmpBuffer) in importBuffer() 166 *outBufferHandle = static_cast<buffer_handle_t>(tmpBuffer); in importBuffer()
|
H A D | Gralloc3.cpp | 135 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 140 *outBufferHandle = static_cast<buffer_handle_t>(tmpBuffer); in importBuffer()
|
H A D | Gralloc4.cpp | 145 auto ret = mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 150 *outBufferHandle = static_cast<buffer_handle_t>(tmpBuffer); in importBuffer()
|
/aosp12/hardware/interfaces/camera/common/1.0/default/ |
H A D | Exif.cpp | 838 void* tmpBuffer = exif_mem_alloc(mem, size); in addVariableLengthEntry() local 839 if (!tmpBuffer) { in addVariableLengthEntry() 845 entry->data = static_cast<unsigned char*>(tmpBuffer); in addVariableLengthEntry()
|
/aosp12/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | ExifUtils.cpp | 771 void* tmpBuffer = exif_mem_alloc(mem, size); in addVariableLengthEntry() local 772 if (!tmpBuffer) { in addVariableLengthEntry() 778 entry->data = static_cast<unsigned char*>(tmpBuffer); in addVariableLengthEntry()
|
/aosp12/frameworks/av/media/libstagefright/ |
H A D | Utils.cpp | 64 sp<ABuffer> tmpBuffer = new (std::nothrow) ABuffer((*buffer)->size() + 4 + length + 1024); in copyNALUToABuffer() local 65 if (tmpBuffer.get() == NULL || tmpBuffer->base() == NULL) { in copyNALUToABuffer() 68 memcpy(tmpBuffer->data(), (*buffer)->data(), (*buffer)->size()); in copyNALUToABuffer() 69 tmpBuffer->setRange(0, (*buffer)->size()); in copyNALUToABuffer() 70 (*buffer) = tmpBuffer; in copyNALUToABuffer()
|
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
H A D | LauncherInstrumentation.java | 1731 final float tmpBuffer = 100f; 1735 return tmpBuffer; 1754 return Math.max(topRadius, bottomRadius) + tmpBuffer;
|