Lines Matching refs:l
100 size_t l = 0; in php_exec() local
154 l = bufl; in php_exec()
155 while (l-- > 0 && isspace(((unsigned char *)buf)[l])); in php_exec()
156 if (l != (bufl - 1)) { in php_exec()
157 bufl = l + 1; in php_exec()
174 l = bufl; in php_exec()
175 while (l-- > 0 && isspace(((unsigned char *)buf)[l])); in php_exec()
176 if (l != (bufl - 1)) { in php_exec()
177 bufl = l + 1; in php_exec()
295 size_t l = strlen(str); in php_escape_shell_cmd() local
296 uint64_t estimate = (2 * (uint64_t)l) + 1; in php_escape_shell_cmd()
303 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_cmd()
308 cmd = zend_string_safe_alloc(2, l, 0, 0); in php_escape_shell_cmd()
310 for (x = 0, y = 0; x < l; x++) { in php_escape_shell_cmd()
311 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd()
327 if (!p && (p = memchr(str + x + 1, str[x], l - x - 1))) { in php_escape_shell_cmd()
402 size_t l = strlen(str); in php_escape_shell_arg() local
404 uint64_t estimate = (4 * (uint64_t)l) + 3; in php_escape_shell_arg()
407 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_arg()
412 cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ in php_escape_shell_arg()
420 for (x = 0; x < l; x++) { in php_escape_shell_arg()
421 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()