Home
last modified time | relevance | path

Searched refs:Z_STRVAL_P (Results 1 – 25 of 137) sorted by relevance

123456

/PHP-5.4/Zend/
H A Dzend_ini_parser.y54 i_op1 = atoi(Z_STRVAL_P(op1)); in zend_ini_do_op()
55 free(Z_STRVAL_P(op1)); in zend_ini_do_op()
57 i_op2 = atoi(Z_STRVAL_P(op2)); in zend_ini_do_op()
58 free(Z_STRVAL_P(op2)); in zend_ini_do_op()
93 Z_STRVAL_P(result) = malloc(1); in zend_ini_init_string()
94 Z_STRVAL_P(result)[0] = 0; in zend_ini_init_string()
106 Z_STRVAL_P(result) = (char *) realloc(Z_STRVAL_P(op1), length+1); in zend_ini_add_string()
107 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in zend_ini_add_string()
108 Z_STRVAL_P(result)[length] = 0; in zend_ini_add_string()
129 free(Z_STRVAL_P(name)); in zend_ini_get_constant()
[all …]
H A Dzend_operators.c154 strval = Z_STRVAL_P(op); in convert_scalar_to_number()
1035 Z_STRVAL_P(result) = estrndup(Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in bitwise_not_function()
1038 Z_STRVAL_P(result)[i] = ~Z_STRVAL_P(op1)[i]; in bitwise_not_function()
1267 Z_STRVAL_P(result) = safe_erealloc(Z_STRVAL_P(result), res_len, 1, 1); in concat_function()
1269 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(result), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in concat_function()
1363 ZVAL_LONG(result, strcoll(Z_STRVAL_P(op1), Z_STRVAL_P(op2))); in string_locale_compare_function()
1613 && (!memcmp(Z_STRVAL_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op1)))); in is_identical_function()
1720 char *s=Z_STRVAL_P(str); in increment_string()
1726 STR_FREE(Z_STRVAL_P(str)); in increment_string()
1735 Z_STRVAL_P(str) = s; in increment_string()
[all …]
H A Dzend_vm_execute.h3938 …c.name = IS_INTERNED(Z_STRVAL_P(name)) ? Z_STRVAL_P(name) : zend_strndup(Z_STRVAL_P(name), Z_STRLE… in ZEND_DECLARE_CONST_SPEC_CONST_CONST_HANDLER()
7909 Z_STRVAL_P(str) = NULL; in ZEND_ADD_CHAR_SPEC_TMP_CONST_HANDLER()
7932 Z_STRVAL_P(str) = NULL; in ZEND_ADD_STRING_SPEC_TMP_CONST_HANDLER()
8586 Z_STRVAL_P(str) = NULL; in ZEND_ADD_VAR_SPEC_TMP_TMP_HANDLER()
9260 Z_STRVAL_P(str) = NULL; in ZEND_ADD_VAR_SPEC_TMP_VAR_HANDLER()
10360 Z_STRVAL_P(str) = NULL; in ZEND_ADD_VAR_SPEC_TMP_CV_HANDLER()
22337 Z_STRVAL_P(str) = NULL; in ZEND_ADD_CHAR_SPEC_UNUSED_CONST_HANDLER()
22360 Z_STRVAL_P(str) = NULL; in ZEND_ADD_STRING_SPEC_UNUSED_CONST_HANDLER()
23595 Z_STRVAL_P(str) = NULL; in ZEND_ADD_VAR_SPEC_UNUSED_TMP_HANDLER()
24754 Z_STRVAL_P(str) = NULL; in ZEND_ADD_VAR_SPEC_UNUSED_VAR_HANDLER()
[all …]
H A Dzend_execute.c764 if (IS_INTERNED(Z_STRVAL_P(T->str_offset.str))) { in zend_assign_to_string_offset()
768 Z_STRVAL_P(T->str_offset.str) = tmp; in zend_assign_to_string_offset()
770Z_STRVAL_P(T->str_offset.str) = (char *) erealloc(Z_STRVAL_P(T->str_offset.str), T->str_offset.off… in zend_assign_to_string_offset()
777 } else if (IS_INTERNED(Z_STRVAL_P(T->str_offset.str))) { in zend_assign_to_string_offset()
781 Z_STRVAL_P(T->str_offset.str) = tmp; in zend_assign_to_string_offset()
795 Z_STRVAL_P(T->str_offset.str)[T->str_offset.offset] = Z_STRVAL_P(value)[0]; in zend_assign_to_string_offset()
800 STR_FREE(Z_STRVAL_P(value)); in zend_assign_to_string_offset()
1309 Z_STRVAL_P(ptr) = STR_EMPTY_ALLOC(); in zend_fetch_dimension_address_read()
1312 Z_STRVAL_P(ptr) = (char*)emalloc(2); in zend_fetch_dimension_address_read()
1313 Z_STRVAL_P(ptr)[0] = Z_STRVAL_P(container)[Z_LVAL_P(dim)]; in zend_fetch_dimension_address_read()
[all …]
H A Dzend_vm_def.h1055 } else if (IS_INTERNED(Z_STRVAL_P(varname))) {
2030 Z_STRVAL_P(str) = NULL;
2053 Z_STRVAL_P(str) = NULL;
2081 Z_STRVAL_P(str) = NULL;
3474 actual = Z_STRVAL_P(opline->op2.zv);
3609 if (IS_INTERNED(Z_STRVAL_P(offset))) {
3610 hval = INTERNED_HASH(Z_STRVAL_P(offset));
3975 if (IS_INTERNED(Z_STRVAL_P(offset))) {
4342 Z_STRVAL_P(key) = (char*)str_key;
4488 if (IS_INTERNED(Z_STRVAL_P(offset))) {
[all …]
H A Dzend_object_handlers.c281 if (UNEXPECTED(Z_STRVAL_P(member)[0] == '\0')) { in zend_get_property_info_quick()
292 h = key ? key->hash_value : zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1); in zend_get_property_info_quick()
344 EG(std_property_info).name = Z_STRVAL_P(member); in zend_get_property_info_quick()
393 info.name = Z_STRVAL_P(member); in zend_get_property_guard()
395 info.h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1); in zend_get_property_guard()
444 fprintf(stderr, "Read object #%d property: %s\n", Z_OBJ_HANDLE_P(object), Z_STRVAL_P(member)); in zend_std_read_property()
499 if (Z_STRVAL_P(member)[0] == '\0') { in zend_std_read_property()
508 zend_error(E_NOTICE,"Undefined property: %s::$%s", zobj->ce->name, Z_STRVAL_P(member)); in zend_std_read_property()
617 if (Z_STRVAL_P(member)[0] == '\0') { in zend_std_write_property()
734 fprintf(stderr, "Ptr object #%d property: %s\n", Z_OBJ_HANDLE_P(object), Z_STRVAL_P(member)); in zend_std_get_property_ptr_ptr()
[all …]
/PHP-5.4/ext/filter/
H A Dsanitizing_filters.c54 str_efree(Z_STRVAL_P(value)); in php_filter_encode_html()
55 Z_STRVAL_P(value) = str.c; in php_filter_encode_html()
105 str_efree(Z_STRVAL_P(value)); in php_filter_encode_url()
106 Z_STRVAL_P(value) = (char *)str; in php_filter_encode_url()
134 str_efree(Z_STRVAL_P(value)); in php_filter_strip()
135 Z_STRVAL_P(value) = (char *)buf; in php_filter_strip()
172 str_efree(Z_STRVAL_P(value)); in filter_map_apply()
262 str_efree(Z_STRVAL_P(value)); in php_filter_full_special_chars()
263 Z_STRVAL_P(value) = buf; in php_filter_full_special_chars()
376 str_efree(Z_STRVAL_P(value)); in php_filter_magic_quotes()
[all …]
H A Dlogical_filters.c201 p = Z_STRVAL_P(value); in php_filter_int()
239 char *str = Z_STRVAL_P(value); in php_filter_boolean()
324 str = Z_STRVAL_P(value); in php_filter_float()
681 if (memchr(Z_STRVAL_P(value), ':', Z_STRLEN_P(value))) { in php_filter_validate_ip()
737 …if (Z_STRLEN_P(value) >=2 && (!strncasecmp("FC", Z_STRVAL_P(value), 2) || !strncasecmp("FD", Z_STR… in php_filter_validate_ip()
746 if (!strcmp("::", Z_STRVAL_P(value))) { in php_filter_validate_ip()
751 if (!strcmp("::1", Z_STRVAL_P(value)) || !strcmp("5f:", Z_STRVAL_P(value))) { in php_filter_validate_ip()
758 !strncasecmp("fe8", Z_STRVAL_P(value), 3) || in php_filter_validate_ip()
759 !strncasecmp("fe9", Z_STRVAL_P(value), 3) || in php_filter_validate_ip()
760 !strncasecmp("fea", Z_STRVAL_P(value), 3) || in php_filter_validate_ip()
[all …]
/PHP-5.4/ext/standard/
H A Dbrowscap.c90 php_strtolower(Z_STRVAL_P(pattern), Z_STRLEN_P(pattern)); in convert_browscap_pattern()
98 switch (Z_STRVAL_P(pattern)[i]) { in convert_browscap_pattern()
127 t[j] = Z_STRVAL_P(pattern)[i]; in convert_browscap_pattern()
136 Z_STRVAL_P(pattern) = t; in convert_browscap_pattern()
157 if (!strcasecmp(Z_STRVAL_P(arg1), "parent") && in php_browscap_parser_cb()
184 Z_STRVAL_P(new_property) = pestrndup("", 0, persistent); in php_browscap_parser_cb()
187 Z_STRVAL_P(new_property) = pestrndup(Z_STRVAL_P(arg2), in php_browscap_parser_cb()
220 bdata->current_section_name = pestrndup(Z_STRVAL_P(arg1), in php_browscap_parser_cb()
225 Z_STRVAL_P(processed) = Z_STRVAL_P(arg1); in php_browscap_parser_cb()
228 Z_STRVAL_P(unprocessed) = Z_STRVAL_P(arg1); in php_browscap_parser_cb()
[all …]
H A Dstring.c1021 p1 = Z_STRVAL_P(str); in php_explode()
1022 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp); in php_explode()
1048 p1 = Z_STRVAL_P(str); in php_explode_negative_limit()
1049 p2 = php_memnstr(Z_STRVAL_P(str), Z_STRVAL_P(delim), Z_STRLEN_P(delim), endp); in php_explode_negative_limit()
1838 Z_STRVAL_P(needle),
1939 needle = Z_STRVAL_P(zneedle);
2013 needle = Z_STRVAL_P(zneedle);
2761 r = Z_STRVAL_P(return_value);
3211 php_strtr(Z_STRVAL_P(return_value),
3996 Z_STRVAL_P(search)[0],
[all …]
/PHP-5.4/ext/bcmath/
H A Dbcmath.c233 Z_STRVAL_P(return_value) = bc_num2str(result); in PHP_FUNCTION()
234 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value)); in PHP_FUNCTION()
272 Z_STRVAL_P(return_value) = bc_num2str(result); in PHP_FUNCTION()
273 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value)); in PHP_FUNCTION()
311 Z_STRVAL_P(return_value) = bc_num2str(result); in PHP_FUNCTION()
312 Z_STRLEN_P(return_value) = strlen(Z_STRVAL_P(return_value)); in PHP_FUNCTION()
350 Z_STRVAL_P(return_value) = bc_num2str(result); in PHP_FUNCTION()
386 Z_STRVAL_P(return_value) = bc_num2str(result); in PHP_FUNCTION()
430 Z_STRVAL_P(return_value) = bc_num2str(result); in PHP_FUNCTION()
474 Z_STRVAL_P(return_value) = bc_num2str(result); in PHP_FUNCTION()
[all …]
/PHP-5.4/main/
H A Dphp_ini.c198 free(Z_STRVAL_P(zvalue)); in config_zval_dtor()
230 …if (!is_special_section && !strcasecmp(Z_STRVAL_P(arg1), PHP_EXTENSION_TOKEN)) { /* load PHP exten… in php_ini_parser_cb()
231 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); in php_ini_parser_cb()
234 extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2)); in php_ini_parser_cb()
241 Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry)); in php_ini_parser_cb()
274 Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry)); in php_ini_parser_cb()
286 if (!strncasecmp(Z_STRVAL_P(arg1), "PATH", sizeof("PATH") - 1)) { in php_ini_parser_cb()
287 key = Z_STRVAL_P(arg1); in php_ini_parser_cb()
297 } else if (!strncasecmp(Z_STRVAL_P(arg1), "HOST", sizeof("HOST") - 1)) { in php_ini_parser_cb()
298 key = Z_STRVAL_P(arg1); in php_ini_parser_cb()
[all …]
/PHP-5.4/ext/wddx/
H A Dwddx.c756 Z_STRVAL_P(ent.data) = STR_EMPTY_ALLOC(); in php_wddx_push_element()
766 Z_STRVAL_P(ent.data) = STR_EMPTY_ALLOC(); in php_wddx_push_element()
941 STR_FREE(Z_STRVAL_P(ent1->data)); in php_wddx_pop_element()
942 Z_STRVAL_P(ent1->data) = new_str; in php_wddx_pop_element()
1053 STR_FREE(Z_STRVAL_P(ent->data)); in php_wddx_process_data()
1054 Z_STRVAL_P(ent->data) = estrndup(s, len); in php_wddx_process_data()
1057 Z_STRVAL_P(ent->data) = erealloc(Z_STRVAL_P(ent->data), Z_STRLEN_P(ent->data) + len + 1); in php_wddx_process_data()
1066 STR_FREE(Z_STRVAL_P(ent->data)); in php_wddx_process_data()
1069 Z_STRVAL_P(ent->data) = erealloc(Z_STRVAL_P(ent->data), Z_STRLEN_P(ent->data) + len + 1); in php_wddx_process_data()
1079 Z_STRVAL_P(ent->data) = estrndup(s, len); in php_wddx_process_data()
[all …]
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_conf.c204 char *val = Z_STRVAL_P(value); in fpm_conf_set_boolean()
244 char *val = Z_STRVAL_P(value); in fpm_conf_set_integer()
262 char *val = Z_STRVAL_P(value);
279 char *val = Z_STRVAL_P(value); in fpm_conf_set_time()
319 char *val = Z_STRVAL_P(value); in fpm_conf_set_log_level()
344 char *val = Z_STRVAL_P(value); in fpm_conf_set_syslog_facility()
494 char *val = Z_STRVAL_P(value); in fpm_conf_set_rlimit_core()
523 char *val = Z_STRVAL_P(value); in fpm_conf_set_pm()
552 kv->key = strdup(Z_STRVAL_P(key)); in fpm_conf_set_array()
1394 if (!Z_STRVAL_P(key) || !Z_STRVAL_P(value) || !*Z_STRVAL_P(key)) { in fpm_conf_ini_parser_array()
[all …]
/PHP-5.4/ext/intl/collator/
H A Dcollator_convert.c61 old_val = Z_STRVAL_P( *hashData ); in collator_convert_hash_item_from_utf8_to_utf16()
105 old_val = Z_STRVAL_P( *hashData ); in collator_convert_hash_item_from_utf16_to_utf8()
199 (UChar*) Z_STRVAL_P(utf16_zval), UCHARS( Z_STRLEN_P(utf16_zval) ), &status ); in collator_convert_zstr_utf16_to_utf8()
228 Z_STRVAL_P( utf8_zval ), Z_STRLEN_P( utf8_zval ), in collator_convert_zstr_utf8_to_utf16()
301 Z_STRVAL_P( zstr ), Z_STRLEN_P( zstr ), in collator_convert_object_to_string()
385 …if( ( is_numeric = collator_is_numeric( (UChar*) Z_STRVAL_P(str), UCHARS( Z_STRLEN_P(str) ), &lval… in collator_convert_string_to_number_if_possible()
/PHP-5.4/ext/pdo_odbc/
H A Dodbc_stmt.c191 Z_STRVAL_P(param->parameter), in odbc_stmt_execute()
195 SQLPutData(S->stmt, Z_STRVAL_P(param->parameter), in odbc_stmt_execute()
438 memcpy(P->outbuf, Z_STRVAL_P(param->parameter), P->len); in odbc_stmt_param_hook()
450 Z_STRVAL_P(param->parameter), in odbc_stmt_param_hook()
456 memcpy(P->outbuf, Z_STRVAL_P(param->parameter), P->len); in odbc_stmt_param_hook()
497 Z_STRVAL_P(param->parameter) = erealloc(Z_STRVAL_P(param->parameter), srclen+1); in odbc_stmt_param_hook()
498 memcpy(Z_STRVAL_P(param->parameter), srcbuf, srclen); in odbc_stmt_param_hook()
500 Z_STRVAL_P(param->parameter)[srclen] = '\0'; in odbc_stmt_param_hook()
750 rc = SQLSetCursorName(S->stmt, Z_STRVAL_P(val), Z_STRLEN_P(val)); in odbc_stmt_set_param()
/PHP-5.4/ext/spl/
H A Dspl_engine.c50 ZEND_HANDLE_NUMERIC(Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, idx); in spl_offset_convert_to_long()
/PHP-5.4/ext/intl/
H A Dintl_common.h41 #define INTL_Z_STRVAL_P(str) (UChar*) Z_STRVAL_P(str)
/PHP-5.4/ext/pdo_oci/
H A Doci_statement.c211 *bufpp = Z_STRVAL_P(param->parameter); in oci_bind_input_cb()
248 Z_STRVAL_P(param->parameter) = ecalloc(1, Z_STRLEN_P(param->parameter)+1); in oci_bind_output_cb()
253 *bufpp = Z_STRVAL_P(param->parameter); in oci_bind_output_cb()
350 && Z_STRVAL_P(param->parameter) != empty_string in oci_stmt_param_hook()
354 *Z_STRVAL_P(param->parameter) = '\0'; in oci_stmt_param_hook()
360 && Z_STRVAL_P(param->parameter) != empty_string in oci_stmt_param_hook()
364 Z_STRVAL_P(param->parameter) = erealloc(Z_STRVAL_P(param->parameter), P->actual_len+1); in oci_stmt_param_hook()
365 Z_STRVAL_P(param->parameter)[P->actual_len] = '\0'; in oci_stmt_param_hook()
412 consume = Z_STRVAL_P(param->parameter); in oci_stmt_param_hook()
/PHP-5.4/ext/interbase/
H A Dibase_query.c513 if (!sscanf(Z_STRVAL_P(val), "%Lf", &l)) { in _php_ibase_bind_array()
515 TSRMLS_CC, Z_STRVAL_P(val)); in _php_ibase_bind_array()
560 if (!sscanf(Z_STRVAL_P(val), "%" LL_MASK "d", &l)) { in _php_ibase_bind_array()
562 TSRMLS_CC, Z_STRVAL_P(val)); in _php_ibase_bind_array()
580 strptime(Z_STRVAL_P(val), INI_STR("ibase.timestampformat"), &t); in _php_ibase_bind_array()
598 strptime(Z_STRVAL_P(val), INI_STR("ibase.dateformat"), &t); in _php_ibase_bind_array()
615 strptime(Z_STRVAL_P(val), INI_STR("ibase.timeformat"), &t); in _php_ibase_bind_array()
629 strlcpy(buf, Z_STRVAL_P(val), buf_size); in _php_ibase_bind_array()
711 if (!strptime(Z_STRVAL_P(b_var), format, &t)) { in _php_ibase_bind()
801 var->sqldata = Z_STRVAL_P(b_var); in _php_ibase_bind()
[all …]
/PHP-5.4/ext/pdo_sqlite/
H A Dsqlite_statement.c136 &Z_STRVAL_P(param->parameter), PHP_STREAM_COPY_ALL, 0); in pdo_sqlite_stmt_param_hook()
152 Z_STRVAL_P(param->parameter), in pdo_sqlite_stmt_param_hook()
169 Z_STRVAL_P(param->parameter), in pdo_sqlite_stmt_param_hook()
/PHP-5.4/ext/curl/
H A Dstreams.c102 Z_STRVAL_P(header) = estrndup(data, length); in on_header_available()
103 if (Z_STRVAL_P(header)[length-1] == '\n') { in on_header_available()
104 Z_STRVAL_P(header)[length-1] = '\0'; in on_header_available()
107 if (Z_STRVAL_P(header)[length-2] == '\r') { in on_header_available()
108 Z_STRVAL_P(header)[length-2] = '\0'; in on_header_available()
/PHP-5.4/ext/intl/transliterator/
H A Dtransliterator_class.c259 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) in Transliterator_get_property_ptr_ptr()
292 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) ) in Transliterator_read_property()
325 Z_STRVAL_P( member ), Z_STRLEN_P( member ) ) == 0 ) ) in Transliterator_write_property()
/PHP-5.4/ext/xmlrpc/
H A Dxmlrpc-epi-php.c535 xReturn = XMLRPC_CreateValueBase64(key, Z_STRVAL_P(val), Z_STRLEN_P(val)); in PHP_to_XMLRPC_worker()
540 xReturn = XMLRPC_CreateValueDateTime_ISO8601(key, Z_STRVAL_P(val)); in PHP_to_XMLRPC_worker()
556 xReturn = XMLRPC_CreateValueString(key, Z_STRVAL_P(val), Z_STRLEN_P(val)); in PHP_to_XMLRPC_worker()
648 Z_STRVAL_P(elem) = estrndup(pStr, Z_STRLEN_P(elem)); in XMLRPC_to_PHP()
666 Z_STRVAL_P(elem) = estrndup(XMLRPC_GetValueDateTime_ISO8601(el), Z_STRLEN_P(elem)); in XMLRPC_to_PHP()
673 Z_STRVAL_P(elem) = estrndup(pStr, Z_STRLEN_P(elem)); in XMLRPC_to_PHP()
797 Z_STRVAL_P(method_name_out) = estrdup(method_name); in decode_request_worker()
798 Z_STRLEN_P(method_name_out) = strlen(Z_STRVAL_P(method_name_out)); in decode_request_worker()
936 Z_STRVAL_P(pData->xmlrpc_method), in php_xmlrpc_callback()
1363 Z_STRVAL_P(type) = estrdup(typestr); in set_zval_xmlrpc_type()
/PHP-5.4/ext/bz2/
H A Dbz2.c351 Z_STRVAL_P(return_value) = emalloc(len + 1); in PHP_FUNCTION()
352 Z_STRLEN_P(return_value) = php_stream_read(stream, Z_STRVAL_P(return_value), len); in PHP_FUNCTION()
355 efree(Z_STRVAL_P(return_value)); in PHP_FUNCTION()
360 Z_STRVAL_P(return_value)[Z_STRLEN_P(return_value)] = 0; in PHP_FUNCTION()

Completed in 226 milliseconds

123456