Lines Matching refs:l
107 int l = 0, pclose_return; in php_exec() local
160 l = bufl; in php_exec()
161 while (l-- && isspace(((unsigned char *)buf)[l])); in php_exec()
162 if (l != (int)(bufl - 1)) { in php_exec()
163 bufl = l + 1; in php_exec()
173 l = bufl; in php_exec()
174 while (l-- && isspace(((unsigned char *)buf)[l])); in php_exec()
175 if (l != (int)(bufl - 1)) { in php_exec()
176 bufl = l + 1; in php_exec()
291 size_t l = strlen(str); in php_escape_shell_cmd() local
292 uint64_t estimate = (2 * (uint64_t)l) + 1; in php_escape_shell_cmd()
299 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_cmd()
304 cmd = safe_emalloc(2, l, 1); in php_escape_shell_cmd()
306 for (x = 0, y = 0; x < l; x++) { in php_escape_shell_cmd()
307 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd()
323 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()
403 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_arg()
408 cmd = safe_emalloc(4, l, 3); /* worst case */ in php_escape_shell_arg()
416 for (x = 0; x < l; x++) { in php_escape_shell_arg()
417 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()