Home
last modified time | relevance | path

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

12345678910>>...20

/PHP-5.5/
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.5/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.5/Zend/
H A Dbench.php342 $len = strlen($str);
343 print "$len\n";
H A Dzend.h326 int len; member
H A Dzend_API.c3582 int len = strlen(value); in zend_declare_property_string() local
3586 ZVAL_STRINGL(property, zend_strndup(value, len), len, 0); in zend_declare_property_string()
3589 ZVAL_STRINGL(property, value, len, 1); in zend_declare_property_string()
3984 ZEND_API const char* zend_find_alias_name(zend_class_entry *ce, const char *name, zend_uint len) /*… in zend_find_alias_name() argument
3991 if (alias->alias_len == len && in zend_find_alias_name()
4022 uint len; in zend_resolve_method_name() local
4025 …if (zend_hash_get_current_key_ex(function_table, &name, &len, &idx, 0, &iterator) != HASH_KEY_IS_S… in zend_resolve_method_name()
4028 --len; in zend_resolve_method_name()
4029 if (len == strlen(f->common.function_name) && in zend_resolve_method_name()
4030 !strncasecmp(name, f->common.function_name, len)) { in zend_resolve_method_name()
[all …]
H A Dzend_API.h524 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.c2082 int len; in zend_resolve_non_class_name() local
2106 len += 1; in zend_resolve_non_class_name()
2189 int len; in zend_resolve_class_name() local
2215 len += 1; in zend_resolve_class_name()
5252 int len = 0; in zend_strnlen() local
5254 return len; in zend_strnlen()
5460 int len, clen; in zend_do_halt_compiler_register() local
7180 if (2 == len) { in zend_dirname()
7185 return len; in zend_dirname()
7201 return len; in zend_dirname()
[all …]
H A Dzend_compile.h713 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.c1010 offset_key_length = dim->value.str.len; in zend_fetch_dimension_address_inner()
H A Dzend_execute_API.c487 …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.y1234 unsigned int len = 0, toklen = 0, yystr_len; variable
1258 len = LANG_SCNG(yy_leng) > 30 ? 30 : LANG_SCNG(yy_leng);
1260 len = (end - str) > 30 ? 30 : (end - str);
1263 snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1);
1265 snprintf(buffer, sizeof(buffer), "'%.*s'", len, str);
1268 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
675 size = str->value.str.len; in zend_prepare_string_for_scanning()
3320 int len = yyleng - 2; in lex_scan() local
3325 --len; in lex_scan()
3329 if (len == 0) { in lex_scan()
3357 int len = yyleng - 2; in lex_scan() local
3362 len--; in lex_scan()
3365 if (len < SIZEOF_LONG * 2 || (len == SIZEOF_LONG * 2 && *hex <= '7')) { in lex_scan()
3366 if (len == 0) { in lex_scan()
4323 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
673 size = str->value.str.len; in zend_prepare_string_for_scanning()
1499 int len = yyleng - 2;
1504 --len;
1508 if (len == 0) {
1545 int len = yyleng - 2;
1550 len--;
1553 if (len < SIZEOF_LONG * 2 || (len == SIZEOF_LONG * 2 && *hex <= '7')) {
1554 if (len == 0) {
1659 size_t len = 0;
[all …]
H A Dzend_operators.c2041 int len; in zend_binary_strcasecmp() local
2048 len = MIN(len1, len2); in zend_binary_strcasecmp()
2049 while (len--) { in zend_binary_strcasecmp()
2063 int len; in zend_binary_strncasecmp() local
2069 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp()
2070 while (len--) { in zend_binary_strncasecmp()
2084 int len; in zend_binary_strcasecmp_l() local
2091 len = MIN(len1, len2); in zend_binary_strcasecmp_l()
2092 while (len--) { in zend_binary_strcasecmp_l()
2106 int len; in zend_binary_strncasecmp_l() local
[all …]
/PHP-5.5/Zend/tests/
H A Dbug26696.phpt6 $len = strlen($str);
7 for ($i = 0; $i < $len; $i++) {

Completed in 165 milliseconds

12345678910>>...20