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

/PHP_5_3/ext/com_dotnet/
H A Dcom_variant.c401 zval *zvalue = NULL; local
412 "z!|ll", &zvalue, &vt, &codepage)) {
422 if (zvalue) {
423 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page TSRMLS_CC);
470 zval *zobj, *zvalue = NULL; local
474 "Oz!", &zobj, php_com_variant_class_entry, &zvalue)) {
493 php_com_variant_from_zval(&obj->v, zvalue, obj->code_page TSRMLS_CC);
/PHP_5_3/ext/curl/
H A Dinterface.c1686 static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument
1692 if(Z_BVAL_PP(zvalue) == 1) {
1785 convert_to_long_ex(zvalue);
1788 ((PG(open_basedir) && *PG(open_basedir)) || PG(safe_mode)) && (Z_LVAL_PP(zvalue) & CURLPROTO_FILE)) {
1794 error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue));
1799 convert_to_long_ex(zvalue);
1800 error = curl_easy_setopt(ch->cp, option, (curl_off_t)Z_LVAL_PP(zvalue));
1804 convert_to_long_ex(zvalue);
1806 if (Z_LVAL_PP(zvalue) != 0) {
1812 error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue));
2230 zval *zid, **zvalue; local
[all...]
/PHP_5_3/main/
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));
H A Dphp_ini.h27 PHPAPI void config_zval_dtor(zval *zvalue);
/PHP_5_3/main/streams/
H A Duserspace.c937 zval *zvalue = NULL; local
955 MAKE_STD_ZVAL(zvalue);
956 ZVAL_LONG(zvalue, 0);
959 Z_LVAL_P(zvalue) |= PHP_LOCK_NB;
963 Z_LVAL_P(zvalue) |= PHP_LOCK_SH;
966 Z_LVAL_P(zvalue) |= PHP_LOCK_EX;
969 Z_LVAL_P(zvalue) |= PHP_LOCK_UN;
973 args[0] = &zvalue;
1010 ALLOC_INIT_ZVAL(zvalue);
1014 args[1] = &zvalue;
[all...]
/PHP_5_3/sapi/cgi/
H A Dfastcgi.c1280 zval * zvalue; local
1281 zvalue = pemalloc(sizeof(*zvalue), 1);
1282 Z_TYPE_P(zvalue) = IS_STRING;
1283 Z_STRVAL_P(zvalue) = pestrndup(value, value_len, 1);
1284 Z_STRLEN_P(zvalue) = value_len;
1285 zend_hash_add(&fcgi_mgmt_vars, name, name_len + 1, &zvalue, sizeof(zvalue), NULL);
/PHP_5_3/sapi/fpm/fpm/
H A Dfastcgi.c1081 zval * zvalue; local
1082 zvalue = pemalloc(sizeof(*zvalue), 1);
1083 Z_TYPE_P(zvalue) = IS_STRING;
1084 Z_STRVAL_P(zvalue) = pestrndup(value, value_len, 1);
1085 Z_STRLEN_P(zvalue) = value_len;
1086 zend_hash_add(&fcgi_mgmt_vars, name, name_len + 1, &zvalue, sizeof(zvalue), NULL);
/PHP_5_3/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_3/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)
156 _zval_dtor_wrapper(zval *zvalue) argument
177 _zval_copy_ctor_wrapper(zval *zvalue) argument
183 _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 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 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);
51 ZEND_API void _zval_internal_dtor(zval *zvalue ZEND_FILE_LINE_DC);
52 ZEND_API void _zval_internal_ptr_dtor(zval **zvalue ZEND_FILE_LINE_D
[all...]
/PHP_5_3/ext/standard/
H A Dstreamsfuncs.c1028 zval *options = NULL, *zcontext = NULL, *zvalue = NULL; local
1035 &optionname, &optionlen, &zvalue) == FAILURE) {
1054 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_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...]
/PHP_5_3/ext/spl/
H A Dspl_observer.c126 zend_object_value zvalue; local
127 memset(&zvalue, 0, sizeof(zend_object_value));
128 zvalue.handle = Z_OBJ_HANDLE_P(obj);
129 zvalue.handlers = Z_OBJ_HT_P(obj);
130 pzvalue = &zvalue;
160 zend_object_value zvalue; local
161 memset(&zvalue, 0, sizeof(zend_object_value));
162 zvalue.handle = Z_OBJ_HANDLE_P(obj);
163 zvalue.handlers = Z_OBJ_HT_P(obj);
164 zend_hash_update(&intern->storage, (char*)&zvalue, sizeo
[all...]

Completed in 38 milliseconds