Home
last modified time | relevance | path

Searched refs:Z_STRVAL (Results 1 – 25 of 63) sorted by path

123

/PHP-5.5/
H A DREADME.input_filter133 Z_STRVAL(new_var) = estrndup(*val, val_len);
/PHP-5.5/Zend/
H A Dzend_API.c3195 *callable_name = estrndup(Z_STRVAL(expr_copy), Z_STRLEN(expr_copy)); in zend_is_callable_ex()
H A Dzend_closures.c115 class_name = Z_STRVAL(tmp_zval); in ZEND_METHOD()
H A Dzend_compile.c64 if (IS_INTERNED(Z_STRVAL(CONSTANT(num)))) { \
1402 int ch = *Z_STRVAL(op2->u.constant); in zend_do_add_string()
1405 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1410 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1996 if (!IS_INTERNED(Z_STRVAL(name))) { in zend_do_begin_method_call()
1997 Z_STRVAL(name) = estrndup(Z_STRVAL(name), Z_STRLEN(name)); in zend_do_begin_method_call()
2197 …memmove(Z_STRVAL(class_name->u.constant), Z_STRVAL(class_name->u.constant)+1, Z_STRLEN(class_name-… in zend_resolve_class_name()
2199 Z_STRVAL(class_name->u.constant), in zend_resolve_class_name()
5811Z_STRVAL(offset->u.constant) = erealloc(Z_STRVAL(offset->u.constant), Z_STRLEN(offset->u.constant)… in zend_do_add_static_array_element()
6934 Z_STRVAL(result->u.constant) = NULL; in zend_do_build_namespace_name()
[all …]
H A Dzend_constants.c251 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length); in zend_get_special_constant()
260 Z_STRVAL((**c).value) = estrndup("", 0); in zend_get_special_constant()
455 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
457 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
461 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
463 …if (zend_hash_quick_find(EG(zend_constants), Z_STRVAL(key->constant), Z_STRLEN(key->constant) + 1,… in zend_quick_get_constant()
467 … if (!zend_get_special_constant(Z_STRVAL(key->constant), Z_STRLEN(key->constant), &c TSRMLS_CC)) { in zend_quick_get_constant()
474 … if (!zend_get_special_constant(Z_STRVAL(key->constant), Z_STRLEN(key->constant), &c TSRMLS_CC)) { in zend_quick_get_constant()
H A Dzend_exceptions.c708 Z_OBJCE_P(exception)->name, Z_STRVAL(message), Z_STRVAL(file), Z_LVAL(line), in ZEND_METHOD()
713 Z_OBJCE_P(exception)->name, Z_STRVAL(file), Z_LVAL(line), in ZEND_METHOD()
H A Dzend_execute.c794 Z_STRVAL_P(T->str_offset.str)[T->str_offset.offset] = Z_STRVAL(tmp)[0]; in zend_assign_to_string_offset()
795 STR_FREE(Z_STRVAL(tmp)); in zend_assign_to_string_offset()
H A Dzend_execute_API.c634 …ret = zend_symtable_update_current_key(Z_ARRVAL_P(p), Z_STRVAL(const_value), Z_STRLEN(const_value)… in zval_update_constant_ex()
1024 lc_name = Z_STRVAL(key->constant); in zend_lookup_class_ex()
1149 Z_STRVAL(pv) = emalloc(Z_STRLEN(pv) + 1); in zend_eval_stringl()
1150 memcpy(Z_STRVAL(pv), "return ", sizeof("return ") - 1); in zend_eval_stringl()
1151 memcpy(Z_STRVAL(pv) + sizeof("return ") - 1, str, str_len); in zend_eval_stringl()
1152 Z_STRVAL(pv)[Z_STRLEN(pv) - 1] = ';'; in zend_eval_stringl()
1153 Z_STRVAL(pv)[Z_STRLEN(pv)] = '\0'; in zend_eval_stringl()
1156 Z_STRVAL(pv) = str; in zend_eval_stringl()
H A Dzend_ini.c208 …|| hashed_ini_entry->on_modify(hashed_ini_entry, Z_STRVAL(default_value), Z_STRLEN(default_value),… in zend_register_ini_entries()
209 hashed_ini_entry->value = Z_STRVAL(default_value); in zend_register_ini_entries()
H A Dzend_ini_parser.y132 Z_STRVAL_P(result) = zend_strndup(Z_STRVAL(z_constant), Z_STRLEN(z_constant)); in zend_ini_get_constant()
152 Z_STRVAL_P(result) = zend_strndup(Z_STRVAL(curval), Z_STRLEN(curval)); in zend_ini_get_var()
286 printf("SECTION: [%s]\n", Z_STRVAL($2));
289 free(Z_STRVAL($2));
293 printf("NORMAL: '%s' = '%s'\n", Z_STRVAL($1), Z_STRVAL($3));
296 free(Z_STRVAL($1));
297 free(Z_STRVAL($3));
301 printf("OFFSET: '%s'[%s] = '%s'\n", Z_STRVAL($1), Z_STRVAL($2), Z_STRVAL($5));
304 free(Z_STRVAL($1));
305 free(Z_STRVAL($2));
[all …]
H A Dzend_language_parser.y632 …$1, ZEND_FETCH_CLASS_GLOBAL, 1 TSRMLS_CC); zend_init_list(&$$.u.op.ptr, Z_STRVAL($1.u.constant) TS…
633 …, ZEND_FETCH_CLASS_GLOBAL, 1 TSRMLS_CC); zend_add_to_list(&$1.u.op.ptr, Z_STRVAL($3.u.constant) TS…
875Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVAL($2.u.constant), Z_…
881Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVAL($2.u.constant), Z_…
950Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVAL($2.u.constant), Z_…
969Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVAL($2.u.constant), Z_…
H A Dzend_object_handlers.c1018 lc_method_name = Z_STRVAL(key->constant); in zend_std_get_method()
1161 lc_function_name = Z_STRVAL(key->constant); in zend_std_get_static_method()
H A Dzend_operators.h443 #define Z_STRVAL(zval) (zval).value.str.val macro
458 #define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
473 #define Z_STRVAL_PP(zval_pp) Z_STRVAL(**zval_pp)
H A Dzend_vm_def.h2782 …} else if (zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(func_n…
2784 …if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(fu…
4693 EG(error_reporting_ini_entry)->value = Z_STRVAL(restored_error_reporting);
5090 …zend_alter_ini_entry_ex("error_reporting", sizeof("error_reporting"), Z_STRVAL(restored_error_repo…
H A Dzend_vm_execute.h1068 …zend_alter_ini_entry_ex("error_reporting", sizeof("error_reporting"), Z_STRVAL(restored_error_repo… in ZEND_HANDLE_EXCEPTION_SPEC_HANDLER()
1379 …} else if (zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(func_n… in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER()
1381 …if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL(func_name->constant), Z_STRLEN(fu… in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER()
8272 EG(error_reporting_ini_entry)->value = Z_STRVAL(restored_error_reporting); in ZEND_END_SILENCE_SPEC_TMP_HANDLER()
/PHP-5.5/ext/ctype/
H A Dctype.c162 char *p = Z_STRVAL(tmp), *e = Z_STRVAL(tmp) + Z_STRLEN(tmp); \
/PHP-5.5/ext/date/
H A Dphp_date.c966 …&& Z_TYPE(ztz) == IS_STRING && Z_STRLEN(ztz) > 0 && timelib_timezone_id_is_valid(Z_STRVAL(ztz), tz… in guess_timezone()
967 return Z_STRVAL(ztz); in guess_timezone()
/PHP-5.5/ext/dba/
H A Ddba.c235 *key_free = *key_str = estrndup(Z_STRVAL(tmp), Z_STRLEN(tmp));
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch3502 + Z_STRVAL_P(pattern_match) = (char *)Z_STRVAL(matchcopy);
/PHP-5.5/ext/fileinfo/libmagic/
H A Dsoftmagic.c2137 Z_STRVAL_P(pattern_match) = (char *)Z_STRVAL(matchcopy); in magiccheck()
/PHP-5.5/ext/filter/
H A Dfilter.c453 Z_STRVAL(raw_var) = estrndup(*val, val_len); in php_sapi_filter()
466 Z_STRVAL(new_var) = estrndup(*val, val_len); in php_sapi_filter()
470 Z_STRVAL(new_var) = estrndup(*val, val_len); in php_sapi_filter()
486 *val = estrndup(Z_STRVAL(new_var), Z_STRLEN(new_var)); in php_sapi_filter()
/PHP-5.5/ext/iconv/
H A Diconv.c305 php_info_print_table_row(2, "iconv implementation", Z_STRVAL(iconv_impl)); in PHP_MINFO_FUNCTION()
306 php_info_print_table_row(2, "iconv library version", Z_STRVAL(iconv_ver)); in PHP_MINFO_FUNCTION()
2238 lfchars = Z_STRVAL(tmp_zv); in PHP_FUNCTION()
/PHP-5.5/ext/interbase/
H A Dphp_ibase_udf.c331 memcpy(res->vary_string, Z_STRVAL(return_value), in call_php()
/PHP-5.5/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp261 Z_STRVAL(local_literal.constant) = static_cast<char*>( in IntlPartsIterator_get_method()
263 zend_str_tolower_copy(Z_STRVAL(local_literal.constant), in IntlPartsIterator_get_method()
266 Z_STRVAL(local_literal.constant), method_len + 1); in IntlPartsIterator_get_method()
272 && memcmp("getrulestatus", Z_STRVAL(key->constant), method_len) == 0) { in IntlPartsIterator_get_method()
289 free_alloca(Z_STRVAL(local_literal.constant), use_heap); in IntlPartsIterator_get_method()
/PHP-5.5/ext/intl/timezone/
H A Dtimezone_class.cpp93 if (intl_charFromString(id, &Z_STRVAL(arg), &Z_STRLEN(arg), in timezone_convert_to_datetimezone()

Completed in 232 milliseconds

123