Home
last modified time | relevance | path

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

12345678910>>...28

/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/openldap/openldap/
H A D0001-librewrite-include-ldap_pvt_thread.h-before-redefini.patch5 calloc
8 ldap_pvt_thread.h which provides prototype for calloc() and conflicts
11 | void *calloc(size_t, size_t);
14 | ./rewrite-int.h:44:21: note: expanded from macro 'calloc'
15 | #define calloc(x,y) ber_memcalloc(x,y)
38 #define calloc(x,y) ber_memcalloc(x,y)
/OK3568_Linux_fs/external/xserver/xkb/
H A DXKBAlloc.c73 compat = calloc(1, sizeof(XkbCompatMapRec)); in XkbAllocCompatMap()
77 compat->sym_interpret = calloc(nSI, sizeof(XkbSymInterpretRec)); in XkbAllocCompatMap()
127 xkb->names = calloc(1, sizeof(XkbNamesRec)); in XkbAllocNames()
140 type->level_names = calloc(type->num_levels, sizeof(Atom)); in XkbAllocNames()
151 names->keys = calloc((xkb->max_key_code + 1), sizeof(XkbKeyNameRec)); in XkbAllocNames()
157 names->key_aliases = calloc(nTotalAliases, sizeof(XkbKeyAliasRec)); in XkbAllocNames()
182 names->radio_groups = calloc(nTotalRG, sizeof(Atom)); in XkbAllocNames()
259 xkb->ctrls = calloc(1, sizeof(XkbControlsRec)); in XkbAllocControls()
284 xkb->indicators = calloc(1, sizeof(XkbIndicatorRec)); in XkbAllocIndicatorMaps()
308 xkb = calloc(1, sizeof(XkbDescRec)); in XkbAllocKeyboard()
H A DXKBMAlloc.c61 map = calloc(1, sizeof(XkbClientMapRec)); in XkbAllocClientMap()
71 map->types = calloc(nTotalTypes, sizeof(XkbKeyTypeRec)); in XkbAllocClientMap()
98 map->syms = calloc(map->size_syms, sizeof(KeySym)); in XkbAllocClientMap()
108 map->key_sym_map = calloc(i, sizeof(XkbSymMapRec)); in XkbAllocClientMap()
120 map->modmap = calloc(i, sizeof(unsigned char)); in XkbAllocClientMap()
137 map = calloc(1, sizeof(XkbServerMapRec)); in XkbAllocServerMap()
154 map->explicit = calloc(i, sizeof(unsigned char)); in XkbAllocServerMap()
167 map->acts = calloc((nNewActions + 1), sizeof(XkbAction)); in XkbAllocServerMap()
190 map->key_acts = calloc(i, sizeof(unsigned short)); in XkbAllocServerMap()
202 map->behaviors = calloc(i, sizeof(XkbBehavior)); in XkbAllocServerMap()
[all …]
/OK3568_Linux_fs/external/mpp/utils/
H A Ddictionary.c74 new_val = (char**) calloc(d->size * 2, sizeof * d->val); in dictionary_grow()
75 new_key = (char**) calloc(d->size * 2, sizeof * d->key); in dictionary_grow()
76 new_hash = (unsigned*) calloc(d->size * 2, sizeof * d->hash); in dictionary_grow()
157 d = (dictionary*) calloc(1, sizeof * d) ; in dictionary_new()
161 d->val = (char**) calloc(size, sizeof * d->val); in dictionary_new()
162 d->key = (char**) calloc(size, sizeof * d->key); in dictionary_new()
163 d->hash = (unsigned*) calloc(size, sizeof * d->hash); in dictionary_new()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/openjpeg/openjpeg/
H A DCVE-2021-29338.patch29 + dirptr->filename_buf = (char*)calloc(num_images, OPJ_PATH_LEN * sizeof(
32 + dirptr->filename = (char**) calloc(num_images, sizeof(char*));
46 + dirptr->filename_buf = calloc((size_t) num_images, sizeof(char) * OPJ_PATH_LEN);
53 + dirptr->filename = (char**) calloc((size_t) num_images, sizeof(char*));
68 + dirptr->filename_buf = (char*) calloc((size_t) num_images,
75 + dirptr->filename = (char**) calloc((size_t) num_images, sizeof(char*));
/OK3568_Linux_fs/kernel/kernel/bpf/preload/iterators/
H A Diterators.skel.h50 obj = (struct iterators_bpf *)calloc(1, sizeof(*obj)); in iterators_bpf__open_opts()
108 s = (struct bpf_object_skeleton *)calloc(1, sizeof(*s)); in iterators_bpf__create_skeleton()
120 s->maps = (struct bpf_map_skeleton *)calloc(s->map_cnt, s->map_skel_sz); in iterators_bpf__create_skeleton()
131 s->progs = (struct bpf_prog_skeleton *)calloc(s->prog_cnt, s->prog_skel_sz); in iterators_bpf__create_skeleton()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dmalloc.h24 #define calloc(nmemb, size) \ macro
34 void *calloc(size_t nmemb, size_t size);
42 #define _calloc_r(r, s1, s2) calloc (s1, s2)
138 #define nex_calloc(nmemb, size) calloc(nmemb, size)
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dmalloc.h24 #define calloc(nmemb, size) \ macro
34 void *calloc(size_t nmemb, size_t size);
42 #define _calloc_r(r, s1, s2) calloc (s1, s2)
138 #define nex_calloc(nmemb, size) calloc(nmemb, size)
/OK3568_Linux_fs/kernel/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c351 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register()
352 mperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
353 aperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
354 mperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
355 aperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
H A Dsnb_idle.c166 is_valid = calloc(cpu_count, sizeof(int)); in snb_register()
168 previous_count[num] = calloc(cpu_count, in snb_register()
170 current_count[num] = calloc(cpu_count, in snb_register()
H A Dhsw_ext_idle.c161 is_valid = calloc(cpu_count, sizeof(int)); in hsw_ext_register()
163 previous_count[num] = calloc(cpu_count, in hsw_ext_register()
165 current_count[num] = calloc(cpu_count, in hsw_ext_register()
H A Dnhm_idle.c180 is_valid = calloc(cpu_count, sizeof(int)); in intel_nhm_register()
182 previous_count[num] = calloc(cpu_count, in intel_nhm_register()
184 current_count[num] = calloc(cpu_count, in intel_nhm_register()
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drohm-bu18rl82.c108 buf = calloc(1, length); in bu18rl82_parse_init_seq()
118 seq->reg_sequence = calloc(cnt, sizeof(struct des_reg_sequence)); in bu18rl82_parse_init_seq()
150 priv->serdes_init_seq = calloc(1, sizeof(*priv->serdes_init_seq)); in bu18rl82_get_init_seq()
180 bridge = calloc(1, sizeof(*bridge)); in bu18rl82_probe()
H A Drohm-bu18tl82.c135 buf = calloc(1, length); in bu18tl82_parse_init_seq()
145 seq->reg_sequence = calloc(cnt, sizeof(struct ser_reg_sequence)); in bu18tl82_parse_init_seq()
177 priv->serdes_init_seq = calloc(1, sizeof(*priv->serdes_init_seq)); in bu18tl82_get_init_seq()
235 bridge = calloc(1, sizeof(*bridge)); in bu18tl82_probe()
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0149-kern-mm-Fix-grub_debug_calloc-compilation-error.patch9 Fixes: 64e26162e (calloc: Make sure we always have an overflow-checking calloc() available)
25 grub_printf ("%s:%d: calloc (0x%" PRIxGRUB_SIZE ", 0x%" PRIxGRUB_SIZE ") = ",
H A D0004-calloc-Make-sure-we-always-have-an-overflow-checking.patch4 Subject: [PATCH] calloc: Make sure we always have an overflow-checking
5 calloc() available
11 an appropriate version of calloc() (i.e. grub_calloc(), xcalloc(), etc.)
41 + p = calloc (nmemb, size);
63 + ret = calloc (nmemb, size);
128 + grub_printf ("%s:%d: calloc (0x%" PRIxGRUB_SIZE ", 0x%" PRIxGRUB_SIZE ") = ",
189 calloc (grub_size_t size, grub_size_t nelem)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/
H A D0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch60 -void* calloc(size_t num, size_t size) noexcept
61 +void* calloc(size_t num, size_t size) NOEXECPT
63 if (!hooks::calloc) {
65 @@ -235,7 +241,7 @@ void* calloc(size_t num, size_t size) noexcept
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/drmDsp/
H A Ddev.c72 dev = (struct sp_dev*)calloc(1, sizeof(*dev)); in create_sp_dev()
100 dev->connectors = (drmModeConnectorPtr*)calloc(dev->num_connectors, sizeof(*dev->connectors)); in create_sp_dev()
115 dev->encoders = (drmModeEncoderPtr*)calloc(dev->num_encoders, sizeof(*dev->encoders)); in create_sp_dev()
129 dev->crtcs = (struct sp_crtc*)calloc(dev->num_crtcs, sizeof(struct sp_crtc)); in create_sp_dev()
151 dev->planes = (struct sp_plane*)calloc(dev->num_planes, sizeof(struct sp_plane)); in create_sp_dev()
/OK3568_Linux_fs/external/xserver/hw/kdrive/src/
H A Dkinfo.c35 ci = calloc(1, sizeof(KdCardInfo)); in KdCardInfoAdd()
78 si = calloc(1, sizeof(KdScreenInfo)); in KdScreenInfoAdd()
112 pi = (KdPointerInfo *) calloc(1, sizeof(KdPointerInfo)); in KdNewPointer()
/OK3568_Linux_fs/u-boot/lib/zlib/
H A Dzutil.c51 extern voidp calloc OF((uInt items, uInt size));
61 (voidpf)calloc(items, size); in zcalloc()
/OK3568_Linux_fs/external/xserver/hw/xquartz/mach-startup/
H A Dbundle_trampoline.c55 char *buf = calloc(1, bufsize); in executable_path()
59 buf = calloc(1, bufsize); in executable_path()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/
H A Dmalloc.h46 #define calloc(nmemb, size) \ macro
56 void *calloc(size_t nmemb, size_t size);
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/
H A Ddh.h55 #define MDH_new() calloc(1,sizeof(MDH))
105 #define MDH_new() calloc(1,sizeof(MDH))
118 dh->priv_key = calloc(1, sizeof(*dh->priv_key)); in MDH_generate_key()
128 dh->pub_key = calloc(1, sizeof(*dh->pub_key)); in MDH_generate_key()
152 k = calloc(1, sizeof(*k)); in MDH_compute_key()
/OK3568_Linux_fs/external/xserver/dix/
H A Dcursor.c249 pCurs = (CursorPtr) calloc(CURSOR_REC_SIZE + CURSOR_BITS_SIZE, 1); in AllocARGBCursor()
361 pCurs = (CursorPtr) calloc(CURSOR_REC_SIZE, 1); in AllocGlyphCursor()
397 pCurs = (CursorPtr) calloc(CURSOR_REC_SIZE + CURSOR_BITS_SIZE, 1); in AllocGlyphCursor()
404 pCurs = (CursorPtr) calloc(CURSOR_REC_SIZE, 1); in AllocGlyphCursor()
406 bits = (CursorBitsPtr) calloc(CURSOR_BITS_SIZE, 1); in AllocGlyphCursor()
/OK3568_Linux_fs/external/xserver/hw/xfree86/ramdac/
H A Dxf86RamDac.c44 infoRec = calloc(1, sizeof(RamDacRec)); in RamDacCreateInfoRec()
54 infoRec = calloc(1, sizeof(RamDacHelperRec)); in RamDacHelperCreateInfoRec()

12345678910>>...28