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

/PHP_TRUNK/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.c2068 static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue TSRMLS_DC) /* {{{ */
2075 if(Z_BVAL_PP(zvalue) == 1) {
2229 convert_to_long_ex(zvalue);
2232 (PG(open_basedir) && *PG(open_basedir)) && (Z_LVAL_PP(zvalue) & CURLPROTO_FILE)) {
2237 error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue));
2240 convert_to_long_ex(zvalue);
2241 ch->safe_upload = (Z_LVAL_PP(zvalue) != 0);
2302 convert_to_string_ex(zvalue);
2303 return php_curl_option_str(ch, option, Z_STRVAL_PP(zvalue), Z_STRLEN_PP(zvalue),
2830 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_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c33 static void zend_optimizer_zval_dtor_wrapper(zval *zvalue) argument
35 zval_dtor(zvalue);
/PHP_TRUNK/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.c1024 zval *options = NULL, *zcontext = NULL, *zvalue = NULL; local
1031 &optionname, &optionlen, &zvalue) == FAILURE) {
1050 php_stream_context_set_option(context, wrappername, optionname, zvalue);
/PHP_TRUNK/main/streams/
H A Duserspace.c965 zval *zvalue = NULL; local
983 MAKE_STD_ZVAL(zvalue);
984 ZVAL_LONG(zvalue, 0);
987 Z_LVAL_P(zvalue) |= PHP_LOCK_NB;
991 Z_LVAL_P(zvalue) |= PHP_LOCK_SH;
994 Z_LVAL_P(zvalue) |= PHP_LOCK_EX;
997 Z_LVAL_P(zvalue) |= PHP_LOCK_UN;
1001 args[0] = &zvalue;
1042 MAKE_STD_ZVAL(zvalue);
1043 ZVAL_LONG(zvalue, (lon
1372 zval *zfilename, *zoption, *zvalue, *zfuncname, *zretval; local
[all...]
/PHP_TRUNK/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_TRUNK/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_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/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));
/PHP_TRUNK/Zend/
H A Dzend_variables.c31 ZEND_API void _zval_dtor_func(zval *zvalue ZEND_FILE_LINE_DC)
33 switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) {
36 CHECK_ZVAL_STRING_REL(zvalue);
37 str_efree_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);
51 zend_ast_destroy(Z_AST_P(zvalue));
163 _zval_dtor_wrapper(zval *zvalue) argument
173 _zval_copy_ctor_wrapper(zval *zvalue) argument
179 _zval_internal_dtor_wrapper(zval *zvalue) argument
[all...]
/PHP_TRUNK/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_TRUNK/ext/opcache/
H A DZendAccelerator.c2204 zval *zvalue = *zval_ptr; local
2206 if (Z_DELREF_P(zvalue) == 0) {
2208 switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) {
2210 switch (Z_TYPE_P(zvalue) & ~IS_CONSTANT_INDEX) {
2219 GC_REMOVE_ZVAL_FROM_BUFFER(zvalue);
2221 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) {
2223 Z_TYPE_P(zvalue) = IS_NULL;
2224 zvalue->value.ht->pDestructor = (dtor_func_t)accel_fast_zval_ptr_dtor;
2225 accel_fast_hash_destroy(zvalue
[all...]

Completed in 27 milliseconds