Searched refs:safe_pemalloc (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dinit.c54 temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent);
69 temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1382 char *buf = safe_pemalloc(1, request->vpath_len, 1 + document_root_len + 1 + sizeof("index.html"), 1);
1724 char *header_name = safe_pemalloc(client->current_header_name_len, 1, 1, 1);
/PHP_TRUNK/ext/phar/
H A Dutil.c1379 *signature = (char*)safe_pemalloc(digest_len, 2, 1, PHAR_G(persist));
/PHP_TRUNK/Zend/
H A Dzend_string.h115 zend_string *ret = (zend_string *)safe_pemalloc(n, m, ZEND_MM_ALIGNED_SIZE(_STR_HEADER_SIZE + l + 1), persistent);
H A Dzend_alloc.h197 #define safe_pemalloc(nmemb, size, offset, persistent) ((persistent)?_safe_malloc(nmemb, size, offset):safe_emalloc(nmemb, size, offset)) macro
H A Dzend_hash.c87 (ht)->arData = (Bucket *) safe_pemalloc((ht)->nTableSize, sizeof(Bucket), 0, (ht)->u.flags & HASH_FLAG_PERSISTENT); \
90 (ht)->arData = (Bucket *) safe_pemalloc((ht)->nTableSize, sizeof(Bucket) + sizeof(uint32_t), 0, (ht)->u.flags & HASH_FLAG_PERSISTENT); \
1205 target->arData = (Bucket *) safe_pemalloc(target->nTableSize, sizeof(Bucket), 0, 0);
1248 target->arData = (Bucket *) safe_pemalloc(target->nTableSize, sizeof(Bucket) + sizeof(uint32_t), 0, 0);
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c1295 sslsock->sni_certs = (php_openssl_sni_cert_t*)safe_pemalloc(sslsock->sni_cert_count,
/PHP_TRUNK/ext/bz2/
H A Dbz2_filter.c56 return (void *)safe_pemalloc(items, size, 0, ((php_bz2_filter_data*)opaque)->persistent);
/PHP_TRUNK/ext/zlib/
H A Dzlib_filter.c43 return (voidpf)safe_pemalloc(items, size, 0, ((php_zlib_filter_data*)opaque)->persistent);

Completed in 27 milliseconds