Searched refs:resize (Results 1 – 18 of 18) sorted by relevance
/device/google/contexthub/util/nanotool/ |
D | nanopacket.cpp | 78 packet_buffer_.resize(required_buffer_size); in NanoPacket() 82 packet_content_.resize(required_buffer_size); in NanoPacket() 167 packet_content_.resize(buffer[i]); in Parse()
|
D | androidcontexthub.cpp | 347 message.resize(message.capacity()); in ReadEventFromFd() 361 message.resize(ret); in ReadEventFromFd()
|
D | nanomessage.cpp | 136 event_data.resize(buffer.size()); in Populate()
|
/device/generic/goldfish/camera/jpeg-stub/ |
D | Compressor.cpp | 209 manager->mBuffer.resize(16 * 1024); in initDestination() 221 manager->mBuffer.resize(oldSize * 2); in emptyOutputBuffer() 232 manager->mBuffer.resize(manager->mBuffer.size() - manager->free_in_buffer); in termDestination()
|
/device/generic/goldfish/camera/ |
D | EmulatedQemuCameraDevice.cpp | 157 mPreviewFrames[0].resize(mTotalPixels); in startDevice() 158 mPreviewFrames[1].resize(mTotalPixels); in startDevice()
|
D | Thumbnail.cpp | 88 thumbnail->resize((thumbnailWidth * thumbnailHeight * 12) / 8); in createRawThumbnail()
|
D | EmulatedCameraDevice.cpp | 368 mFrameBuffers[0].resize(mFrameBufferSize); in commonStartDevice() 369 mFrameBuffers[1].resize(mFrameBufferSize); in commonStartDevice()
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | HostConnection.cpp | 198 extensions_buffer.resize(-extensionSize); in queryGLExtensions() 205 extensions_buffer.resize(extensionSize - 1); in queryGLExtensions()
|
/device/linaro/hikey/bluetooth/ |
D | hci_packetizer.cc | 61 packet_.resize(preamble_size_for_type[packet_type] + packet_length); in OnDataReady()
|
/device/google/dragon/crash_collector/ |
D | coredump_writer.cc | 244 program_headers->resize(elf_header->e_phnum); in ReadUntilNote() 261 note_buf->resize(note_program_header.p_filesz); in ReadUntilNote() 336 program_headers_filtered->resize(program_headers.size()); in FilterSegments()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_mmap.py | 91 m.resize(512) 163 m.resize(2*mapsize) 226 self.assertRaises(TypeError, m.resize, 2*mapsize) 499 m.resize(512) 619 m.resize(0) # will raise WindowsError
|
D | test_curses.py | 145 stdscr.resize()
|
D | test_bytes.py | 831 def resize(n): function 833 resize(10) 835 self.assertRaises(BufferError, resize, 11) 837 self.assertRaises(BufferError, resize, 9) 839 self.assertRaises(BufferError, resize, 0)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | dictnotes.txt | 96 less effort to resize, better sparseness for some (but not 99 eliminates every other resize step. 130 resizing is possible. By checking for a resize only when the 132 remain O(1), and the odds of resize thrashing or memory fragmentation 221 pre-sized so that no resize operations are required during creation.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | dictnotes.txt | 96 less effort to resize, better sparseness for some (but not 99 eliminates every other resize step. 130 resizing is possible. By checking for a resize only when the 132 remain O(1), and the odds of resize thrashing or memory fragmentation 221 pre-sized so that no resize operations are required during creation.
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | GLClientState.cpp | 1322 props.colorAttachmenti_textures.resize(m_max_color_attachments, 0); in addFreshFramebuffer() 1327 props.colorAttachmenti_hasTex.resize(m_max_color_attachments, false); in addFreshFramebuffer() 1332 props.colorAttachmenti_rbos.resize(m_max_color_attachments, 0); in addFreshFramebuffer() 1337 props.colorAttachmenti_hasRbo.resize(m_max_color_attachments, false); in addFreshFramebuffer() 1735 m_indexedTransformFeedbackBuffers.resize(m_max_transform_feedback_separate_attribs); in initFromCaps() 1737 m_indexedUniformBuffers.resize(m_max_uniform_buffer_bindings); in initFromCaps() 1739 m_indexedAtomicCounterBuffers.resize(m_max_atomic_counter_buffer_bindings); in initFromCaps() 1741 m_indexedShaderStorageBuffers.resize(m_max_shader_storage_buffer_bindings); in initFromCaps()
|
/device/google/marlin/usb/ |
D | Usb.cpp | 287 currentPortStatus->resize(names.size()); in getPortStatusHelper()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 397 ret.resize(array->size()); in getInt32Setting() 410 ret.resize(array->size()); in getFloatSetting()
|