Home
last modified time | relevance | path

Searched refs:malloc (Results 26 – 50 of 100) sorted by path

1234

/PHP-7.4/ext/fileinfo/
H A Dconfig.m427 s0 = (char *) malloc(42);
28 s1 = (char *) malloc(8);
H A Dlibmagic.patch119 - if ((ml = CAST(struct mlist *, malloc(sizeof(*ml)))) == NULL)
199 - if ((ms->c.li = CAST(struct level_info *, malloc(len))) == NULL)
436 - if ((*ma = CAST(struct magic *, malloc(slen))) == NULL) {
558 - if ((m = CAST(struct magic *, malloc(len))) == NULL) {
750 - if ((map->p = CAST(void *, malloc(map->len))) == NULL) {
988 /* malloc size is a conservative overestimate; could be
1048 - if ((b->ebuf = malloc(b->elen)) == NULL)
1100 - return malloc(n);
2450 - malloc(len) :
3352 - if ((copy = malloc(len + 1)) == NULL)
[all …]
/PHP-7.4/ext/fileinfo/libmagic/
H A Dcompress.c770 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf()
H A Dis_json.c451 if ((p = malloc(st.st_size)) == NULL) in main()
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic20376 >22 belong &0x04 malloc may be from alternate RAM,
H A Dmagic私はガラスを食べられます20376 >22 belong &0x04 malloc may be from alternate RAM,
/PHP-7.4/ext/iconv/
H A Dconfig.m4170 char *out = malloc(out_left);
/PHP-7.4/ext/json/
H A Djson_parser.y31 #define YYMALLOC malloc
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_allocators.c60 return malloc(sz); in __mbfl__malloc()
H A Dmbfl_allocators.h38 void *(*malloc)(size_t); member
49 #define mbfl_malloc (__mbfl_allocators->malloc)
/PHP-7.4/ext/mysqli/tests/
H A Dbug49442.phpt69 … 'persistent' means that mysqlnd uses malloc() instead of emalloc(). nothing else. ext/mysqli will
71 Its only about malloc() vs. emalloc().
73 …However, the bug is about malloc() and efree(). You can make make mysqlnd use malloc() by either u…
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_alloc.c388 ret = malloc(REAL_SIZE(size)); in _mysqlnd_malloc()
393 ret = malloc(REAL_SIZE(size)); in _mysqlnd_malloc()
719 return malloc(size); in mysqlnd_zend_mm_malloc()
H A Dmysqlnd_auth.c602 ret = malloc(SCRAMBLE_LENGTH); in mysqlnd_native_auth_get_auth_data()
742 ret = malloc(*auth_data_len); in mysqlnd_sha256_public_encrypt()
823 ret = malloc(*auth_data_len); in mysqlnd_sha256_public_encrypt()
928 ret = malloc(passwd_len); in mysqlnd_sha256_auth_get_auth_data()
1110 ret = malloc(SHA256_LENGTH + 1); in mysqlnd_caching_sha2_get_auth_data()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_blacklist.c174 it = (zend_regexp_list*)malloc(sizeof(zend_regexp_list)); in zend_accel_blacklist_update_regexp()
302 blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); in zend_accel_blacklist_loadone()
H A Dzend_shared_alloc.c271 tmp_shared_segments = malloc(shared_segments_array_size); in zend_shared_alloc_shutdown()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_compile.c1195 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy()
1230 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy_with_tables()
1235 newtables = code->memctl.malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), in pcre2_code_copy_with_tables()
4579 cb->cx->memctl.malloc(newsize * sizeof(named_group), in parse_regex()
10019 uint32_t *heap_parsed_pattern = ccontext->memctl.malloc( in pcre2_compile()
10046 cb.groupinfo = ccontext->memctl.malloc( in pcre2_compile()
10125 ccontext->memctl.malloc(re_blocksize, ccontext->memctl.memory_data); in pcre2_compile()
H A Dpcre2_context.c59 return malloc(size); in default_malloc()
89 void *yield = (memctl == NULL)? malloc(size) : in PRIV()
90 memctl->malloc(size, memctl->memory_data); in PRIV()
95 newmemctl->malloc = default_malloc; in PRIV()
123 gcontext->memctl.malloc = private_malloc; in pcre2_general_context_create()
232 gcontext->memctl.malloc(sizeof(pcre2_real_general_context), in pcre2_general_context_copy()
244 ccontext->memctl.malloc(sizeof(pcre2_real_compile_context), in pcre2_compile_context_copy()
256 mcontext->memctl.malloc(sizeof(pcre2_real_match_context), in pcre2_match_context_copy()
269 ccontext->memctl.malloc(sizeof(pcre2_real_convert_context), in pcre2_convert_context_copy()
H A Dpcre2_dfa_match.c438 new = mb->memctl.malloc(newsize*sizeof(int), mb->memctl.memory_data); in more_workspace()
3927 match_data->subject = match_data->memctl.malloc(length, in pcre2_dfa_match()
H A Dpcre2_internal.h1766 void * (*malloc)(size_t, void *); member
H A Dpcre2_jit_compile.c70 return allocator->malloc(size, allocator->memory_data); in pcre2_jit_malloc()
H A Dpcre2_maketables.c78 uint8_t *yield = (uint8_t *)malloc(TABLES_LENGTH);
85 gcontext->memctl.malloc(TABLES_LENGTH, gcontext->memctl.memory_data) :
86 malloc(TABLES_LENGTH));
H A Dpcre2_match.c664 new = mb->memctl.malloc(newsize, mb->memctl.memory_data); in match()
6352 match_data->subject = match_data->memctl.malloc(length, in pcre2_match()
6637 mb->match_frames = mb->memctl.malloc(mb->frame_vector_size, in pcre2_match()
7262 match_data->subject = match_data->memctl.malloc(length, in pcre2_match()
H A Dpcre2_serialize.c109 bytes = memctl->malloc(total_size + sizeof(pcre2_memctl), memctl->memory_data); in pcre2_serialize_encode()
192 tables = memctl->malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), memctl->memory_data); in pcre2_serialize_decode()
/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitConfigInternal.h238 #define SLJIT_MALLOC(size, allocator_data) malloc(size)
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c350 char *ret = (char *) malloc(len + 1); in PHP_INI_END()

Completed in 271 milliseconds

1234