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

/PHP_TRUNK/ext/com_dotnet/
H A Dcom_variant.c441 zval *zvalue = NULL; local
452 "z!|ll", &zvalue, &vt, &codepage)) {
462 if (zvalue) {
463 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page);
510 zval *zobj, *zvalue = NULL; local
514 "Oz!", &zobj, php_com_variant_class_entry, &zvalue)) {
533 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.c1098 zval zvalue; local
1099 ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1));
1100 zend_hash_str_add(&fcgi_mgmt_vars, name, name_len, &zvalue);
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c1547 zval zvalue; local
1548 ZVAL_NEW_STR(&zvalue, zend_string_init(value, value_len, 1));
1549 zend_hash_str_add(&fcgi_mgmt_vars, name, name_len, &zvalue);
/PHP_TRUNK/ext/curl/
H A Dshare.c72 static int _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_value) /* {{{ */ argument
79 convert_to_long_ex(zvalue);
80 error = curl_share_setopt(sh->share, option, Z_LVAL_P(zvalue));
101 zval *zid, *zvalue; local
105 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlz", &zid, &options, &zvalue) == FAILURE) {
113 if (!_php_curl_share_setopt(sh, options, zvalue, return_value)) {
H A Dmulti.c408 static int _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, zval *return_value) /* {{{ */ argument
419 convert_to_long_ex(zvalue);
420 error = curl_multi_setopt(mh->multi, option, Z_LVAL_P(zvalue));
441 zval *z_mh, *zvalue; local
445 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlz", &z_mh, &options, &zvalue) == FAILURE) {
453 if (!_php_curl_multi_setopt(mh, options, zvalue, return_value)) {
H A Dinterface.c2014 static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{ */ argument
2022 lval = zval_get_long(zvalue);
2177 lval = zval_get_long(zvalue);
2188 lval = zval_get_long(zvalue);
2253 zend_string *str = zval_get_string(zvalue);
2275 if (Z_ISNULL_P(zvalue)) {
2278 zend_string *str = zval_get_string(zvalue);
2289 zend_string *str = zval_get_string(zvalue);
2298 zend_string *str = zval_get_string(zvalue);
2312 if (Z_TYPE_P(zvalue) !
2770 zval *zid, *zvalue; local
[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/ext/standard/
H A Dstreamsfuncs.c966 zval *options = NULL, *zcontext = NULL, *zvalue = NULL; local
973 &optionname, &optionlen, &zvalue) == FAILURE) {
992 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/ext/opcache/
H A DZendAccelerator.c1889 static void accel_fast_zval_dtor(zval *zvalue);
1903 static void accel_fast_zval_dtor(zval *zvalue) argument
1905 if (Z_REFCOUNTED_P(zvalue) && Z_DELREF_P(zvalue) == 0) {
1906 switch (Z_TYPE_P(zvalue)) {
1908 GC_REMOVE_FROM_BUFFER(Z_ARR_P(zvalue));
1909 if (Z_ARR_P(zvalue) != &EG(symbol_table)) {
1911 ZVAL_NULL(zvalue);
1912 accel_fast_hash_destroy(Z_ARRVAL_P(zvalue));
1919 OBJ_RELEASE(Z_OBJ_P(zvalue));
[all...]
/PHP_TRUNK/ext/json/
H A Djson_parser.tab.c207 void php_json_parser_object_update(php_json_parser *parser, zval *object, zval *zkey, zval *zvalue);
209 void php_json_parser_array_append(zval *array, zval *zvalue);
1817 void php_json_parser_object_update(php_json_parser *parser, zval *object, zval *zkey, zval *zvalue) argument
1823 add_assoc_zval_ex(object, key, key_len, zvalue);
1829 add_property_zval_ex(object, key, key_len, zvalue);
1831 if (Z_REFCOUNTED_P(zvalue)) {
1832 Z_DELREF_P(zvalue);
1843 void php_json_parser_array_append(zval *array, zval *zvalue) argument
1845 add_next_index_zval(array, zvalue);
/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/Zend/
H A Dzend_variables.c138 ZEND_API void _zval_internal_dtor(zval *zvalue ZEND_FILE_LINE_DC)
140 switch (Z_TYPE_P(zvalue)) {
143 CHECK_ZVAL_STRING_REL(Z_STR_P(zvalue));
144 zend_string_release(Z_STR_P(zvalue));
153 zend_reference *ref = (zend_reference*)Z_REF_P(zvalue);
169 ZEND_API void _zval_internal_dtor_for_ptr(zval *zvalue ZEND_FILE_LINE_DC)
171 switch (Z_TYPE_P(zvalue)) {
174 CHECK_ZVAL_STRING_REL(Z_STR_P(zvalue));
175 zend_string_free(Z_STR_P(zvalue));
184 zend_reference *ref = (zend_reference*)Z_REF_P(zvalue);
251 _zval_dtor_wrapper(zval *zvalue) argument
258 _zval_internal_dtor_wrapper(zval *zvalue) argument
[all...]

Completed in 40 milliseconds