Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dreggnu.c130 *reg = (regex_t* )xmalloc(sizeof(regex_t)); in re_alloc_pattern()
Dregexec.c87 node = (OnigCaptureTreeNode* )xmalloc(sizeof(OnigCaptureTreeNode)); in history_node_new()
110 (OnigCaptureTreeNode** )xmalloc(sizeof(OnigCaptureTreeNode*) * n); in history_tree_add_child()
183 region->beg = (int* )xmalloc(n * sizeof(int)); in onig_region_resize()
184 region->end = (int* )xmalloc(n * sizeof(int)); in onig_region_resize()
245 r = (OnigRegion* )xmalloc(sizeof(OnigRegion)); in onig_region_new()
278 to->beg = (int* )xmalloc(RREGC_SIZE); in onig_region_copy()
279 to->end = (int* )xmalloc(RREGC_SIZE); in onig_region_copy()
365 (msa).state_check_buff = (void* )xmalloc(size);\
398 alloc_addr = (char* )xmalloc(sizeof(char*) * (ptr_num));\
405 alloc_addr = (char* )xmalloc(sizeof(char*) * (ptr_num)\
[all …]
Dregparse.c117 *rto = to = (BBuf* )xmalloc(sizeof(BBuf)); in bbuf_clone()
240 r = (UChar* )xmalloc(slen + term_len); in strdup_with_null()
287 r = (UChar* )xmalloc(capa + 1); in strcat_capa()
301 r = (UChar* )xmalloc(capa + 1); in strcat_capa_from_static()
382 key = (st_str_end_key* )xmalloc(sizeof(st_str_end_key)); in onig_st_insert_strend()
739 e = (NameEntry* )xmalloc(sizeof(NameEntry)); in name_add()
758 t = (NameTable* )xmalloc(sizeof(NameTable)); in name_add()
764 t->e = (NameEntry* )xmalloc(sizeof(NameEntry) * alloc); in name_add()
812 e->back_refs = (int* )xmalloc(sizeof(int) * alloc); in name_add()
968 p = (Node** )xmalloc(sizeof(Node*) * alloc); in scan_env_add_mem_entry()
[all …]
Dregposix.c185 pm = (regmatch_t* )xmalloc(sizeof(regmatch_t) in regexec()
Dst.c55 #define alloc(type) (type*)xmalloc((unsigned)sizeof(type))
Dregcomp.c60 UChar* r = (UChar* )xmalloc(len + 1); in str_dup()
150 buf->p = (UChar* )xmalloc(size); in onig_bbuf_init()
167 p = (UnsetAddr* )xmalloc(sizeof(UnsetAddr)* size); in unset_addr_list_init()
661 p = (OnigRepeatRange* )xmalloc(sizeof(OnigRepeatRange) * REPEAT_RANGE_ALLOC); in entry_repeat_range()
1912 map = (GroupNumRemap* )xmalloc(sizeof(GroupNumRemap) * (env->num_mem + 1)); in disable_noname_group_capture()
3213 sbuf = (UChar* )xmalloc(sbuf_size); in update_string_node_case_fold()
3937 *int_skip = (int* )xmalloc(sizeof(int) * ONIG_CHAR_TABLE_SIZE); in set_bm_skip()
4910 reg->exact = (UChar* )xmalloc(e->len); in set_optimize_exact_info()
5560 *reg = (regex_t* )xmalloc(sizeof(regex_t)); in onig_new()
5605 item = (OnigEndCallListItemType* )xmalloc(sizeof(*item)); in onig_add_end_call()
Dregenc.c851 list = (const OnigCodePoint** )xmalloc(size); in resize_property_list()
Dregint.h104 #define xmalloc malloc macro
/device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/
Dfiptool.c116 static void *xmalloc(size_t size, const char *msg) in xmalloc() function
128 return memset(xmalloc(size, msg), 0, size); in xzalloc()
289 buf = xmalloc(st.st_size, "failed to load file into memory"); in parse_fip()
326 image->buffer = xmalloc(toc_entry->size, in parse_fip()
383 image->buffer = xmalloc(st.st_size, "failed to allocate image buffer"); in read_image_from_file()
/device/linaro/bootloader/edk2/AppPkg/Applications/Enquire/
DEnquire.c942 xmalloc(unsigned size)