Home
last modified time | relevance | path

Searched refs:len (Results 1 – 25 of 484) sorted by path

12345678910>>...20

/PHP-5.4/
H A D.gdbinit125 ____print_str $zvalue->value.str.val $zvalue->value.str.len
253 printf "string(%d): ", $zvalue->value.str.len
254 ____print_str $zvalue->value.str.val $zvalue->value.str.len
/PHP-5.4/TSRM/
H A Dtsrm_virtual_cwd.c112 (len >= 2 && !php_check_dots(element, len))
309 if (r < len) { in php_sys_stat_ex()
324 len = r+1; in php_sys_stat_ex()
773 i = len; in tsrm_realpath_r()
778 if (i == len || in tsrm_realpath_r()
781 len = i - 1; in tsrm_realpath_r()
826 path[len] = 0; in tsrm_realpath_r()
867 !(IS_UNC_PATH(path, len) && len >= 3 && path[2] != '?') && in tsrm_realpath_r()
993 j = len; in tsrm_realpath_r()
1125 j += (len-i); in tsrm_realpath_r()
[all …]
H A Dtsrm_virtual_cwd.h70 #define IS_UNC_PATH(path, len) \ argument
71 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
72 #define IS_ABSOLUTE_PATH(path, len) \ argument
73 (len >= 2 && ((isalpha(path[0]) && path[1] == ':') || IS_UNC_PATH(path, len)))
85 #define IS_ABSOLUTE_PATH(path, len) \ argument
86 ((strchr(path, ':') != NULL) || ((len >= 1) && ((path[0] == '/') || (path[0] == '\\'))))
112 #define IS_ABSOLUTE_PATH(path, len) \ argument
/PHP-5.4/Zend/
H A Dbench.php342 $len = strlen($str);
343 print "$len\n";
H A Dzend.h312 int len; member
H A Dzend_API.c3519 int len = strlen(value); in zend_declare_property_string() local
3523 ZVAL_STRINGL(property, zend_strndup(value, len), len, 0); in zend_declare_property_string()
3526 ZVAL_STRINGL(property, value, len, 1); in zend_declare_property_string()
3921 ZEND_API const char* zend_find_alias_name(zend_class_entry *ce, const char *name, zend_uint len) /*… in zend_find_alias_name() argument
3928 if (alias->alias_len == len && in zend_find_alias_name()
3959 uint len; in zend_resolve_method_name() local
3962 …if (zend_hash_get_current_key_ex(function_table, &name, &len, &idx, 0, &iterator) != HASH_KEY_IS_S… in zend_resolve_method_name()
3965 --len; in zend_resolve_method_name()
3966 if (len == strlen(f->common.function_name) && in zend_resolve_method_name()
3967 !strncasecmp(name, f->common.function_name, len)) { in zend_resolve_method_name()
[all …]
H A Dzend_API.h520 ZEND_API const char* zend_find_alias_name(zend_class_entry *ce, const char *name, zend_uint len);
H A Dzend_alloc.h93 inline static void * __zend_malloc(size_t len) in __zend_malloc() argument
95 void *tmp = malloc(len); in __zend_malloc()
103 inline static void * __zend_calloc(size_t nmemb, size_t len) in __zend_calloc() argument
105 void *tmp = _safe_malloc(nmemb, len, 0); in __zend_calloc()
106 memset(tmp, 0, nmemb * len); in __zend_calloc()
110 inline static void * __zend_realloc(void *p, size_t len) in __zend_realloc() argument
112 p = realloc(p, len); in __zend_realloc()
140 #define safe_estrndup(ptr, len) ((ptr)?(estrndup((ptr), (len))):STR_EMPTY_ALLOC()) argument
H A Dzend_builtin_functions.c118 ZEND_ARG_INFO(0, len)
514 long len; in ZEND_FUNCTION() local
520 if (len < 0) { in ZEND_FUNCTION()
552 long len; in ZEND_FUNCTION() local
558 if (len < 0) { in ZEND_FUNCTION()
1234 int len; in ZEND_FUNCTION() local
1244 len--; in ZEND_FUNCTION()
1277 int len; in ZEND_FUNCTION() local
1287 len--; in ZEND_FUNCTION()
1320 int len; in ZEND_FUNCTION() local
[all …]
H A Dzend_compile.c2059 int len; in zend_resolve_non_class_name() local
2083 len += 1; in zend_resolve_non_class_name()
2113 int len; in zend_resolve_class_name() local
2139 len += 1; in zend_resolve_class_name()
5044 int len = 0; in zend_strnlen() local
5046 return len; in zend_strnlen()
5240 int len, clen; in zend_do_halt_compiler_register() local
6940 if (2 == len) { in zend_dirname()
6945 return len; in zend_dirname()
6961 return len; in zend_dirname()
[all …]
H A Dzend_compile.h684 ZEND_API size_t zend_dirname(char *path, size_t len);
H A Dzend_constants.c213 c.value.value.str.len = strlen; in zend_register_stringl_constant()
270 int len, clen; in zend_get_special_constant() local
275 zend_mangle_property_name(&haltname, &len, haltoff, in zend_get_special_constant()
277 ret = zend_hash_find(EG(zend_constants), haltname, len+1, (void **) c); in zend_get_special_constant()
H A Dzend_constants.h44 … REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(n… argument
49 …STANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEND_NS_NAME(ns, name), sizeof(ZE… argument
54 …STER_MAIN_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(n… argument
H A Dzend_exceptions.c367 (*str)[(*len)++] = chr
400 int *len; in _build_trace_args() local
403 len = va_arg(args, int*); in _build_trace_args()
479 *len += 3; in _build_trace_args()
546 int *len, *num; in _build_trace_string() local
557 len = va_arg(args, int*); in _build_trace_string()
593 int last_len = *len; in _build_trace_string()
595 if (last_len != *len) { in _build_trace_string()
652 int len; in zend_spprintf() local
657 return len; in zend_spprintf()
[all …]
H A Dzend_execute.c1011 offset_key_length = dim->value.str.len; in zend_fetch_dimension_address_inner()
H A Dzend_execute_API.c513 …if (!zend_get_constant_ex(p->value.str.val, p->value.str.len, &const_value, scope, Z_REAL_TYPE_P(p… in zval_update_constant_ex()
H A Dzend_highlight.c57 ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC) in zend_html_puts()
59 const unsigned char *ptr = (const unsigned char*)s, *end = ptr + len; in zend_html_puts()
64 LANG_SCNG(output_filter)(&filtered, &filtered_len, ptr, len TSRMLS_CC); in zend_html_puts()
H A Dzend_highlight.h47 ZEND_API void zend_html_puts(const char *s, uint len TSRMLS_DC);
H A Dzend_ini_scanner.c136 #define zend_ini_copy_value(retval, str, len) { \ argument
137 Z_STRVAL_P(retval) = zend_strndup(str, len); \
138 Z_STRLEN_P(retval) = len; \
142 #define RETURN_TOKEN(type, str, len) { \ argument
143 zend_ini_copy_value(ini_lval, str, len); \
163 static void yy_scan_buffer(char *str, unsigned int len TSRMLS_DC) in yy_scan_buffer()
167 YYLIMIT = YYCURSOR + len; in yy_scan_buffer()
252 int len = strlen(str); in zend_ini_prepare_string_for_scanning() local
258 yy_scan_buffer(str, len TSRMLS_CC); in zend_ini_prepare_string_for_scanning()
266 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type TSRMLS_DC) in zend_ini_escape_string() argument
[all …]
H A Dzend_ini_scanner.l134 #define zend_ini_copy_value(retval, str, len) { \ argument
135 Z_STRVAL_P(retval) = zend_strndup(str, len); \
136 Z_STRLEN_P(retval) = len; \
140 #define RETURN_TOKEN(type, str, len) { \ argument
141 zend_ini_copy_value(ini_lval, str, len); \
161 static void yy_scan_buffer(char *str, unsigned int len TSRMLS_DC) in yy_scan_buffer()
165 YYLIMIT = YYCURSOR + len; in yy_scan_buffer()
250 int len = strlen(str); in zend_ini_prepare_string_for_scanning() local
256 yy_scan_buffer(str, len TSRMLS_CC); in zend_ini_prepare_string_for_scanning()
264 static void zend_ini_escape_string(zval *lval, char *str, int len, char quote_type TSRMLS_DC) in zend_ini_escape_string() argument
[all …]
H A Dzend_language_parser.y1190 unsigned int len = 0, toklen = 0, yystr_len; variable
1214 len = LANG_SCNG(yy_leng) > 30 ? 30 : LANG_SCNG(yy_leng);
1216 len = (end - str) > 30 ? 30 : (end - str);
1219 snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1);
1221 snprintf(buffer, sizeof(buffer), "'%.*s'", len, str);
1224 return len + (toklen ? toklen + 1 : 0) + 2;
H A Dzend_language_scanner.c118 #define SET_DOUBLE_QUOTES_SCANNED_LENGTH(len) CG(doc_comment_len) = (len) argument
672 size = str->value.str.len; in zend_prepare_string_for_scanning()
3306 int len = yyleng - 2; in lex_scan() local
3311 --len; in lex_scan()
3315 if (len == 0) { in lex_scan()
3343 int len = yyleng - 2; in lex_scan() local
3348 len--; in lex_scan()
3351 if (len < SIZEOF_LONG * 2 || (len == SIZEOF_LONG * 2 && *hex <= '7')) { in lex_scan()
3352 if (len == 0) { in lex_scan()
4310 size_t len = 0; in lex_scan() local
[all …]
H A Dzend_language_scanner.l116 #define SET_DOUBLE_QUOTES_SCANNED_LENGTH(len) CG(doc_comment_len) = (len) argument
670 size = str->value.str.len; in zend_prepare_string_for_scanning()
1487 int len = yyleng - 2; in lex_scan() local
1492 --len; in lex_scan()
1496 if (len == 0) { in lex_scan()
1533 int len = yyleng - 2; in lex_scan() local
1538 len--; in lex_scan()
1541 if (len < SIZEOF_LONG * 2 || (len == SIZEOF_LONG * 2 && *hex <= '7')) { in lex_scan()
1542 if (len == 0) { in lex_scan()
1647 size_t len = 0; in lex_scan() local
[all …]
H A Dzend_operators.c1979 int len; in zend_binary_strcasecmp() local
1986 len = MIN(len1, len2); in zend_binary_strcasecmp()
1987 while (len--) { in zend_binary_strcasecmp()
2001 int len; in zend_binary_strncasecmp() local
2007 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp()
2008 while (len--) { in zend_binary_strncasecmp()
/PHP-5.4/Zend/tests/
H A Dbug26696.phpt6 $len = strlen($str);
7 for ($i = 0; $i < $len; $i++) {

Completed in 197 milliseconds

12345678910>>...20