Searched refs:Z_STRVAL (Results 1 - 25 of 46) sorted by relevance

12

/PHP_5_3/ext/ctype/
H A Dctype.c162 char *p = Z_STRVAL(tmp), *e = Z_STRVAL(tmp) + Z_STRLEN(tmp); \
/PHP_5_3/ext/filter/
H A Dfilter.c458 Z_STRVAL(raw_var) = estrndup(*val, val_len);
473 Z_STRVAL(new_var) = estrndup(*val, val_len);
477 Z_STRVAL(new_var) = php_addslashes(*val, Z_STRLEN(new_var), &Z_STRLEN(new_var), 0 TSRMLS_CC);
479 Z_STRVAL(new_var) = estrndup(*val, val_len);
498 *val = estrndup(Z_STRVAL(new_var), Z_STRLEN(new_var));
/PHP_5_3/ext/interbase/
H A Dphp_ibase_udf.c333 memcpy(res->vary_string, Z_STRVAL(return_value),
/PHP_5_3/ext/mysqli/
H A Dmysqli_warning.c114 ZVAL_UTF8_STRINGL(&(w->reason), Z_STRVAL(w->reason), Z_STRLEN(w->reason), ZSTR_AUTOFREE);
/PHP_5_3/ext/pdo/
H A Dpdo_stmt.c954 if (zend_lookup_class(Z_STRVAL(val), Z_STRLEN(val), &cep TSRMLS_CC) == FAILURE) {
1223 add_assoc_zval(return_all, Z_STRVAL(grp_val), return_value);
1225 if (zend_symtable_find(Z_ARRVAL_P(return_all), Z_STRVAL(grp_val), Z_STRLEN(grp_val)+1, (void**)&pgrp) == FAILURE) {
1228 add_assoc_zval(return_all, Z_STRVAL(grp_val), grp);
/PHP_5_3/ext/soap/
H A Dphp_http.c343 request = Z_STRVAL(retval);
1206 *buffer = Z_STRVAL(retval);
H A Dsoap.c1724 doc_request = soap_xmlParseMemory(Z_STRVAL(retval),Z_STRLEN(retval));
1918 fn_name = estrndup(Z_STRVAL(h->function_name),Z_STRLEN(h->function_name));
1928 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Function '%s' call failed", Z_STRVAL(h->function_name));
1969 fn_name = estrndup(Z_STRVAL(function_name),Z_STRLEN(function_name));
1990 php_error(E_ERROR, "Function '%s' doesn't exist", Z_STRVAL(function_name));
2027 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name));
2033 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Function '%s' call failed", Z_STRVAL(function_name));
2099 php_write(Z_STRVAL(result), Z_STRLEN(result) TSRMLS_CC);
2276 php_write(Z_STRVAL(result), Z_STRLEN(result) TSRMLS_CC);
2908 ret = parse_packet_soap(this_ptr, Z_STRVAL(respons
[all...]
/PHP_5_3/ext/standard/
H A Darray.c183 Z_STRVAL(first) = f->arKey;
192 Z_STRVAL(second) = s->arKey;
424 result = strnatcmp_ex(Z_STRVAL(first), Z_STRLEN(first), Z_STRVAL(second), Z_STRLEN(second), fold_case);
1376 php_prefix_varname(&final_name, prefix, Z_STRVAL(num), Z_STRLEN(num), 1 TSRMLS_CC);
1434 if (Z_TYPE(final_name) != IS_NULL && php_valid_var_name(Z_STRVAL(final_name), Z_STRLEN(final_name))) {
1441 if (zend_hash_find(EG(active_symbol_table), Z_STRVAL(final_name), Z_STRLEN(final_name) + 1, (void **) &orig_var) == SUCCESS) {
1445 zend_hash_update(EG(active_symbol_table), Z_STRVAL(final_name), Z_STRLEN(final_name) + 1, (void **) entry, sizeof(zval *), NULL);
1452 ZEND_SET_SYMBOL_WITH_LENGTH(EG(active_symbol_table), Z_STRVAL(final_name), Z_STRLEN(final_name) + 1, data, 1, 0);
H A Dfile.c708 numbytes = php_stream_write(stream, Z_STRVAL(out), Z_STRLEN(out));
1948 #define FPUTCSV_FLD_CHK(c) memchr(Z_STRVAL(field), c, Z_STRLEN(field))
2017 char *ch = Z_STRVAL(field);
2035 smart_str_appendl(&csvline, Z_STRVAL(field), Z_STRLEN(field));
H A Dinfo.c196 php_info_html_esc_write(Z_STRVAL(tmp2), Z_STRLEN(tmp2) TSRMLS_CC);
199 PHPWRITE(Z_STRVAL(tmp2), Z_STRLEN(tmp2));
/PHP_5_3/ext/tokenizer/
H A Dtokenizer.c138 add_next_index_stringl(keyword, Z_STRVAL(token), Z_STRLEN(token), 1);
139 efree(Z_STRVAL(token));
/PHP_5_3/main/
H A Dphp_ini.c626 Z_STRVAL(tmp) = zend_strndup(fh.filename, Z_STRLEN(tmp));
634 php_ini_opened_path = zend_strndup(Z_STRVAL(tmp), Z_STRLEN(tmp));
H A Dphp_variables.c51 Z_STRVAL(new_entry) = php_addslashes(strval, Z_STRLEN(new_entry), &Z_STRLEN(new_entry), 0 TSRMLS_CC);
53 Z_STRVAL(new_entry) = estrndup(strval, Z_STRLEN(new_entry));
/PHP_5_3/Zend/
H A Dzend_ini.c206 || hashed_ini_entry->on_modify(hashed_ini_entry, Z_STRVAL(default_value), Z_STRLEN(default_value), hashed_ini_entry->mh_arg1, hashed_ini_entry->mh_arg2, hashed_ini_entry->mh_arg3, ZEND_INI_STAGE_STARTUP TSRMLS_CC) == SUCCESS) {
207 hashed_ini_entry->value = Z_STRVAL(default_value);
H A Dzend_ini_parser.y125 Z_STRVAL_P(result) = zend_strndup(Z_STRVAL(z_constant), Z_STRLEN(z_constant));
145 Z_STRVAL_P(result) = zend_strndup(Z_STRVAL(curval), Z_STRLEN(curval));
280 printf("SECTION: [%s]\n", Z_STRVAL($2));
283 free(Z_STRVAL($2));
287 printf("NORMAL: '%s' = '%s'\n", Z_STRVAL($1), Z_STRVAL($3));
290 free(Z_STRVAL($1));
291 free(Z_STRVAL($3));
295 printf("OFFSET: '%s'[%s] = '%s'\n", Z_STRVAL($1), Z_STRVAL(
[all...]
H A Dzend_operators.h392 #define Z_STRVAL(zval) (zval).value.str.val macro
407 #define Z_STRVAL_P(zval_p) Z_STRVAL(*zval_p)
422 #define Z_STRVAL_PP(zval_pp) Z_STRVAL(**zval_pp)
H A Dzend_language_parser.y701 | T_NS_SEPARATOR namespace_name { char *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); tmp[0] = '\\'; efree(Z_STRVAL($2.u.constant)); Z_STRVAL($2.u.constant) = tmp; ++Z_STRLEN($2.u.constant); $$ = $2; }
707 | T_NS_SEPARATOR namespace_name { char *tmp = estrndup(Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); memcpy(&(tmp[1]), Z_STRVAL($2.u.constant), Z_STRLEN($2.u.constant)+1); tmp[0] = '\\'; efree(Z_STRVAL($2.u.constant)); Z_STRVAL($2.u.constant) = tmp; ++Z_STRLEN($2.u.constant); $$ = $2; }
766 | T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC { $$ = $2; CG(heredoc) = Z_STRVAL($1.u.constant); CG(heredoc_len) = Z_STRLEN($1.u.constant); }
767 | T_START_HEREDOC T_END_HEREDOC { ZVAL_EMPTY_STRING(&$$.u.constant); INIT_PZVAL(&$$.u.constant); $$.op_type = IS_CONST; CG(heredoc) = Z_STRVAL(
[all...]
H A Dzend_execute.c642 Z_STRVAL_P(T->str_offset.str)[T->str_offset.offset] = Z_STRVAL(tmp)[0];
643 STR_FREE(Z_STRVAL(tmp));
H A Dzend_compile.c1002 CG(active_op_array)->this_var = lookup_cv(CG(active_op_array), Z_STRVAL(opline_ptr->op1.u.constant), Z_STRLEN(opline_ptr->op1.u.constant));
1004 efree(Z_STRVAL(opline_ptr->op1.u.constant));
1074 int ch = *Z_STRVAL(op2->u.constant);
1077 efree(Z_STRVAL(op2->u.constant));
1082 efree(Z_STRVAL(op2->u.constant));
1209 zend_error(E_STRICT, "Static function %s%s%s() should not be abstract", is_method ? CG(active_class_entry)->name : "", is_method ? "::" : "", Z_STRVAL(function_name->u.constant));
1345 op_array.function_name = Z_STRVAL(tmp.u.constant);
1348 lcname = zend_str_tolower_dup(Z_STRVAL(tmp.u.constant), name_len);
1423 ZVAL_LONG(&current_op->op2.u.constant, zend_hash_func(Z_STRVAL(current_op->op1.u.constant), Z_STRLEN(current_op->op1.u.constant)));
1496 (memcmp(Z_STRVAL(varnam
[all...]
H A Dzend_execute_API.c668 ret = zend_symtable_update_current_key(Z_ARRVAL_P(p), Z_STRVAL(const_value), Z_STRLEN(const_value) + 1, HASH_UPDATE_KEY_IF_BEFORE);
1164 Z_STRVAL(pv) = emalloc(Z_STRLEN(pv) + 1);
1165 memcpy(Z_STRVAL(pv), "return ", sizeof("return ") - 1);
1166 memcpy(Z_STRVAL(pv) + sizeof("return ") - 1, str, str_len);
1167 Z_STRVAL(pv)[Z_STRLEN(pv) - 1] = ';';
1168 Z_STRVAL(pv)[Z_STRLEN(pv)] = '\0';
1171 Z_STRVAL(pv) = str;
H A Dzend_vm_def.h1981 ce = zend_fetch_class(Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
1986 zend_error_noreturn(E_ERROR, "Class '%s' not found", Z_STRVAL(opline->op1.u.constant));
2004 function_name_strval = Z_STRVAL(opline->op2.u.constant);
2082 if (zend_hash_quick_find(EG(function_table), Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant)+1, opline->extended_value, (void **) &EX(fbc)) == FAILURE) {
2083 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", Z_STRVAL(opline->op2.u.constant));
2137 if (zend_hash_quick_find(EG(function_table), Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant)+1, opline->extended_value, (void **) &EX(fbc))==FAILURE) {
2138 char *short_name = Z_STRVAL(opline->op1.u.constant)+Z_LVAL(op_data->op1.u.constant);
2140 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", Z_STRVAL(opline->op2.u.constant));
3020 if (!zend_get_constant_ex(Z_STRVAL(opline->op2.u.constant), Z_STRLEN(opline->op2.u.constant), &EX_T(opline->result.u.var).tmp_var, NULL, opline->extended_value TSRMLS_CC)) {
3022 char *actual = (char *)zend_memrchr(Z_STRVAL(oplin
[all...]
H A Dzend_vm_execute.h581 if (zend_hash_find(EG(class_table), Z_STRVAL(opline->op2.u.constant), Z_STRLEN(opline->op2.u.constant)+1, (void**)&pce) == FAILURE ||
582 (zend_hash_find(EG(class_table), Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant), (void**)&pce_orig) == SUCCESS &&
682 zend_alter_ini_entry_ex("error_reporting", sizeof("error_reporting"), Z_STRVAL(restored_error_reporting), Z_STRLEN(restored_error_reporting), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME, 1 TSRMLS_CC);
756 if (zend_hash_quick_find(EG(function_table), Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant)+1, opline->extended_value, (void **) &EX(fbc)) == FAILURE) {
757 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", Z_STRVAL(opline->op2.u.constant));
811 if (zend_hash_quick_find(EG(function_table), Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant)+1, opline->extended_value, (void **) &EX(fbc))==FAILURE) {
812 char *short_name = Z_STRVAL(opline->op1.u.constant)+Z_LVAL(op_data->op1.u.constant);
814 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", Z_STRVAL(opline->op2.u.constant));
908 zend_class_entry *iface = zend_fetch_class(Z_STRVAL(opline->op2.u.constant), Z_STRLEN(opline->op2.u.constant), opline->extended_value TSRMLS_CC);
956 if (zend_hash_quick_find(EG(function_table), Z_STRVAL(oplin
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_debug.c1432 TRACE_APPEND_STRL(Z_STRVAL(copy), Z_STRLEN(copy)); \
1442 TRACE_APPEND_STRL(Z_STRVAL(copy), Z_STRLEN(copy)); \
1457 TRACE_APPEND_STRL(Z_STRVAL(copy), Z_STRLEN(copy)); \
1582 TRACE_APPEND_STRL(Z_STRVAL(tmp), Z_STRLEN(tmp));
/PHP_5_3/ext/pcre/
H A Dphp_pcre.c946 *result = estrndup(Z_STRVAL(retval), Z_STRLEN(retval));
1782 count = pcre_exec(pce->re, extra, Z_STRVAL(subject),
/PHP_5_3/ext/spl/
H A Dspl_iterators.c1151 memcpy(ptr, Z_STRVAL(prefix), Z_STRLEN(prefix));
1153 memcpy(ptr, Z_STRVAL(entry), Z_STRLEN(entry));
1155 memcpy(ptr, Z_STRVAL(postfix), Z_STRLEN(postfix));
1221 memcpy(ptr, Z_STRVAL(prefix), Z_STRLEN(prefix));
1223 memcpy(ptr, Z_STRVAL(key), Z_STRLEN(key));
1225 memcpy(ptr, Z_STRVAL(postfix), Z_STRLEN(postfix));
1907 subject = Z_STRVAL(subject_copy);

Completed in 88 milliseconds

12