Searched refs:Z_STRLEN (Results 1 - 25 of 38) 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.c457 Z_STRLEN(raw_var) = val_len;
468 Z_STRLEN(new_var) = val_len;
477 Z_STRVAL(new_var) = php_addslashes(*val, Z_STRLEN(new_var), &Z_STRLEN(new_var), 0 TSRMLS_CC);
494 *new_val_len = Z_STRLEN(new_var);
497 if (Z_STRLEN(new_var)) {
498 *val = estrndup(Z_STRVAL(new_var), Z_STRLEN(new_var));
/PHP_5_3/ext/interbase/
H A Dphp_ibase_udf.c334 (res->vary_length = min(r->dsc_length-2,Z_STRLEN(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/soap/
H A Dphp_http.c344 request_size = Z_STRLEN(retval);
1207 *buffer_len = Z_STRLEN(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));
1919 if (zend_hash_exists(function_table, php_strtolower(fn_name, Z_STRLEN(h->function_name)), Z_STRLEN(h->function_name) + 1) ||
1969 fn_name = estrndup(Z_STRVAL(function_name),Z_STRLEN(function_name));
1970 if (zend_hash_exists(function_table, php_strtolower(fn_name, Z_STRLEN(function_name)), Z_STRLEN(function_name) + 1) ||
2026 response_name = emalloc(Z_STRLEN(function_name) + sizeof("Response"));
2027 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name));
2028 memcpy(response_name+Z_STRLEN(function_nam
[all...]
/PHP_5_3/ext/standard/
H A Darray.c184 Z_STRLEN(first) = f->nKeyLength - 1;
193 Z_STRLEN(second) = s->nKeyLength - 1;
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 Dfilters.c1195 if (NULL == (*pretval = pemalloc(Z_STRLEN(zt) + 1, persistent))) {
1199 *pretval_len = Z_STRLEN(zt);
1200 memcpy(*pretval, Z_STRVAL(zt), Z_STRLEN(zt) + 1);
H A Dstring.c1107 smart_str_appendl(&implstr, Z_STRVAL(expr), Z_STRLEN(expr));
1118 smart_str_appendl(&implstr, Z_STRVAL(tmp_val), Z_STRLEN(tmp_val));
2733 len = Z_STRLEN(ctmp);
2772 tlen = Z_STRLEN(tmp);
3654 replace_value, replace_len, &Z_STRLEN(temp_result), case_sensitivity, replace_count);
3659 Z_STRLEN_P(result) = Z_STRLEN(temp_result);
H A Dfile.c708 numbytes = php_stream_write(stream, Z_STRVAL(out), Z_STRLEN(out));
709 if (numbytes != Z_STRLEN(out)) {
710 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %d of %d bytes written, possibly out of free disk space", numbytes, Z_STRLEN(out));
1948 #define FPUTCSV_FLD_CHK(c) memchr(Z_STRVAL(field), c, Z_STRLEN(field))
2018 char *end = ch + Z_STRLEN(field);
2035 smart_str_appendl(&csvline, Z_STRVAL(field), Z_STRLEN(field));
H A Dinfo.c193 if (Z_STRLEN(tmp2) == 0) {
196 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);
/PHP_5_3/main/
H A Dphp_ini.c625 Z_STRLEN(tmp) = strlen(fh.filename);
626 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.c49 Z_STRLEN(new_entry) = str_len;
51 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) {
208 hashed_ini_entry->value_length = Z_STRLEN(default_value);
H A Dzend_ini_parser.y125 Z_STRVAL_P(result) = zend_strndup(Z_STRVAL(z_constant), Z_STRLEN(z_constant));
126 Z_STRLEN_P(result) = Z_STRLEN(z_constant);
145 Z_STRVAL_P(result) = zend_strndup(Z_STRVAL(curval), Z_STRLEN(curval));
146 Z_STRLEN_P(result) = Z_STRLEN(curval);
H A Dzend_operators.h393 #define Z_STRLEN(zval) (zval).value.str.len macro
408 #define Z_STRLEN_P(zval_p) Z_STRLEN(*zval_p)
423 #define Z_STRLEN_PP(zval_pp) Z_STRLEN(**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($1.u.constant); CG(heredoc_len) = Z_STRLEN($1.u.constant); }
775 | 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(
[all...]
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));
1070 if (Z_STRLEN(op2->u.constant) > 1) {
1073 } else if (Z_STRLEN(op2->u.constant) == 1) {
1347 name_len = Z_STRLEN(tmp.u.constant);
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)));
1480 Z_STRLEN(class_type->u.constant) == 0) {
1495 (Z_STRLEN(varname->u.constant) == sizeof("this")-1) &&
1524 if (ZEND_FETCH_CLASS_DEFAULT == zend_get_class_fetch_type(Z_STRVAL(class_type->u.constant), Z_STRLEN(class_type->u.constant))) {
1557 char *is_compound = memchr(Z_STRVAL(function_name->u.constant), '\\', Z_STRLEN(function_name->u.constant));
1616 Z_STRVAL(opline->op1.u.constant) = zend_str_tolower_dup(Z_STRVAL(opline->op2.u.constant), Z_STRLEN(oplin
[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);
1163 Z_STRLEN(pv) = str_len + sizeof("return ;") - 1;
1164 Z_STRVAL(pv) = emalloc(Z_STRLEN(pv) + 1);
1167 Z_STRVAL(pv)[Z_STRLEN(pv) - 1] = ';';
1168 Z_STRVAL(pv)[Z_STRLEN(pv)] = '\0';
1170 Z_STRLEN(pv) = str_len;
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);
2005 function_name_strlen = Z_STRLEN(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) {
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) {
2139 if (zend_hash_quick_find(EG(function_table), short_name, Z_STRLEN(opline->op1.u.constant)-Z_LVAL(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==FAILURE) {
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(opline->op2.u.constant), '\\', Z_STRLEN(opline->op2.u.constant));
3030 ZVAL_STRINGL(&EX_T(opline->result.u.var).tmp_var, actual, Z_STRLEN(opline->op2.u.constant)-(actual - Z_STRVAL(opline->op2.u.constant)), 1);
3044 ce = zend_fetch_class(Z_STRVAL(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant), opline->extended_value TSRMLS_CC);
3055 if (zend_hash_find(&ce->constants_table, Z_STRVAL(opline->op2.u.constant), Z_STRLEN(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) {
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) {
813 if (zend_hash_quick_find(EG(function_table), short_name, Z_STRLEN(opline->op1.u.constant)-Z_LVAL(op_data->op1.u.constant)+1, op_data->extended_value, (void **) &EX(fbc))==FAILURE) {
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(opline->op1.u.constant), Z_STRLEN(opline->op1.u.constant)+1, opline->extended_value, (void **) &EX(fbc)) == FAILURE) {
1063 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) {
1193 if (zend_hash_quick_find(EG(function_table), Z_STRVAL(opline->op1.u.constant), Z_STRLEN(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));
947 result_len = Z_STRLEN(retval);
1783 Z_STRLEN(subject), 0,
/PHP_5_3/ext/spl/
H A Dspl_iterators.c1147 str_len = Z_STRLEN(prefix) + Z_STRLEN(entry) + Z_STRLEN(postfix);
1151 memcpy(ptr, Z_STRVAL(prefix), Z_STRLEN(prefix));
1152 ptr += Z_STRLEN(prefix);
1153 memcpy(ptr, Z_STRVAL(entry), Z_STRLEN(entry));
1154 ptr += Z_STRLEN(entry);
1155 memcpy(ptr, Z_STRVAL(postfix), Z_STRLEN(postfix));
1156 ptr += Z_STRLEN(postfix);
1217 str_len = Z_STRLEN(prefi
[all...]

Completed in 99 milliseconds

12