Lines Matching refs:l
101 size_t l = 0; in php_exec() local
155 l = bufl; in php_exec()
156 while (l-- > 0 && isspace(((unsigned char *)buf)[l])); in php_exec()
157 if (l != (bufl - 1)) { in php_exec()
158 bufl = l + 1; in php_exec()
168 l = bufl; in php_exec()
169 while (l-- > 0 && isspace(((unsigned char *)buf)[l])); in php_exec()
170 if (l != (bufl - 1)) { in php_exec()
171 bufl = l + 1; in php_exec()
289 size_t l = strlen(str); in php_escape_shell_cmd() local
290 uint64_t estimate = (2 * (uint64_t)l) + 1; in php_escape_shell_cmd()
297 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_cmd()
302 cmd = zend_string_safe_alloc(2, l, 0, 0); in php_escape_shell_cmd()
304 for (x = 0, y = 0; x < l; x++) { in php_escape_shell_cmd()
305 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd()
321 if (!p && (p = memchr(str + x + 1, str[x], l - x - 1))) { in php_escape_shell_cmd()
396 size_t l = strlen(str); in php_escape_shell_arg() local
398 uint64_t estimate = (4 * (uint64_t)l) + 3; in php_escape_shell_arg()
401 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_arg()
406 cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ in php_escape_shell_arg()
414 for (x = 0; x < l; x++) { in php_escape_shell_arg()
415 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()