Home
last modified time | relevance | path

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

123

/PHP-5.5/Zend/
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_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_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_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_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_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_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)
/PHP-5.5/ext/opcache/Optimizer/
H A Dpass1_5.c177 memcpy(ptr, Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(opline)));
178 if (!IS_INTERNED(Z_STRVAL(ZEND_OP2_LITERAL(opline)))) {
179 efree(Z_STRVAL(ZEND_OP2_LITERAL(opline)));
181 Z_STRVAL(ZEND_OP2_LITERAL(opline)) = ptr;
213 …memcmp(Z_STRVAL(ZEND_OP2_LITERAL(opline)), "__COMPILER_HALT_OFFSET__", sizeof("__COMPILER_HALT_OFF…
240 …if (!zend_get_persistent_constant(Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(op…
257 … zend_str_tolower(Z_STRVAL(ZEND_OP1_LITERAL(opline + 1)), Z_STRLEN(ZEND_OP1_LITERAL(opline + 1)));
259 …Z_HASH_P(&ZEND_OP1_LITERAL(opline + 1)) = zend_hash_func(Z_STRVAL(ZEND_OP1_LITERAL(opline + 1)), Z…
281 memcmp(Z_STRVAL(ZEND_OP1_LITERAL(opline)), "this", sizeof("this")) != 0)) {
319 Z_STRVAL(ZEND_OP1_LITERAL(opline)),
[all …]
H A Dzend_optimizer.c130 …Z_HASH_P(&ZEND_OP1_LITERAL(opline)) = zend_hash_func(Z_STRVAL(ZEND_OP1_LITERAL(opline)), Z_STRLEN(… in update_op1_const()
134 …op_array->literals[opline->op1.constant+1].hash_value = zend_hash_func(Z_STRVAL(op_array->literals… in update_op1_const()
139 …Z_HASH_P(&ZEND_OP1_LITERAL(opline)) = zend_hash_func(Z_STRVAL(ZEND_OP1_LITERAL(opline)), Z_STRLEN(… in update_op1_const()
144 …Z_HASH_P(&ZEND_OP1_LITERAL(opline)) = zend_hash_func(Z_STRVAL(ZEND_OP1_LITERAL(opline)), Z_STRLEN(… in update_op1_const()
164 …Z_HASH_P(&ZEND_OP2_LITERAL(opline)) = zend_hash_func(Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(… in update_op2_const()
182 …op_array->literals[opline->op2.constant+1].hash_value = zend_hash_func(Z_STRVAL(op_array->literals… in update_op2_const()
188 …op_array->literals[opline->op2.constant+1].hash_value = zend_hash_func(Z_STRVAL(op_array->literals… in update_op2_const()
H A Dblock_pass.c922 Z_STRVAL(ZEND_OP1_LITERAL(last_op)) = tmp; in zend_optimize_block()
924 Z_STRVAL(ZEND_OP1_LITERAL(last_op)) = erealloc(Z_STRVAL(ZEND_OP1_LITERAL(last_op)), l + 1); in zend_optimize_block()
927 Z_STRVAL(ZEND_OP1_LITERAL(last_op))[l] = '\0'; in zend_optimize_block()
930Z_STRVAL(ZEND_OP1_LITERAL(opline)) = (char*)zend_new_interned_string(Z_STRVAL(ZEND_OP1_LITERAL(las… in zend_optimize_block()
933 Z_STRVAL(ZEND_OP1_LITERAL(opline)) = Z_STRVAL(ZEND_OP1_LITERAL(last_op)); in zend_optimize_block()
966 Z_STRVAL(ZEND_OP2_LITERAL(src)) = tmp; in zend_optimize_block()
968 Z_STRVAL(ZEND_OP2_LITERAL(src)) = erealloc(Z_STRVAL(ZEND_OP2_LITERAL(src)), l + 1); in zend_optimize_block()
971 Z_STRVAL(ZEND_OP2_LITERAL(src))[l] = '\0'; in zend_optimize_block()
973 efree(Z_STRVAL(ZEND_OP2_LITERAL(opline))); in zend_optimize_block()
976Z_STRVAL(ZEND_OP2_LITERAL(opline)) = (char*)zend_new_interned_string(Z_STRVAL(ZEND_OP2_LITERAL(src… in zend_optimize_block()
[all …]
/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/ctype/
H A Dctype.c162 char *p = Z_STRVAL(tmp), *e = Z_STRVAL(tmp) + Z_STRLEN(tmp); \
/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/pdo/
H A Dpdo_sql_parser.c605 plc->quoted = estrdup(Z_STRVAL(tmp_param)); in pdo_parse_params()
611 if (!stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL(tmp_param), in pdo_parse_params()
H A Dpdo_sql_parser.re247 plc->quoted = estrdup(Z_STRVAL(tmp_param));
253 if (!stmt->dbh->methods->quoter(stmt->dbh, Z_STRVAL(tmp_param),
/PHP-5.5/ext/mysqli/
H A Dmysqli_warning.c114 ZVAL_UTF8_STRINGL(&(w->reason), Z_STRVAL(w->reason), Z_STRLEN(w->reason), ZSTR_AUTOFREE); in php_new_warning()
/PHP-5.5/
H A DREADME.input_filter133 Z_STRVAL(new_var) = estrndup(*val, val_len);
/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/standard/
H A Dpassword.c371 buffer = estrndup(Z_STRVAL(cast_option_buffer), Z_STRLEN(cast_option_buffer)); in PHP_FUNCTION()
H A Darray.c189 Z_STRVAL(first) = (char*)f->arKey; in php_array_key_compare()
198 Z_STRVAL(second) = (char*)s->arKey; in php_array_key_compare()
430 …result = strnatcmp_ex(Z_STRVAL(first), Z_STRLEN(first), Z_STRVAL(second), Z_STRLEN(second), fold_c… in php_array_natural_general_compare()
1347 php_prefix_varname(&final_name, prefix, Z_STRVAL(num), Z_STRLEN(num), 1 TSRMLS_CC); in PHP_FUNCTION()
1405 …if (Z_TYPE(final_name) != IS_NULL && php_valid_var_name(Z_STRVAL(final_name), Z_STRLEN(final_name)… in PHP_FUNCTION()
1412 …if (zend_hash_find(EG(active_symbol_table), Z_STRVAL(final_name), Z_STRLEN(final_name) + 1, (void … in PHP_FUNCTION()
1416 …zend_hash_update(EG(active_symbol_table), Z_STRVAL(final_name), Z_STRLEN(final_name) + 1, (void **… in PHP_FUNCTION()
1423 …ZEND_SET_SYMBOL_WITH_LENGTH(EG(active_symbol_table), Z_STRVAL(final_name), Z_STRLEN(final_name) + … in PHP_FUNCTION()
H A Dinfo.c254 php_info_print_html_esc(Z_STRVAL(tmp2), Z_STRLEN(tmp2)); in php_print_gpcse_array()
257 php_info_print(Z_STRVAL(tmp2)); in php_print_gpcse_array()
/PHP-5.5/main/
H A Dphp_ini.c602 Z_STRVAL(tmp) = zend_strndup(fh.filename, Z_STRLEN(tmp)); in php_init_config()
610 php_ini_opened_path = zend_strndup(Z_STRVAL(tmp), Z_STRLEN(tmp)); in php_init_config()
/PHP-5.5/ext/soap/
H A Dsoap.c1608 doc_request = soap_xmlParseMemory(Z_STRVAL(retval),Z_STRLEN(retval));
1796 fn_name = estrndup(Z_STRVAL(h->function_name),Z_STRLEN(h->function_name));
1806 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "Function '%s' call failed", Z_STRVAL(h->function_name…
1845 fn_name = estrndup(Z_STRVAL(function_name),Z_STRLEN(function_name));
1866 php_error(E_ERROR, "Function '%s' doesn't exist", Z_STRVAL(function_name));
1902 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name));
1908 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Function '%s' call failed", Z_STRVAL(function_name));
2736 …ret = parse_packet_soap(this_ptr, Z_STRVAL(response), Z_STRLEN(response), fn, NULL, return_value, …
3670 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name));
3905 char *hdr_name = Z_STRVAL(headers->function_name);
[all …]
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_module.c299 …if (zend_hash_find(EG(class_table), Z_STRVAL(EX(opline)->op2.u.constant), Z_STRLEN(EX(opline)->op2… in ZEND_INI_END()
300 …(zend_hash_find(EG(class_table), Z_STRVAL(EX(opline)->op1.u.constant), Z_STRLEN(EX(opline)->op1.u.… in ZEND_INI_END()

Completed in 102 milliseconds

123