Lines Matching refs:l
83 size_t l = bufl; in strip_trailing_whitespace() local
84 while (l-- > 0 && isspace(((unsigned char *)buf)[l])); in strip_trailing_whitespace()
85 if (l != (bufl - 1)) { in strip_trailing_whitespace()
86 bufl = l + 1; in strip_trailing_whitespace()
284 size_t l = ZSTR_LEN(unescaped_cmd); in php_escape_shell_cmd() local
287 uint64_t estimate = (2 * (uint64_t)l) + 1; in php_escape_shell_cmd()
290 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_cmd()
295 cmd = zend_string_safe_alloc(2, l, 0, 0); in php_escape_shell_cmd()
297 for (x = 0, y = 0; x < l; x++) { in php_escape_shell_cmd()
298 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd()
314 if (!p && (p = memchr(str + x + 1, str[x], l - x - 1))) { in php_escape_shell_cmd()
391 size_t l = ZSTR_LEN(unescaped_arg); in php_escape_shell_arg() local
394 uint64_t estimate = (4 * (uint64_t)l) + 3; in php_escape_shell_arg()
397 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_arg()
402 cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ in php_escape_shell_arg()
410 for (x = 0; x < l; x++) { in php_escape_shell_arg()
411 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()