Home
last modified time | relevance | path

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

12

/PHP-5.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_allocators.h39 void *(*calloc)(unsigned int, unsigned int); member
50 #define mbfl_calloc (__mbfl_allocators->calloc)
H A Dmbfl_allocators.c86 return calloc(nelems, szelem); in __mbfl__calloc()
/PHP-5.4/ext/date/lib/
H A Dtimelib.c36 t = calloc(1, sizeof(timelib_time)); in timelib_time_ctor()
44 t = calloc(1, sizeof(timelib_rel_time)); in timelib_rel_time_ctor()
94 t = calloc(1, sizeof(timelib_time_offset)); in timelib_time_offset_ctor()
108 t = calloc(1, sizeof(timelib_tzinfo)); in timelib_tzinfo_ctor()
H A Dparse_iso_intervals.re127 char *tmp = calloc(1, s->cur - s->tok + 1);
151 str = calloc(1, end - begin + 1);
H A Dparse_date.re438 char *tmp = calloc(1, s->cur - s->tok + 1);
465 str = calloc(1, end - begin + 1);
505 str = calloc(1, end - begin + 1);
580 word = calloc(1, end - begin + 1);
613 word = calloc(1, end - begin + 1);
660 word = calloc(1, end - begin + 1);
774 word = calloc(1, end - begin + 1);
H A Dparse_iso_intervals.c129 char *tmp = calloc(1, s->cur - s->tok + 1); in timelib_string()
153 str = calloc(1, end - begin + 1); in timelib_get_nr()
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_statistics.c247 *stats = calloc(1, sizeof(MYSQLND_STATS)); in mysqlnd_stats_init()
251 (*stats)->values = calloc(statistic_count, sizeof(uint64_t)); in mysqlnd_stats_init()
252 (*stats)->triggers = calloc(statistic_count, sizeof(mysqlnd_stat_trigger)); in mysqlnd_stats_init()
H A Dmysqlnd_alloc.c441 ret = calloc(nmemb, REAL_SIZE(size)); in _mysqlnd_calloc()
709 return calloc(nmemb, size); in mysqlnd_zend_mm_calloc()
H A Dmysqlnd_debug.c727 MYSQLND_DEBUG *ret = calloc(1, sizeof(MYSQLND_DEBUG)); in mysqlnd_debug_init()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_arrays.h34 a->data = calloc(sz, initial_num); in fpm_array_init()
/PHP-5.4/ext/fileinfo/libmagic/
H A Dencoding.c76 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
H A Dcdf.c409 if ((sat->sat_tab = CAST(cdf_secid_t *, calloc(sat->sat_len, ss))) in cdf_read_sat()
423 if ((msa = CAST(cdf_secid_t *, calloc(1, ss))) == NULL) in cdf_read_sat()
507 scn->sst_tab = calloc(scn->sst_len, ss); in cdf_read_long_sector_chain()
553 scn->sst_tab = calloc(scn->sst_len, ss); in cdf_read_short_sector_chain()
613 calloc(dir->dir_len, sizeof(dir->dir_tab[0]))); in cdf_read_dir()
662 ssat->sat_tab = CAST(cdf_secid_t *, calloc(ssat->sat_len, ss)); in cdf_read_ssat()
/PHP-5.4/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c307 XMLRPC_REQUEST xRequest = calloc(1, sizeof(STRUCT_XMLRPC_REQUEST)); in XMLRPC_RequestNew()
860 XMLRPC_VALUE v = calloc(1, sizeof(STRUCT_XMLRPC_VALUE)); in XMLRPC_CreateValueEmpty()
1052 value->v = calloc(1, sizeof(STRUCT_XMLRPC_VECTOR)); in XMLRPC_SetIsVector()
2321 XMLRPC_SERVER server = calloc(1, sizeof(STRUCT_XMLRPC_SERVER)); in XMLRPC_ServerCreate()
H A Dxmlrpc_introspection.c581 doc_method* dm = calloc(1, sizeof(doc_method)); in XMLRPC_ServerRegisterIntrospectionCallback()
H A Dxml_element.c266 xml_element* elem = calloc(1, sizeof(xml_element)); in xml_elem_new()
H A Dxml_to_soap.c90 ai = (struct array_info*)calloc(1, sizeof(struct array_info)); in parse_array_type_info()
/PHP-5.4/TSRM/
H A DTSRM.c139 tsrm_tls_table = (tsrm_tls_entry **) calloc(tsrm_tls_table_size, sizeof(tsrm_tls_entry *)); in tsrm_startup()
147 …resource_types_table = (tsrm_resource_type *) calloc(resource_types_table_size, sizeof(tsrm_resour… in tsrm_startup()
/PHP-5.4/ext/gd/libgd/
H A Dwebpimg.c425 if ((*p_Y = (uint8 *)(calloc(y_stride * y_height in VPXDecode()
724 *p_out = (unsigned char*)(calloc(container_size + pkt->data.frame.sz, in VPXEncode()
/PHP-5.4/ext/session/
H A Dmod_mm.c268 ps_mm_instance = calloc(sizeof(*ps_mm_instance), 1); in PHP_MINIT_FUNCTION()
/PHP-5.4/ext/mbstring/oniguruma/
H A Dregint.h99 #define xcalloc calloc
/PHP-5.4/ext/mysqli/
H A Dmysqli_nonapi.c196 le.ptr = plist = calloc(1, sizeof(mysqli_plist_entry));
H A Dmysqli.c1372 if (!(*ptr= data= ((mysqli_local_infile *)calloc(1, sizeof(mysqli_local_infile))))) { in php_local_infile_init()
/PHP-5.4/Zend/
H A Dzend.c527 …compiler_globals->static_members_table = calloc(compiler_globals->last_static_member, sizeof(zval*… in compiler_globals_ctor()
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch160 - if ((ms = CAST(struct magic_set *, calloc((size_t)1,
215 - if ((mlist = CAST(struct mlist *, calloc(1, sizeof(*mlist)))) == NULL) {
389 - if ((map = CAST(struct magic_map *, calloc(1, sizeof(*map)))) == NULL) {
575 - if ((map = CAST(struct magic_map *, calloc(1, sizeof(*map)))) == NULL) {
/PHP-5.4/sapi/cgi/
H A Dfastcgi.c744 fcgi_request *req = (fcgi_request*)calloc(1, sizeof(fcgi_request)); in fcgi_init_request()

Completed in 95 milliseconds

12