Lines Matching refs:l
97 size_t l = 0; in php_exec() local
151 l = bufl; in php_exec()
152 while (l-- > 0 && isspace(((unsigned char *)buf)[l])); in php_exec()
153 if (l != (bufl - 1)) { in php_exec()
154 bufl = l + 1; in php_exec()
164 l = bufl; in php_exec()
165 while (l-- > 0 && isspace(((unsigned char *)buf)[l])); in php_exec()
166 if (l != (bufl - 1)) { in php_exec()
167 bufl = l + 1; in php_exec()
282 size_t l = strlen(str); in php_escape_shell_cmd() local
283 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()
389 size_t l = strlen(str); in php_escape_shell_arg() local
391 uint64_t estimate = (4 * (uint64_t)l) + 3; in php_escape_shell_arg()
394 if (l > cmd_max_len - 2 - 1) { in php_escape_shell_arg()
399 cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ in php_escape_shell_arg()
407 for (x = 0; x < l; x++) { in php_escape_shell_arg()
408 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()