Home
last modified time | relevance | path

Searched refs:bufferpptr (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmediametrics/include/media/
DMediaMetricsItem.h298 static status_t insert(const T& val, char **bufferpptr, char *bufferptrmax) { in insert() argument
301 if (*bufferpptr + size > bufferptrmax) { in insert()
305 memcpy(*bufferpptr, &val, size); in insert()
306 *bufferpptr += size; in insert()
310 status_t insert(const std::string& val, char **bufferpptr, char *bufferptrmax) { in insert() argument
312 if (size > UINT16_MAX || *bufferpptr + size > bufferptrmax) { in insert()
316 memcpy(*bufferpptr, val.c_str(), size); in insert()
317 *bufferpptr += size; in insert()
322 char **bufferpptr, char *bufferptrmax) { in insert() argument
324 if (*bufferpptr + size > bufferptrmax) { in insert()
[all …]
/frameworks/av/media/libmediametrics/
DMediaMetricsItem.cpp590 const char **bufferpptr, const char *bufferptrmax) in readFromByteString() argument
595 status_t status = extract(&len, bufferpptr, bufferptrmax) in readFromByteString()
596 ?: extract(&type, bufferpptr, bufferptrmax) in readFromByteString()
597 ?: extract(&name, bufferpptr, bufferptrmax); in readFromByteString()
602 status = extract(&value, bufferpptr, bufferptrmax); in readFromByteString()
608 status = extract(&value, bufferpptr, bufferptrmax); in readFromByteString()
614 status = extract(&value, bufferpptr, bufferptrmax); in readFromByteString()
620 status = extract(&value.first, bufferpptr, bufferptrmax) in readFromByteString()
621 ?: extract(&value.second, bufferpptr, bufferptrmax); in readFromByteString()
627 status = extract(&value, bufferpptr, bufferptrmax); in readFromByteString()