Searched refs:zvalue (Results 1 - 16 of 16) sorted by relevance

/PHP_5_5/ext/spl/
H A Dspl_observer.c151 zend_object_value zvalue;
152 memset(&zvalue, 0, sizeof(zend_object_value));
153 zvalue.handle = Z_OBJ_HANDLE_P(obj);
154 zvalue.handlers = Z_OBJ_HT_P(obj);
156 memcpy(hash, (char *)&zvalue, hash_len);
/PHP_5_5/ext/standard/
H A Dbrowscap.c58 static void browscap_entry_dtor_request(zval **zvalue) /* {{{ */ argument
60 if (Z_TYPE_PP(zvalue) == IS_ARRAY) {
61 zend_hash_destroy(Z_ARRVAL_PP(zvalue));
62 efree(Z_ARRVAL_PP(zvalue));
63 } else if (Z_TYPE_PP(zvalue) == IS_STRING) {
64 if (Z_STRVAL_PP(zvalue)) {
65 efree(Z_STRVAL_PP(zvalue));
68 efree(*zvalue);
72 static void browscap_entry_dtor_persistent(zval **zvalue) /* {{{ */ { argument
73 if (Z_TYPE_PP(zvalue)
[all...]
H A Dstreamsfuncs.c1035 zval *options = NULL, *zcontext = NULL, *zvalue = NULL; local
1042 &optionname, &optionlen, &zvalue) == FAILURE) {
1061 php_stream_context_set_option(context, wrappername, optionname, zvalue);
/PHP_5_5/main/
H A Dphp_ini.h27 PHPAPI void config_zval_dtor(zval *zvalue);
H A Dphp_ini.c192 PHPAPI void config_zval_dtor(zval *zvalue) argument
194 if (Z_TYPE_P(zvalue) == IS_ARRAY) {
195 zend_hash_destroy(Z_ARRVAL_P(zvalue));
196 free(Z_ARRVAL_P(zvalue));
197 } else if (Z_TYPE_P(zvalue) == IS_STRING) {
198 free(Z_STRVAL_P(zvalue));
/PHP_5_5/main/streams/
H A Duserspace.c964 zval *zvalue = NULL; local
982 MAKE_STD_ZVAL(zvalue);
983 ZVAL_LONG(zvalue, 0);
986 Z_LVAL_P(zvalue) |= PHP_LOCK_NB;
990 Z_LVAL_P(zvalue) |= PHP_LOCK_SH;
993 Z_LVAL_P(zvalue) |= PHP_LOCK_EX;
996 Z_LVAL_P(zvalue) |= PHP_LOCK_UN;
1000 args[0] = &zvalue;
1041 MAKE_STD_ZVAL(zvalue);
1042 ZVAL_LONG(zvalue, (lon
1367 zval *zfilename, *zoption, *zvalue, *zfuncname, *zretval; local
[all...]
/PHP_5_5/Zend/
H A Dzend_variables.c30 ZEND_API void _zval_dtor_func(zval *zvalue ZEND_FILE_LINE_DC)
32 switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) {
35 CHECK_ZVAL_STRING_REL(zvalue);
36 STR_FREE_REL(zvalue->value.str.val);
42 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) {
44 Z_TYPE_P(zvalue) = IS_NULL;
45 zend_hash_destroy(zvalue->value.ht);
46 FREE_HASHTABLE(zvalue->value.ht);
54 Z_OBJ_HT_P(zvalue)
158 _zval_dtor_wrapper(zval *zvalue) argument
168 _zval_copy_ctor_wrapper(zval *zvalue) argument
174 _zval_internal_dtor_wrapper(zval *zvalue) argument
[all...]
H A Dzend_variables.h28 ZEND_API void _zval_dtor_func(zval *zvalue ZEND_FILE_LINE_DC);
30 static zend_always_inline void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC)
32 if (zvalue->type <= IS_BOOL) {
35 _zval_dtor_func(zvalue ZEND_FILE_LINE_RELAY_CC);
38 ZEND_API void _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC);
40 static zend_always_inline void _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC)
42 if (zvalue->type <= IS_BOOL) {
45 _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_RELAY_CC);
52 ZEND_API void _zval_internal_dtor(zval *zvalue ZEND_FILE_LINE_DC);
53 ZEND_API void _zval_internal_ptr_dtor(zval **zvalue ZEND_FILE_LINE_D
[all...]
/PHP_5_5/ext/com_dotnet/
H A Dcom_variant.c402 zval *zvalue = NULL; local
413 "z!|ll", &zvalue, &vt, &codepage)) {
423 if (zvalue) {
424 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page TSRMLS_CC);
471 zval *zobj, *zvalue = NULL; local
475 "Oz!", &zobj, php_com_variant_class_entry, &zvalue)) {
494 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page TSRMLS_CC);
/PHP_5_5/ext/curl/
H A Dshare.c69 static int _php_curl_share_setopt(php_curlsh *sh, 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_PP(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.c2073 static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue TSRMLS_DC) /* {{{ */
2080 if(Z_BVAL_PP(zvalue) == 1) {
2235 convert_to_long_ex(zvalue);
2238 (PG(open_basedir) && *PG(open_basedir)) && (Z_LVAL_PP(zvalue) & CURLPROTO_FILE)) {
2243 error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue));
2246 convert_to_long_ex(zvalue);
2247 ch->safe_upload = (Z_LVAL_PP(zvalue) != 0);
2308 convert_to_string_ex(zvalue);
2309 return php_curl_option_str(ch, option, Z_STRVAL_PP(zvalue), Z_STRLEN_PP(zvalue),
2834 zval *zid, **zvalue; local
[all...]
H A Dmulti.c382 static int _php_curl_multi_setopt(php_curlm *mh, long option, zval **zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument
393 convert_to_long_ex(zvalue);
394 error = curl_multi_setopt(mh->multi, option, Z_LVAL_PP(zvalue));
415 zval *z_mh, **zvalue; local
419 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlZ", &z_mh, &options, &zvalue) == FAILURE) {
425 if (!_php_curl_multi_setopt(mh, options, zvalue, return_value TSRMLS_CC)) {
/PHP_5_5/sapi/cgi/
H A Dfastcgi.c1513 zval * zvalue; local
1514 zvalue = pemalloc(sizeof(*zvalue), 1);
1515 Z_TYPE_P(zvalue) = IS_STRING;
1516 Z_STRVAL_P(zvalue) = pestrndup(value, value_len, 1);
1517 Z_STRLEN_P(zvalue) = value_len;
1518 zend_hash_add(&fcgi_mgmt_vars, name, name_len, &zvalue, sizeof(zvalue), NULL);
/PHP_5_5/sapi/fpm/fpm/
H A Dfastcgi.c1082 zval * zvalue; local
1083 zvalue = pemalloc(sizeof(*zvalue), 1);
1084 Z_TYPE_P(zvalue) = IS_STRING;
1085 Z_STRVAL_P(zvalue) = pestrndup(value, value_len, 1);
1086 Z_STRLEN_P(zvalue) = value_len;
1087 zend_hash_add(&fcgi_mgmt_vars, name, name_len + 1, &zvalue, sizeof(zvalue), NULL);
/PHP_5_5/sapi/roxen/
H A Droxen.c516 MAKE_STD_ZVAL(zvalue); \
517 zvalue->type = IS_STRING; \
518 zvalue->value.str.len = strlen(buf); \
519 zvalue->value.str.val = estrndup(buf, zvalue->value.str.len); \
521 &zvalue, sizeof(zval *), NULL)
528 zval *zvalue; local
550 MAKE_STD_ZVAL(zvalue);
551 zvalue->type = IS_STRING;
552 zvalue
555 zend_hash_update(&EG(symbol_table), buf, buf_len + 1, &zvalue, sizeof(zval *), NULL); local
[all...]
/PHP_5_5/ext/opcache/
H A DZendAccelerator.c2191 zval *zvalue = *zval_ptr; local
2193 if (Z_DELREF_P(zvalue) == 0) {
2195 switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) {
2197 switch (Z_TYPE_P(zvalue) & ~IS_CONSTANT_INDEX) {
2204 GC_REMOVE_ZVAL_FROM_BUFFER(zvalue);
2206 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) {
2208 Z_TYPE_P(zvalue) = IS_NULL;
2209 zvalue->value.ht->pDestructor = (dtor_func_t)accel_fast_zval_ptr_dtor;
2210 accel_fast_hash_destroy(zvalue
[all...]

Completed in 28 milliseconds