Searched refs:cookie (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/main/streams/
H A Dcast.c49 FILE *fopencookie(void *cookie, const char *mode, COOKIE_IO_FUNCTIONS_T *funcs) argument
51 return funopen(cookie, funcs->reader, funcs->writer, funcs->seeker, funcs->closer);
63 static int stream_cookie_reader(void *cookie, char *buffer, int size) argument
68 ret = php_stream_read((php_stream*)cookie, buffer, size);
72 static int stream_cookie_writer(void *cookie, const char *buffer, int size) argument
76 return php_stream_write((php_stream *)cookie, (char *)buffer, size);
79 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) argument
83 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence);
86 static int stream_cookie_closer(void *cookie) argument
88 php_stream *stream = (php_stream*)cookie;
96 stream_cookie_reader(void *cookie, char *buffer, size_t size) argument
105 stream_cookie_writer(void *cookie, const char *buffer, size_t size) argument
113 stream_cookie_seeker(void *cookie, __off64_t *position, int whence) argument
125 stream_cookie_seeker(void *cookie, zend_off_t position, int whence) argument
133 stream_cookie_closer(void *cookie) argument
[all...]
/PHP_TRUNK/sapi/webjames/
H A Dwebjames.c99 return WG(conn)->cookie;
157 ADD_FIELD("HTTP_COOKIE", cookie);
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c3463 char *cookie = NIL; local
3801 /* find cookie */
3802 for (param = bod->parameter; param && !cookie; param = param->next) {
3804 cookie = param->value;
3809 if (!cookie) {
3810 cookie = "-";
3811 } else if (strlen(cookie) > (SENDBUFLEN - 2 - 2 - 2)) { /* validate cookie length -- + CRLF * 2 */
3825 /* output cookie, mini-header, and contents */
3826 spprintf(&tempstring, 0, "%s--%s%s%s%s", mystring, cookie, CRL
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_http.c139 name_len != sizeof("cookie")-1 ||
140 strncasecmp(s, "cookie", sizeof("cookie")-1) != 0) &&
925 /* Grab and send back every cookie */
933 char *cookie; local
943 cookie = get_http_header_value(cookie_itt,"Set-Cookie: ");
945 eqpos = strstr(cookie, "=");
946 sempos = strstr(cookie, ";");
955 cookie_len = strlen(cookie)-(eqpos-cookie)
[all...]
/PHP_TRUNK/sapi/thttpd/
H A Dthttpd.c264 return TG(hc)->cookie;
319 CONDADD(HTTP_COOKIE, cookie);
518 HANDLE_STR(cookie); \
/PHP_TRUNK/ext/ldap/
H A Dldap.c2636 /* {{{ proto mixed ldap_control_paged_result(resource link, int pagesize [, bool iscritical [, string cookie]])
2643 char *cookie = NULL; local
2652 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl|bs", &link, &pagesize, &iscritical, &cookie, &cookie_len) != SUCCESS) {
2673 lcookie.bv_val = cookie;
2728 /* {{{ proto bool ldap_control_paged_result_response(resource link, resource result [, string &cookie [, int &estimated]])
2732 zval *link, *result, *cookie, *estimated; local
2742 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr|z/z/", &link, &result, &cookie, &estimated) != SUCCESS) {
2808 zval_ptr_dtor(cookie);
2810 ZVAL_EMPTY_STRING(cookie);
2812 ZVAL_STRINGL(cookie, lcooki
[all...]
/PHP_TRUNK/ext/standard/
H A Dhead.c78 char *cookie; local
111 cookie = emalloc(len + 100);
115 * MSIE doesn't delete a cookie when you set it to a null value
120 snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s; Max-Age=0", name, dt->val);
123 snprintf(cookie, len + 100, "Set-Cookie: %s=%s", name, value ? encoded_value->val : "");
127 strlcat(cookie, COOKIE_EXPIRES, len + 100);
133 efree(cookie);
138 strlcat(cookie, dt->val, len + 100);
142 strlcat(cookie, COOKIE_MAX_AGE, len + 100);
143 strlcat(cookie, tsdelt
[all...]
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c11762 u8 checkSchema; /* Causes schema cookie check after an error */
99613 int cookie; local
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c730 uint32_t cookie; local
732 ret = (*fp_lve_enter)(s_lve, uid, -1, -1, &cookie);

Completed in 182 milliseconds