Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/lib/
Dwprint_msgq.c40 int num_msgs; member
61 msgq->num_msgs = 0; in msgQCreate()
83 if (msgq->num_msgs) { in msgQDelete()
84 LOGE("Warning msgQDelete() called on queue with %d messages", msgq->num_msgs); in msgQDelete()
106 if ((nbytes <= msgq->max_msg_length) && (msgq->num_msgs < msgq->max_msgs)) { in msgQSend()
111 msgq->num_msgs++; in msgQSend()
141 msgq->num_msgs--; in msgQReceive()
150 int num_msgs = -1; in msgQNumMsgs() local
154 num_msgs = msgq->num_msgs; in msgQNumMsgs()
157 return num_msgs; in msgQNumMsgs()