/PHP-5.3/Zend/ |
H A D | zend_operators.c | 494 Z_LVAL_P(op) = (Z_LVAL_P(op) ? 1 : 0); in convert_to_boolean() 766 long lval = Z_LVAL_P(op1) + Z_LVAL_P(op2); in add_function() 828 long lval = Z_LVAL_P(op1) - Z_LVAL_P(op2); in sub_function() 877 …ZEND_SIGNED_MULTIPLY_LONG(Z_LVAL_P(op1),Z_LVAL_P(op2), Z_LVAL_P(result),Z_DVAL_P(result),overflow); in mul_function() 920 } else if (Z_LVAL_P(op2) == -1 && Z_LVAL_P(op1) == LONG_MIN) { in div_function() 925 if (Z_LVAL_P(op1) % Z_LVAL_P(op2) == 0) { /* integer */ in div_function() 926 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function() 928 ZVAL_DOUBLE(result, ((double) Z_LVAL_P(op1)) / Z_LVAL_P(op2)); in div_function() 1386 ZVAL_LONG(result, Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0)); in compare_function() 1571 Z_LVAL_P(result) = (Z_LVAL_P(op1) == Z_LVAL_P(op2)); in is_identical_function() [all …]
|
H A D | zend_execute.c | 535 (Z_TYPE_P(object) == IS_BOOL && Z_LVAL_P(object) == 0) || in zend_assign_to_object() 842 …_STRICT, "Resource ID#%ld used as offset, casting to integer (%ld)", Z_LVAL_P(dim), Z_LVAL_P(dim)); in zend_fetch_dimension_address_inner() 846 index = Z_LVAL_P(dim); in zend_fetch_dimension_address_inner() 966 result->str_offset.offset = Z_LVAL_P(dim); in zend_fetch_dimension_address() 1016 if (type != BP_VAR_UNSET && Z_LVAL_P(container)==0) { in zend_fetch_dimension_address() 1082 if ((Z_LVAL_P(dim) < 0 || Z_STRLEN_P(container) <= Z_LVAL_P(dim)) && type != BP_VAR_IS) { in zend_fetch_dimension_address_read() 1083 zend_error(E_NOTICE, "Uninitialized string offset: %ld", Z_LVAL_P(dim)); in zend_fetch_dimension_address_read() 1087 result->str_offset.offset = Z_LVAL_P(dim); in zend_fetch_dimension_address_read() 1152 (Z_TYPE_P(container) == IS_BOOL && Z_LVAL_P(container)==0) || in zend_fetch_property_address()
|
/PHP-5.3/ext/ctype/ |
H A D | ctype.c | 150 if (Z_LVAL_P(c) <= 255 && Z_LVAL_P(c) >= 0) { \ 151 RETURN_BOOL(iswhat(Z_LVAL_P(c))); \ 152 } else if (Z_LVAL_P(c) >= -128 && Z_LVAL_P(c) < 0) { \ 153 RETURN_BOOL(iswhat(Z_LVAL_P(c) + 256)); \
|
/PHP-5.3/ext/mysqli/ |
H A D | mysqli_driver.c | 43 MyG(value) = Z_LVAL_P(value) > 0; \ 58 MyG(value) = Z_LVAL_P(value); \ 80 MyG(report_mode) = Z_LVAL_P(value); in driver_report_write()
|
/PHP-5.3/ext/intl/msgformat/ |
H A D | msgformat_helpers.cpp | 73 fargs[i].setDate(U_MILLIS_PER_SECOND * (double)Z_LVAL_P(args[i])); in umsg_format_helper() 83 fargs[i].setLong(Z_LVAL_P(args[i])); in umsg_format_helper() 90 tInt64 = (int64_t)Z_LVAL_P(args[i]); in umsg_format_helper() 94 tInt64 = (Z_TYPE_P(args[i]) == IS_DOUBLE)?(int64_t)Z_DVAL_P(args[i]):Z_LVAL_P(args[i]); in umsg_format_helper()
|
/PHP-5.3/ext/calendar/ |
H A D | easter.c | 115 Z_LVAL_P(return_value) = mktime(&te); in _cal_easter() 117 Z_LVAL_P(return_value) = easter; in _cal_easter()
|
/PHP-5.3/ext/spl/ |
H A D | spl_engine.c | 57 return Z_LVAL_P(offset); in spl_offset_convert_to_long()
|
/PHP-5.3/ext/curl/ |
H A D | multi.c | 119 zend_list_delete(Z_LVAL_P(z_ch)); in _php_curl_multi_cleanup_list() 129 Z_LVAL_P( z1 ) == Z_LVAL_PP( z2 ) ); in curl_compare_resources() 231 still_running = Z_LVAL_P(z_still_running); in PHP_FUNCTION() 335 zend_list_delete(Z_LVAL_P(z_mh)); in PHP_FUNCTION()
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_saproxy.c | 157 if (Z_LVAL_P(offset) < lbound || Z_LVAL_P(offset) > ubound) { in saproxy_read_dimension() 175 indices[i] = Z_LVAL_P(proxy->indices[i]); in saproxy_read_dimension() 179 indices[dims-1] = Z_LVAL_P(offset); in saproxy_read_dimension() 249 indices[i] = Z_LVAL_P(proxy->indices[i]); in saproxy_write_dimension() 254 indices[dims-1] = Z_LVAL_P(offset); in saproxy_write_dimension() 576 I->indices[i] = Z_LVAL_P(proxy->indices[i]); in php_com_saproxy_iter_get()
|
/PHP-5.3/ext/intl/formatter/ |
H A D | formatter_parse.c | 71 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION() 156 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION()
|
/PHP-5.3/ext/standard/ |
H A D | formatted_print.c | 581 Z_LVAL_P(tmp), in php_formatted_print() 589 Z_LVAL_P(tmp), in php_formatted_print() 611 (char) Z_LVAL_P(tmp) TSRMLS_CC); in php_formatted_print() 617 Z_LVAL_P(tmp), in php_formatted_print() 625 Z_LVAL_P(tmp), in php_formatted_print() 633 Z_LVAL_P(tmp), in php_formatted_print() 641 Z_LVAL_P(tmp), in php_formatted_print()
|
/PHP-5.3/ext/sysvsem/ |
H A D | sysvsem.c | 311 …, E_WARNING, "SysV semaphore %ld (key 0x%x) is not currently acquired", Z_LVAL_P(arg_id), sem_ptr-… in php_sysvsem_semop() 376 …ref(NULL TSRMLS_CC, E_WARNING, "SysV semaphore %ld does not (any longer) exist", Z_LVAL_P(arg_id)); 385 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed for SysV sempphore %ld: %s", Z_LVAL_P(arg_id),…
|
/PHP-5.3/ext/intl/dateformat/ |
H A D | dateformat_parse.c | 149 parse_pos = (int32_t)Z_LVAL_P(z_parse_pos); in PHP_FUNCTION() 187 parse_pos = (int32_t)Z_LVAL_P(z_parse_pos); in PHP_FUNCTION()
|
/PHP-5.3/ext/simplexml/ |
H A D | simplexml.c | 308 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_read() 310 if (nodendx == Z_LVAL_P(member)) { in sxe_prop_dim_read() 342 if (member && Z_LVAL_P(member) > 0) { in sxe_prop_dim_read() 353 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_read() 567 while (attr && nodendx <= Z_LVAL_P(member)) { in sxe_prop_dim_write() 569 if (nodendx == Z_LVAL_P(member)) { in sxe_prop_dim_write() 601 if (member && Z_LVAL_P(member) > 0) { in sxe_prop_dim_write() 649 if (member && cnt < Z_LVAL_P(member)) { in sxe_prop_dim_write() 785 if (nodendx == Z_LVAL_P(member)) { in sxe_prop_dim_exists() 915 if (nodendx == Z_LVAL_P(member)) { in sxe_prop_dim_delete() [all …]
|
/PHP-5.3/ext/xmlrpc/ |
H A D | xmlrpc-epi-php.c | 544 xReturn = XMLRPC_CreateValueBoolean(key, Z_LVAL_P(val)); in PHP_to_XMLRPC_worker() 548 xReturn = XMLRPC_CreateValueInt(key, Z_LVAL_P(val)); in PHP_to_XMLRPC_worker() 653 Z_LVAL_P(elem) = XMLRPC_GetValueInt(el); in XMLRPC_to_PHP() 657 Z_LVAL_P(elem) = XMLRPC_GetValueBoolean(el); in XMLRPC_to_PHP() 903 server = zend_list_find(Z_LVAL_P(arg1), &type); in PHP_FUNCTION() 906 bSuccess = zend_list_delete(Z_LVAL_P(arg1)); in PHP_FUNCTION() 1038 server = zend_list_find(Z_LVAL_P(handle), &type); in PHP_FUNCTION() 1071 server = zend_list_find(Z_LVAL_P(handle), &type); in PHP_FUNCTION() 1113 server = zend_list_find(Z_LVAL_P(handle), &type); in PHP_FUNCTION() 1210 server = zend_list_find(Z_LVAL_P(handle), &type); in PHP_FUNCTION()
|
/PHP-5.3/ext/mysql/ |
H A D | php_mysql.c | 940 Z_LVAL_P(return_value) = link; 1008 new_index_ptr.ptr = (void *) Z_LVAL_P(return_value); 1018 php_mysql_set_default_link(Z_LVAL_P(return_value) TSRMLS_CC); 1495 mysql->active_result_id = Z_LVAL_P(return_value); 1870 Z_LVAL_P(return_value) = (long) mysql_insert_id(mysql->conn); 1945 field_offset = Z_LVAL_P(field); 1992 Z_LVAL_P(return_value) = (long) mysql_num_rows(mysql_result); 2010 Z_LVAL_P(return_value) = mysql_num_fields(mysql_result); 2465 Z_LVAL_P(return_value) = mysql_field->length; 2610 if (Z_LVAL_P(result)==0) { [all …]
|
/PHP-5.3/main/streams/ |
H A D | userspace.c | 623 didwrite = Z_LVAL_P(retval); in php_userstreamop_write() 836 *newoffs = Z_LVAL_P(retval); in php_userstreamop_seek() 959 Z_LVAL_P(zvalue) |= PHP_LOCK_NB; in php_userstreamop_set_option() 963 Z_LVAL_P(zvalue) |= PHP_LOCK_SH; in php_userstreamop_set_option() 966 Z_LVAL_P(zvalue) |= PHP_LOCK_EX; in php_userstreamop_set_option() 969 Z_LVAL_P(zvalue) |= PHP_LOCK_UN; in php_userstreamop_set_option() 985 ret = !Z_LVAL_P(retval); in php_userstreamop_set_option() 1120 ret = Z_LVAL_P(zretval); in user_wrapper_unlink() 1178 ret = Z_LVAL_P(zretval); in user_wrapper_rename() 1241 ret = Z_LVAL_P(zretval); in user_wrapper_mkdir() [all …]
|
/PHP-5.3/ext/interbase/ |
H A D | ibase_query.c | 540 if (Z_LVAL_P(val) > SHRT_MAX || Z_LVAL_P(val) < SHRT_MIN) { in _php_ibase_bind_array() 544 *(short *) buf = (short) Z_LVAL_P(val); in _php_ibase_bind_array() 549 if (Z_LVAL_P(val) > ISC_LONG_MAX || Z_LVAL_P(val) < ISC_LONG_MIN) { in _php_ibase_bind_array() 554 *(ISC_LONG *) buf = (ISC_LONG) Z_LVAL_P(val); in _php_ibase_bind_array() 559 *(long *) buf = Z_LVAL_P(val); in _php_ibase_bind_array() 696 res = php_gmtime_r(&Z_LVAL_P(b_var), &t); in _php_ibase_bind() 1086 trans_res_id = Z_LVAL_P(ztrans); in PHP_FUNCTION() 1096 trans_res_id = Z_LVAL_P(zlink); in PHP_FUNCTION() 1135 zend_list_addref(Z_LVAL_P(return_value)); in PHP_FUNCTION() 1136 IBG(default_link) = Z_LVAL_P(return_value); in PHP_FUNCTION() [all …]
|
H A D | ibase_events.c | 373 zend_list_addref(Z_LVAL_P(return_value)); in PHP_FUNCTION() 393 zend_list_delete(Z_LVAL_P(event_arg)); in PHP_FUNCTION()
|
/PHP-5.3/ext/pcntl/ |
H A D | pcntl.c | 582 status = Z_LVAL_P(z_status); in PHP_FUNCTION() 590 Z_LVAL_P(z_status) = status; in PHP_FUNCTION() 610 status = Z_LVAL_P(z_status); in PHP_FUNCTION() 625 Z_LVAL_P(z_status) = status; in PHP_FUNCTION() 867 if (Z_LVAL_P(handle)!= (long) SIG_DFL && Z_LVAL_P(handle) != (long) SIG_IGN) { in PHP_FUNCTION() 870 if (php_signal(signo, (Sigfunc *) Z_LVAL_P(handle), (int) restart_syscalls) == SIG_ERR) { in PHP_FUNCTION()
|
/PHP-5.3/ext/intl/collator/ |
H A D | collator_convert.c | 357 ZVAL_DOUBLE( num, Z_LVAL_P( num ) ); in collator_convert_string_to_double() 390 Z_LVAL_P(num) = lval; in collator_convert_string_to_number_if_possible()
|
/PHP-5.3/ext/pdo/ |
H A D | pdo_dbh.c | 715 switch (Z_LVAL_P(value)) { in pdo_dbh_attribute_set() 719 dbh->error_mode = Z_LVAL_P(value); in pdo_dbh_attribute_set() 731 switch (Z_LVAL_P(value)) { in pdo_dbh_attribute_set() 735 dbh->desired_case = Z_LVAL_P(value); in pdo_dbh_attribute_set() 747 dbh->oracle_nulls = Z_LVAL_P(value); in pdo_dbh_attribute_set() 763 if (Z_LVAL_P(value) == PDO_FETCH_USE_DEFAULT) { in pdo_dbh_attribute_set() 767 dbh->default_fetch_type = Z_LVAL_P(value); in pdo_dbh_attribute_set() 773 dbh->stringify = Z_LVAL_P(value) ? 1 : 0; in pdo_dbh_attribute_set()
|
/PHP-5.3/ext/wddx/ |
H A D | wddx.c | 441 php_wddx_add_chunk(packet, Z_LVAL_P(var) ? WDDX_BOOLEAN_TRUE : WDDX_BOOLEAN_FALSE); in php_wddx_serialize_boolean() 788 Z_LVAL_P(ent.data) = 0; in php_wddx_push_element() 1085 Z_LVAL_P(ent->data) = 1; in php_wddx_process_data() 1087 Z_LVAL_P(ent->data) = 0; in php_wddx_process_data() 1104 Z_LVAL_P(ent->data) = php_parse_date(tmp, NULL); in php_wddx_process_data() 1106 if (Z_LVAL_P(ent->data) == -1) { in php_wddx_process_data() 1281 zend_list_delete(Z_LVAL_P(packet_id)); in PHP_FUNCTION()
|
/PHP-5.3/ext/session/ |
H A D | mod_user.c | 79 ret = Z_LVAL_P(retval); \
|
/PHP-5.3/ext/sysvshm/ |
H A D | sysvshm.c | 215 RETURN_BOOL(SUCCESS == zend_list_delete(Z_LVAL_P(shm_id))); in PHP_FUNCTION() 232 …LS_CC, E_WARNING, "failed for key 0x%x, id %ld: %s", shm_list_ptr->key, Z_LVAL_P(shm_id), strerror… in PHP_FUNCTION()
|