Lines Matching refs:len

43 	size_t len;  in PHP_FUNCTION()  local
46 Z_PARAM_STRING(ctr.line, len) in PHP_FUNCTION()
52 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
62 size_t len = 0; in PHP_FUNCTION() local
66 Z_PARAM_STRING(ctr.line, len) in PHP_FUNCTION()
69 ctr.line_len = (uint32_t)len; in PHP_FUNCTION()
87 size_t len = sizeof("Set-Cookie: "); in php_setcookie() local
107 len += ZSTR_LEN(name); in php_setcookie()
111 len += ZSTR_LEN(encoded_value); in php_setcookie()
114 len += ZSTR_LEN(encoded_value); in php_setcookie()
119 len += ZSTR_LEN(path); in php_setcookie()
122 len += ZSTR_LEN(domain); in php_setcookie()
125 cookie = emalloc(len + 100); in php_setcookie()
134 …snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s; Max-Age=0", ZSTR_VAL(name), ZSTR_… in php_setcookie()
137 …snprintf(cookie, len + 100, "Set-Cookie: %s=%s", ZSTR_VAL(name), value ? ZSTR_VAL(encoded_value) :… in php_setcookie()
143 strlcat(cookie, COOKIE_EXPIRES, len + 100); in php_setcookie()
154 strlcat(cookie, ZSTR_VAL(dt), len + 100); in php_setcookie()
162 strlcat(cookie, COOKIE_MAX_AGE, len + 100); in php_setcookie()
163 strlcat(cookie, tsdelta, len + 100); in php_setcookie()
172 strlcat(cookie, COOKIE_PATH, len + 100); in php_setcookie()
173 strlcat(cookie, ZSTR_VAL(path), len + 100); in php_setcookie()
176 strlcat(cookie, COOKIE_DOMAIN, len + 100); in php_setcookie()
177 strlcat(cookie, ZSTR_VAL(domain), len + 100); in php_setcookie()
180 strlcat(cookie, COOKIE_SECURE, len + 100); in php_setcookie()
183 strlcat(cookie, COOKIE_HTTPONLY, len + 100); in php_setcookie()