Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 9 of 9) 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/generic/goldfish/radio/libril/
Dril_service.cpp7714 if (infoRec->rec.display.alpha_len > CDMA_ALPHA_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
7716 "expected not more than %d", (int) infoRec->rec.display.alpha_len, in cdmaInfoRecInd()
7720 string8 = (char*) malloc((infoRec->rec.display.alpha_len + 1) * sizeof(char)); in cdmaInfoRecInd()
7726 memcpy(string8, infoRec->rec.display.alpha_buf, infoRec->rec.display.alpha_len); in cdmaInfoRecInd()
7727 string8[(int)infoRec->rec.display.alpha_len] = '\0'; in cdmaInfoRecInd()
7739 if (infoRec->rec.number.len > CDMA_NUMBER_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
7741 "expected not more than %d", (int) infoRec->rec.number.len, in cdmaInfoRecInd()
7745 string8 = (char*) malloc((infoRec->rec.number.len + 1) * sizeof(char)); in cdmaInfoRecInd()
7751 memcpy(string8, infoRec->rec.number.buf, infoRec->rec.number.len); in cdmaInfoRecInd()
7752 string8[(int)infoRec->rec.number.len] = '\0'; in cdmaInfoRecInd()
[all …]
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp9090 if (infoRec->rec.display.alpha_len > CDMA_ALPHA_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
9092 "expected not more than %d", (int) infoRec->rec.display.alpha_len, in cdmaInfoRecInd()
9096 string8 = (char*) malloc((infoRec->rec.display.alpha_len + 1) * sizeof(char)); in cdmaInfoRecInd()
9102 memcpy(string8, infoRec->rec.display.alpha_buf, infoRec->rec.display.alpha_len); in cdmaInfoRecInd()
9103 string8[(int)infoRec->rec.display.alpha_len] = '\0'; in cdmaInfoRecInd()
9115 if (infoRec->rec.number.len > CDMA_NUMBER_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
9117 "expected not more than %d", (int) infoRec->rec.number.len, in cdmaInfoRecInd()
9121 string8 = (char*) malloc((infoRec->rec.number.len + 1) * sizeof(char)); in cdmaInfoRecInd()
9127 memcpy(string8, infoRec->rec.number.buf, infoRec->rec.number.len); in cdmaInfoRecInd()
9128 string8[(int)infoRec->rec.number.len] = '\0'; in cdmaInfoRecInd()
[all …]
Dril.h1806 } rec; member
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp9400 if (infoRec->rec.display.alpha_len > CDMA_ALPHA_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
9402 "expected not more than %d", (int) infoRec->rec.display.alpha_len, in cdmaInfoRecInd()
9406 string8 = (char*) malloc((infoRec->rec.display.alpha_len + 1) * sizeof(char)); in cdmaInfoRecInd()
9412 memcpy(string8, infoRec->rec.display.alpha_buf, infoRec->rec.display.alpha_len); in cdmaInfoRecInd()
9413 string8[(int)infoRec->rec.display.alpha_len] = '\0'; in cdmaInfoRecInd()
9425 if (infoRec->rec.number.len > CDMA_NUMBER_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
9427 "expected not more than %d", (int) infoRec->rec.number.len, in cdmaInfoRecInd()
9431 string8 = (char*) malloc((infoRec->rec.number.len + 1) * sizeof(char)); in cdmaInfoRecInd()
9437 memcpy(string8, infoRec->rec.number.buf, infoRec->rec.number.len); in cdmaInfoRecInd()
9438 string8[(int)infoRec->rec.number.len] = '\0'; in cdmaInfoRecInd()
[all …]
Dril.h1931 } rec; member
/device/generic/goldfish/radio/ril/
Dril.h1736 } rec; member
/device/generic/goldfish/radio/include/telephony/
Dril.h1735 } rec; member
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.cpp1038 const TextureRec* rec = (const TextureRec*)prec; in compareTexId() local
1039 return (GLint)(*id) - (GLint)rec->id; in compareTexId()