Searched defs:zvalue (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_variables.c147 ZEND_API void _zval_internal_dtor(zval *zvalue ZEND_FILE_LINE_DC)
149 switch (Z_TYPE_P(zvalue)) {
152 CHECK_ZVAL_STRING_REL(Z_STR_P(zvalue));
153 zend_string_release(Z_STR_P(zvalue));
162 zend_reference *ref = (zend_reference*)Z_REF_P(zvalue);
178 ZEND_API void _zval_internal_dtor_for_ptr(zval *zvalue ZEND_FILE_LINE_DC)
180 switch (Z_TYPE_P(zvalue)) {
183 CHECK_ZVAL_STRING_REL(Z_STR_P(zvalue));
184 zend_string_free(Z_STR_P(zvalue));
193 zend_reference *ref = (zend_reference*)Z_REF_P(zvalue);
275 _zval_dtor_wrapper(zval *zvalue) argument
282 _zval_copy_ctor_wrapper(zval *zvalue) argument
288 _zval_internal_dtor_wrapper(zval *zvalue) argument
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c30 static void zend_optimizer_zval_dtor_wrapper(zval *zvalue) argument
32 zval_dtor(zvalue);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_variant.c413 zval *zvalue = NULL; local
424 "z!|ll", &zvalue, &vt, &codepage)) {
434 if (zvalue) {
435 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page TSRMLS_CC);
482 zval *zobj, *zvalue = NULL; local
486 "Oz!", &zobj, php_com_variant_class_entry, &zvalue)) {
505 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page TSRMLS_CC);
/PHP_TRUNK/ext/curl/
H A Dmulti.c378 static int _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument
389 convert_to_long_ex(zvalue);
390 error = curl_multi_setopt(mh->multi, option, Z_LVAL_P(zvalue));
411 zval *z_mh, *zvalue; local
415 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &z_mh, &options, &zvalue) == FAILURE) {
421 if (!_php_curl_multi_setopt(mh, options, zvalue, return_value TSRMLS_CC)) {
H A Dshare.c69 static int _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument
76 convert_to_long_ex(zvalue);
77 error = curl_share_setopt(sh->share, option, Z_LVAL_P(zvalue));
98 zval *zid, *zvalue; local
102 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &zid, &options, &zvalue) == FAILURE) {
108 if (!_php_curl_share_setopt(sh, options, zvalue, return_value TSRMLS_CC)) {
H A Dinterface.c1989 static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue TSRMLS_DC) /* {{{ */
1996 convert_to_long(zvalue);
1997 if (Z_LVAL_P(zvalue) == 1) {
2151 convert_to_long_ex(zvalue);
2154 (PG(open_basedir) && *PG(open_basedir)) && (Z_LVAL_P(zvalue) & CURLPROTO_FILE)) {
2159 error = curl_easy_setopt(ch->cp, option, Z_LVAL_P(zvalue));
2162 convert_to_long_ex(zvalue);
2163 ch->safe_upload = (Z_LVAL_P(zvalue) != 0);
2224 convert_to_string_ex(zvalue);
2225 return php_curl_option_str(ch, option, Z_STRVAL_P(zvalue), Z_STRLEN_
2746 zval *zid, *zvalue; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c963 zval *options = NULL, *zcontext = NULL, *zvalue = NULL; local
970 &optionname, &optionlen, &zvalue) == FAILURE) {
989 php_stream_context_set_option(context, wrappername, optionname, zvalue);
H A Dbrowscap.c58 static void browscap_entry_dtor_request(zval *zvalue) /* {{{ */ argument
60 if (Z_TYPE_P(zvalue) == IS_ARRAY) {
61 zend_hash_destroy(Z_ARRVAL_P(zvalue));
62 efree(Z_ARR_P(zvalue));
63 } else if (Z_TYPE_P(zvalue) == IS_STRING) {
64 zend_string_release(Z_STR_P(zvalue));
69 static void browscap_entry_dtor_persistent(zval *zvalue) /* {{{ */ { argument
70 if (Z_TYPE_P(zvalue) == IS_ARRAY) {
71 zend_hash_destroy(Z_ARRVAL_P(zvalue));
72 free(Z_ARR_P(zvalue));
[all...]
/PHP_TRUNK/main/
H A Dphp_ini.c197 PHPAPI void config_zval_dtor(zval *zvalue) argument
199 if (Z_TYPE_P(zvalue) == IS_ARRAY) {
200 zend_hash_destroy(Z_ARRVAL_P(zvalue));
201 free(Z_ARR_P(zvalue));
202 } else if (Z_TYPE_P(zvalue) == IS_STRING) {
203 zend_string_release(Z_STR_P(zvalue));
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c1512 zval zvalue; local
1513 ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1));
1514 zend_hash_str_add(&fcgi_mgmt_vars, name, name_len, &zvalue);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.c1066 zval zvalue; local
1067 ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1));
1068 zend_hash_str_add(&fcgi_mgmt_vars, name, name_len, &zvalue);
/PHP_TRUNK/sapi/roxen/
H A Droxen.c515 MAKE_STD_ZVAL(zvalue); \
516 zvalue->type = IS_STRING; \
517 zvalue->value.str.len = strlen(buf); \
518 zvalue->value.str.val = estrndup(buf, zvalue->value.str.len); \
520 &zvalue, sizeof(zval *), NULL)
527 zval *zvalue; local
549 MAKE_STD_ZVAL(zvalue);
550 zvalue->type = IS_STRING;
551 zvalue
554 zend_hash_update(&EG(symbol_table), buf, buf_len + 1, &zvalue, sizeof(zval *), NULL); local
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c1922 static void accel_fast_zval_dtor(zval *zvalue);
1936 static void accel_fast_zval_dtor(zval *zvalue) argument
1938 if (Z_REFCOUNTED_P(zvalue) && Z_DELREF_P(zvalue) == 0) {
1939 switch (Z_TYPE_P(zvalue)) {
1942 GC_REMOVE_FROM_BUFFER(Z_ARR_P(zvalue));
1943 if (Z_ARR_P(zvalue) != &EG(symbol_table)) {
1945 ZVAL_NULL(zvalue);
1946 accel_fast_hash_destroy(Z_ARRVAL_P(zvalue));
1954 OBJ_RELEASE(Z_OBJ_P(zvalue));
[all...]

Completed in 32 milliseconds