Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api1/client2/
DCamera2Heap.h29 explicit Camera2Heap(size_t buf_size, uint_t num_buffers = 1,
31 mBufSize(buf_size), in mBufSize() argument
33 mHeap = new MemoryHeapBase(buf_size * num_buffers, 0, name); in mBufSize()
/frameworks/minikin/tests/util/
DUnicodeUtils.cpp31 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, in ParseUnicode() argument
44 LOG_ALWAYS_FATAL_IF(output_ix >= buf_size); in ParseUnicode()
65 LOG_ALWAYS_FATAL_IF(output_ix + 1 > buf_size); in ParseUnicode()
69 LOG_ALWAYS_FATAL_IF(output_ix + 2 > buf_size); in ParseUnicode()
DUnicodeUtils.h25 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size,
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h321 CameraHeapMemory(int fd, size_t buf_size, uint_t num_buffers = 1) :
322 mBufSize(buf_size), in mBufSize() argument
325 mHeap = new MemoryHeapBase(fd, buf_size * num_buffers); in mBufSize()
329 explicit CameraHeapMemory(size_t buf_size, uint_t num_buffers = 1) :
330 mBufSize(buf_size), in mBufSize() argument
333 mHeap = new MemoryHeapBase(buf_size * num_buffers); in mBufSize()
365 static camera_memory_t* sGetMemory(int fd, size_t buf_size, uint_t num_bufs,
DCameraHardwareInterface.cpp779 int fd, size_t buf_size, uint_t num_bufs, in sGetMemory() argument
784 mem = new CameraHeapMemory(buf_size, num_bufs); in sGetMemory()
786 mem = new CameraHeapMemory(fd, buf_size, num_bufs); in sGetMemory()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dcoded_stream.cc507 const int buf_size = BufferSize(); in ReadTagFallback() local
508 if (buf_size >= kMaxVarintBytes || in ReadTagFallback()
511 (buf_size > 0 && !(buffer_end_[-1] & 0x80))) { in ReadTagFallback()
528 if ((buf_size == 0) && in ReadTagFallback()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp1438 WORD32 buf_size = 0; // ITTIAM:gain payload length in decodeXAACStream() local
1443 IA_ENHAACPLUS_DEC_CONFIG_GAIN_PAYLOAD_LEN, &buf_size); in decodeXAACStream()
1450 if (buf_size > 0) { in decodeXAACStream()
1456 memcpy(mDrcInBuf, p_array, buf_size); in decodeXAACStream()
1459 ia_drc_dec_api(mMpegDDrcHandle, IA_API_CMD_SET_INPUT_BYTES_BS, 0, &buf_size); in decodeXAACStream()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp1314 WORD32 buf_size = 0; // ITTIAM:gain payload length in decodeXAACStream() local
1319 IA_ENHAACPLUS_DEC_CONFIG_GAIN_PAYLOAD_LEN, &buf_size); in decodeXAACStream()
1326 if (buf_size > 0) { in decodeXAACStream()
1332 memcpy(mDrcInBuf, p_array, buf_size); in decodeXAACStream()
1335 ia_drc_dec_api(mMpegDDrcHandle, IA_API_CMD_SET_INPUT_BYTES_BS, 0, &buf_size); in decodeXAACStream()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp444 static void calc_tar_checksum(char* buf, size_t buf_size) { in calc_tar_checksum() argument
455 snprintf(buf + 148, buf_size - 148, "%06o", sum); // the trailing space is in calc_tar_checksum()
460 static int write_pax_header_entry(char* buf, size_t buf_size, in write_pax_header_entry() argument
470 return snprintf(buf, buf_size, "%d %s=%s\n", len, key, value); in write_pax_header_entry()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp1687 const size_t buf_size = temp_file_pattern.length() + 1; in DumpTraces() local
1688 std::unique_ptr<char[]> file_name_buf(new char[buf_size]); in DumpTraces()
1689 memcpy(file_name_buf.get(), temp_file_pattern.c_str(), buf_size); in DumpTraces()