Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 14 of 14) 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/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/sym/
Dsym.c164 void zzs_add(char *key,Sym rec) in zzs_add() argument
166 void zzs_add(key, rec) in zzs_add()
168 register Sym *rec;
175 rec->hash = h; /* save hash code for fast comp later */
178 if ( CurScope != NULL ) {rec->scope = *CurScope; *CurScope = rec;}
179 rec->next = table[h]; /* Add to doubly-linked list */
180 rec->prev = NULL;
181 if ( rec->next != NULL ) (rec->next)->prev = rec;
182 table[h] = rec;
183 rec->head = &(table[h]);
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dhash.c103 hash_add( Entry **table, char *key, Entry *rec ) in hash_add() argument
105 hash_add( table, key, rec ) in hash_add()
108 Entry *rec;
113 require(table!=NULL && key!=NULL && rec!=NULL, "add: invalid addition");
116 rec->next = table[h]; /* Add to singly-linked list */
117 table[h] = rec;
118 return rec;
/device/linaro/bootloader/edk2/CorebootModulePkg/Library/CbParseLib/
DCbParseLib.c248 struct cb_memory *rec; in CbParseMemoryInfo() local
257 rec = (struct cb_memory *)FindCbTag (0, CB_TAG_MEMORY); in CbParseMemoryInfo()
258 if (rec == NULL) { in CbParseMemoryInfo()
259rec = (struct cb_memory *)FindCbTag ((VOID *)(UINTN)PcdGet32 (PcdCbHeaderPointer), CB_TAG_MEMORY); in CbParseMemoryInfo()
262 if (rec == NULL) { in CbParseMemoryInfo()
266 for (Index = 0; Index < MEM_RANGE_COUNT(rec); Index++) { in CbParseMemoryInfo()
267 Range = MEM_RANGE_PTR(rec, Index); in CbParseMemoryInfo()
300 struct cb_memory *rec; in CbParseCbMemTable() local
314 rec = (struct cb_memory *)FindCbTag (0, CB_TAG_MEMORY); in CbParseCbMemTable()
315 if (rec == NULL) { in CbParseCbMemTable()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_csv.c137 char *rec; /* buffer for parser.join */ member
979 self->rec[rec_len] = c;\ in join_append_data()
1069 if (self->rec != NULL) in join_check_rec_size()
1070 PyMem_Free(self->rec); in join_check_rec_size()
1071 self->rec = PyMem_Malloc(self->rec_size); in join_check_rec_size()
1074 char *old_rec = self->rec; in join_check_rec_size()
1077 self->rec = PyMem_Realloc(self->rec, self->rec_size); in join_check_rec_size()
1078 if (self->rec == NULL) in join_check_rec_size()
1081 if (self->rec == NULL) { in join_check_rec_size()
1125 memmove(self->rec + self->rec_len, terminator, terminator_len); in join_append_lineterminator()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_csv.c137 char *rec; /* buffer for parser.join */ member
993 self->rec[rec_len] = c;\ in join_append_data()
1083 if (self->rec != NULL) in join_check_rec_size()
1084 PyMem_Free(self->rec); in join_check_rec_size()
1085 self->rec = PyMem_Malloc(self->rec_size); in join_check_rec_size()
1088 char *old_rec = self->rec; in join_check_rec_size()
1091 self->rec = PyMem_Realloc(self->rec, self->rec_size); in join_check_rec_size()
1092 if (self->rec == NULL) in join_check_rec_size()
1095 if (self->rec == NULL) { in join_check_rec_size()
1139 memmove(self->rec + self->rec_len, terminator, terminator_len); in join_append_lineterminator()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dmake_vms.com333 $ read/end=mrdone min rec
334 $ if (f$extract(0,6,rec) .nes. src_check) then goto mrloop
335 $ rec = rec - src_check
372 $ rec = f$edit(rec - "#", "TRIM")
373 $ if f$element(0," ",rec) .nes. "define" then goto hloop
374 $ if f$element(1," ",rec) .eqs. v_string
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/
Dmsilib.py219 rec = []
222 rec.append(None)
224 rec.append(r.IntegerData(i))
226 rec.append(r.StringData(i))
232 fname = rec[0]+".bin"
234 rec.append(Binary(fname))
236 rec.append(bytes)
239 f.write(repr(tuple(rec))+",\n")
/device/generic/goldfish/radio/libril/
Dril_service.cpp7719 if (infoRec->rec.display.alpha_len > CDMA_ALPHA_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
7721 "expected not more than %d", (int) infoRec->rec.display.alpha_len, in cdmaInfoRecInd()
7725 string8 = (char*) malloc((infoRec->rec.display.alpha_len + 1) * sizeof(char)); in cdmaInfoRecInd()
7731 memcpy(string8, infoRec->rec.display.alpha_buf, infoRec->rec.display.alpha_len); in cdmaInfoRecInd()
7732 string8[(int)infoRec->rec.display.alpha_len] = '\0'; in cdmaInfoRecInd()
7744 if (infoRec->rec.number.len > CDMA_NUMBER_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
7746 "expected not more than %d", (int) infoRec->rec.number.len, in cdmaInfoRecInd()
7750 string8 = (char*) malloc((infoRec->rec.number.len + 1) * sizeof(char)); in cdmaInfoRecInd()
7756 memcpy(string8, infoRec->rec.number.buf, infoRec->rec.number.len); in cdmaInfoRecInd()
7757 string8[(int)infoRec->rec.number.len] = '\0'; in cdmaInfoRecInd()
[all …]
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp9078 if (infoRec->rec.display.alpha_len > CDMA_ALPHA_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
9080 "expected not more than %d", (int) infoRec->rec.display.alpha_len, in cdmaInfoRecInd()
9084 string8 = (char*) malloc((infoRec->rec.display.alpha_len + 1) * sizeof(char)); in cdmaInfoRecInd()
9090 memcpy(string8, infoRec->rec.display.alpha_buf, infoRec->rec.display.alpha_len); in cdmaInfoRecInd()
9091 string8[(int)infoRec->rec.display.alpha_len] = '\0'; in cdmaInfoRecInd()
9103 if (infoRec->rec.number.len > CDMA_NUMBER_INFO_BUFFER_LENGTH) { in cdmaInfoRecInd()
9105 "expected not more than %d", (int) infoRec->rec.number.len, in cdmaInfoRecInd()
9109 string8 = (char*) malloc((infoRec->rec.number.len + 1) * sizeof(char)); in cdmaInfoRecInd()
9115 memcpy(string8, infoRec->rec.number.buf, infoRec->rec.number.len); in cdmaInfoRecInd()
9116 string8[(int)infoRec->rec.number.len] = '\0'; in cdmaInfoRecInd()
[all …]
Dril.h1806 } rec; member
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/
DEDKII_openssl-1.0.2j.patch1998 - "%s:%d: rec->data != rec->input\n",
2000 + fprintf(stderr, "tls1_enc: rec->data != rec->input\n");
2001 else if (RAND_bytes(rec->input, ivlen) <= 0)
/device/generic/goldfish/radio/ril/
Dril.h1737 } 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()