Lines Matching refs:buf
87 smart_str buf = {0}; in php_setcookie() local
122 smart_str_appends(&buf, "Set-Cookie: "); in php_setcookie()
123 smart_str_append(&buf, name); in php_setcookie()
124 smart_str_appends(&buf, "=deleted; expires="); in php_setcookie()
125 smart_str_append(&buf, dt); in php_setcookie()
126 smart_str_appends(&buf, "; Max-Age=0"); in php_setcookie()
129 smart_str_appends(&buf, "Set-Cookie: "); in php_setcookie()
130 smart_str_append(&buf, name); in php_setcookie()
131 smart_str_appendc(&buf, '='); in php_setcookie()
134 smart_str_append(&buf, encoded_value); in php_setcookie()
137 smart_str_append(&buf, value); in php_setcookie()
143 smart_str_appends(&buf, COOKIE_EXPIRES); in php_setcookie()
149 smart_str_free(&buf); in php_setcookie()
155 smart_str_append(&buf, dt); in php_setcookie()
163 smart_str_appends(&buf, COOKIE_MAX_AGE); in php_setcookie()
164 smart_str_append_long(&buf, (zend_long) diff); in php_setcookie()
169 smart_str_appends(&buf, COOKIE_PATH); in php_setcookie()
170 smart_str_append(&buf, path); in php_setcookie()
173 smart_str_appends(&buf, COOKIE_DOMAIN); in php_setcookie()
174 smart_str_append(&buf, domain); in php_setcookie()
177 smart_str_appends(&buf, COOKIE_SECURE); in php_setcookie()
180 smart_str_appends(&buf, COOKIE_HTTPONLY); in php_setcookie()
183 smart_str_appends(&buf, COOKIE_SAMESITE); in php_setcookie()
184 smart_str_append(&buf, samesite); in php_setcookie()
187 ctr.line = ZSTR_VAL(buf.s); in php_setcookie()
188 ctr.line_len = (uint32_t) ZSTR_LEN(buf.s); in php_setcookie()
191 zend_string_release(buf.s); in php_setcookie()