Home
last modified time | relevance | path

Searched refs:p_rs (Results 1 – 5 of 5) sorted by relevance

/hardware/ril/librilutils/
Drecord_stream.c95 static void *getNextRecord (RecordStream *p_rs, size_t *p_outRecordLen) in getNextRecord() argument
99 record_end = getEndOfRecord (p_rs->unconsumed, p_rs->read_end); in getNextRecord()
103 record_start = p_rs->unconsumed + HEADER_SIZE; in getNextRecord()
104 p_rs->unconsumed = record_end; in getNextRecord()
127 int record_stream_get_next (RecordStream *p_rs, void ** p_outRecord, in record_stream_get_next() argument
135 ret = getNextRecord (p_rs, p_outRecordLen); in record_stream_get_next()
143 if (p_rs->unconsumed == p_rs->buffer in record_stream_get_next()
144 && p_rs->read_end == p_rs->buffer_end in record_stream_get_next()
153 if (p_rs->unconsumed != p_rs->buffer) { in record_stream_get_next()
157 toMove = p_rs->read_end - p_rs->unconsumed; in record_stream_get_next()
[all …]
/hardware/ril/include/telephony/
Drecord_stream.h32 extern void record_stream_free(RecordStream *p_rs);
34 extern int record_stream_get_next (RecordStream *p_rs, void ** p_outRecord,
/hardware/ril/libril/
DRilSocket.cpp81 void RilSocket::socketRequestsHandler(int fd, short flags, RecordStream *p_rs) { in socketRequestsHandler() argument
89 ret = record_stream_get_next(p_rs, &p_record, &recordlen); in socketRequestsHandler()
114 record_stream_free(p_rs); in socketRequestsHandler()
Dril.cpp4026 RecordStream *p_rs; in processCommandsCallback() local
4034 p_rs = p_info->p_rs; in processCommandsCallback()
4038 ret = record_stream_get_next(p_rs, &p_record, &recordlen); in processCommandsCallback()
4063 record_stream_free(p_rs); in processCommandsCallback()
4111 RecordStream *p_rs; in listenCallback() local
4210 p_rs = record_stream_new(p_info->fdCommand, MAX_COMMAND_BYTES); in listenCallback()
4211 p_info->p_rs = p_rs; in listenCallback()
4222 p_rs = record_stream_new(sapSocket->getCommandFd(), MAX_COMMAND_BYTES); in listenCallback()
4223 sClient = new socketClient(sapSocket,p_rs); in listenCallback()
/hardware/ril/include/libril/
Dril_ex.h44 RecordStream *p_rs; member