Home
last modified time | relevance | path

Searched refs:calloc (Results 1 – 25 of 99) sorted by relevance

1234

/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dgeneric.h109 #define newListNode (ListNode *) calloc(1, sizeof(ListNode));
110 #define newCycle (Cycle *) calloc(1, sizeof(Cycle));
111 #define newECnode (ECnode *) calloc(1, sizeof(ECnode));
112 #define newTCnode (TCnode *) calloc(1, sizeof(TCnode));
Degman.c233 calloc(arraySizeNew,sizeof(ExceptionGroup *)); in arrayCheck()
235 calloc(arraySizeNew,sizeof(LabelEntry *)); in arrayCheck()
237 calloc(arraySizeNew,sizeof(Junction *)); in arrayCheck()
Dantlr.c86 HdrAction = (char *) calloc(strlen(LATEXT(1))+1, sizeof(char)); in grammar()
100 FirstAction = (char *) calloc(strlen(LATEXT(1))+1, sizeof(char)); in grammar()
445 … /* MR10 */ ClassDeclStuff=(char *)calloc(MaxClassDeclStuff+1,sizeof(char)); in class_def()
457 /* MR22 */ BaseClassName=(char *)calloc(strlen(LATEXT(1))+1,sizeof(char)); in class_def()
568 pdecl = (char *) calloc(strlen(LATEXT(1))+1, sizeof(char)); in rule()
590 ret = (char *) calloc(strlen(LATEXT(1))+1, sizeof(char)); in rule()
689 a = (char *) calloc(strlen(LATEXT(1))+1, sizeof(char)); in rule()
750 a = (char *) calloc(strlen(LATEXT(1))+1, sizeof(char)); in laction()
784 /* MR1 */ a = (char *) calloc(strlen(LATEXT(1))+1, sizeof(char)); in lmember()
820 /* MR1 */ a = (char *) calloc(strlen(LATEXT(1))+1, sizeof(char)); in lprefix()
[all …]
Dhash.c77 table = (Entry **) calloc(size, sizeof(Entry *)); in newHashTable()
81 strings = (char *) calloc(strsize, sizeof(char)); in newHashTable()
Dbuild.c117 t=key=(char *)calloc(1,strlen(a->action)+1);
645 newblk = (TokNode *)calloc(TokenBlockAllocSize, sizeof(TokNode)); in newTokNode()
679 newblk = (RuleRefNode *)calloc(RRefBlockAllocSize, sizeof(RuleRefNode)); in newRNode()
716 newblk = (Junction *)calloc(JunctionBlockAllocSize, sizeof(Junction)); in newJunction()
736 p->fset = (set *) calloc(CLL_k+1, sizeof(set)); in newJunction()
755 newblk = (ActionNode *)calloc(ActionBlockAllocSize, sizeof(ActionNode)); in newActionNode()
791 char *p = (char *) calloc(CLL_k+1, sizeof(char)); in makelocks()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/
DPath.c116 NewPath = calloc(Length, sizeof(wchar_t)); in NormalizePath()
201 NewPath = calloc(PATH_MAX, sizeof(wchar_t)); in PathAdjust()
237 NewPath = calloc(PATH_MAX, sizeof(wchar_t)); in PathAlias()
309 MPath = calloc(MapLen+2, sizeof(wchar_t)); in ParsePath()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/
Dsintstack.c49 SIntStack *p = (SIntStack *) calloc(1, sizeof(SIntStack));
51 p->data = (int *) calloc(size, sizeof(int));
/device/google/bonito/json-c/
Darraylist.c30 arr = (struct array_list*)calloc(1, sizeof(struct array_list)); in array_list_new()
35 if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) { in array_list_new()
/device/google/crosshatch/json-c/
Darraylist.c30 arr = (struct array_list*)calloc(1, sizeof(struct array_list)); in array_list_new()
35 if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) { in array_list_new()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/h/
Dsstack.h36 #define newSStack (SStack *) calloc(1, sizeof(SStack));
Dsorlist.h40 #define newSList (SList *) calloc(1, sizeof(SList));
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/sym/
Dsym.c136 table = (Sym **) calloc(sz, sizeof(Sym *));
142 strings = (char *) calloc(strs, sizeof(char));
353 if ( (p = (Sym *) calloc(1,sizeof(Sym))) == 0 )
/device/google/contexthub/util/stm32_flash/
Dflash.c226 buffer = calloc(tot_len(buf.st_size), 1); in main()
277 buffer = calloc(length, 1); in main()
301 buffer = calloc(tot_len(length), 1); in main()
/device/google/cuttlefish_common/guest/hals/ril/libril/
Dsap_service.cpp96 MsgHeader *msg = (MsgHeader *)calloc(1, sizeof(MsgHeader)); in createMsgHeader()
208 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in connectReq()
248 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in disconnectReq()
301 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in apduReq()
343 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferAtrReq()
385 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in powerReq()
426 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in resetSimReq()
469 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in transferCardReaderStatusReq()
513 uint8_t *buffer = (uint8_t *)calloc(1, encodedSize); in setTransferProtocolReq()
/device/google/cuttlefish_common/guest/hals/audio/legacy/policy/
Dvsoc_audio_policy_hal.cpp45 dap = (gce_audio_policy*) calloc(1, sizeof(*dap)); in Create()
122 dev = (audio_policy_device*) calloc(1, sizeof(*dev)); in Open()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dzutil.c296 extern voidp calloc OF((uInt items, uInt size));
307 (voidpf)calloc(items, size);
/device/generic/goldfish/vibrator/
Dvibrator_qemu.c57 vibrator_device_t *vibradev = calloc(1, sizeof(vibrator_device_t)); in qemu_vibra_open()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dzutil.c300 extern voidp calloc OF((uInt items, uInt size));
311 (voidpf)calloc(items, size);
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
Dzutil.c298 extern voidp calloc OF((uInt items, uInt size));
310 (voidpf)calloc(items, size);
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DMyAlloc.h46 #define calloc(count, size) MyAlloc ((count) * (size), __FILE__, __LINE__) macro
DMyAlloc.c29 #undef calloc
232 Tmp = calloc ( in MyAlloc()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DMyAlloc.h39 #define calloc(count, size) MyAlloc ((count) * (size), __FILE__, __LINE__) macro
DMyAlloc.c22 #undef calloc
247 Tmp = calloc ( in MyAlloc()
/device/generic/car/emulator/audio/driver/
Dext_pcm.c97 pipeline = calloc(1, sizeof(struct ext_mixer_pipeline)); in mixer_pipeline_write()
115 shared_ext_pcm = calloc(1, sizeof(struct ext_pcm)); in ext_pcm_open()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
DOnigurumaUefiPort.h32 #define calloc(n,s) AllocateZeroPool((n)*(s)) macro

1234