Lines Matching refs:l
85 size_t l = bufl; in strip_trailing_whitespace() local
86 while (l-- > 0 && isspace(((unsigned char *)buf)[l])); in strip_trailing_whitespace()
87 if (l != (bufl - 1)) { in strip_trailing_whitespace()
88 bufl = l + 1; in strip_trailing_whitespace()
285 size_t l = strlen(str); in php_escape_shell_cmd() local
286 uint64_t estimate = (2 * (uint64_t)l) + 1; in php_escape_shell_cmd()
293 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_cmd()
298 cmd = zend_string_safe_alloc(2, l, 0, 0); in php_escape_shell_cmd()
300 for (x = 0, y = 0; x < l; x++) { in php_escape_shell_cmd()
301 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd()
317 if (!p && (p = memchr(str + x + 1, str[x], l - x - 1))) { in php_escape_shell_cmd()
391 size_t l = strlen(str); in php_escape_shell_arg() local
393 uint64_t estimate = (4 * (uint64_t)l) + 3; in php_escape_shell_arg()
396 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_arg()
401 cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ in php_escape_shell_arg()
409 for (x = 0; x < l; x++) { in php_escape_shell_arg()
410 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()