Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DeventQ.c90 struct EvtRecord * rec = container_of(pos, struct EvtRecord, item); in evtQueueFree() local
92 q->forceDiscardCbk(rec->evtType, rec->evtData, rec->evtFreeData); in evtQueueFree()
93 slabAllocatorFree(q->evtsSlab, rec); in evtQueueFree()
103 struct EvtRecord *rec; in evtQueueEnqueue() local
110 rec = slabAllocatorAlloc(q->evtsSlab); in evtQueueEnqueue()
111 if (!rec) { in evtQueueEnqueue()
117 rec = container_of(pos, struct EvtRecord, item); in evtQueueEnqueue()
118 if (!(rec->evtType & EVENT_TYPE_BIT_DISCARDABLE)) in evtQueueEnqueue()
120 q->forceDiscardCbk(rec->evtType, rec->evtData, rec->evtFreeData); in evtQueueEnqueue()
126 item = &rec->item; in evtQueueEnqueue()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp11709 if (infoRec->rec.display.alpha_len > CDMA_ALPHA_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
11711 "expected not more than %d", (int) infoRec->rec.display.alpha_len, in cdmaInfoRecInd()
11715 string8 = (char*) malloc((infoRec->rec.display.alpha_len + 1) * sizeof(char)); in cdmaInfoRecInd()
11721 memcpy(string8, infoRec->rec.display.alpha_buf, infoRec->rec.display.alpha_len); in cdmaInfoRecInd()
11722 string8[(int)infoRec->rec.display.alpha_len] = '\0'; in cdmaInfoRecInd()
11734 if (infoRec->rec.number.len > CDMA_NUMBER_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
11736 "expected not more than %d", (int) infoRec->rec.number.len, in cdmaInfoRecInd()
11740 string8 = (char*) malloc((infoRec->rec.number.len + 1) * sizeof(char)); in cdmaInfoRecInd()
11746 memcpy(string8, infoRec->rec.number.buf, infoRec->rec.number.len); in cdmaInfoRecInd()
11747 string8[(int)infoRec->rec.number.len] = '\0'; in cdmaInfoRecInd()
[all …]
Dril.h2235 } rec; member
/device/generic/goldfish/radio/include/telephony/
Dril.h1735 } rec; member