Lines Matching refs:buf

87 	smart_str buf = {0};  in php_setcookie()  local
130 smart_str_appends(&buf, "Set-Cookie: "); in php_setcookie()
131 smart_str_append(&buf, name); in php_setcookie()
132 smart_str_appends(&buf, "=deleted; expires="); in php_setcookie()
133 smart_str_append(&buf, dt); in php_setcookie()
134 smart_str_appends(&buf, "; Max-Age=0"); in php_setcookie()
137 smart_str_appends(&buf, "Set-Cookie: "); in php_setcookie()
138 smart_str_append(&buf, name); in php_setcookie()
139 smart_str_appendc(&buf, '='); in php_setcookie()
142 smart_str_append(&buf, encoded_value); in php_setcookie()
145 smart_str_append(&buf, value); in php_setcookie()
151 smart_str_appends(&buf, COOKIE_EXPIRES); in php_setcookie()
154 smart_str_append(&buf, dt); in php_setcookie()
162 smart_str_appends(&buf, COOKIE_MAX_AGE); in php_setcookie()
163 smart_str_append_long(&buf, (zend_long) diff); in php_setcookie()
168 smart_str_appends(&buf, COOKIE_PATH); in php_setcookie()
169 smart_str_append(&buf, path); in php_setcookie()
172 smart_str_appends(&buf, COOKIE_DOMAIN); in php_setcookie()
173 smart_str_append(&buf, domain); in php_setcookie()
176 smart_str_appends(&buf, COOKIE_SECURE); in php_setcookie()
179 smart_str_appends(&buf, COOKIE_HTTPONLY); in php_setcookie()
182 smart_str_appends(&buf, COOKIE_SAMESITE); in php_setcookie()
183 smart_str_append(&buf, samesite); in php_setcookie()
186 ctr.line = ZSTR_VAL(buf.s); in php_setcookie()
187 ctr.line_len = (uint32_t) ZSTR_LEN(buf.s); in php_setcookie()
190 zend_string_release(buf.s); in php_setcookie()