Home
last modified time | relevance | path

Searched refs:resize (Results 1 – 18 of 18) sorted by relevance

/device/google/contexthub/util/nanotool/
Dnanopacket.cpp78 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()
Dandroidcontexthub.cpp347 message.resize(message.capacity()); in ReadEventFromFd()
361 message.resize(ret); in ReadEventFromFd()
Dnanomessage.cpp136 event_data.resize(buffer.size()); in Populate()
/device/generic/goldfish/camera/jpeg-stub/
DCompressor.cpp209 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/
DEmulatedQemuCameraDevice.cpp157 mPreviewFrames[0].resize(mTotalPixels); in startDevice()
158 mPreviewFrames[1].resize(mTotalPixels); in startDevice()
DThumbnail.cpp88 thumbnail->resize((thumbnailWidth * thumbnailHeight * 12) / 8); in createRawThumbnail()
DEmulatedCameraDevice.cpp368 mFrameBuffers[0].resize(mFrameBufferSize); in commonStartDevice()
369 mFrameBuffers[1].resize(mFrameBufferSize); in commonStartDevice()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DHostConnection.cpp198 extensions_buffer.resize(-extensionSize); in queryGLExtensions()
205 extensions_buffer.resize(extensionSize - 1); in queryGLExtensions()
/device/linaro/hikey/bluetooth/
Dhci_packetizer.cc61 packet_.resize(preamble_size_for_type[packet_type] + packet_length); in OnDataReady()
/device/google/dragon/crash_collector/
Dcoredump_writer.cc244 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/
Dtest_mmap.py91 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
Dtest_curses.py145 stdscr.resize()
Dtest_bytes.py831 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/
Ddictnotes.txt96 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/
Ddictnotes.txt96 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/
DGLClientState.cpp1322 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/
DUsb.cpp287 currentPortStatus->resize(names.size()); in getPortStatusHelper()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp397 ret.resize(array->size()); in getInt32Setting()
410 ret.resize(array->size()); in getFloatSetting()