ctx               162 TSRM/TSRM.h    #define TSRMLS_FETCH_FROM_CTX(ctx)	void ***tsrm_ls = (void ***) ctx
ctx               163 TSRM/TSRM.h    #define TSRMLS_SET_CTX(ctx)		ctx = (void ***) tsrm_ls
ctx               177 TSRM/TSRM.h    #define TSRMLS_FETCH_FROM_CTX(ctx)
ctx               178 TSRM/TSRM.h    #define TSRMLS_SET_CTX(ctx)
ctx              2479 Zend/zend_compile.c 		zend_compiler_context *ctx;
ctx              2481 Zend/zend_compile.c 		zend_stack_top(&CG(context_stack), (void**)&ctx);
ctx              2482 Zend/zend_compile.c 		CG(context) = *ctx;
ctx                44 ext/com_dotnet/com_com.c 	CLSCTX ctx = CLSCTX_SERVER;
ctx                74 ext/com_dotnet/com_com.c 		ctx = CLSCTX_REMOTE_SERVER;
ctx                85 ext/com_dotnet/com_com.c 			ctx = CLSCTX_REMOTE_SERVER;
ctx               112 ext/com_dotnet/com_com.c 			ctx = (CLSCTX)Z_LVAL_PP(tmp);
ctx               203 ext/com_dotnet/com_com.c 		res = CoCreateInstanceEx(&clsid, NULL, ctx, &info, 1, &qi);
ctx              1287 ext/curl/interface.c static size_t curl_write_nothing(char *data, size_t size, size_t nmemb, void *ctx)
ctx              1295 ext/curl/interface.c static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx)
ctx              1297 ext/curl/interface.c 	php_curl       *ch     = (php_curl *) ctx;
ctx              1304 ext/curl/interface.c 	fprintf(stderr, "data = %s, size = %d, nmemb = %d, ctx = %x\n", data, size, nmemb, ctx);
ctx              1373 ext/curl/interface.c static int curl_fnmatch(void *ctx, const char *pattern, const char *string)
ctx              1375 ext/curl/interface.c 	php_curl       *ch = (php_curl *) ctx;
ctx              1520 ext/curl/interface.c static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx)
ctx              1522 ext/curl/interface.c 	php_curl       *ch = (php_curl *) ctx;
ctx              1596 ext/curl/interface.c static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx)
ctx              1598 ext/curl/interface.c 	php_curl       *ch  = (php_curl *) ctx;
ctx              1673 ext/curl/interface.c static int curl_debug(CURL *cp, curl_infotype type, char *buf, size_t buf_len, void *ctx) /* {{{ */
ctx              1675 ext/curl/interface.c 	php_curl    *ch   = (php_curl *) ctx;
ctx              1694 ext/curl/interface.c static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen)
ctx              1696 ext/curl/interface.c 	php_curl    *ch   = (php_curl *) ctx;
ctx               277 ext/dom/xpath.c 	xmlXPathContextPtr ctx, oldctx;
ctx               289 ext/dom/xpath.c 	ctx = xmlXPathNewContext(docp);
ctx               290 ext/dom/xpath.c 	if (ctx == NULL) {
ctx               303 ext/dom/xpath.c 		xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "functionString",
ctx               306 ext/dom/xpath.c 		xmlXPathRegisterFuncNS (ctx, (const xmlChar *) "function",
ctx               310 ext/dom/xpath.c 		intern->ptr = ctx;
ctx               311 ext/dom/xpath.c 		ctx->userData = (void *)intern;
ctx               322 ext/dom/xpath.c 	xmlXPathContextPtr ctx;
ctx               326 ext/dom/xpath.c 	ctx = (xmlXPathContextPtr) obj->ptr;
ctx               328 ext/dom/xpath.c 	if (ctx) {
ctx               329 ext/dom/xpath.c 		docp = (xmlDocPtr) ctx->doc;
ctx               250 ext/ftp/ftp.c  	SSL_CTX	*ctx = NULL;
ctx               282 ext/ftp/ftp.c  		ctx = SSL_CTX_new(SSLv23_client_method());
ctx               283 ext/ftp/ftp.c  		if (ctx == NULL) {
ctx               291 ext/ftp/ftp.c  		SSL_CTX_set_options(ctx, ssl_ctx_options);
ctx               293 ext/ftp/ftp.c  		ftp->ssl_handle = SSL_new(ctx);
ctx               296 ext/ftp/ftp.c  			SSL_CTX_free(ctx);
ctx              1497 ext/ftp/ftp.c  	SSL_CTX		*ctx;
ctx              1519 ext/ftp/ftp.c  		ctx = SSL_CTX_new(SSLv23_client_method());
ctx              1520 ext/ftp/ftp.c  		if (ctx == NULL) {
ctx              1528 ext/ftp/ftp.c  		SSL_CTX_set_options(ctx, ssl_ctx_options);
ctx              1530 ext/ftp/ftp.c  		data->ssl_handle = SSL_new(ctx);
ctx              1533 ext/ftp/ftp.c  			SSL_CTX_free(ctx);
ctx              1566 ext/ftp/ftp.c  	SSL_CTX		*ctx;
ctx              1575 ext/ftp/ftp.c  			ctx = SSL_get_SSL_CTX(data->ssl_handle);
ctx              1576 ext/ftp/ftp.c  			SSL_CTX_free(ctx);
ctx              1588 ext/ftp/ftp.c  			ctx = SSL_get_SSL_CTX(data->ssl_handle);
ctx              1589 ext/ftp/ftp.c  			SSL_CTX_free(ctx);
ctx              2215 ext/gd/gd.c    static int _php_ctx_getmbi(gdIOCtx *ctx)
ctx              2220 ext/gd/gd.c    		i = (ctx->getC)(ctx);
ctx                23 ext/gd/gd_ctx.c #define CTX_PUTC(c,ctx) ctx->putC(ctx, c)
ctx                25 ext/gd/gd_ctx.c static void _php_image_output_putc(struct gdIOCtx *ctx, int c)
ctx                36 ext/gd/gd_ctx.c static int _php_image_output_putbuf(struct gdIOCtx *ctx, const void* buf, int l)
ctx                42 ext/gd/gd_ctx.c static void _php_image_output_ctxfree(struct gdIOCtx *ctx)
ctx                44 ext/gd/gd_ctx.c 	if(ctx) {
ctx                45 ext/gd/gd_ctx.c 		efree(ctx);
ctx                49 ext/gd/gd_ctx.c static void _php_image_stream_putc(struct gdIOCtx *ctx, int c)  {
ctx                51 ext/gd/gd_ctx.c 	php_stream * stream = (php_stream *)ctx->data;
ctx                56 ext/gd/gd_ctx.c static int _php_image_stream_putbuf(struct gdIOCtx *ctx, const void* buf, int l)
ctx                58 ext/gd/gd_ctx.c 	php_stream * stream = (php_stream *)ctx->data;
ctx                63 ext/gd/gd_ctx.c static void _php_image_stream_ctxfree(struct gdIOCtx *ctx)
ctx                67 ext/gd/gd_ctx.c 	if(ctx->data) {
ctx                68 ext/gd/gd_ctx.c 		php_stream_close((php_stream *) ctx->data);
ctx                69 ext/gd/gd_ctx.c 		ctx->data = NULL;
ctx                71 ext/gd/gd_ctx.c 	if(ctx) {
ctx                72 ext/gd/gd_ctx.c 		efree(ctx);
ctx                87 ext/gd/gd_ctx.c 	gdIOCtx *ctx = NULL;
ctx               146 ext/gd/gd_ctx.c 		ctx = emalloc(sizeof(gdIOCtx));
ctx               147 ext/gd/gd_ctx.c 		ctx->putC = _php_image_output_putc;
ctx               148 ext/gd/gd_ctx.c 		ctx->putBuf = _php_image_output_putbuf;
ctx               149 ext/gd/gd_ctx.c 		ctx->gd_free = _php_image_output_ctxfree;
ctx               158 ext/gd/gd_ctx.c 	if (!ctx)	{
ctx               159 ext/gd/gd_ctx.c 		ctx = emalloc(sizeof(gdIOCtx));
ctx               160 ext/gd/gd_ctx.c 		ctx->putC = _php_image_stream_putc;
ctx               161 ext/gd/gd_ctx.c 		ctx->putBuf = _php_image_stream_putbuf;
ctx               162 ext/gd/gd_ctx.c 		ctx->gd_free = _php_image_stream_ctxfree;
ctx               163 ext/gd/gd_ctx.c 		ctx->data = (void *)stream;
ctx               172 ext/gd/gd_ctx.c 			(*func_p)(im, ctx, q);
ctx               178 ext/gd/gd_ctx.c 			(*func_p)(im, ctx, q);
ctx               181 ext/gd/gd_ctx.c 			(*func_p)(im, ctx, q, f);
ctx               192 ext/gd/gd_ctx.c 				(*func_p)(im, file ? file : "", q, ctx);
ctx               194 ext/gd/gd_ctx.c 				(*func_p)(im, q, ctx);
ctx               198 ext/gd/gd_ctx.c 			(*func_p)(im, ctx);
ctx               202 ext/gd/gd_ctx.c 	ctx->gd_free(ctx);
ctx               756 ext/gd/libgd/gd.h void* gdDPExtractData(struct gdIOCtx* ctx, int *size);
ctx                90 ext/gd/libgd/gd_gif_out.c static void BumpPixel (GifCtx *ctx);
ctx                91 ext/gd/libgd/gd_gif_out.c static int GIFNextPixel (gdImagePtr im, GifCtx *ctx);
ctx                93 ext/gd/libgd/gd_gif_out.c static void compress (int init_bits, gdIOCtx *outfile, gdImagePtr im, GifCtx *ctx);
ctx                94 ext/gd/libgd/gd_gif_out.c static void output (code_int code, GifCtx *ctx);
ctx                95 ext/gd/libgd/gd_gif_out.c static void cl_block (GifCtx *ctx);
ctx                96 ext/gd/libgd/gd_gif_out.c static void cl_hash (register count_int chsize, GifCtx *ctx);
ctx                97 ext/gd/libgd/gd_gif_out.c static void char_init (GifCtx *ctx);
ctx                98 ext/gd/libgd/gd_gif_out.c static void char_out (int c, GifCtx *ctx);
ctx                99 ext/gd/libgd/gd_gif_out.c static void flush_char (GifCtx *ctx);
ctx               182 ext/gd/libgd/gd_gif_out.c BumpPixel(GifCtx *ctx)
ctx               187 ext/gd/libgd/gd_gif_out.c         ++(ctx->curx);
ctx               194 ext/gd/libgd/gd_gif_out.c         if( ctx->curx == ctx->Width ) {
ctx               195 ext/gd/libgd/gd_gif_out.c                 ctx->curx = 0;
ctx               197 ext/gd/libgd/gd_gif_out.c                 if( !ctx->Interlace )
ctx               198 ext/gd/libgd/gd_gif_out.c                         ++(ctx->cury);
ctx               200 ext/gd/libgd/gd_gif_out.c                      switch( ctx->Pass ) {
ctx               203 ext/gd/libgd/gd_gif_out.c                           ctx->cury += 8;
ctx               204 ext/gd/libgd/gd_gif_out.c                           if( ctx->cury >= ctx->Height ) {
ctx               205 ext/gd/libgd/gd_gif_out.c                                 ++(ctx->Pass);
ctx               206 ext/gd/libgd/gd_gif_out.c                                 ctx->cury = 4;
ctx               211 ext/gd/libgd/gd_gif_out.c                           ctx->cury += 8;
ctx               212 ext/gd/libgd/gd_gif_out.c                           if( ctx->cury >= ctx->Height ) {
ctx               213 ext/gd/libgd/gd_gif_out.c                                 ++(ctx->Pass);
ctx               214 ext/gd/libgd/gd_gif_out.c                                 ctx->cury = 2;
ctx               219 ext/gd/libgd/gd_gif_out.c                           ctx->cury += 4;
ctx               220 ext/gd/libgd/gd_gif_out.c                           if( ctx->cury >= ctx->Height ) {
ctx               221 ext/gd/libgd/gd_gif_out.c                              ++(ctx->Pass);
ctx               222 ext/gd/libgd/gd_gif_out.c                              ctx->cury = 1;
ctx               227 ext/gd/libgd/gd_gif_out.c                           ctx->cury += 2;
ctx               238 ext/gd/libgd/gd_gif_out.c GIFNextPixel(gdImagePtr im, GifCtx *ctx)
ctx               242 ext/gd/libgd/gd_gif_out.c         if( ctx->CountDown == 0 )
ctx               245 ext/gd/libgd/gd_gif_out.c         --(ctx->CountDown);
ctx               247 ext/gd/libgd/gd_gif_out.c         r = gdImageGetPixel(im, ctx->curx, ctx->cury);
ctx               249 ext/gd/libgd/gd_gif_out.c         BumpPixel(ctx);
ctx               266 ext/gd/libgd/gd_gif_out.c 		GifCtx ctx;
ctx               268 ext/gd/libgd/gd_gif_out.c 		memset(&ctx, 0, sizeof(ctx));
ctx               269 ext/gd/libgd/gd_gif_out.c         ctx.Interlace = GInterlace;
ctx               270 ext/gd/libgd/gd_gif_out.c 		ctx.in_count = 1;
ctx               274 ext/gd/libgd/gd_gif_out.c         RWidth = ctx.Width = GWidth;
ctx               275 ext/gd/libgd/gd_gif_out.c         RHeight = ctx.Height = GHeight;
ctx               283 ext/gd/libgd/gd_gif_out.c         ctx.CountDown = (long)ctx.Width * (long)ctx.Height;
ctx               288 ext/gd/libgd/gd_gif_out.c         ctx.Pass = 0;
ctx               301 ext/gd/libgd/gd_gif_out.c         ctx.curx = ctx.cury = 0;
ctx               378 ext/gd/libgd/gd_gif_out.c         gifPutWord( ctx.Width, fp );
ctx               379 ext/gd/libgd/gd_gif_out.c         gifPutWord( ctx.Height, fp );
ctx               384 ext/gd/libgd/gd_gif_out.c         if( ctx.Interlace )
ctx               397 ext/gd/libgd/gd_gif_out.c         compress( InitCodeSize+1, fp, im, &ctx );
ctx               455 ext/gd/libgd/gd_gif_out.c #define HashTabOf(i)       ctx->htab[i]
ctx               456 ext/gd/libgd/gd_gif_out.c #define CodeTabOf(i)    ctx->codetab[i]
ctx               489 ext/gd/libgd/gd_gif_out.c output(code_int code, GifCtx *ctx);
ctx               492 ext/gd/libgd/gd_gif_out.c compress(int init_bits, gdIOCtxPtr outfile, gdImagePtr im, GifCtx *ctx)
ctx               506 ext/gd/libgd/gd_gif_out.c     ctx->g_init_bits = init_bits;
ctx               507 ext/gd/libgd/gd_gif_out.c     ctx->g_outfile = outfile;
ctx               512 ext/gd/libgd/gd_gif_out.c     ctx->offset = 0;
ctx               513 ext/gd/libgd/gd_gif_out.c     ctx->out_count = 0;
ctx               514 ext/gd/libgd/gd_gif_out.c     ctx->clear_flg = 0;
ctx               515 ext/gd/libgd/gd_gif_out.c     ctx->in_count = 1;
ctx               516 ext/gd/libgd/gd_gif_out.c     ctx->maxcode = MAXCODE(ctx->n_bits = ctx->g_init_bits);
ctx               518 ext/gd/libgd/gd_gif_out.c     ctx->ClearCode = (1 << (init_bits - 1));
ctx               519 ext/gd/libgd/gd_gif_out.c     ctx->EOFCode = ctx->ClearCode + 1;
ctx               520 ext/gd/libgd/gd_gif_out.c     ctx->free_ent = ctx->ClearCode + 2;
ctx               522 ext/gd/libgd/gd_gif_out.c     char_init(ctx);
ctx               524 ext/gd/libgd/gd_gif_out.c     ent = GIFNextPixel( im, ctx );
ctx               532 ext/gd/libgd/gd_gif_out.c     cl_hash( (count_int) hsize_reg, ctx );            /* clear hash table */
ctx               534 ext/gd/libgd/gd_gif_out.c     output( (code_int)ctx->ClearCode, ctx );
ctx               539 ext/gd/libgd/gd_gif_out.c     while ( (c = GIFNextPixel( im, ctx )) != EOF ) {  /* } */
ctx               542 ext/gd/libgd/gd_gif_out.c         ++(ctx->in_count);
ctx               566 ext/gd/libgd/gd_gif_out.c         output ( (code_int) ent, ctx );
ctx               567 ext/gd/libgd/gd_gif_out.c         ++(ctx->out_count);
ctx               570 ext/gd/libgd/gd_gif_out.c         if ( (unsigned) ctx->free_ent < (unsigned) maxmaxcode) {
ctx               572 ext/gd/libgd/gd_gif_out.c         if ( ctx->free_ent < maxmaxcode ) {  /* } */
ctx               574 ext/gd/libgd/gd_gif_out.c             CodeTabOf (i) = ctx->free_ent++; /* code -> hashtable */
ctx               577 ext/gd/libgd/gd_gif_out.c                 cl_block(ctx);
ctx               582 ext/gd/libgd/gd_gif_out.c     output( (code_int)ent, ctx );
ctx               583 ext/gd/libgd/gd_gif_out.c     ++(ctx->out_count);
ctx               584 ext/gd/libgd/gd_gif_out.c     output( (code_int) ctx->EOFCode, ctx );
ctx               610 ext/gd/libgd/gd_gif_out.c output(code_int code, GifCtx *ctx)
ctx               612 ext/gd/libgd/gd_gif_out.c     ctx->cur_accum &= masks[ ctx->cur_bits ];
ctx               614 ext/gd/libgd/gd_gif_out.c     if( ctx->cur_bits > 0 )
ctx               615 ext/gd/libgd/gd_gif_out.c         ctx->cur_accum |= ((long)code << ctx->cur_bits);
ctx               617 ext/gd/libgd/gd_gif_out.c         ctx->cur_accum = code;
ctx               619 ext/gd/libgd/gd_gif_out.c     ctx->cur_bits += ctx->n_bits;
ctx               621 ext/gd/libgd/gd_gif_out.c     while( ctx->cur_bits >= 8 ) {
ctx               622 ext/gd/libgd/gd_gif_out.c         char_out( (unsigned int)(ctx->cur_accum & 0xff), ctx );
ctx               623 ext/gd/libgd/gd_gif_out.c         ctx->cur_accum >>= 8;
ctx               624 ext/gd/libgd/gd_gif_out.c         ctx->cur_bits -= 8;
ctx               631 ext/gd/libgd/gd_gif_out.c    if ( ctx->free_ent > ctx->maxcode || ctx->clear_flg ) {
ctx               633 ext/gd/libgd/gd_gif_out.c             if( ctx->clear_flg ) {
ctx               635 ext/gd/libgd/gd_gif_out.c                 ctx->maxcode = MAXCODE (ctx->n_bits = ctx->g_init_bits);
ctx               636 ext/gd/libgd/gd_gif_out.c                 ctx->clear_flg = 0;
ctx               640 ext/gd/libgd/gd_gif_out.c                 ++(ctx->n_bits);
ctx               641 ext/gd/libgd/gd_gif_out.c                 if ( ctx->n_bits == maxbits )
ctx               642 ext/gd/libgd/gd_gif_out.c                     ctx->maxcode = maxmaxcode;
ctx               644 ext/gd/libgd/gd_gif_out.c                     ctx->maxcode = MAXCODE(ctx->n_bits);
ctx               648 ext/gd/libgd/gd_gif_out.c     if( code == ctx->EOFCode ) {
ctx               652 ext/gd/libgd/gd_gif_out.c         while( ctx->cur_bits > 0 ) {
ctx               653 ext/gd/libgd/gd_gif_out.c                 char_out( (unsigned int)(ctx->cur_accum & 0xff), ctx);
ctx               654 ext/gd/libgd/gd_gif_out.c                 ctx->cur_accum >>= 8;
ctx               655 ext/gd/libgd/gd_gif_out.c                 ctx->cur_bits -= 8;
ctx               658 ext/gd/libgd/gd_gif_out.c         flush_char(ctx);
ctx               667 ext/gd/libgd/gd_gif_out.c cl_block (GifCtx *ctx)             /* table clear for block compress */
ctx               670 ext/gd/libgd/gd_gif_out.c         cl_hash ( (count_int) hsize, ctx );
ctx               671 ext/gd/libgd/gd_gif_out.c         ctx->free_ent = ctx->ClearCode + 2;
ctx               672 ext/gd/libgd/gd_gif_out.c         ctx->clear_flg = 1;
ctx               674 ext/gd/libgd/gd_gif_out.c         output( (code_int)ctx->ClearCode, ctx);
ctx               678 ext/gd/libgd/gd_gif_out.c cl_hash(register count_int chsize, GifCtx *ctx)          /* reset code table */
ctx               682 ext/gd/libgd/gd_gif_out.c         register count_int *htab_p = ctx->htab+chsize;
ctx               722 ext/gd/libgd/gd_gif_out.c char_init(GifCtx *ctx)
ctx               724 ext/gd/libgd/gd_gif_out.c         ctx->a_count = 0;
ctx               732 ext/gd/libgd/gd_gif_out.c char_out(int c, GifCtx *ctx)
ctx               734 ext/gd/libgd/gd_gif_out.c         ctx->accum[ ctx->a_count++ ] = c;
ctx               735 ext/gd/libgd/gd_gif_out.c         if( ctx->a_count >= 254 )
ctx               736 ext/gd/libgd/gd_gif_out.c                 flush_char(ctx);
ctx               743 ext/gd/libgd/gd_gif_out.c flush_char(GifCtx *ctx)
ctx               745 ext/gd/libgd/gd_gif_out.c         if( ctx->a_count > 0 ) {
ctx               746 ext/gd/libgd/gd_gif_out.c                 gdPutC( ctx->a_count, ctx->g_outfile );
ctx               747 ext/gd/libgd/gd_gif_out.c                 gdPutBuf( ctx->accum, ctx->a_count, ctx->g_outfile );
ctx               748 ext/gd/libgd/gd_gif_out.c                 ctx->a_count = 0;
ctx                34 ext/gd/libgd/gd_io.c void Putword (int w, gdIOCtx * ctx)
ctx                40 ext/gd/libgd/gd_io.c 	(ctx->putBuf) (ctx, (char *) buf, 2);
ctx                43 ext/gd/libgd/gd_io.c void Putchar (int c, gdIOCtx * ctx)
ctx                45 ext/gd/libgd/gd_io.c 	(ctx->putC) (ctx, c & 0xff);
ctx                48 ext/gd/libgd/gd_io.c void gdPutC (const unsigned char c, gdIOCtx * ctx)
ctx                50 ext/gd/libgd/gd_io.c 	(ctx->putC) (ctx, c);
ctx                53 ext/gd/libgd/gd_io.c void gdPutWord (int w, gdIOCtx * ctx)
ctx                56 ext/gd/libgd/gd_io.c 	(ctx->putC) (ctx, (unsigned char) (w >> 8));
ctx                57 ext/gd/libgd/gd_io.c 	(ctx->putC) (ctx, (unsigned char) (w & 0xFF));
ctx                61 ext/gd/libgd/gd_io.c void gdPutInt (int w, gdIOCtx * ctx)
ctx                64 ext/gd/libgd/gd_io.c 	(ctx->putC) (ctx, (unsigned char) (w >> 24));
ctx                65 ext/gd/libgd/gd_io.c 	(ctx->putC) (ctx, (unsigned char) ((w >> 16) & 0xFF));
ctx                66 ext/gd/libgd/gd_io.c 	(ctx->putC) (ctx, (unsigned char) ((w >> 8) & 0xFF));
ctx                67 ext/gd/libgd/gd_io.c 	(ctx->putC) (ctx, (unsigned char) (w & 0xFF));
ctx                71 ext/gd/libgd/gd_io.c int gdGetC (gdIOCtx * ctx)
ctx                73 ext/gd/libgd/gd_io.c 	return ((ctx->getC) (ctx));
ctx                76 ext/gd/libgd/gd_io.c int gdGetByte (int *result, gdIOCtx * ctx)
ctx                79 ext/gd/libgd/gd_io.c 	r = (ctx->getC) (ctx);
ctx                85 ext/gd/libgd/gd_io.c int gdGetWord (int *result, gdIOCtx * ctx)
ctx                88 ext/gd/libgd/gd_io.c 	r = (ctx->getC) (ctx);
ctx                91 ext/gd/libgd/gd_io.c 	r = (ctx->getC) (ctx);
ctx                98 ext/gd/libgd/gd_io.c int gdGetInt (int *result, gdIOCtx * ctx)
ctx               101 ext/gd/libgd/gd_io.c 	r = (ctx->getC) (ctx);
ctx               105 ext/gd/libgd/gd_io.c 	r = (ctx->getC) (ctx);
ctx               109 ext/gd/libgd/gd_io.c 	r = (ctx->getC) (ctx);
ctx               115 ext/gd/libgd/gd_io.c 	r = (ctx->getC) (ctx);
ctx               122 ext/gd/libgd/gd_io.c int gdPutBuf (const void *buf, int size, gdIOCtx * ctx)
ctx               125 ext/gd/libgd/gd_io.c 	return (ctx->putBuf) (ctx, buf, size);
ctx               129 ext/gd/libgd/gd_io.c int gdGetBuf (void *buf, int size, gdIOCtx * ctx)
ctx               131 ext/gd/libgd/gd_io.c 	return (ctx->getBuf) (ctx, buf, size);
ctx               134 ext/gd/libgd/gd_io.c int gdSeek (gdIOCtx * ctx, const int pos)
ctx               137 ext/gd/libgd/gd_io.c 	return ((ctx->seek) (ctx, pos));
ctx               141 ext/gd/libgd/gd_io.c long gdTell (gdIOCtx * ctx)
ctx               144 ext/gd/libgd/gd_io.c 	return ((ctx->tell) (ctx));
ctx                27 ext/gd/libgd/gd_io.h void Putword(int w, gdIOCtx *ctx);
ctx                28 ext/gd/libgd/gd_io.h void Putchar(int c, gdIOCtx *ctx);
ctx                30 ext/gd/libgd/gd_io.h void gdPutC(const unsigned char c, gdIOCtx *ctx);
ctx                32 ext/gd/libgd/gd_io.h void gdPutWord(int w, gdIOCtx *ctx);
ctx                33 ext/gd/libgd/gd_io.h void gdPutInt(int w, gdIOCtx *ctx);
ctx                35 ext/gd/libgd/gd_io.h int gdGetC(gdIOCtx *ctx);
ctx                37 ext/gd/libgd/gd_io.h int gdGetByte(int *result, gdIOCtx *ctx);
ctx                38 ext/gd/libgd/gd_io.h int gdGetWord(int *result, gdIOCtx *ctx);
ctx                39 ext/gd/libgd/gd_io.h int gdGetInt(int *result, gdIOCtx *ctx);
ctx                41 ext/gd/libgd/gd_io.h int gdSeek(gdIOCtx *ctx, const int);
ctx                42 ext/gd/libgd/gd_io.h long gdTell(gdIOCtx *ctx);
ctx                41 ext/gd/libgd/gd_io_dp.c 	gdIOCtx ctx;
ctx                52 ext/gd/libgd/gd_io_dp.c static void gdFreeDynamicCtx (struct gdIOCtx *ctx);
ctx                58 ext/gd/libgd/gd_io_dp.c static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len);
ctx                59 ext/gd/libgd/gd_io_dp.c static int dynamicGetchar (gdIOCtxPtr ctx);
ctx                72 ext/gd/libgd/gd_io_dp.c 	dpIOCtx *ctx;
ctx                75 ext/gd/libgd/gd_io_dp.c 	ctx = (dpIOCtx *) gdMalloc (sizeof (dpIOCtx));
ctx                79 ext/gd/libgd/gd_io_dp.c 	ctx->dp = dp;
ctx                81 ext/gd/libgd/gd_io_dp.c 	ctx->ctx.getC = dynamicGetchar;
ctx                82 ext/gd/libgd/gd_io_dp.c 	ctx->ctx.putC = dynamicPutchar;
ctx                84 ext/gd/libgd/gd_io_dp.c 	ctx->ctx.getBuf = dynamicGetbuf;
ctx                85 ext/gd/libgd/gd_io_dp.c 	ctx->ctx.putBuf = dynamicPutbuf;
ctx                87 ext/gd/libgd/gd_io_dp.c 	ctx->ctx.seek = dynamicSeek;
ctx                88 ext/gd/libgd/gd_io_dp.c 	ctx->ctx.tell = dynamicTell;
ctx                90 ext/gd/libgd/gd_io_dp.c 	ctx->ctx.gd_free = gdFreeDynamicCtx;
ctx                92 ext/gd/libgd/gd_io_dp.c 	return (gdIOCtx *) ctx;
ctx                95 ext/gd/libgd/gd_io_dp.c void * gdDPExtractData (struct gdIOCtx *ctx, int *size)
ctx               101 ext/gd/libgd/gd_io_dp.c 	dctx = (dpIOCtx *) ctx;
ctx               124 ext/gd/libgd/gd_io_dp.c static void gdFreeDynamicCtx (struct gdIOCtx *ctx)
ctx               129 ext/gd/libgd/gd_io_dp.c 	dctx = (dpIOCtx *) ctx;
ctx               132 ext/gd/libgd/gd_io_dp.c 	gdFree(ctx);
ctx               140 ext/gd/libgd/gd_io_dp.c static long dynamicTell (struct gdIOCtx *ctx)
ctx               144 ext/gd/libgd/gd_io_dp.c 	dctx = (dpIOCtx *) ctx;
ctx               149 ext/gd/libgd/gd_io_dp.c static int dynamicSeek (struct gdIOCtx *ctx, const int pos)
ctx               155 ext/gd/libgd/gd_io_dp.c 	dctx = (dpIOCtx *) ctx;
ctx               198 ext/gd/libgd/gd_io_dp.c dynamicPutbuf (struct gdIOCtx *ctx, const void *buf, int size)
ctx               201 ext/gd/libgd/gd_io_dp.c   dctx = (dpIOCtx *) ctx;
ctx               216 ext/gd/libgd/gd_io_dp.c static void dynamicPutchar (struct gdIOCtx *ctx, int a)
ctx               222 ext/gd/libgd/gd_io_dp.c 	dctx = (dpIOCtxPtr) ctx;
ctx               227 ext/gd/libgd/gd_io_dp.c static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len)
ctx               233 ext/gd/libgd/gd_io_dp.c 	dctx = (dpIOCtxPtr) ctx;
ctx               252 ext/gd/libgd/gd_io_dp.c static int dynamicGetchar (gdIOCtxPtr ctx)
ctx               257 ext/gd/libgd/gd_io_dp.c 	rv = dynamicGetbuf (ctx, &b, 1);
ctx                33 ext/gd/libgd/gd_io_file.c 	gdIOCtx ctx;
ctx                42 ext/gd/libgd/gd_io_file.c static int fileGetchar (gdIOCtx * ctx);
ctx                46 ext/gd/libgd/gd_io_file.c static void gdFreeFileCtx (gdIOCtx * ctx);
ctx                51 ext/gd/libgd/gd_io_file.c 	fileIOCtx *ctx;
ctx                53 ext/gd/libgd/gd_io_file.c 	ctx = (fileIOCtx *) gdMalloc(sizeof (fileIOCtx));
ctx                55 ext/gd/libgd/gd_io_file.c 	ctx->f = f;
ctx                57 ext/gd/libgd/gd_io_file.c 	ctx->ctx.getC = fileGetchar;
ctx                58 ext/gd/libgd/gd_io_file.c 	ctx->ctx.putC = filePutchar;
ctx                60 ext/gd/libgd/gd_io_file.c 	ctx->ctx.getBuf = fileGetbuf;
ctx                61 ext/gd/libgd/gd_io_file.c 	ctx->ctx.putBuf = filePutbuf;
ctx                63 ext/gd/libgd/gd_io_file.c 	ctx->ctx.tell = fileTell;
ctx                64 ext/gd/libgd/gd_io_file.c 	ctx->ctx.seek = fileSeek;
ctx                66 ext/gd/libgd/gd_io_file.c 	ctx->ctx.gd_free = gdFreeFileCtx;
ctx                68 ext/gd/libgd/gd_io_file.c 	return (gdIOCtx *) ctx;
ctx                71 ext/gd/libgd/gd_io_file.c static void gdFreeFileCtx (gdIOCtx * ctx)
ctx                73 ext/gd/libgd/gd_io_file.c 	gdFree(ctx);
ctx                77 ext/gd/libgd/gd_io_file.c static int filePutbuf (gdIOCtx * ctx, const void *buf, int size)
ctx                80 ext/gd/libgd/gd_io_file.c 	fctx = (fileIOCtx *) ctx;
ctx                86 ext/gd/libgd/gd_io_file.c static int fileGetbuf (gdIOCtx * ctx, void *buf, int size)
ctx                89 ext/gd/libgd/gd_io_file.c 	fctx = (fileIOCtx *) ctx;
ctx                94 ext/gd/libgd/gd_io_file.c static void filePutchar (gdIOCtx * ctx, int a)
ctx                98 ext/gd/libgd/gd_io_file.c 	fctx = (fileIOCtx *) ctx;
ctx               105 ext/gd/libgd/gd_io_file.c static int fileGetchar (gdIOCtx * ctx)
ctx               108 ext/gd/libgd/gd_io_file.c 	fctx = (fileIOCtx *) ctx;
ctx               114 ext/gd/libgd/gd_io_file.c static int fileSeek (struct gdIOCtx *ctx, const int pos)
ctx               117 ext/gd/libgd/gd_io_file.c 	fctx = (fileIOCtx *) ctx;
ctx               122 ext/gd/libgd/gd_io_file.c static long fileTell (struct gdIOCtx *ctx)
ctx               125 ext/gd/libgd/gd_io_file.c 	fctx = (fileIOCtx *) ctx;
ctx                34 ext/gd/libgd/gd_io_ss.c 	gdIOCtx ctx;
ctx                44 ext/gd/libgd/gd_io_ss.c static int sourceGetchar (gdIOCtx * ctx);
ctx                45 ext/gd/libgd/gd_io_ss.c static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size);
ctx                46 ext/gd/libgd/gd_io_ss.c static void sinkPutchar (gdIOCtx * ctx, int a);
ctx                47 ext/gd/libgd/gd_io_ss.c static void gdFreeSsCtx (gdIOCtx * ctx);
ctx                52 ext/gd/libgd/gd_io_ss.c 	ssIOCtxPtr ctx;
ctx                54 ext/gd/libgd/gd_io_ss.c 	ctx = (ssIOCtxPtr) gdMalloc (sizeof (ssIOCtx));
ctx                56 ext/gd/libgd/gd_io_ss.c 	ctx->src = src;
ctx                57 ext/gd/libgd/gd_io_ss.c 	ctx->snk = snk;
ctx                59 ext/gd/libgd/gd_io_ss.c 	ctx->ctx.getC = sourceGetchar;
ctx                60 ext/gd/libgd/gd_io_ss.c 	ctx->ctx.getBuf = sourceGetbuf;
ctx                62 ext/gd/libgd/gd_io_ss.c 	ctx->ctx.putC = sinkPutchar;
ctx                63 ext/gd/libgd/gd_io_ss.c 	ctx->ctx.putBuf = sinkPutbuf;
ctx                65 ext/gd/libgd/gd_io_ss.c 	ctx->ctx.tell = NULL;
ctx                66 ext/gd/libgd/gd_io_ss.c 	ctx->ctx.seek = NULL;
ctx                68 ext/gd/libgd/gd_io_ss.c 	ctx->ctx.gd_free = gdFreeSsCtx;
ctx                70 ext/gd/libgd/gd_io_ss.c 	return (gdIOCtx *) ctx;
ctx                73 ext/gd/libgd/gd_io_ss.c static void gdFreeSsCtx (gdIOCtx * ctx)
ctx                75 ext/gd/libgd/gd_io_ss.c 	gdFree(ctx);
ctx                79 ext/gd/libgd/gd_io_ss.c static int sourceGetbuf (gdIOCtx * ctx, void *buf, int size)
ctx                84 ext/gd/libgd/gd_io_ss.c 	lctx = (ssIOCtx *) ctx;
ctx               102 ext/gd/libgd/gd_io_ss.c static int sourceGetchar (gdIOCtx * ctx)
ctx               107 ext/gd/libgd/gd_io_ss.c 	res = sourceGetbuf (ctx, &buf, 1);
ctx               116 ext/gd/libgd/gd_io_ss.c static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size)
ctx               121 ext/gd/libgd/gd_io_ss.c 	lctx = (ssIOCtx *) ctx;
ctx               132 ext/gd/libgd/gd_io_ss.c static void sinkPutchar (gdIOCtx * ctx, int a)
ctx               137 ext/gd/libgd/gd_io_ss.c 	sinkPutbuf (ctx, &b, 1);
ctx                26 ext/gd/libgd/gdtest.c   gdIOCtxPtr ctx;
ctx                79 ext/gd/libgd/gdtest.c   ctx = gdNewDynamicCtx (sz, iptr);
ctx                80 ext/gd/libgd/gdtest.c   im2 = gdImageCreateFromPngCtx (ctx);
ctx                85 ext/gd/libgd/gdtest.c   ctx->gd_free (ctx);
ctx               112 ext/gd/libgd/gdtest.c   ctx = gdNewDynamicCtx (sz, iptr);
ctx               114 ext/gd/libgd/gdtest.c   im2 = gdImageCreateFromGd2Ctx (ctx);
ctx               120 ext/gd/libgd/gdtest.c   ctx->gd_free (ctx);
ctx               147 ext/gd/libgd/gdtest.c   ctx = gdNewDynamicCtx (sz, iptr);
ctx               149 ext/gd/libgd/gdtest.c   im2 = gdImageCreateFromGdCtx (ctx);
ctx               155 ext/gd/libgd/gdtest.c   ctx->gd_free (ctx);
ctx               531 ext/ldap/ldap.c 	php_ldap_bictx *ctx;
ctx               533 ext/ldap/ldap.c 	ctx = ber_memalloc(sizeof(php_ldap_bictx));
ctx               534 ext/ldap/ldap.c 	ctx->mech    = (sasl_mech) ? ber_strdup(sasl_mech) : NULL;
ctx               535 ext/ldap/ldap.c 	ctx->realm   = (sasl_realm) ? ber_strdup(sasl_realm) : NULL;
ctx               536 ext/ldap/ldap.c 	ctx->authcid = (sasl_authc_id) ? ber_strdup(sasl_authc_id) : NULL;
ctx               537 ext/ldap/ldap.c 	ctx->passwd  = (passwd) ? ber_strdup(passwd) : NULL;
ctx               538 ext/ldap/ldap.c 	ctx->authzid = (sasl_authz_id) ? ber_strdup(sasl_authz_id) : NULL;
ctx               540 ext/ldap/ldap.c 	if (ctx->mech == NULL) {
ctx               541 ext/ldap/ldap.c 		ldap_get_option(ld, LDAP_OPT_X_SASL_MECH, &ctx->mech);
ctx               543 ext/ldap/ldap.c 	if (ctx->realm == NULL) {
ctx               544 ext/ldap/ldap.c 		ldap_get_option(ld, LDAP_OPT_X_SASL_REALM, &ctx->realm);
ctx               546 ext/ldap/ldap.c 	if (ctx->authcid == NULL) {
ctx               547 ext/ldap/ldap.c 		ldap_get_option(ld, LDAP_OPT_X_SASL_AUTHCID, &ctx->authcid);
ctx               549 ext/ldap/ldap.c 	if (ctx->authzid == NULL) {
ctx               550 ext/ldap/ldap.c 		ldap_get_option(ld, LDAP_OPT_X_SASL_AUTHZID, &ctx->authzid);
ctx               553 ext/ldap/ldap.c 	return ctx;
ctx               559 ext/ldap/ldap.c static void _php_sasl_freedefs(php_ldap_bictx *ctx)
ctx               561 ext/ldap/ldap.c 	if (ctx->mech) ber_memfree(ctx->mech);
ctx               562 ext/ldap/ldap.c 	if (ctx->realm) ber_memfree(ctx->realm);
ctx               563 ext/ldap/ldap.c 	if (ctx->authcid) ber_memfree(ctx->authcid);
ctx               564 ext/ldap/ldap.c 	if (ctx->passwd) ber_memfree(ctx->passwd);
ctx               565 ext/ldap/ldap.c 	if (ctx->authzid) ber_memfree(ctx->authzid);
ctx               566 ext/ldap/ldap.c 	ber_memfree(ctx);
ctx               576 ext/ldap/ldap.c 	php_ldap_bictx *ctx = defaults;
ctx               582 ext/ldap/ldap.c 				p = ctx->realm;
ctx               585 ext/ldap/ldap.c 				p = ctx->authcid;
ctx               588 ext/ldap/ldap.c 				p = ctx->authzid;
ctx               591 ext/ldap/ldap.c 				p = ctx->passwd;
ctx               617 ext/ldap/ldap.c 	php_ldap_bictx *ctx;
ctx               625 ext/ldap/ldap.c 	ctx = _php_sasl_setdefs(ld->link, sasl_mech, sasl_realm, sasl_authc_id, passwd, sasl_authz_id);
ctx               631 ext/ldap/ldap.c 	rc = ldap_sasl_interactive_bind_s(ld->link, binddn, ctx->mech, NULL, NULL, LDAP_SASL_QUIET, _php_sasl_interact, ctx);
ctx               638 ext/ldap/ldap.c 	_php_sasl_freedefs(ctx);
ctx               506 ext/libxml/libxml.c static void php_libxml_ctx_error_level(int level, void *ctx, const char *msg TSRMLS_DC)
ctx               510 ext/libxml/libxml.c 	parser = (xmlParserCtxtPtr) ctx;
ctx               530 ext/libxml/libxml.c static void php_libxml_internal_error_handler(int error_type, void *ctx, const char **msg, va_list ap)
ctx               556 ext/libxml/libxml.c 					php_libxml_ctx_error_level(E_WARNING, ctx, LIBXML(error_buffer).c TSRMLS_CC);
ctx               559 ext/libxml/libxml.c 					php_libxml_ctx_error_level(E_NOTICE, ctx, LIBXML(error_buffer).c TSRMLS_CC);
ctx               715 ext/libxml/libxml.c PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...)
ctx               719 ext/libxml/libxml.c 	php_libxml_internal_error_handler(PHP_LIBXML_CTX_ERROR, ctx, &msg, args);
ctx               723 ext/libxml/libxml.c PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...)
ctx               727 ext/libxml/libxml.c 	php_libxml_internal_error_handler(PHP_LIBXML_CTX_WARNING, ctx, &msg, args);
ctx               738 ext/libxml/libxml.c PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...)
ctx               742 ext/libxml/libxml.c 	php_libxml_internal_error_handler(PHP_LIBXML_ERROR, ctx, &msg, args);
ctx                95 ext/libxml/php_libxml.h PHP_LIBXML_API void php_libxml_error_handler(void *ctx, const char *msg, ...);
ctx                96 ext/libxml/php_libxml.h PHP_LIBXML_API void php_libxml_ctx_warning(void *ctx, const char *msg, ...);
ctx                97 ext/libxml/php_libxml.h PHP_LIBXML_API void php_libxml_ctx_error(void *ctx, const char *msg, ...);
ctx               570 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	mbfl_filt_conv_wchar_cp50220_ctx *ctx;
ctx               574 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	ctx = mbfl_malloc(sizeof(mbfl_filt_conv_wchar_cp50220_ctx));
ctx               575 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	if (ctx == NULL) {
ctx               580 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	ctx->tl_param.mode = MBFL_FILT_TL_HAN2ZEN_KATAKANA | MBFL_FILT_TL_HAN2ZEN_GLUE;
ctx               582 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	ctx->last = *filt;
ctx               583 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	ctx->last.opaque = ctx;
ctx               584 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	ctx->last.data = filt->data;
ctx               587 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	filt->output_function = (int(*)(int, void *))ctx->last.filter_function;
ctx               588 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	filt->flush_function = (int(*)(void *))ctx->last.filter_flush;
ctx               589 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	filt->data = &ctx->last;
ctx               590 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	filt->opaque = ctx;
ctx               597 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	mbfl_filt_conv_wchar_cp50220_ctx *ctx;
ctx               600 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	ctx = mbfl_malloc(sizeof(mbfl_filt_conv_wchar_cp50220_ctx));
ctx               601 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	if (ctx != NULL) {
ctx               602 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 		*ctx = *(mbfl_filt_conv_wchar_cp50220_ctx*)src->opaque;
ctx               605 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	dest->opaque = ctx;
ctx               606 ext/mbstring/libmbfl/filters/mbfilter_cp5022x.c 	dest->data = &ctx->last;
ctx               172 ext/oci8/oci8_lob.c 	php_oci_lob_ctx *ctx = (php_oci_lob_ctx *)ctxp;
ctx               177 ext/oci8/oci8_lob.c 			if ((*(ctx->lob_len) + lenp) > (ctx->alloc_len)) {
ctx               179 ext/oci8/oci8_lob.c 				*(ctx->lob_data) = NULL;
ctx               180 ext/oci8/oci8_lob.c 				*(ctx->lob_len) = 0;
ctx               183 ext/oci8/oci8_lob.c 			memcpy(*(ctx->lob_data) + *(ctx->lob_len), bufxp, (size_t) lenp);
ctx               184 ext/oci8/oci8_lob.c 			*(ctx->lob_len) += lenp;
ctx               185 ext/oci8/oci8_lob.c 			*(*(ctx->lob_data) + *(ctx->lob_len)) = 0x00;
ctx               190 ext/oci8/oci8_lob.c 			if ((*(ctx->lob_len) + lenp) > ctx->alloc_len) {
ctx               192 ext/oci8/oci8_lob.c 				*(ctx->lob_data) = NULL;
ctx               193 ext/oci8/oci8_lob.c 				*(ctx->lob_len) = 0;
ctx               196 ext/oci8/oci8_lob.c 			memcpy(*(ctx->lob_data) + *(ctx->lob_len), bufxp, (size_t) lenp);
ctx               197 ext/oci8/oci8_lob.c 			*(ctx->lob_len) += lenp;
ctx               203 ext/oci8/oci8_lob.c 			*(ctx->lob_data) = NULL;
ctx               204 ext/oci8/oci8_lob.c 			*(ctx->lob_len) = 0;
ctx               249 ext/oci8/oci8_lob.c 	php_oci_lob_ctx ctx;
ctx               261 ext/oci8/oci8_lob.c 	ctx.lob_len = data_len;
ctx               262 ext/oci8/oci8_lob.c 	ctx.lob_data = data;
ctx               263 ext/oci8/oci8_lob.c 	ctx.alloc_len = 0;
ctx               328 ext/oci8/oci8_lob.c 	ctx.alloc_len = (requested_len + 1) * bytes_per_char;
ctx               354 ext/oci8/oci8_lob.c 			(dvoid *)&ctx,
ctx               410 ext/oci8/oci8_statement.c sb4 php_oci_define_callback(dvoid *ctx, OCIDefine *define, ub4 iter, dvoid **bufpp, ub4 **alenpp, ub1 *piecep, dvoid **indpp, ub2 **rcpp)
ctx               412 ext/oci8/oci8_statement.c 	php_oci_out_column *outcol = (php_oci_out_column *)ctx;
ctx               795 ext/openssl/openssl.c 	X509V3_CTX ctx;
ctx               797 ext/openssl/openssl.c 	X509V3_set_ctx_test(&ctx);
ctx               798 ext/openssl/openssl.c 	X509V3_set_conf_lhash(&ctx, config);
ctx               799 ext/openssl/openssl.c 	if (!X509V3_EXT_add_conf(config, &ctx, (char *)section, NULL)) {
ctx              2128 ext/openssl/openssl.c static int check_cert(X509_STORE *ctx, X509 *x, STACK_OF(X509) *untrustedchain, int purpose)
ctx              2139 ext/openssl/openssl.c 	X509_STORE_CTX_init(csc, ctx, x, untrustedchain);
ctx              3026 ext/openssl/openssl.c 		X509V3_CTX ctx;
ctx              3028 ext/openssl/openssl.c 		X509V3_set_ctx(&ctx, cert, new_cert, csr, NULL, 0);
ctx              3029 ext/openssl/openssl.c 		X509V3_set_conf_lhash(&ctx, req.req_config);
ctx              3030 ext/openssl/openssl.c 		if (!X509V3_EXT_add_conf(req.req_config, &ctx, req.extensions_section, new_cert)) {
ctx              4860 ext/openssl/openssl.c 	EVP_CIPHER_CTX ctx;
ctx              4910 ext/openssl/openssl.c 	if (!EVP_EncryptInit(&ctx,cipher,NULL,NULL)) {
ctx              4912 ext/openssl/openssl.c 		EVP_CIPHER_CTX_cleanup(&ctx);
ctx              4918 ext/openssl/openssl.c 	ivlen = EVP_CIPHER_CTX_iv_length(&ctx);
ctx              4922 ext/openssl/openssl.c 	buf = emalloc(data_len + EVP_CIPHER_CTX_block_size(&ctx));
ctx              4923 ext/openssl/openssl.c 	EVP_CIPHER_CTX_cleanup(&ctx);
ctx              4925 ext/openssl/openssl.c 	if (!EVP_SealInit(&ctx, cipher, eks, eksl, NULL, pkeys, nkeys) || !EVP_SealUpdate(&ctx, buf, &len1, (unsigned char *)data, data_len)) {
ctx              4928 ext/openssl/openssl.c 		EVP_CIPHER_CTX_cleanup(&ctx);
ctx              4932 ext/openssl/openssl.c 	EVP_SealFinal(&ctx, buf + len1, &len2);
ctx              4961 ext/openssl/openssl.c 	EVP_CIPHER_CTX_cleanup(&ctx);
ctx              4988 ext/openssl/openssl.c 	EVP_CIPHER_CTX ctx;
ctx              5017 ext/openssl/openssl.c 	if (EVP_OpenInit(&ctx, cipher, (unsigned char *)ekey, ekey_len, NULL, pkey) && EVP_OpenUpdate(&ctx, buf, &len1, (unsigned char *)data, data_len)) {
ctx              5018 ext/openssl/openssl.c 		if (!EVP_OpenFinal(&ctx, buf + len1, &len2) || (len1 + len2 == 0)) {
ctx              5034 ext/openssl/openssl.c 	EVP_CIPHER_CTX_cleanup(&ctx);
ctx                90 ext/openssl/xp_ssl.c 	SSL_CTX *ctx;
ctx               109 ext/openssl/xp_ssl.c 	SSL_CTX *ctx;
ctx               234 ext/openssl/xp_ssl.c static int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) /* {{{ */
ctx               245 ext/openssl/xp_ssl.c 	err = X509_STORE_CTX_get_error(ctx);
ctx               246 ext/openssl/xp_ssl.c 	depth = X509_STORE_CTX_get_error_depth(ctx);
ctx               249 ext/openssl/xp_ssl.c 	ssl = X509_STORE_CTX_get_ex_data(ctx, SSL_get_ex_data_X509_STORE_CTX_idx());
ctx               264 ext/openssl/xp_ssl.c 		X509_STORE_CTX_set_error(ctx, X509_V_ERR_CERT_CHAIN_TOO_LONG);
ctx               815 ext/openssl/xp_ssl.c static int enable_peer_verification(SSL_CTX *ctx, php_stream *stream TSRMLS_DC) /* {{{ */
ctx               832 ext/openssl/xp_ssl.c 			SSL_CTX_set_client_CA_list(ctx, cert_names);
ctx               845 ext/openssl/xp_ssl.c 		if (!SSL_CTX_load_verify_locations(ctx, cafile, capath)) {
ctx               846 ext/openssl/xp_ssl.c 			if (cafile && !load_stream_cafile(SSL_CTX_get_cert_store(ctx), cafile TSRMLS_CC)) {
ctx               852 ext/openssl/xp_ssl.c 		SSL_CTX_set_cert_verify_callback(ctx, win_cert_verify_callback, (void *)stream);
ctx               853 ext/openssl/xp_ssl.c 		SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, NULL);
ctx               855 ext/openssl/xp_ssl.c 		if (sslsock->is_client && !SSL_CTX_set_default_verify_paths(ctx)) {
ctx               863 ext/openssl/xp_ssl.c 	SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, verify_callback);
ctx               869 ext/openssl/xp_ssl.c static void disable_peer_verification(SSL_CTX *ctx, php_stream *stream TSRMLS_DC) /* {{{ */
ctx               871 ext/openssl/xp_ssl.c 	SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, NULL);
ctx               875 ext/openssl/xp_ssl.c static int set_local_cert(SSL_CTX *ctx, php_stream *stream TSRMLS_DC) /* {{{ */
ctx               888 ext/openssl/xp_ssl.c 			if (SSL_CTX_use_certificate_chain_file(ctx, resolved_path_buff) != 1) {
ctx               897 ext/openssl/xp_ssl.c 					if (SSL_CTX_use_PrivateKey_file(ctx, resolved_path_buff_pk, SSL_FILETYPE_PEM) != 1) {
ctx               903 ext/openssl/xp_ssl.c 				if (SSL_CTX_use_PrivateKey_file(ctx, resolved_path_buff, SSL_FILETYPE_PEM) != 1) {
ctx               914 ext/openssl/xp_ssl.c 				SSL *tmpssl = SSL_new(ctx);
ctx               925 ext/openssl/xp_ssl.c 			if (!SSL_CTX_check_private_key(ctx)) {
ctx              1129 ext/openssl/xp_ssl.c static int set_server_rsa_key(php_stream *stream, SSL_CTX *ctx TSRMLS_DC) /* {{{ */
ctx              1147 ext/openssl/xp_ssl.c 	if (!SSL_CTX_set_tmp_rsa(ctx, rsa)) {
ctx              1159 ext/openssl/xp_ssl.c static int set_server_dh_param(SSL_CTX *ctx, char *dh_path TSRMLS_DC) /* {{{ */
ctx              1179 ext/openssl/xp_ssl.c 	if (SSL_CTX_set_tmp_dh(ctx, dh) < 0) {
ctx              1192 ext/openssl/xp_ssl.c static int set_server_ecdh_curve(php_stream *stream, SSL_CTX *ctx TSRMLS_DC) /* {{{ */
ctx              1219 ext/openssl/xp_ssl.c 	SSL_CTX_set_tmp_ecdh(ctx, ecdh);
ctx              1227 ext/openssl/xp_ssl.c static int set_server_specific_opts(php_stream *stream, SSL_CTX *ctx TSRMLS_DC) /* {{{ */
ctx              1230 ext/openssl/xp_ssl.c 	long ssl_ctx_options = SSL_CTX_get_options(ctx);
ctx              1233 ext/openssl/xp_ssl.c 	if (FAILURE == set_server_ecdh_curve(stream, ctx TSRMLS_CC)) {
ctx              1247 ext/openssl/xp_ssl.c 		if (FAILURE == set_server_dh_param(ctx,  Z_STRVAL_PP(val) TSRMLS_CC)) {
ctx              1252 ext/openssl/xp_ssl.c 	if (FAILURE == set_server_rsa_key(stream, ctx TSRMLS_CC)) {
ctx              1279 ext/openssl/xp_ssl.c 	SSL_CTX_set_options(ctx, ssl_ctx_options);
ctx              1308 ext/openssl/xp_ssl.c 			SSL_set_SSL_CTX(ssl_handle, sslsock->sni_certs[i].ctx);
ctx              1328 ext/openssl/xp_ssl.c 	SSL_CTX *ctx;
ctx              1374 ext/openssl/xp_ssl.c 			ctx = SSL_CTX_new(SSLv23_server_method());
ctx              1376 ext/openssl/xp_ssl.c 			if (SSL_CTX_use_certificate_chain_file(ctx, resolved_path_buff) != 1) {
ctx              1383 ext/openssl/xp_ssl.c 				SSL_CTX_free(ctx);
ctx              1385 ext/openssl/xp_ssl.c 			} else if (SSL_CTX_use_PrivateKey_file(ctx, resolved_path_buff, SSL_FILETYPE_PEM) != 1) {
ctx              1390 ext/openssl/xp_ssl.c 				SSL_CTX_free(ctx);
ctx              1394 ext/openssl/xp_ssl.c 				sslsock->sni_certs[i].ctx = ctx;
ctx              1406 ext/openssl/xp_ssl.c 	SSL_CTX_set_tlsext_servername_callback(sslsock->ctx, server_sni_callback);
ctx              1480 ext/openssl/xp_ssl.c 	sslsock->ctx = SSL_CTX_new(method);
ctx              1483 ext/openssl/xp_ssl.c 	sslsock->ctx = SSL_CTX_new((SSL_METHOD*)method);
ctx              1486 ext/openssl/xp_ssl.c 	if (sslsock->ctx == NULL) {
ctx              1508 ext/openssl/xp_ssl.c 		disable_peer_verification(sslsock->ctx, stream TSRMLS_CC);
ctx              1509 ext/openssl/xp_ssl.c 	} else if (FAILURE == enable_peer_verification(sslsock->ctx, stream TSRMLS_CC)) {
ctx              1515 ext/openssl/xp_ssl.c 		SSL_CTX_set_default_passwd_cb_userdata(sslsock->ctx, stream);
ctx              1516 ext/openssl/xp_ssl.c 		SSL_CTX_set_default_passwd_cb(sslsock->ctx, passwd_callback);
ctx              1526 ext/openssl/xp_ssl.c 		if (SSL_CTX_set_cipher_list(sslsock->ctx, cipherlist) != 1) {
ctx              1530 ext/openssl/xp_ssl.c 	if (FAILURE == set_local_cert(sslsock->ctx, stream TSRMLS_CC)) {
ctx              1534 ext/openssl/xp_ssl.c 	SSL_CTX_set_options(sslsock->ctx, ssl_ctx_options);
ctx              1538 ext/openssl/xp_ssl.c 		FAILURE == set_server_specific_opts(stream, sslsock->ctx TSRMLS_CC)
ctx              1543 ext/openssl/xp_ssl.c 	sslsock->ssl_handle = SSL_new(sslsock->ctx);
ctx              1546 ext/openssl/xp_ssl.c 		SSL_CTX_free(sslsock->ctx);
ctx              1547 ext/openssl/xp_ssl.c 		sslsock->ctx = NULL;
ctx              2027 ext/openssl/xp_ssl.c 		if (sslsock->ctx) {
ctx              2028 ext/openssl/xp_ssl.c 			SSL_CTX_free(sslsock->ctx);
ctx              2029 ext/openssl/xp_ssl.c 			sslsock->ctx = NULL;
ctx              2057 ext/openssl/xp_ssl.c 			SSL_CTX_free(sslsock->sni_certs[i].ctx);
ctx              2329 ext/openssl/xp_ssl.c static long get_crypto_method(php_stream_context *ctx, long crypto_method)
ctx              2333 ext/openssl/xp_ssl.c 	if (ctx && php_stream_context_get_option(ctx, "ssl", "crypto_method", &val) == SUCCESS) {
ctx              2403 ext/openssl/xp_ssl.c 	sslsock->ctx = NULL;	
ctx               187 ext/pdo_oci/oci_statement.c static sb4 oci_bind_input_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 *alenp, ub1 *piecep, dvoid **indpp) /* {{{ */
ctx               189 ext/pdo_oci/oci_statement.c 	struct pdo_bound_param_data *param = (struct pdo_bound_param_data*)ctx;
ctx               219 ext/pdo_oci/oci_statement.c static sb4 oci_bind_output_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, dvoid **bufpp, ub4 **alenpp, ub1 *piecep, dvoid **indpp, ub2 **rcodepp) /* {{{ */
ctx               221 ext/pdo_oci/oci_statement.c 	struct pdo_bound_param_data *param = (struct pdo_bound_param_data*)ctx;
ctx                40 ext/soap/php_schema.c static int schema_attribute(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, sdlCtx *ctx);
ctx                41 ext/soap/php_schema.c static int schema_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, sdlCtx *ctx);
ctx                47 ext/soap/php_schema.c static void schema_type_fixup(sdlCtx *ctx, sdlTypePtr type);
ctx                98 ext/soap/php_schema.c static void schema_load_file(sdlCtx *ctx, xmlAttrPtr ns, xmlChar *location, xmlAttrPtr tns, int import TSRMLS_DC) {
ctx               100 ext/soap/php_schema.c 	    !zend_hash_exists(&ctx->docs, (char*)location, xmlStrlen(location)+1)) {
ctx               105 ext/soap/php_schema.c 		sdl_set_uri_credentials(ctx, (char*)location TSRMLS_CC);
ctx               107 ext/soap/php_schema.c 		sdl_restore_uri_credentials(ctx TSRMLS_CC);
ctx               138 ext/soap/php_schema.c 		zend_hash_add(&ctx->docs, (char*)location, xmlStrlen(location)+1, (void**)&doc, sizeof(xmlDocPtr), NULL);
ctx               139 ext/soap/php_schema.c 		load_schema(ctx, schema TSRMLS_CC);
ctx               163 ext/soap/php_schema.c int load_schema(sdlCtx *ctx, xmlNodePtr schema TSRMLS_DC)
ctx               168 ext/soap/php_schema.c 	if (!ctx->sdl->types) {
ctx               169 ext/soap/php_schema.c 		ctx->sdl->types = emalloc(sizeof(HashTable));
ctx               170 ext/soap/php_schema.c 		zend_hash_init(ctx->sdl->types, 0, NULL, delete_type, 0);
ctx               172 ext/soap/php_schema.c 	if (!ctx->attributes) {
ctx               173 ext/soap/php_schema.c 		ctx->attributes = emalloc(sizeof(HashTable));
ctx               174 ext/soap/php_schema.c 		zend_hash_init(ctx->attributes, 0, NULL, delete_attribute, 0);
ctx               176 ext/soap/php_schema.c 	if (!ctx->attributeGroups) {
ctx               177 ext/soap/php_schema.c 		ctx->attributeGroups = emalloc(sizeof(HashTable));
ctx               178 ext/soap/php_schema.c 		zend_hash_init(ctx->attributeGroups, 0, NULL, delete_type, 0);
ctx               205 ext/soap/php_schema.c 				schema_load_file(ctx, NULL, uri, tns, 0 TSRMLS_CC);
ctx               225 ext/soap/php_schema.c 				schema_load_file(ctx, NULL, uri, tns, 0 TSRMLS_CC);
ctx               254 ext/soap/php_schema.c 			schema_load_file(ctx, ns, uri, tns, 1 TSRMLS_CC);
ctx               273 ext/soap/php_schema.c 			schema_simpleType(ctx->sdl, tns, trav, NULL);
ctx               275 ext/soap/php_schema.c 			schema_complexType(ctx->sdl, tns, trav, NULL);
ctx               277 ext/soap/php_schema.c 			schema_group(ctx->sdl, tns, trav, NULL, NULL);
ctx               279 ext/soap/php_schema.c 			schema_attributeGroup(ctx->sdl, tns, trav, NULL, ctx);
ctx               281 ext/soap/php_schema.c 			schema_element(ctx->sdl, tns, trav, NULL, NULL);
ctx               283 ext/soap/php_schema.c 			schema_attribute(ctx->sdl, tns, trav, NULL, ctx);
ctx              1728 ext/soap/php_schema.c static int schema_attribute(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, sdlCtx *ctx)
ctx              1786 ext/soap/php_schema.c 			addHash = ctx->attributes;
ctx              1945 ext/soap/php_schema.c static int schema_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrGroup, sdlTypePtr cur_type, sdlCtx *ctx)
ctx              1975 ext/soap/php_schema.c 			if (zend_hash_add(ctx->attributeGroups, key.c, key.len + 1, &newType, sizeof(sdlTypePtr), NULL) != SUCCESS) {
ctx              2080 ext/soap/php_schema.c static void schema_attribute_fixup(sdlCtx *ctx, sdlAttributePtr attr)
ctx              2085 ext/soap/php_schema.c 		if (ctx->attributes != NULL) {
ctx              2086 ext/soap/php_schema.c 			tmp = (sdlAttributePtr*)schema_find_by_ref(ctx->attributes, attr->ref);
ctx              2088 ext/soap/php_schema.c 				schema_attribute_fixup(ctx, *tmp);
ctx              2130 ext/soap/php_schema.c static void schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht)
ctx              2136 ext/soap/php_schema.c 		if (ctx->attributeGroups != NULL) {
ctx              2137 ext/soap/php_schema.c 			tmp = (sdlTypePtr*)schema_find_by_ref(ctx->attributeGroups, attr->ref);
ctx              2147 ext/soap/php_schema.c 							schema_attribute_fixup(ctx,*tmp_attr);
ctx              2170 ext/soap/php_schema.c 							schema_attributegroup_fixup(ctx,*tmp_attr, ht);
ctx              2183 ext/soap/php_schema.c static void schema_content_model_fixup(sdlCtx *ctx, sdlContentModelPtr model)
ctx              2189 ext/soap/php_schema.c 			if (ctx->sdl->groups && zend_hash_find(ctx->sdl->groups, model->u.group_ref, strlen(model->u.group_ref)+1, (void**)&tmp) == SUCCESS) {
ctx              2190 ext/soap/php_schema.c 				schema_type_fixup(ctx,*tmp);
ctx              2222 ext/soap/php_schema.c 				schema_content_model_fixup(ctx, *tmp);
ctx              2232 ext/soap/php_schema.c static void schema_type_fixup(sdlCtx *ctx, sdlTypePtr type)
ctx              2238 ext/soap/php_schema.c 		if (ctx->sdl->elements != NULL) {
ctx              2239 ext/soap/php_schema.c 			tmp = (sdlTypePtr*)schema_find_by_ref(ctx->sdl->elements, type->ref);
ctx              2265 ext/soap/php_schema.c 			schema_type_fixup(ctx,*tmp);
ctx              2270 ext/soap/php_schema.c 		schema_content_model_fixup(ctx, type->model);
ctx              2276 ext/soap/php_schema.c 				schema_attribute_fixup(ctx,*attr);
ctx              2281 ext/soap/php_schema.c 				schema_attributegroup_fixup(ctx,*attr,type->attributes);
ctx              2289 ext/soap/php_schema.c void schema_pass2(sdlCtx *ctx)
ctx              2291 ext/soap/php_schema.c 	sdlPtr sdl = ctx->sdl;
ctx              2295 ext/soap/php_schema.c 	if (ctx->attributes) {
ctx              2296 ext/soap/php_schema.c 		zend_hash_internal_pointer_reset(ctx->attributes);
ctx              2297 ext/soap/php_schema.c 		while (zend_hash_get_current_data(ctx->attributes,(void**)&attr) == SUCCESS) {
ctx              2298 ext/soap/php_schema.c 			schema_attribute_fixup(ctx,*attr);
ctx              2299 ext/soap/php_schema.c 			zend_hash_move_forward(ctx->attributes);
ctx              2302 ext/soap/php_schema.c 	if (ctx->attributeGroups) {
ctx              2303 ext/soap/php_schema.c 		zend_hash_internal_pointer_reset(ctx->attributeGroups);
ctx              2304 ext/soap/php_schema.c 		while (zend_hash_get_current_data(ctx->attributeGroups,(void**)&type) == SUCCESS) {
ctx              2305 ext/soap/php_schema.c 			schema_type_fixup(ctx,*type);
ctx              2306 ext/soap/php_schema.c 			zend_hash_move_forward(ctx->attributeGroups);
ctx              2312 ext/soap/php_schema.c 			schema_type_fixup(ctx,*type);
ctx              2319 ext/soap/php_schema.c 			schema_type_fixup(ctx,*type);
ctx              2326 ext/soap/php_schema.c 			schema_type_fixup(ctx,*type);
ctx              2330 ext/soap/php_schema.c 	if (ctx->attributes) {
ctx              2331 ext/soap/php_schema.c 		zend_hash_destroy(ctx->attributes);
ctx              2332 ext/soap/php_schema.c 		efree(ctx->attributes);
ctx              2334 ext/soap/php_schema.c 	if (ctx->attributeGroups) {
ctx              2335 ext/soap/php_schema.c 		zend_hash_destroy(ctx->attributeGroups);
ctx              2336 ext/soap/php_schema.c 		efree(ctx->attributeGroups);
ctx                25 ext/soap/php_schema.h int load_schema(sdlCtx *ctx, xmlNodePtr schema TSRMLS_DC);
ctx                26 ext/soap/php_schema.h void schema_pass2(sdlCtx *ctx);
ctx               229 ext/soap/php_sdl.c void sdl_set_uri_credentials(sdlCtx *ctx, char *uri TSRMLS_DC)
ctx               237 ext/soap/php_sdl.c 	s = strstr(ctx->sdl->source, "://");
ctx               240 ext/soap/php_sdl.c 	l1 = s ? (s - ctx->sdl->source) : strlen(ctx->sdl->source);
ctx               248 ext/soap/php_sdl.c 		    ctx->sdl->source[4] == ':' &&
ctx               249 ext/soap/php_sdl.c 		    ctx->sdl->source[l1-3] == ':' &&
ctx               250 ext/soap/php_sdl.c 		    ctx->sdl->source[l1-2] == '8' &&
ctx               251 ext/soap/php_sdl.c 		    ctx->sdl->source[l1-1] == '0') {
ctx               263 ext/soap/php_sdl.c 		    ctx->sdl->source[4] == 's' &&
ctx               264 ext/soap/php_sdl.c 		    ctx->sdl->source[l1-4] == ':' &&
ctx               265 ext/soap/php_sdl.c 		    ctx->sdl->source[l1-3] == '4' &&
ctx               266 ext/soap/php_sdl.c 		    ctx->sdl->source[l1-2] == '4' &&
ctx               267 ext/soap/php_sdl.c 		    ctx->sdl->source[l1-1] == '3') {
ctx               279 ext/soap/php_sdl.c 	if (l1 != l2 || memcmp(ctx->sdl->source, uri, l1) != 0) {
ctx               284 ext/soap/php_sdl.c 			ctx->context = php_stream_context_from_zval(context, 1);
ctx               286 ext/soap/php_sdl.c 			if (ctx->context &&
ctx               287 ext/soap/php_sdl.c 			    php_stream_context_get_option(ctx->context, "http", "header", &header) == SUCCESS) {
ctx               300 ext/soap/php_sdl.c 						ctx->old_header = *header;
ctx               301 ext/soap/php_sdl.c 						Z_ADDREF_P(ctx->old_header);
ctx               302 ext/soap/php_sdl.c 						php_stream_context_set_option(ctx->context, "http", "header", &new_header);
ctx               311 ext/soap/php_sdl.c void sdl_restore_uri_credentials(sdlCtx *ctx TSRMLS_DC)
ctx               313 ext/soap/php_sdl.c 	if (ctx->old_header) {
ctx               314 ext/soap/php_sdl.c 	    php_stream_context_set_option(ctx->context, "http", "header", ctx->old_header);
ctx               315 ext/soap/php_sdl.c 	    zval_ptr_dtor(&ctx->old_header);
ctx               316 ext/soap/php_sdl.c 		ctx->old_header = NULL;
ctx               318 ext/soap/php_sdl.c 	ctx->context = NULL;
ctx               321 ext/soap/php_sdl.c static void load_wsdl_ex(zval *this_ptr, char *struri, sdlCtx *ctx, int include TSRMLS_DC)
ctx               323 ext/soap/php_sdl.c 	sdlPtr tmpsdl = ctx->sdl;
ctx               328 ext/soap/php_sdl.c 	if (zend_hash_exists(&ctx->docs, struri, strlen(struri)+1)) {
ctx               332 ext/soap/php_sdl.c 	sdl_set_uri_credentials(ctx, struri TSRMLS_CC);
ctx               334 ext/soap/php_sdl.c 	sdl_restore_uri_credentials(ctx TSRMLS_CC);
ctx               346 ext/soap/php_sdl.c 	zend_hash_add(&ctx->docs, struri, strlen(struri)+1, (void**)&wsdl, sizeof(xmlDocPtr), NULL);
ctx               354 ext/soap/php_sdl.c 				load_schema(ctx, schema TSRMLS_CC);
ctx               380 ext/soap/php_sdl.c 					load_schema(ctx, trav2 TSRMLS_CC);
ctx               399 ext/soap/php_sdl.c 				load_wsdl_ex(this_ptr, (char*)uri, ctx, 1 TSRMLS_CC);
ctx               406 ext/soap/php_sdl.c 				if (zend_hash_add(&ctx->messages, (char*)name->children->content, xmlStrlen(name->children->content)+1,&trav, sizeof(xmlNodePtr), NULL) != SUCCESS) {
ctx               416 ext/soap/php_sdl.c 				if (zend_hash_add(&ctx->portTypes, (char*)name->children->content, xmlStrlen(name->children->content)+1,&trav, sizeof(xmlNodePtr), NULL) != SUCCESS) {
ctx               426 ext/soap/php_sdl.c 				if (zend_hash_add(&ctx->bindings, (char*)name->children->content, xmlStrlen(name->children->content)+1,&trav, sizeof(xmlNodePtr), NULL) != SUCCESS) {
ctx               436 ext/soap/php_sdl.c 				if (zend_hash_add(&ctx->services, (char*)name->children->content, xmlStrlen(name->children->content)+1,&trav, sizeof(xmlNodePtr), NULL) != SUCCESS) {
ctx               449 ext/soap/php_sdl.c static sdlSoapBindingFunctionHeaderPtr wsdl_soap_binding_header(sdlCtx* ctx, xmlNodePtr header, char* wsdl_soap_namespace, int fault)
ctx               467 ext/soap/php_sdl.c 	if (zend_hash_find(&ctx->messages, ctype, strlen(ctype)+1, (void**)&message) != SUCCESS) {
ctx               513 ext/soap/php_sdl.c 		h->encode = get_encoder_from_prefix(ctx->sdl, part, tmp->children->content);
ctx               517 ext/soap/php_sdl.c 			h->element = get_element(ctx->sdl, part, tmp->children->content);
ctx               534 ext/soap/php_sdl.c 				sdlSoapBindingFunctionHeaderPtr hf = wsdl_soap_binding_header(ctx, trav, wsdl_soap_namespace, 1);
ctx               561 ext/soap/php_sdl.c static void wsdl_soap_binding_body(sdlCtx* ctx, xmlNodePtr node, char* wsdl_soap_namespace, sdlSoapBindingFunctionBody *binding, HashTable* params)
ctx               639 ext/soap/php_sdl.c 			sdlSoapBindingFunctionHeaderPtr h = wsdl_soap_binding_header(ctx, trav, wsdl_soap_namespace, 0);
ctx               664 ext/soap/php_sdl.c static HashTable* wsdl_message(sdlCtx *ctx, xmlChar* message_name)
ctx               676 ext/soap/php_sdl.c 	if (zend_hash_find(&ctx->messages, ctype, strlen(ctype)+1, (void**)&tmp) != SUCCESS) {
ctx               713 ext/soap/php_sdl.c 			param->encode = get_encoder_from_prefix(ctx->sdl, part, type->children->content);
ctx               717 ext/soap/php_sdl.c 				param->element = get_element(ctx->sdl, part, element->children->content);
ctx               733 ext/soap/php_sdl.c 	sdlCtx ctx;
ctx               736 ext/soap/php_sdl.c 	memset(&ctx,0,sizeof(ctx));
ctx               737 ext/soap/php_sdl.c 	ctx.sdl = emalloc(sizeof(sdl));
ctx               738 ext/soap/php_sdl.c 	memset(ctx.sdl, 0, sizeof(sdl));
ctx               739 ext/soap/php_sdl.c 	ctx.sdl->source = estrdup(struri);
ctx               740 ext/soap/php_sdl.c 	zend_hash_init(&ctx.sdl->functions, 0, NULL, delete_function, 0);
ctx               742 ext/soap/php_sdl.c 	zend_hash_init(&ctx.docs, 0, NULL, delete_document, 0);
ctx               743 ext/soap/php_sdl.c 	zend_hash_init(&ctx.messages, 0, NULL, NULL, 0);
ctx               744 ext/soap/php_sdl.c 	zend_hash_init(&ctx.bindings, 0, NULL, NULL, 0);
ctx               745 ext/soap/php_sdl.c 	zend_hash_init(&ctx.portTypes, 0, NULL, NULL, 0);
ctx               746 ext/soap/php_sdl.c 	zend_hash_init(&ctx.services,  0, NULL, NULL, 0);
ctx               748 ext/soap/php_sdl.c 	load_wsdl_ex(this_ptr, struri,&ctx, 0 TSRMLS_CC);
ctx               749 ext/soap/php_sdl.c 	schema_pass2(&ctx);
ctx               751 ext/soap/php_sdl.c 	n = zend_hash_num_elements(&ctx.services);
ctx               753 ext/soap/php_sdl.c 		zend_hash_internal_pointer_reset(&ctx.services);
ctx               759 ext/soap/php_sdl.c 			zend_hash_get_current_data(&ctx.services, (void **)&tmp);
ctx               843 ext/soap/php_sdl.c 				if (zend_hash_find(&ctx.bindings, ctype, strlen(ctype)+1, (void*)&tmp) != SUCCESS) {
ctx               898 ext/soap/php_sdl.c 				if (zend_hash_find(&ctx.portTypes, ctype, strlen(ctype)+1, (void**)&tmp) != SUCCESS) {
ctx               991 ext/soap/php_sdl.c 						function->requestParameters = wsdl_message(&ctx, message->children->content);
ctx              1007 ext/soap/php_sdl.c 								wsdl_soap_binding_body(&ctx, input, wsdl_soap_namespace, &soapFunctionBinding->input, function->requestParameters);
ctx              1020 ext/soap/php_sdl.c 						function->responseParameters = wsdl_message(&ctx, message->children->content);
ctx              1041 ext/soap/php_sdl.c 								wsdl_soap_binding_body(&ctx, output, wsdl_soap_namespace, &soapFunctionBinding->output, function->responseParameters);
ctx              1070 ext/soap/php_sdl.c 							f->details = wsdl_message(&ctx, message->children->content);
ctx              1137 ext/soap/php_sdl.c 						if (zend_hash_add(&ctx.sdl->functions, php_strtolower(tmp, len), len+1, &function, sizeof(sdlFunctionPtr), NULL) != SUCCESS) {
ctx              1138 ext/soap/php_sdl.c 							zend_hash_next_index_insert(&ctx.sdl->functions, &function, sizeof(sdlFunctionPtr), NULL);
ctx              1142 ext/soap/php_sdl.c 							if (ctx.sdl->requests == NULL) {
ctx              1143 ext/soap/php_sdl.c 								ctx.sdl->requests = emalloc(sizeof(HashTable));
ctx              1144 ext/soap/php_sdl.c 								zend_hash_init(ctx.sdl->requests, 0, NULL, NULL, 0);
ctx              1148 ext/soap/php_sdl.c 							zend_hash_add(ctx.sdl->requests, php_strtolower(tmp, len), len+1, &function, sizeof(sdlFunctionPtr), NULL);
ctx              1155 ext/soap/php_sdl.c 				if (!ctx.sdl->bindings) {
ctx              1156 ext/soap/php_sdl.c 					ctx.sdl->bindings = emalloc(sizeof(HashTable));
ctx              1157 ext/soap/php_sdl.c 					zend_hash_init(ctx.sdl->bindings, 0, NULL, delete_binding, 0);
ctx              1160 ext/soap/php_sdl.c 				if (zend_hash_add(ctx.sdl->bindings, tmpbinding->name, strlen(tmpbinding->name), &tmpbinding, sizeof(sdlBindingPtr), NULL) != SUCCESS) {
ctx              1161 ext/soap/php_sdl.c 					zend_hash_next_index_insert(ctx.sdl->bindings, &tmpbinding, sizeof(sdlBindingPtr), NULL);
ctx              1166 ext/soap/php_sdl.c 			zend_hash_move_forward(&ctx.services);
ctx              1172 ext/soap/php_sdl.c 	if (ctx.sdl->bindings == NULL || ctx.sdl->bindings->nNumOfElements == 0) {
ctx              1176 ext/soap/php_sdl.c 	zend_hash_destroy(&ctx.messages);
ctx              1177 ext/soap/php_sdl.c 	zend_hash_destroy(&ctx.bindings);
ctx              1178 ext/soap/php_sdl.c 	zend_hash_destroy(&ctx.portTypes);
ctx              1179 ext/soap/php_sdl.c 	zend_hash_destroy(&ctx.services);
ctx              1180 ext/soap/php_sdl.c 	zend_hash_destroy(&ctx.docs);
ctx              1182 ext/soap/php_sdl.c 	return ctx.sdl;
ctx               269 ext/soap/php_sdl.h void sdl_set_uri_credentials(sdlCtx *ctx, char *uri TSRMLS_DC);
ctx               270 ext/soap/php_sdl.h void sdl_restore_uri_credentials(sdlCtx *ctx TSRMLS_DC);
ctx                72 ext/soap/php_xml.c static void soap_ignorableWhitespace(void *ctx, const xmlChar *ch, int len)
ctx                76 ext/soap/php_xml.c static void soap_Comment(void *ctx, const xmlChar *value)
ctx               107 ext/sockets/conversions.c static int param_get_bool(void *ctx, const char *key, int def)
ctx               110 ext/sockets/conversions.c 	if (zend_hash_find(ctx, key, strlen(key) + 1, (void**)&elem) == SUCCESS) {
ctx               118 ext/sockets/conversions.c static inline void *accounted_emalloc(size_t alloc_size, ser_context *ctx)
ctx               121 ext/sockets/conversions.c 	zend_llist_add_element(&ctx->allocations, &ret);
ctx               124 ext/sockets/conversions.c static inline void *accounted_ecalloc(size_t nmemb, size_t alloc_size, ser_context *ctx)
ctx               127 ext/sockets/conversions.c 	zend_llist_add_element(&ctx->allocations, &ret);
ctx               130 ext/sockets/conversions.c static inline void *accounted_safe_ecalloc(size_t nmemb, size_t alloc_size, size_t offset, ser_context *ctx)
ctx               134 ext/sockets/conversions.c 	zend_llist_add_element(&ctx->allocations, &ret);
ctx               181 ext/sockets/conversions.c static void do_from_zval_err(ser_context *ctx, const char *fmt, ...)
ctx               186 ext/sockets/conversions.c 	do_from_to_zval_err(&ctx->err, &ctx->keys, "user", fmt, ap);
ctx               190 ext/sockets/conversions.c static void do_to_zval_err(res_context *ctx, const char *fmt, ...)
ctx               195 ext/sockets/conversions.c 	do_from_to_zval_err(&ctx->err, &ctx->keys, "native", fmt, ap);
ctx               216 ext/sockets/conversions.c 								   void (*func)(zval **elem, unsigned i, void **args, ser_context *ctx),
ctx               218 ext/sockets/conversions.c 								   ser_context *ctx)
ctx               228 ext/sockets/conversions.c 			!ctx->err.has_error
ctx               234 ext/sockets/conversions.c 		zend_llist_add_element(&ctx->keys, &bufp);
ctx               236 ext/sockets/conversions.c 		func(elem, i, args, ctx);
ctx               238 ext/sockets/conversions.c 		zend_llist_remove_tail(&ctx->keys);
ctx               248 ext/sockets/conversions.c 										ser_context *ctx)
ctx               254 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "expected an array here");
ctx               257 ext/sockets/conversions.c 	for (descr = descriptors; descr->name != NULL && !ctx->err.has_error; descr++) {
ctx               262 ext/sockets/conversions.c 				do_from_zval_err(ctx, "No information on how to convert value "
ctx               267 ext/sockets/conversions.c 			zend_llist_add_element(&ctx->keys, (void*)&descr->name);
ctx               268 ext/sockets/conversions.c 			descr->from_zval(*elem, ((char*)structure) + descr->field_offset, ctx);
ctx               269 ext/sockets/conversions.c 			zend_llist_remove_tail(&ctx->keys);
ctx               272 ext/sockets/conversions.c 			do_from_zval_err(ctx, "The key '%s' is required", descr->name);
ctx               280 ext/sockets/conversions.c 									 res_context *ctx)
ctx               287 ext/sockets/conversions.c 	for (descr = descriptors; descr->name != NULL && !ctx->err.has_error; descr++) {
ctx               291 ext/sockets/conversions.c 			do_to_zval_err(ctx, "No information on how to convert native "
ctx               299 ext/sockets/conversions.c 		zend_llist_add_element(&ctx->keys, (void*)&descr->name);
ctx               300 ext/sockets/conversions.c 		descr->to_zval(structure + descr->field_offset, new_zv, ctx);
ctx               301 ext/sockets/conversions.c 		zend_llist_remove_tail(&ctx->keys);
ctx               306 ext/sockets/conversions.c static long from_zval_integer_common(const zval *arr_value, ser_context *ctx)
ctx               351 ext/sockets/conversions.c 		do_from_zval_err(ctx, "expected an integer, but got a non numeric "
ctx               357 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "expected an integer, either of a PHP "
ctx               366 ext/sockets/conversions.c void from_zval_write_int(const zval *arr_value, char *field, ser_context *ctx)
ctx               371 ext/sockets/conversions.c 	lval = from_zval_integer_common(arr_value, ctx);
ctx               372 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx               377 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "given PHP integer is out of bounds "
ctx               385 ext/sockets/conversions.c static void from_zval_write_uint32(const zval *arr_value, char *field, ser_context *ctx)
ctx               390 ext/sockets/conversions.c 	lval = from_zval_integer_common(arr_value, ctx);
ctx               391 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx               396 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "given PHP integer is out of bounds "
ctx               404 ext/sockets/conversions.c static void from_zval_write_net_uint16(const zval *arr_value, char *field, ser_context *ctx)
ctx               409 ext/sockets/conversions.c 	lval = from_zval_integer_common(arr_value, ctx);
ctx               410 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx               415 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "given PHP integer is out of bounds "
ctx               423 ext/sockets/conversions.c static void from_zval_write_sa_family(const zval *arr_value, char *field, ser_context *ctx)
ctx               428 ext/sockets/conversions.c 	lval = from_zval_integer_common(arr_value, ctx);
ctx               429 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx               434 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "given PHP integer is out of bounds "
ctx               442 ext/sockets/conversions.c static void from_zval_write_pid_t(const zval *arr_value, char *field, ser_context *ctx)
ctx               447 ext/sockets/conversions.c 	lval = from_zval_integer_common(arr_value, ctx);
ctx               448 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx               453 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "given PHP integer is out of bounds "
ctx               461 ext/sockets/conversions.c static void from_zval_write_uid_t(const zval *arr_value, char *field, ser_context *ctx)
ctx               466 ext/sockets/conversions.c 	lval = from_zval_integer_common(arr_value, ctx);
ctx               467 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx               474 ext/sockets/conversions.c 			do_from_zval_err(ctx, "%s", "given PHP integer is out of bounds "
ctx               480 ext/sockets/conversions.c 			do_from_zval_err(ctx, "%s", "given PHP integer is out of bounds "
ctx               490 ext/sockets/conversions.c void to_zval_read_int(const char *data, zval *zv, res_context *ctx)
ctx               497 ext/sockets/conversions.c static void to_zval_read_unsigned(const char *data, zval *zv, res_context *ctx)
ctx               504 ext/sockets/conversions.c static void to_zval_read_net_uint16(const char *data, zval *zv, res_context *ctx)
ctx               511 ext/sockets/conversions.c static void to_zval_read_uint32(const char *data, zval *zv, res_context *ctx)
ctx               518 ext/sockets/conversions.c static void to_zval_read_sa_family(const char *data, zval *zv, res_context *ctx)
ctx               525 ext/sockets/conversions.c static void to_zval_read_pid_t(const char *data, zval *zv, res_context *ctx)
ctx               532 ext/sockets/conversions.c static void to_zval_read_uid_t(const char *data, zval *zv, res_context *ctx)
ctx               541 ext/sockets/conversions.c static void from_zval_write_sin_addr(const zval *zaddr_str, char *inaddr, ser_context *ctx)
ctx               555 ext/sockets/conversions.c 	res = php_set_inet_addr(&saddr, Z_STRVAL_P(zaddr_str), ctx->sock TSRMLS_CC);
ctx               560 ext/sockets/conversions.c 		do_from_zval_err(ctx, "could not resolve address '%s' to get an AF_INET "
ctx               566 ext/sockets/conversions.c static void to_zval_read_sin_addr(const char *data, zval *zv, res_context *ctx)
ctx               576 ext/sockets/conversions.c 		do_to_zval_err(ctx, "could not convert IPv4 address to string "
ctx               589 ext/sockets/conversions.c static void from_zval_write_sockaddr_in(const zval *container, char *sockaddr, ser_context *ctx)
ctx               591 ext/sockets/conversions.c 	from_zval_write_aggregation(container, sockaddr, descriptors_sockaddr_in, ctx);
ctx               593 ext/sockets/conversions.c static void to_zval_read_sockaddr_in(const char *data, zval *zv, res_context *ctx)
ctx               595 ext/sockets/conversions.c 	to_zval_read_aggregation(data, zv, descriptors_sockaddr_in, ctx);
ctx               598 ext/sockets/conversions.c static void from_zval_write_sin6_addr(const zval *zaddr_str, char *addr6, ser_context *ctx)
ctx               613 ext/sockets/conversions.c 			Z_STRVAL_P(zaddr_str), ctx->sock TSRMLS_CC);
ctx               618 ext/sockets/conversions.c 		do_from_zval_err(ctx, "could not resolve address '%s' to get an AF_INET6 "
ctx               624 ext/sockets/conversions.c static void to_zval_read_sin6_addr(const char *data, zval *zv, res_context *ctx)
ctx               634 ext/sockets/conversions.c 		do_to_zval_err(ctx, "could not convert IPv6 address to string "
ctx               649 ext/sockets/conversions.c static void from_zval_write_sockaddr_in6(const zval *container, char *sockaddr6, ser_context *ctx)
ctx               651 ext/sockets/conversions.c 	from_zval_write_aggregation(container, sockaddr6, descriptors_sockaddr_in6, ctx);
ctx               653 ext/sockets/conversions.c static void to_zval_read_sockaddr_in6(const char *data, zval *zv, res_context *ctx)
ctx               655 ext/sockets/conversions.c 	to_zval_read_aggregation(data, zv, descriptors_sockaddr_in6, ctx);
ctx               658 ext/sockets/conversions.c static void from_zval_write_sun_path(const zval *path, char *sockaddr_un_c, ser_context *ctx)
ctx               674 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "the path is cannot be empty");
ctx               678 ext/sockets/conversions.c 		do_from_zval_err(ctx, "the path is too long, the maximum permitted "
ctx               688 ext/sockets/conversions.c static void to_zval_read_sun_path(const char *data, zval *zv, res_context *ctx) {
ctx               694 ext/sockets/conversions.c 		do_to_zval_err(ctx, "could not find a NUL in the path");
ctx               705 ext/sockets/conversions.c static void from_zval_write_sockaddr_un(const zval *container, char *sockaddr, ser_context *ctx)
ctx               707 ext/sockets/conversions.c 	from_zval_write_aggregation(container, sockaddr, descriptors_sockaddr_un, ctx);
ctx               709 ext/sockets/conversions.c static void to_zval_read_sockaddr_un(const char *data, zval *zv, res_context *ctx)
ctx               711 ext/sockets/conversions.c 	to_zval_read_aggregation(data, zv, descriptors_sockaddr_un, ctx);
ctx               716 ext/sockets/conversions.c 										 ser_context *ctx)
ctx               723 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "expected an array here");
ctx               727 ext/sockets/conversions.c 	fill_sockaddr = param_get_bool(ctx, KEY_FILL_SOCKADDR, 1);
ctx               732 ext/sockets/conversions.c 		zend_llist_add_element(&ctx->keys, &node);
ctx               733 ext/sockets/conversions.c 		from_zval_write_int(*elem, (char*)&family, ctx);
ctx               734 ext/sockets/conversions.c 		zend_llist_remove_tail(&ctx->keys);
ctx               736 ext/sockets/conversions.c 		family = ctx->sock->type;
ctx               742 ext/sockets/conversions.c 		if (ctx->sock->type != AF_INET && ctx->sock->type != AF_INET6) {
ctx               743 ext/sockets/conversions.c 			do_from_zval_err(ctx, "the specified family (number %d) is not "
ctx               747 ext/sockets/conversions.c 		*sockaddr_ptr = accounted_ecalloc(1, sizeof(struct sockaddr_in), ctx);
ctx               750 ext/sockets/conversions.c 			from_zval_write_sockaddr_in(container, (char*)*sockaddr_ptr, ctx);
ctx               757 ext/sockets/conversions.c 		if (ctx->sock->type != AF_INET6) {
ctx               758 ext/sockets/conversions.c 			do_from_zval_err(ctx, "the specified family (AF_INET6) is not "
ctx               762 ext/sockets/conversions.c 		*sockaddr_ptr = accounted_ecalloc(1, sizeof(struct sockaddr_in6), ctx);
ctx               765 ext/sockets/conversions.c 			from_zval_write_sockaddr_in6(container, (char*)*sockaddr_ptr, ctx);
ctx               772 ext/sockets/conversions.c 		if (ctx->sock->type != AF_UNIX) {
ctx               773 ext/sockets/conversions.c 			do_from_zval_err(ctx, "the specified family (AF_UNIX) is not "
ctx               777 ext/sockets/conversions.c 		*sockaddr_ptr = accounted_ecalloc(1, sizeof(struct sockaddr_un), ctx);
ctx               781 ext/sockets/conversions.c 			from_zval_write_sockaddr_un(container, (char*)*sockaddr_ptr, ctx);
ctx               798 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "the only families currently supported are "
ctx               803 ext/sockets/conversions.c static void to_zval_read_sockaddr_aux(const char *sockaddr_c, zval *zv, res_context *ctx)
ctx               816 ext/sockets/conversions.c 		to_zval_read_sockaddr_in(sockaddr_c, zv, ctx);
ctx               821 ext/sockets/conversions.c 		to_zval_read_sockaddr_in6(sockaddr_c, zv, ctx);
ctx               826 ext/sockets/conversions.c 		to_zval_read_sockaddr_un(sockaddr_c, zv, ctx);
ctx               830 ext/sockets/conversions.c 		do_to_zval_err(ctx, "cannot read struct sockaddr with family %d; "
ctx               852 ext/sockets/conversions.c 									ser_context			*ctx)
ctx               875 ext/sockets/conversions.c 	from_zval_write_aggregation(arr, (char *)&level, descriptor_level, ctx);
ctx               876 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx               879 ext/sockets/conversions.c 	from_zval_write_aggregation(arr, (char *)&type, descriptor_type, ctx);
ctx               880 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx               886 ext/sockets/conversions.c 		do_from_zval_err(ctx, "cmsghdr with level %d and type %d not supported",
ctx               896 ext/sockets/conversions.c 			do_from_zval_err(ctx, "cmsghdr should have a 'data' element here");
ctx               899 ext/sockets/conversions.c 		data_len = entry->calc_space(*data_elem, ctx);
ctx               900 ext/sockets/conversions.c 		if (ctx->err.has_error) {
ctx               923 ext/sockets/conversions.c 	from_zval_write_aggregation(arr, (char*)CMSG_DATA(cmsghdr), descriptor_data, ctx);
ctx               927 ext/sockets/conversions.c static void from_zval_write_control_array(const zval *arr, char *msghdr_c, ser_context *ctx)
ctx               942 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "expected an array here");
ctx               952 ext/sockets/conversions.c 	control_buf	= accounted_safe_ecalloc(num_elems, CMSG_SPACE(20), 0, ctx);
ctx               953 ext/sockets/conversions.c 	alloc		= ctx->allocations.tail;
ctx               958 ext/sockets/conversions.c 			!ctx->err.has_error
ctx               965 ext/sockets/conversions.c 		zend_llist_add_element(&ctx->keys, &bufp);
ctx               968 ext/sockets/conversions.c 				&cur_offset, ctx);
ctx               970 ext/sockets/conversions.c 		zend_llist_remove_tail(&ctx->keys);
ctx               976 ext/sockets/conversions.c static void to_zval_read_cmsg_data(const char *cmsghdr_c, zval *zv, res_context *ctx)
ctx               985 ext/sockets/conversions.c 		do_to_zval_err(ctx, "cmsghdr with level %d and type %d not supported",
ctx               990 ext/sockets/conversions.c 		do_to_zval_err(ctx, "the cmsghdr structure is unexpectedly small; "
ctx               997 ext/sockets/conversions.c 	if (zend_hash_add(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN),
ctx               999 ext/sockets/conversions.c 		do_to_zval_err(ctx, "%s", "could not set parameter " KEY_CMSG_LEN);
ctx              1003 ext/sockets/conversions.c 	entry->to_array((const char *)CMSG_DATA(cmsg), zv, ctx);
ctx              1005 ext/sockets/conversions.c 	zend_hash_del(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN));
ctx              1007 ext/sockets/conversions.c static void to_zval_read_control(const char *cmsghdr_c, zval *zv, res_context *ctx)
ctx              1018 ext/sockets/conversions.c 	to_zval_read_aggregation(cmsghdr_c, zv, descriptors, ctx);
ctx              1020 ext/sockets/conversions.c static void to_zval_read_control_array(const char *msghdr_c, zval *zv, res_context *ctx)
ctx              1038 ext/sockets/conversions.c 			cmsg != NULL && !ctx->err.has_error;
ctx              1048 ext/sockets/conversions.c 		zend_llist_add_element(&ctx->keys, &bufp);
ctx              1050 ext/sockets/conversions.c 		to_zval_read_control((const char *)cmsg, elem, ctx);
ctx              1052 ext/sockets/conversions.c 		zend_llist_remove_tail(&ctx->keys);
ctx              1057 ext/sockets/conversions.c static void from_zval_write_name(const zval *zname_arr, char *msghdr_c, ser_context *ctx)
ctx              1063 ext/sockets/conversions.c 	from_zval_write_sockaddr_aux(zname_arr, &sockaddr, &sockaddr_len, ctx);
ctx              1068 ext/sockets/conversions.c static void to_zval_read_name(const char *sockaddr_p, zval *zv, res_context *ctx)
ctx              1074 ext/sockets/conversions.c 		to_zval_read_sockaddr_aux(name, zv, ctx);
ctx              1077 ext/sockets/conversions.c static void from_zval_write_msghdr_buffer_size(const zval *elem, char *msghdr_c, ser_context *ctx)
ctx              1082 ext/sockets/conversions.c 	lval = from_zval_integer_common(elem, ctx);
ctx              1083 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx              1088 ext/sockets/conversions.c 		do_from_zval_err(ctx, "the buffer size must be between 1 and %ld; "
ctx              1094 ext/sockets/conversions.c 	msghdr->msg_iov = accounted_emalloc(sizeof(*msghdr->msg_iov) * 1, ctx);
ctx              1095 ext/sockets/conversions.c 	msghdr->msg_iov[0].iov_base = accounted_emalloc((size_t)lval, ctx);
ctx              1098 ext/sockets/conversions.c static void from_zval_write_iov_array_aux(zval **elem, unsigned i, void **args, ser_context *ctx)
ctx              1107 ext/sockets/conversions.c 	msg->msg_iov[i - 1].iov_base = accounted_emalloc(len, ctx);
ctx              1113 ext/sockets/conversions.c static void from_zval_write_iov_array(const zval *arr, char *msghdr_c, ser_context *ctx)
ctx              1119 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "expected an array here");
ctx              1128 ext/sockets/conversions.c 	msg->msg_iov = accounted_safe_ecalloc(num_elem, sizeof *msg->msg_iov, 0, ctx);
ctx              1131 ext/sockets/conversions.c     from_array_iterate(arr, from_zval_write_iov_array_aux, (void**)&msg, ctx);
ctx              1133 ext/sockets/conversions.c static void from_zval_write_controllen(const zval *elem, char *msghdr_c, ser_context *ctx)
ctx              1141 ext/sockets/conversions.c 	from_zval_write_uint32(elem, (char*)&len, ctx);
ctx              1142 ext/sockets/conversions.c 	if (!ctx->err.has_error && len == 0) {
ctx              1143 ext/sockets/conversions.c 		do_from_zval_err(ctx, "controllen cannot be 0");
ctx              1146 ext/sockets/conversions.c 	msghdr->msg_control = accounted_emalloc(len, ctx);
ctx              1149 ext/sockets/conversions.c void from_zval_write_msghdr_send(const zval *container, char *msghdr_c, ser_context *ctx)
ctx              1158 ext/sockets/conversions.c 	from_zval_write_aggregation(container, msghdr_c, descriptors, ctx);
ctx              1160 ext/sockets/conversions.c void from_zval_write_msghdr_recv(const zval *container, char *msghdr_c, ser_context *ctx)
ctx              1186 ext/sockets/conversions.c 	if (zend_hash_add(&ctx->params, KEY_FILL_SOCKADDR, sizeof(KEY_FILL_SOCKADDR),
ctx              1188 ext/sockets/conversions.c 		do_from_zval_err(ctx, "could not add fill_sockaddr; this is a bug");
ctx              1192 ext/sockets/conversions.c 	from_zval_write_aggregation(container, msghdr_c, descriptors, ctx);
ctx              1194 ext/sockets/conversions.c 	zend_hash_del(&ctx->params, KEY_FILL_SOCKADDR, sizeof(KEY_FILL_SOCKADDR));
ctx              1195 ext/sockets/conversions.c 	if (ctx->err.has_error) {
ctx              1201 ext/sockets/conversions.c 		msghdr->msg_iov = accounted_emalloc(sizeof(*msghdr->msg_iov) * 1, ctx);
ctx              1202 ext/sockets/conversions.c 		msghdr->msg_iov[0].iov_base = accounted_emalloc((size_t)DEFAULT_BUFF_SIZE, ctx);
ctx              1207 ext/sockets/conversions.c static void to_zval_read_iov(const char *msghdr_c, zval *zv, res_context *ctx)
ctx              1216 ext/sockets/conversions.c 		do_to_zval_err(ctx, "unexpectedly large value for iov_len: %lu",
ctx              1221 ext/sockets/conversions.c 	if (zend_hash_find(&ctx->params, KEY_RECVMSG_RET, sizeof(KEY_RECVMSG_RET),
ctx              1223 ext/sockets/conversions.c 		do_to_zval_err(ctx, "recvmsg_ret not found in params. This is a bug");
ctx              1242 ext/sockets/conversions.c void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx)
ctx              1254 ext/sockets/conversions.c 	to_zval_read_aggregation(msghdr_c, zv, descriptors, ctx);
ctx              1258 ext/sockets/conversions.c static void from_zval_write_ifindex(const zval *zv, char *uinteger, ser_context *ctx)
ctx              1265 ext/sockets/conversions.c 			do_from_zval_err(ctx, "the interface index cannot be negative or "
ctx              1281 ext/sockets/conversions.c 			do_from_zval_err(ctx, "no interface with name \"%s\" could be "
ctx              1289 ext/sockets/conversions.c 				do_from_zval_err(ctx, "the interface name \"%s\" is too large ",
ctx              1291 ext/sockets/conversions.c 			} else if (ioctl(ctx->sock->bsd_socket, SIOCGIFINDEX, &ifr) < 0) {
ctx              1293 ext/sockets/conversions.c 					do_from_zval_err(ctx, "no interface with name \"%s\" could be "
ctx              1296 ext/sockets/conversions.c 					do_from_zval_err(ctx, "error fetching interface index for "
ctx              1305 ext/sockets/conversions.c 		do_from_zval_err(ctx,
ctx              1311 ext/sockets/conversions.c 	if (!ctx->err.has_error) {
ctx              1325 ext/sockets/conversions.c void from_zval_write_in6_pktinfo(const zval *container, char *in6_pktinfo_c, ser_context *ctx)
ctx              1327 ext/sockets/conversions.c 	from_zval_write_aggregation(container, in6_pktinfo_c, descriptors_in6_pktinfo, ctx);
ctx              1329 ext/sockets/conversions.c void to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx)
ctx              1333 ext/sockets/conversions.c 	to_zval_read_aggregation(data, zv, descriptors_in6_pktinfo, ctx);
ctx              1346 ext/sockets/conversions.c void from_zval_write_ucred(const zval *container, char *ucred_c, ser_context *ctx)
ctx              1348 ext/sockets/conversions.c 	from_zval_write_aggregation(container, ucred_c, descriptors_ucred, ctx);
ctx              1350 ext/sockets/conversions.c void to_zval_read_ucred(const char *data, zval *zv, res_context *ctx)
ctx              1354 ext/sockets/conversions.c 	to_zval_read_aggregation(data, zv, descriptors_ucred, ctx);
ctx              1360 ext/sockets/conversions.c size_t calculate_scm_rights_space(const zval *arr, ser_context *ctx)
ctx              1365 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "expected an array here");
ctx              1371 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "expected at least one element in this array");
ctx              1377 ext/sockets/conversions.c static void from_zval_write_fd_array_aux(zval **elem, unsigned i, void **args, ser_context *ctx)
ctx              1396 ext/sockets/conversions.c 			do_from_zval_err(ctx, "resource is not a stream or a socket");
ctx              1402 ext/sockets/conversions.c 			do_from_zval_err(ctx, "cast stream to file descriptor failed");
ctx              1406 ext/sockets/conversions.c 		do_from_zval_err(ctx, "expected a resource variable");
ctx              1409 ext/sockets/conversions.c void from_zval_write_fd_array(const zval *arr, char *int_arr, ser_context *ctx)
ctx              1412 ext/sockets/conversions.c 		do_from_zval_err(ctx, "%s", "expected an array here");
ctx              1416 ext/sockets/conversions.c    from_array_iterate(arr, &from_zval_write_fd_array_aux, (void**)&int_arr, ctx);
ctx              1418 ext/sockets/conversions.c void to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx)
ctx              1430 ext/sockets/conversions.c 	if (zend_hash_find(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN),
ctx              1432 ext/sockets/conversions.c 		do_to_zval_err(ctx, "could not get value of parameter " KEY_CMSG_LEN);
ctx              1437 ext/sockets/conversions.c 		do_to_zval_err(ctx, "length of cmsg is smaller than its data member "
ctx              1456 ext/sockets/conversions.c 			do_to_zval_err(ctx, "error creating resource for received file "
ctx              1487 ext/sockets/conversions.c 	ser_context ctx = {{0}};
ctx              1496 ext/sockets/conversions.c 	zend_hash_init(&ctx.params, 8, NULL, NULL, 0);
ctx              1497 ext/sockets/conversions.c 	zend_llist_init(&ctx.keys, sizeof(const char *), NULL, 0);
ctx              1498 ext/sockets/conversions.c 	zend_llist_init(&ctx.allocations, sizeof(void *), &free_from_zval_allocation, 0);
ctx              1499 ext/sockets/conversions.c 	ctx.sock = sock;
ctx              1503 ext/sockets/conversions.c 	zend_llist_add_element(&ctx.keys, &top_name);
ctx              1504 ext/sockets/conversions.c 	zend_llist_add_element(&ctx.allocations, &structure);
ctx              1507 ext/sockets/conversions.c 	writer(container, structure, &ctx);
ctx              1509 ext/sockets/conversions.c 	if (ctx.err.has_error) {
ctx              1510 ext/sockets/conversions.c 		zend_llist_destroy(&ctx.allocations); /* deallocates structure as well */
ctx              1512 ext/sockets/conversions.c 		*err = ctx.err;
ctx              1515 ext/sockets/conversions.c 		**allocations = ctx.allocations;
ctx              1518 ext/sockets/conversions.c 	zend_llist_destroy(&ctx.keys);
ctx              1519 ext/sockets/conversions.c 	zend_hash_destroy(&ctx.params);
ctx              1529 ext/sockets/conversions.c 	res_context				ctx = {{0}, {0}};
ctx              1539 ext/sockets/conversions.c 	zend_llist_init(&ctx.keys, sizeof(const char *), NULL, 0);
ctx              1540 ext/sockets/conversions.c 	zend_llist_add_element(&ctx.keys, &top_name);
ctx              1542 ext/sockets/conversions.c 	zend_hash_init(&ctx.params, 8, NULL, NULL, 0);
ctx              1544 ext/sockets/conversions.c 		zend_hash_update(&ctx.params, kv->key, kv->key_size,
ctx              1549 ext/sockets/conversions.c 	reader(structure, zv, &ctx);
ctx              1551 ext/sockets/conversions.c 	if (ctx.err.has_error) {
ctx              1554 ext/sockets/conversions.c 		*err = ctx.err;
ctx              1557 ext/sockets/conversions.c 	zend_llist_destroy(&ctx.keys);
ctx              1558 ext/sockets/conversions.c 	zend_hash_destroy(&ctx.params);
ctx                35 ext/sockets/conversions.h typedef void (from_zval_write_field)(const zval *arr_value, char *field, ser_context *ctx);
ctx                36 ext/sockets/conversions.h typedef void (to_zval_read_field)(const char *data, zval *zv, res_context *ctx);
ctx                46 ext/sockets/conversions.h void from_zval_write_int(const zval *arr_value, char *field, ser_context *ctx);
ctx                47 ext/sockets/conversions.h void to_zval_read_int(const char *data, zval *zv, res_context *ctx);
ctx                50 ext/sockets/conversions.h void from_zval_write_in6_pktinfo(const zval *container, char *in6_pktinfo_c, ser_context *ctx);
ctx                51 ext/sockets/conversions.h void to_zval_read_in6_pktinfo(const char *data, zval *zv, res_context *ctx);
ctx                55 ext/sockets/conversions.h void from_zval_write_ucred(const zval *container, char *ucred_c, ser_context *ctx);
ctx                56 ext/sockets/conversions.h void to_zval_read_ucred(const char *data, zval *zv, res_context *ctx);
ctx                60 ext/sockets/conversions.h size_t calculate_scm_rights_space(const zval *arr, ser_context *ctx);
ctx                61 ext/sockets/conversions.h void from_zval_write_fd_array(const zval *arr, char *int_arr, ser_context *ctx);
ctx                62 ext/sockets/conversions.h void to_zval_read_fd_array(const char *data, zval *zv, res_context *ctx);
ctx                65 ext/sockets/conversions.h void from_zval_write_msghdr_send(const zval *container, char *msghdr_c, ser_context *ctx);
ctx                66 ext/sockets/conversions.h void from_zval_write_msghdr_recv(const zval *container, char *msghdr_c, ser_context *ctx);
ctx                67 ext/sockets/conversions.h void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx);
ctx                24 ext/sockets/sendrecvmsg.h typedef size_t (calculate_req_space)(const zval *value, ser_context *ctx);
ctx              63416 ext/sqlite3/libsqlite/sqlite3.c     sqlite3_context ctx;
ctx              63420 ext/sqlite3/libsqlite/sqlite3.c     memset(&ctx, 0, sizeof(ctx));
ctx              63424 ext/sqlite3/libsqlite/sqlite3.c     ctx.pOut = &t;
ctx              63425 ext/sqlite3/libsqlite/sqlite3.c     ctx.pMem = pMem;
ctx              63426 ext/sqlite3/libsqlite/sqlite3.c     ctx.pFunc = pFunc;
ctx              63427 ext/sqlite3/libsqlite/sqlite3.c     pFunc->xFinalize(&ctx); /* IMP: R-24505-23230 */
ctx              63431 ext/sqlite3/libsqlite/sqlite3.c     rc = ctx.isError;
ctx              64253 ext/sqlite3/libsqlite/sqlite3.c   sqlite3_context ctx;            /* Context object for function invocation */
ctx              64295 ext/sqlite3/libsqlite/sqlite3.c   memset(&ctx, 0, sizeof(ctx));
ctx              64296 ext/sqlite3/libsqlite/sqlite3.c   ctx.pOut = pVal;
ctx              64297 ext/sqlite3/libsqlite/sqlite3.c   ctx.pFunc = pFunc;
ctx              64298 ext/sqlite3/libsqlite/sqlite3.c   pFunc->xFunc(&ctx, nVal, apVal);
ctx              64299 ext/sqlite3/libsqlite/sqlite3.c   if( ctx.isError ){
ctx              64300 ext/sqlite3/libsqlite/sqlite3.c     rc = ctx.isError;
ctx              72406 ext/sqlite3/libsqlite/sqlite3.c   sqlite3_context ctx;
ctx              72414 ext/sqlite3/libsqlite/sqlite3.c   ctx.pOut = &aMem[pOp->p3];
ctx              72415 ext/sqlite3/libsqlite/sqlite3.c   memAboutToChange(p, ctx.pOut);
ctx              72428 ext/sqlite3/libsqlite/sqlite3.c   ctx.pFunc = pOp->p4.pFunc;
ctx              72429 ext/sqlite3/libsqlite/sqlite3.c   ctx.iOp = (int)(pOp - aOp);
ctx              72430 ext/sqlite3/libsqlite/sqlite3.c   ctx.pVdbe = p;
ctx              72431 ext/sqlite3/libsqlite/sqlite3.c   MemSetTypeFlag(ctx.pOut, MEM_Null);
ctx              72432 ext/sqlite3/libsqlite/sqlite3.c   ctx.fErrorOrAux = 0;
ctx              72434 ext/sqlite3/libsqlite/sqlite3.c   (*ctx.pFunc->xFunc)(&ctx, n, apVal); /* IMP: R-24505-23230 */
ctx              72438 ext/sqlite3/libsqlite/sqlite3.c   if( ctx.fErrorOrAux ){
ctx              72439 ext/sqlite3/libsqlite/sqlite3.c     if( ctx.isError ){
ctx              72440 ext/sqlite3/libsqlite/sqlite3.c       sqlite3SetString(&p->zErrMsg, db, "%s", sqlite3_value_text(ctx.pOut));
ctx              72441 ext/sqlite3/libsqlite/sqlite3.c       rc = ctx.isError;
ctx              72447 ext/sqlite3/libsqlite/sqlite3.c   sqlite3VdbeChangeEncoding(ctx.pOut, encoding);
ctx              72448 ext/sqlite3/libsqlite/sqlite3.c   if( sqlite3VdbeMemTooBig(ctx.pOut) ){
ctx              72452 ext/sqlite3/libsqlite/sqlite3.c   REGISTER_TRACE(pOp->p3, ctx.pOut);
ctx              72453 ext/sqlite3/libsqlite/sqlite3.c   UPDATE_MAX_BLOBSIZE(ctx.pOut);
ctx              76547 ext/sqlite3/libsqlite/sqlite3.c   sqlite3_context ctx;
ctx              76560 ext/sqlite3/libsqlite/sqlite3.c   ctx.pFunc = pOp->p4.pFunc;
ctx              76562 ext/sqlite3/libsqlite/sqlite3.c   ctx.pMem = pMem = &aMem[pOp->p3];
ctx              76565 ext/sqlite3/libsqlite/sqlite3.c   ctx.pOut = &t;
ctx              76566 ext/sqlite3/libsqlite/sqlite3.c   ctx.isError = 0;
ctx              76567 ext/sqlite3/libsqlite/sqlite3.c   ctx.pVdbe = p;
ctx              76568 ext/sqlite3/libsqlite/sqlite3.c   ctx.iOp = (int)(pOp - aOp);
ctx              76569 ext/sqlite3/libsqlite/sqlite3.c   ctx.skipFlag = 0;
ctx              76570 ext/sqlite3/libsqlite/sqlite3.c   (ctx.pFunc->xStep)(&ctx, n, apVal); /* IMP: R-24505-23230 */
ctx              76571 ext/sqlite3/libsqlite/sqlite3.c   if( ctx.isError ){
ctx              76573 ext/sqlite3/libsqlite/sqlite3.c     rc = ctx.isError;
ctx              76575 ext/sqlite3/libsqlite/sqlite3.c   if( ctx.skipFlag ){
ctx              148810 ext/sqlite3/libsqlite/sqlite3.c static int fts3ExprLoadDoclistsCb(Fts3Expr *pExpr, int iPhrase, void *ctx){
ctx              148813 ext/sqlite3/libsqlite/sqlite3.c   LoadDoclistCtx *p = (LoadDoclistCtx *)ctx;
ctx              148847 ext/sqlite3/libsqlite/sqlite3.c static int fts3ExprPhraseCountCb(Fts3Expr *pExpr, int iPhrase, void *ctx){
ctx              148848 ext/sqlite3/libsqlite/sqlite3.c   (*(int *)ctx)++;
ctx              148985 ext/sqlite3/libsqlite/sqlite3.c static int fts3SnippetFindPositions(Fts3Expr *pExpr, int iPhrase, void *ctx){
ctx              148986 ext/sqlite3/libsqlite/sqlite3.c   SnippetIter *p = (SnippetIter *)ctx;
ctx              149999 ext/sqlite3/libsqlite/sqlite3.c static int fts3ExprTermOffsetInit(Fts3Expr *pExpr, int iPhrase, void *ctx){
ctx              150000 ext/sqlite3/libsqlite/sqlite3.c   TermOffsetCtx *p = (TermOffsetCtx *)ctx;
ctx              152383 ext/sqlite3/libsqlite/sqlite3.c static int rtreeColumn(sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i){
ctx              152394 ext/sqlite3/libsqlite/sqlite3.c     sqlite3_result_int64(ctx, nodeGetRowid(pRtree, pNode, p->iCell));
ctx              152400 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_double(ctx, c.f);
ctx              152405 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_int(ctx, c.i);
ctx              154237 ext/sqlite3/libsqlite/sqlite3.c static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
ctx              154279 ext/sqlite3/libsqlite/sqlite3.c   sqlite3_result_text(ctx, zText, -1, sqlite3_free);
ctx              154291 ext/sqlite3/libsqlite/sqlite3.c static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
ctx              154296 ext/sqlite3/libsqlite/sqlite3.c     sqlite3_result_error(ctx, "Invalid argument to rtreedepth()", -1); 
ctx              154299 ext/sqlite3/libsqlite/sqlite3.c     sqlite3_result_int(ctx, readInt16(zBlob));
ctx              154359 ext/sqlite3/libsqlite/sqlite3.c static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
ctx              154360 ext/sqlite3/libsqlite/sqlite3.c   RtreeGeomCallback *pGeomCtx = (RtreeGeomCallback *)sqlite3_user_data(ctx);
ctx              154367 ext/sqlite3/libsqlite/sqlite3.c     sqlite3_result_error_nomem(ctx);
ctx              154380 ext/sqlite3/libsqlite/sqlite3.c     sqlite3_result_blob(ctx, pBlob, nBlob, sqlite3_free);
ctx              155790 ext/sqlite3/libsqlite/sqlite3.c   sqlite3_context *ctx, 
ctx              155796 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_text(ctx, pCsr->zName, -1, SQLITE_TRANSIENT);
ctx              155799 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_text(ctx, pCsr->zPath, -1, SQLITE_TRANSIENT);
ctx              155802 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_int64(ctx, pCsr->iPageno);
ctx              155805 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_text(ctx, pCsr->zPagetype, -1, SQLITE_STATIC);
ctx              155808 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_int(ctx, pCsr->nCell);
ctx              155811 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_int(ctx, pCsr->nPayload);
ctx              155814 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_int(ctx, pCsr->nUnused);
ctx              155817 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_int(ctx, pCsr->nMxPayload);
ctx              155820 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_int64(ctx, pCsr->iOffset);
ctx              155824 ext/sqlite3/libsqlite/sqlite3.c       sqlite3_result_int(ctx, pCsr->szPage);
ctx               469 ext/standard/crypt_blowfish.c 	tmp1 = data.ctx.S[3][tmp1]; \
ctx               470 ext/standard/crypt_blowfish.c 	tmp2 = data.ctx.S[2][tmp2]; \
ctx               471 ext/standard/crypt_blowfish.c 	tmp3 = data.ctx.S[1][tmp3]; \
ctx               472 ext/standard/crypt_blowfish.c 	tmp3 += data.ctx.S[0][tmp4]; \
ctx               474 ext/standard/crypt_blowfish.c 	R ^= data.ctx.P[N + 1]; \
ctx               490 ext/standard/crypt_blowfish.c 	tmp1 = BF_INDEX(data.ctx.S[3], tmp1); \
ctx               491 ext/standard/crypt_blowfish.c 	tmp2 = BF_INDEX(data.ctx.S[2], tmp2); \
ctx               492 ext/standard/crypt_blowfish.c 	tmp3 = BF_INDEX(data.ctx.S[1], tmp3); \
ctx               493 ext/standard/crypt_blowfish.c 	tmp3 += BF_INDEX(data.ctx.S[0], tmp4); \
ctx               495 ext/standard/crypt_blowfish.c 	R ^= data.ctx.P[N + 1]; \
ctx               504 ext/standard/crypt_blowfish.c 	L ^= data.ctx.P[0]; \
ctx               523 ext/standard/crypt_blowfish.c 	L = tmp4 ^ data.ctx.P[BF_N + 1];
ctx               527 ext/standard/crypt_blowfish.c 	_BF_body_r(&data.ctx);
ctx               531 ext/standard/crypt_blowfish.c 	ptr = data.ctx.P; \
ctx               537 ext/standard/crypt_blowfish.c 	} while (ptr < &data.ctx.P[BF_N + 2]); \
ctx               539 ext/standard/crypt_blowfish.c 	ptr = data.ctx.S[0]; \
ctx               545 ext/standard/crypt_blowfish.c 	} while (ptr < &data.ctx.S[3][0xFF]);
ctx               659 ext/standard/crypt_blowfish.c 	extern void _BF_body_r(BF_ctx *ctx);
ctx               662 ext/standard/crypt_blowfish.c 		BF_ctx ctx;
ctx               700 ext/standard/crypt_blowfish.c 	BF_set_key(key, data.expanded_key, data.ctx.P,
ctx               703 ext/standard/crypt_blowfish.c 	memcpy(data.ctx.S, BF_init_state.S, sizeof(data.ctx.S));
ctx               710 ext/standard/crypt_blowfish.c 		data.ctx.P[i] = L;
ctx               711 ext/standard/crypt_blowfish.c 		data.ctx.P[i + 1] = R;
ctx               714 ext/standard/crypt_blowfish.c 	ptr = data.ctx.S[0];
ctx               728 ext/standard/crypt_blowfish.c 	} while (ptr < &data.ctx.S[3][0xFF]);
ctx               734 ext/standard/crypt_blowfish.c 			data.ctx.P[i] ^= data.expanded_key[i];
ctx               735 ext/standard/crypt_blowfish.c 			data.ctx.P[i + 1] ^= data.expanded_key[i + 1];
ctx               750 ext/standard/crypt_blowfish.c 				data.ctx.P[i] ^= tmp1;
ctx               751 ext/standard/crypt_blowfish.c 				data.ctx.P[i + 1] ^= tmp2;
ctx               752 ext/standard/crypt_blowfish.c 				data.ctx.P[i + 2] ^= tmp3;
ctx               753 ext/standard/crypt_blowfish.c 				data.ctx.P[i + 3] ^= tmp4;
ctx               755 ext/standard/crypt_blowfish.c 			data.ctx.P[16] ^= tmp1;
ctx               756 ext/standard/crypt_blowfish.c 			data.ctx.P[17] ^= tmp2;
ctx               106 ext/standard/crypt_sha256.c static void sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) {
ctx               111 ext/standard/crypt_sha256.c 	uint32_t a = ctx->H[0];
ctx               112 ext/standard/crypt_sha256.c 	uint32_t b = ctx->H[1];
ctx               113 ext/standard/crypt_sha256.c 	uint32_t c = ctx->H[2];
ctx               114 ext/standard/crypt_sha256.c 	uint32_t d = ctx->H[3];
ctx               115 ext/standard/crypt_sha256.c 	uint32_t e = ctx->H[4];
ctx               116 ext/standard/crypt_sha256.c 	uint32_t f = ctx->H[5];
ctx               117 ext/standard/crypt_sha256.c 	uint32_t g = ctx->H[6];
ctx               118 ext/standard/crypt_sha256.c 	uint32_t h = ctx->H[7];
ctx               123 ext/standard/crypt_sha256.c 	ctx->total[0] += len;
ctx               124 ext/standard/crypt_sha256.c 	if (ctx->total[0] < len) {
ctx               125 ext/standard/crypt_sha256.c 		++ctx->total[1];
ctx               191 ext/standard/crypt_sha256.c 	ctx->H[0] = a;
ctx               192 ext/standard/crypt_sha256.c 	ctx->H[1] = b;
ctx               193 ext/standard/crypt_sha256.c 	ctx->H[2] = c;
ctx               194 ext/standard/crypt_sha256.c 	ctx->H[3] = d;
ctx               195 ext/standard/crypt_sha256.c 	ctx->H[4] = e;
ctx               196 ext/standard/crypt_sha256.c 	ctx->H[5] = f;
ctx               197 ext/standard/crypt_sha256.c 	ctx->H[6] = g;
ctx               198 ext/standard/crypt_sha256.c 	ctx->H[7] = h;
ctx               204 ext/standard/crypt_sha256.c static void sha256_init_ctx(struct sha256_ctx *ctx) {
ctx               205 ext/standard/crypt_sha256.c 	ctx->H[0] = 0x6a09e667;
ctx               206 ext/standard/crypt_sha256.c 	ctx->H[1] = 0xbb67ae85;
ctx               207 ext/standard/crypt_sha256.c 	ctx->H[2] = 0x3c6ef372;
ctx               208 ext/standard/crypt_sha256.c 	ctx->H[3] = 0xa54ff53a;
ctx               209 ext/standard/crypt_sha256.c 	ctx->H[4] = 0x510e527f;
ctx               210 ext/standard/crypt_sha256.c 	ctx->H[5] = 0x9b05688c;
ctx               211 ext/standard/crypt_sha256.c 	ctx->H[6] = 0x1f83d9ab;
ctx               212 ext/standard/crypt_sha256.c 	ctx->H[7] = 0x5be0cd19;
ctx               214 ext/standard/crypt_sha256.c 	ctx->total[0] = ctx->total[1] = 0;
ctx               215 ext/standard/crypt_sha256.c 	ctx->buflen = 0;
ctx               224 ext/standard/crypt_sha256.c static void * sha256_finish_ctx(struct sha256_ctx *ctx, void *resbuf) {
ctx               226 ext/standard/crypt_sha256.c 	uint32_t bytes = ctx->buflen;
ctx               231 ext/standard/crypt_sha256.c 	ctx->total[0] += bytes;
ctx               232 ext/standard/crypt_sha256.c 	if (ctx->total[0] < bytes) {
ctx               233 ext/standard/crypt_sha256.c 		++ctx->total[1];
ctx               237 ext/standard/crypt_sha256.c 	memcpy(&ctx->buffer[bytes], fillbuf, pad);
ctx               240 ext/standard/crypt_sha256.c 	*(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3);
ctx               241 ext/standard/crypt_sha256.c 	*(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) |
ctx               242 ext/standard/crypt_sha256.c 						  (ctx->total[0] >> 29));
ctx               245 ext/standard/crypt_sha256.c 	sha256_process_block(ctx->buffer, bytes + pad + 8, ctx);
ctx               249 ext/standard/crypt_sha256.c 		((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]);
ctx               256 ext/standard/crypt_sha256.c static void sha256_process_bytes(const void *buffer, size_t len, struct sha256_ctx *ctx) {
ctx               259 ext/standard/crypt_sha256.c 	if (ctx->buflen != 0) {
ctx               260 ext/standard/crypt_sha256.c 		size_t left_over = ctx->buflen;
ctx               263 ext/standard/crypt_sha256.c 		  memcpy(&ctx->buffer[left_over], buffer, add);
ctx               264 ext/standard/crypt_sha256.c 		  ctx->buflen += add;
ctx               266 ext/standard/crypt_sha256.c 		if (ctx->buflen > 64) {
ctx               267 ext/standard/crypt_sha256.c 			sha256_process_block(ctx->buffer, ctx->buflen & ~63, ctx);
ctx               268 ext/standard/crypt_sha256.c 			ctx->buflen &= 63;
ctx               270 ext/standard/crypt_sha256.c 			memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~63], ctx->buflen);
ctx               288 ext/standard/crypt_sha256.c 				sha256_process_block(memcpy(ctx->buffer, buffer, 64), 64, ctx);
ctx               292 ext/standard/crypt_sha256.c 				sha256_process_block(buffer, len & ~63, ctx);
ctx               300 ext/standard/crypt_sha256.c 		size_t left_over = ctx->buflen;
ctx               302 ext/standard/crypt_sha256.c 		memcpy(&ctx->buffer[left_over], buffer, len);
ctx               305 ext/standard/crypt_sha256.c 			sha256_process_block(ctx->buffer, 64, ctx);
ctx               307 ext/standard/crypt_sha256.c 			memcpy(ctx->buffer, &ctx->buffer[64], left_over);
ctx               309 ext/standard/crypt_sha256.c 		ctx->buflen = left_over;
ctx               351 ext/standard/crypt_sha256.c 	struct sha256_ctx ctx;
ctx               399 ext/standard/crypt_sha256.c 	sha256_init_ctx(&ctx);
ctx               402 ext/standard/crypt_sha256.c 	sha256_process_bytes(key, key_len, &ctx);
ctx               407 ext/standard/crypt_sha256.c 	sha256_process_bytes(salt, salt_len, &ctx);
ctx               429 ext/standard/crypt_sha256.c 		sha256_process_bytes(alt_result, 32, &ctx);
ctx               431 ext/standard/crypt_sha256.c 	sha256_process_bytes(alt_result, cnt, &ctx);
ctx               437 ext/standard/crypt_sha256.c 			sha256_process_bytes(alt_result, 32, &ctx);
ctx               439 ext/standard/crypt_sha256.c 			sha256_process_bytes(key, key_len, &ctx);
ctx               444 ext/standard/crypt_sha256.c 	sha256_finish_ctx(&ctx, alt_result);
ctx               486 ext/standard/crypt_sha256.c 		sha256_init_ctx(&ctx);
ctx               490 ext/standard/crypt_sha256.c 			sha256_process_bytes(p_bytes, key_len, &ctx);
ctx               492 ext/standard/crypt_sha256.c 			sha256_process_bytes(alt_result, 32, &ctx);
ctx               497 ext/standard/crypt_sha256.c 			sha256_process_bytes(s_bytes, salt_len, &ctx);
ctx               502 ext/standard/crypt_sha256.c 			sha256_process_bytes(p_bytes, key_len, &ctx);
ctx               507 ext/standard/crypt_sha256.c 			sha256_process_bytes(alt_result, 32, &ctx);
ctx               509 ext/standard/crypt_sha256.c 			sha256_process_bytes(p_bytes, key_len, &ctx);
ctx               513 ext/standard/crypt_sha256.c 		sha256_finish_ctx(&ctx, alt_result);
ctx               572 ext/standard/crypt_sha256.c 	sha256_init_ctx(&ctx);
ctx               573 ext/standard/crypt_sha256.c 	sha256_finish_ctx(&ctx, alt_result);
ctx               577 ext/standard/crypt_sha256.c 	memset(&ctx, '\0', sizeof(ctx));
ctx               696 ext/standard/crypt_sha256.c 	struct sha256_ctx ctx;
ctx               706 ext/standard/crypt_sha256.c 		sha256_init_ctx(&ctx);
ctx               707 ext/standard/crypt_sha256.c 		sha256_process_bytes(tests[cnt].input, strlen(tests[cnt].input), &ctx);
ctx               708 ext/standard/crypt_sha256.c 		sha256_finish_ctx(&ctx, sum);
ctx               714 ext/standard/crypt_sha256.c 		sha256_init_ctx(&ctx);
ctx               716 ext/standard/crypt_sha256.c 			sha256_process_bytes(&tests[cnt].input[i], 1, &ctx);
ctx               718 ext/standard/crypt_sha256.c 		sha256_finish_ctx(&ctx, sum);
ctx               728 ext/standard/crypt_sha256.c 	sha256_init_ctx(&ctx);
ctx               730 ext/standard/crypt_sha256.c 		sha256_process_bytes (buf, sizeof (buf), &ctx);
ctx               733 ext/standard/crypt_sha256.c 	sha256_finish_ctx(&ctx, sum);
ctx               132 ext/standard/crypt_sha512.c sha512_process_block(const void *buffer, size_t len, struct sha512_ctx *ctx) {
ctx               135 ext/standard/crypt_sha512.c 	uint64_t a = ctx->H[0];
ctx               136 ext/standard/crypt_sha512.c 	uint64_t b = ctx->H[1];
ctx               137 ext/standard/crypt_sha512.c 	uint64_t c = ctx->H[2];
ctx               138 ext/standard/crypt_sha512.c 	uint64_t d = ctx->H[3];
ctx               139 ext/standard/crypt_sha512.c 	uint64_t e = ctx->H[4];
ctx               140 ext/standard/crypt_sha512.c 	uint64_t f = ctx->H[5];
ctx               141 ext/standard/crypt_sha512.c 	uint64_t g = ctx->H[6];
ctx               142 ext/standard/crypt_sha512.c 	uint64_t h = ctx->H[7];
ctx               147 ext/standard/crypt_sha512.c 	ctx->total[0] += len;
ctx               148 ext/standard/crypt_sha512.c 	if (ctx->total[0] < len) {
ctx               149 ext/standard/crypt_sha512.c 		++ctx->total[1];
ctx               218 ext/standard/crypt_sha512.c 	ctx->H[0] = a;
ctx               219 ext/standard/crypt_sha512.c 	ctx->H[1] = b;
ctx               220 ext/standard/crypt_sha512.c 	ctx->H[2] = c;
ctx               221 ext/standard/crypt_sha512.c 	ctx->H[3] = d;
ctx               222 ext/standard/crypt_sha512.c 	ctx->H[4] = e;
ctx               223 ext/standard/crypt_sha512.c 	ctx->H[5] = f;
ctx               224 ext/standard/crypt_sha512.c 	ctx->H[6] = g;
ctx               225 ext/standard/crypt_sha512.c 	ctx->H[7] = h;
ctx               231 ext/standard/crypt_sha512.c static void sha512_init_ctx (struct sha512_ctx *ctx) {
ctx               232 ext/standard/crypt_sha512.c 	ctx->H[0] = UINT64_C (0x6a09e667f3bcc908);
ctx               233 ext/standard/crypt_sha512.c 	ctx->H[1] = UINT64_C (0xbb67ae8584caa73b);
ctx               234 ext/standard/crypt_sha512.c 	ctx->H[2] = UINT64_C (0x3c6ef372fe94f82b);
ctx               235 ext/standard/crypt_sha512.c 	ctx->H[3] = UINT64_C (0xa54ff53a5f1d36f1);
ctx               236 ext/standard/crypt_sha512.c 	ctx->H[4] = UINT64_C (0x510e527fade682d1);
ctx               237 ext/standard/crypt_sha512.c 	ctx->H[5] = UINT64_C (0x9b05688c2b3e6c1f);
ctx               238 ext/standard/crypt_sha512.c 	ctx->H[6] = UINT64_C (0x1f83d9abfb41bd6b);
ctx               239 ext/standard/crypt_sha512.c 	ctx->H[7] = UINT64_C (0x5be0cd19137e2179);
ctx               241 ext/standard/crypt_sha512.c 	ctx->total[0] = ctx->total[1] = 0;
ctx               242 ext/standard/crypt_sha512.c 	ctx->buflen = 0;
ctx               251 ext/standard/crypt_sha512.c static void * sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf) {
ctx               253 ext/standard/crypt_sha512.c 	uint64_t bytes = ctx->buflen;
ctx               258 ext/standard/crypt_sha512.c 	ctx->total[0] += bytes;
ctx               259 ext/standard/crypt_sha512.c 	if (ctx->total[0] < bytes) {
ctx               260 ext/standard/crypt_sha512.c 		++ctx->total[1];
ctx               264 ext/standard/crypt_sha512.c 	memcpy(&ctx->buffer[bytes], fillbuf, pad);
ctx               267 ext/standard/crypt_sha512.c 	*(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3);
ctx               268 ext/standard/crypt_sha512.c 	*(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) |
ctx               269 ext/standard/crypt_sha512.c 						(ctx->total[0] >> 61));
ctx               272 ext/standard/crypt_sha512.c 	sha512_process_block(ctx->buffer, (size_t)(bytes + pad + 16), ctx);
ctx               276 ext/standard/crypt_sha512.c 		((uint64_t *) resbuf)[i] = SWAP(ctx->H[i]);
ctx               283 ext/standard/crypt_sha512.c sha512_process_bytes(const void *buffer, size_t len, struct sha512_ctx *ctx) {
ctx               286 ext/standard/crypt_sha512.c 	if (ctx->buflen != 0) {
ctx               287 ext/standard/crypt_sha512.c 		size_t left_over = (size_t)ctx->buflen;
ctx               290 ext/standard/crypt_sha512.c 		memcpy(&ctx->buffer[left_over], buffer, add);
ctx               291 ext/standard/crypt_sha512.c 		ctx->buflen += add;
ctx               293 ext/standard/crypt_sha512.c 		if (ctx->buflen > 128) {
ctx               294 ext/standard/crypt_sha512.c 			sha512_process_block(ctx->buffer, ctx->buflen & ~127, ctx);
ctx               296 ext/standard/crypt_sha512.c 			ctx->buflen &= 127;
ctx               298 ext/standard/crypt_sha512.c 			memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~127],
ctx               299 ext/standard/crypt_sha512.c 					(size_t)ctx->buflen);
ctx               318 ext/standard/crypt_sha512.c 				sha512_process_block(memcpy(ctx->buffer, buffer, 128), 128, ctx);
ctx               325 ext/standard/crypt_sha512.c 		  sha512_process_block(buffer, len & ~127, ctx);
ctx               333 ext/standard/crypt_sha512.c 		size_t left_over = (size_t)ctx->buflen;
ctx               335 ext/standard/crypt_sha512.c 		memcpy(&ctx->buffer[left_over], buffer, len);
ctx               338 ext/standard/crypt_sha512.c 			sha512_process_block(ctx->buffer, 128, ctx);
ctx               340 ext/standard/crypt_sha512.c 			memcpy(ctx->buffer, &ctx->buffer[128], left_over);
ctx               342 ext/standard/crypt_sha512.c 		ctx->buflen = left_over;
ctx               384 ext/standard/crypt_sha512.c 	struct sha512_ctx ctx;
ctx               433 ext/standard/crypt_sha512.c 	sha512_init_ctx(&ctx);
ctx               436 ext/standard/crypt_sha512.c 	sha512_process_bytes(key, key_len, &ctx);
ctx               441 ext/standard/crypt_sha512.c 	sha512_process_bytes(salt, salt_len, &ctx);
ctx               463 ext/standard/crypt_sha512.c 		sha512_process_bytes(alt_result, 64, &ctx);
ctx               465 ext/standard/crypt_sha512.c 	sha512_process_bytes(alt_result, cnt, &ctx);
ctx               471 ext/standard/crypt_sha512.c 			sha512_process_bytes(alt_result, 64, &ctx);
ctx               473 ext/standard/crypt_sha512.c 			sha512_process_bytes(key, key_len, &ctx);
ctx               478 ext/standard/crypt_sha512.c 	sha512_finish_ctx(&ctx, alt_result);
ctx               521 ext/standard/crypt_sha512.c 		sha512_init_ctx(&ctx);
ctx               525 ext/standard/crypt_sha512.c 			sha512_process_bytes(p_bytes, key_len, &ctx);
ctx               527 ext/standard/crypt_sha512.c 			sha512_process_bytes(alt_result, 64, &ctx);
ctx               532 ext/standard/crypt_sha512.c 			sha512_process_bytes(s_bytes, salt_len, &ctx);
ctx               537 ext/standard/crypt_sha512.c 			sha512_process_bytes(p_bytes, key_len, &ctx);
ctx               542 ext/standard/crypt_sha512.c 			sha512_process_bytes(alt_result, 64, &ctx);
ctx               544 ext/standard/crypt_sha512.c 			sha512_process_bytes(p_bytes, key_len, &ctx);
ctx               548 ext/standard/crypt_sha512.c 		sha512_finish_ctx(&ctx, alt_result);
ctx               620 ext/standard/crypt_sha512.c 	sha512_init_ctx(&ctx);
ctx               621 ext/standard/crypt_sha512.c 	sha512_finish_ctx(&ctx, alt_result);
ctx               625 ext/standard/crypt_sha512.c 	memset(&ctx, '\0', sizeof(ctx));
ctx               760 ext/standard/crypt_sha512.c 	struct sha512_ctx ctx;
ctx               773 ext/standard/crypt_sha512.c 		sha512_init_ctx (&ctx);
ctx               774 ext/standard/crypt_sha512.c 		sha512_process_bytes (tests[cnt].input, strlen (tests[cnt].input), &ctx);
ctx               775 ext/standard/crypt_sha512.c 		sha512_finish_ctx (&ctx, sum);
ctx               781 ext/standard/crypt_sha512.c 		sha512_init_ctx (&ctx);
ctx               783 ext/standard/crypt_sha512.c 			sha512_process_bytes (&tests[cnt].input[i], 1, &ctx);
ctx               785 ext/standard/crypt_sha512.c 		sha512_finish_ctx (&ctx, sum);
ctx               795 ext/standard/crypt_sha512.c 	sha512_init_ctx (&ctx);
ctx               797 ext/standard/crypt_sha512.c 		sha512_process_bytes (buf, sizeof (buf), &ctx);
ctx               800 ext/standard/crypt_sha512.c 	sha512_finish_ctx (&ctx, sum);
ctx              1654 ext/standard/file.c PHPAPI int php_copy_file_ctx(const char *src, const char *dest, int src_flg, php_stream_context *ctx TSRMLS_DC)
ctx              1660 ext/standard/file.c 	switch (php_stream_stat_path_ex(src, 0, &src_s, ctx)) {
ctx              1675 ext/standard/file.c 	switch (php_stream_stat_path_ex(dest, PHP_STREAM_URL_STAT_QUIET | PHP_STREAM_URL_STAT_NOCACHE, &dest_s, ctx)) {
ctx              1725 ext/standard/file.c 	srcstream = php_stream_open_wrapper_ex(src, "rb", src_flg | REPORT_ERRORS, NULL, ctx);
ctx              1731 ext/standard/file.c 	deststream = php_stream_open_wrapper_ex(dest, "wb", REPORT_ERRORS, NULL, ctx);
ctx                79 ext/standard/file.h PHPAPI int php_copy_file_ctx(const char *src, const char *dest, int src_chk, php_stream_context *ctx TSRMLS_DC);
ctx               174 ext/standard/md5.c 	(ctx->block[(n)] = \
ctx               180 ext/standard/md5.c 	(ctx->block[(n)])
ctx               187 ext/standard/md5.c static const void *body(PHP_MD5_CTX *ctx, const void *data, size_t size)
ctx               195 ext/standard/md5.c 	a = ctx->a;
ctx               196 ext/standard/md5.c 	b = ctx->b;
ctx               197 ext/standard/md5.c 	c = ctx->c;
ctx               198 ext/standard/md5.c 	d = ctx->d;
ctx               286 ext/standard/md5.c 	ctx->a = a;
ctx               287 ext/standard/md5.c 	ctx->b = b;
ctx               288 ext/standard/md5.c 	ctx->c = c;
ctx               289 ext/standard/md5.c 	ctx->d = d;
ctx               294 ext/standard/md5.c PHPAPI void PHP_MD5Init(PHP_MD5_CTX *ctx)
ctx               296 ext/standard/md5.c 	ctx->a = 0x67452301;
ctx               297 ext/standard/md5.c 	ctx->b = 0xefcdab89;
ctx               298 ext/standard/md5.c 	ctx->c = 0x98badcfe;
ctx               299 ext/standard/md5.c 	ctx->d = 0x10325476;
ctx               301 ext/standard/md5.c 	ctx->lo = 0;
ctx               302 ext/standard/md5.c 	ctx->hi = 0;
ctx               305 ext/standard/md5.c PHPAPI void PHP_MD5Update(PHP_MD5_CTX *ctx, const void *data, size_t size)
ctx               310 ext/standard/md5.c 	saved_lo = ctx->lo;
ctx               311 ext/standard/md5.c 	if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) {
ctx               312 ext/standard/md5.c 		ctx->hi++;
ctx               314 ext/standard/md5.c 	ctx->hi += size >> 29;
ctx               322 ext/standard/md5.c 			memcpy(&ctx->buffer[used], data, size);
ctx               326 ext/standard/md5.c 		memcpy(&ctx->buffer[used], data, free);
ctx               329 ext/standard/md5.c 		body(ctx, ctx->buffer, 64);
ctx               333 ext/standard/md5.c 		data = body(ctx, data, size & ~(size_t)0x3f);
ctx               337 ext/standard/md5.c 	memcpy(ctx->buffer, data, size);
ctx               340 ext/standard/md5.c PHPAPI void PHP_MD5Final(unsigned char *result, PHP_MD5_CTX *ctx)
ctx               344 ext/standard/md5.c 	used = ctx->lo & 0x3f;
ctx               346 ext/standard/md5.c 	ctx->buffer[used++] = 0x80;
ctx               351 ext/standard/md5.c 		memset(&ctx->buffer[used], 0, free);
ctx               352 ext/standard/md5.c 		body(ctx, ctx->buffer, 64);
ctx               357 ext/standard/md5.c 	memset(&ctx->buffer[used], 0, free - 8);
ctx               359 ext/standard/md5.c 	ctx->lo <<= 3;
ctx               360 ext/standard/md5.c 	ctx->buffer[56] = ctx->lo;
ctx               361 ext/standard/md5.c 	ctx->buffer[57] = ctx->lo >> 8;
ctx               362 ext/standard/md5.c 	ctx->buffer[58] = ctx->lo >> 16;
ctx               363 ext/standard/md5.c 	ctx->buffer[59] = ctx->lo >> 24;
ctx               364 ext/standard/md5.c 	ctx->buffer[60] = ctx->hi;
ctx               365 ext/standard/md5.c 	ctx->buffer[61] = ctx->hi >> 8;
ctx               366 ext/standard/md5.c 	ctx->buffer[62] = ctx->hi >> 16;
ctx               367 ext/standard/md5.c 	ctx->buffer[63] = ctx->hi >> 24;
ctx               369 ext/standard/md5.c 	body(ctx, ctx->buffer, 64);
ctx               371 ext/standard/md5.c 	result[0] = ctx->a;
ctx               372 ext/standard/md5.c 	result[1] = ctx->a >> 8;
ctx               373 ext/standard/md5.c 	result[2] = ctx->a >> 16;
ctx               374 ext/standard/md5.c 	result[3] = ctx->a >> 24;
ctx               375 ext/standard/md5.c 	result[4] = ctx->b;
ctx               376 ext/standard/md5.c 	result[5] = ctx->b >> 8;
ctx               377 ext/standard/md5.c 	result[6] = ctx->b >> 16;
ctx               378 ext/standard/md5.c 	result[7] = ctx->b >> 24;
ctx               379 ext/standard/md5.c 	result[8] = ctx->c;
ctx               380 ext/standard/md5.c 	result[9] = ctx->c >> 8;
ctx               381 ext/standard/md5.c 	result[10] = ctx->c >> 16;
ctx               382 ext/standard/md5.c 	result[11] = ctx->c >> 24;
ctx               383 ext/standard/md5.c 	result[12] = ctx->d;
ctx               384 ext/standard/md5.c 	result[13] = ctx->d >> 8;
ctx               385 ext/standard/md5.c 	result[14] = ctx->d >> 16;
ctx               386 ext/standard/md5.c 	result[15] = ctx->d >> 24;
ctx               388 ext/standard/md5.c 	memset(ctx, 0, sizeof(*ctx));
ctx                51 ext/standard/md5.h PHPAPI void PHP_MD5Init(PHP_MD5_CTX *ctx);
ctx                52 ext/standard/md5.h PHPAPI void PHP_MD5Update(PHP_MD5_CTX *ctx, const void *data, size_t size);
ctx                53 ext/standard/md5.h PHPAPI void PHP_MD5Final(unsigned char *result, PHP_MD5_CTX *ctx);
ctx               129 ext/standard/php_crypt_r.c 	HCRYPTHASH ctx, ctx1;
ctx               166 ext/standard/php_crypt_r.c 	if(!CryptCreateHash(hCryptProv, CALG_MD5, 0, 0, &ctx)) {
ctx               171 ext/standard/php_crypt_r.c 	if(!CryptHashData(ctx, (BYTE *)pw, pwl, 0)) {
ctx               176 ext/standard/php_crypt_r.c 	if(!CryptHashData(ctx, magic_md5, magic_md5_len, 0)) {
ctx               181 ext/standard/php_crypt_r.c 	if(!CryptHashData( ctx, (BYTE *)sp, sl, 0)) {
ctx               205 ext/standard/php_crypt_r.c 		CryptHashData(ctx, final, (DWORD)(pl > 16 ? 16 : pl), 0);
ctx               214 ext/standard/php_crypt_r.c 			CryptHashData(ctx, (const BYTE *)final, 1, 0);
ctx               216 ext/standard/php_crypt_r.c 			CryptHashData(ctx, (const BYTE *)pw, 1, 0);
ctx               231 ext/standard/php_crypt_r.c 	CryptGetHashParam(ctx, HP_HASHVAL, final, &dwHashLen, 0);
ctx               302 ext/standard/php_crypt_r.c 	CryptDestroyHash(ctx);
ctx               325 ext/standard/php_crypt_r.c 	PHP_MD5_CTX	ctx, ctx1;
ctx               345 ext/standard/php_crypt_r.c 	PHP_MD5Init(&ctx);
ctx               348 ext/standard/php_crypt_r.c 	PHP_MD5Update(&ctx, (const unsigned char *)pw, pwl);
ctx               351 ext/standard/php_crypt_r.c 	PHP_MD5Update(&ctx, (const unsigned char *)MD5_MAGIC, MD5_MAGIC_LEN);
ctx               354 ext/standard/php_crypt_r.c 	PHP_MD5Update(&ctx, (const unsigned char *)sp, sl);
ctx               364 ext/standard/php_crypt_r.c 		PHP_MD5Update(&ctx, final, (unsigned int)(pl > 16 ? 16 : pl));
ctx               372 ext/standard/php_crypt_r.c 		    PHP_MD5Update(&ctx, final, 1);
ctx               374 ext/standard/php_crypt_r.c 		    PHP_MD5Update(&ctx, (const unsigned char *)pw, 1);
ctx               381 ext/standard/php_crypt_r.c 	PHP_MD5Final(final, &ctx);
ctx                48 ext/standard/url_scanner_ex.c 	url_adapt_state_ex_t *ctx;
ctx                53 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
ctx                57 ext/standard/url_scanner_ex.c 	if (ctx->tags)
ctx                58 ext/standard/url_scanner_ex.c 		zend_hash_destroy(ctx->tags);
ctx                60 ext/standard/url_scanner_ex.c 		ctx->tags = malloc(sizeof(HashTable));
ctx                61 ext/standard/url_scanner_ex.c 		if (!ctx->tags) {
ctx                66 ext/standard/url_scanner_ex.c 	zend_hash_init(ctx->tags, 0, NULL, NULL, 1);
ctx                84 ext/standard/url_scanner_ex.c 			zend_hash_add(ctx->tags, key, keylen, val, strlen(val)+1, NULL);
ctx               204 ext/standard/url_scanner_ex.c static inline void tag_arg(url_adapt_state_ex_t *ctx, char quotes, char type TSRMLS_DC)
ctx               208 ext/standard/url_scanner_ex.c 	if (strncasecmp(ctx->arg.c, ctx->lookup_data, ctx->arg.len) == 0)
ctx               212 ext/standard/url_scanner_ex.c 		smart_str_appendc(&ctx->result, type);
ctx               214 ext/standard/url_scanner_ex.c 		append_modified_url(&ctx->val, &ctx->result, &ctx->url_app, PG(arg_separator).output);
ctx               216 ext/standard/url_scanner_ex.c 		smart_str_append(&ctx->result, &ctx->val);
ctx               219 ext/standard/url_scanner_ex.c 		smart_str_appendc(&ctx->result, type);
ctx               236 ext/standard/url_scanner_ex.c #define STATE ctx->state
ctx               238 ext/standard/url_scanner_ex.c #define STD_PARA url_adapt_state_ex_t *ctx, char *start, char *YYCURSOR TSRMLS_DC
ctx               239 ext/standard/url_scanner_ex.c #define STD_ARGS ctx, start, xp TSRMLS_CC
ctx               250 ext/standard/url_scanner_ex.c 	smart_str_appendl(&ctx->result, start, YYCURSOR - start);
ctx               262 ext/standard/url_scanner_ex.c 	if (ctx->form_app.len > 0) {
ctx               263 ext/standard/url_scanner_ex.c 		switch (ctx->tag.len) {
ctx               265 ext/standard/url_scanner_ex.c 				if (!strncasecmp(ctx->tag.c, "form", sizeof("form") - 1)) {
ctx               268 ext/standard/url_scanner_ex.c 				if (doit && ctx->val.c && ctx->lookup_data && *ctx->lookup_data) {
ctx               269 ext/standard/url_scanner_ex.c 					char *e, *p = zend_memnstr(ctx->val.c, "://", sizeof("://") - 1, ctx->val.c + ctx->val.len);
ctx               271 ext/standard/url_scanner_ex.c 						e = memchr(p, '/', (ctx->val.c + ctx->val.len) - p);
ctx               273 ext/standard/url_scanner_ex.c 							e = ctx->val.c + ctx->val.len;
ctx               275 ext/standard/url_scanner_ex.c 						if ((e - p) && strncasecmp(p, ctx->lookup_data, (e - p))) {
ctx               283 ext/standard/url_scanner_ex.c 				if (!strncasecmp(ctx->tag.c, "fieldset", sizeof("fieldset") - 1)) {
ctx               290 ext/standard/url_scanner_ex.c 			smart_str_append(&ctx->result, &ctx->form_app);
ctx               306 ext/standard/url_scanner_ex.c 	ctx->tag.len = 0;
ctx               307 ext/standard/url_scanner_ex.c 	smart_str_appendl(&ctx->tag, start, YYCURSOR - start);
ctx               308 ext/standard/url_scanner_ex.c 	for (i = 0; i < ctx->tag.len; i++)
ctx               309 ext/standard/url_scanner_ex.c 		ctx->tag.c[i] = tolower((int)(unsigned char)ctx->tag.c[i]);
ctx               310 ext/standard/url_scanner_ex.c 	if (zend_hash_find(ctx->tags, ctx->tag.c, ctx->tag.len, (void **) &ctx->lookup_data) == SUCCESS)
ctx               317 ext/standard/url_scanner_ex.c 	ctx->arg.len = 0;
ctx               318 ext/standard/url_scanner_ex.c 	smart_str_appendl(&ctx->arg, start, YYCURSOR - start);
ctx               323 ext/standard/url_scanner_ex.c 	smart_str_setl(&ctx->val, start + quotes, YYCURSOR - start - quotes * 2);
ctx               324 ext/standard/url_scanner_ex.c 	tag_arg(ctx, quotes, type TSRMLS_CC);
ctx               327 ext/standard/url_scanner_ex.c static inline void xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen TSRMLS_DC)
ctx               334 ext/standard/url_scanner_ex.c 	smart_str_appendl(&ctx->buf, newdata, newlen);
ctx               336 ext/standard/url_scanner_ex.c 	YYCURSOR = ctx->buf.c;
ctx               337 ext/standard/url_scanner_ex.c 	YYLIMIT = ctx->buf.c + ctx->buf.len;
ctx               844 ext/standard/url_scanner_ex.c 	scdebug(("stopped in state %d at pos %d (%d:%c) %d\n", STATE, YYCURSOR - ctx->buf.c, *YYCURSOR, *YYCURSOR, rest));
ctx               848 ext/standard/url_scanner_ex.c 	if (rest) memmove(ctx->buf.c, start, rest);
ctx               849 ext/standard/url_scanner_ex.c 	ctx->buf.len = rest;
ctx               877 ext/standard/url_scanner_ex.c 	url_adapt_state_ex_t *ctx;
ctx               880 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
ctx               882 ext/standard/url_scanner_ex.c 	xx_mainloop(ctx, src, srclen TSRMLS_CC);
ctx               884 ext/standard/url_scanner_ex.c 	*newlen = ctx->result.len;
ctx               885 ext/standard/url_scanner_ex.c 	if (!ctx->result.c) {
ctx               886 ext/standard/url_scanner_ex.c 		smart_str_appendl(&ctx->result, "", 0);
ctx               888 ext/standard/url_scanner_ex.c 	smart_str_0(&ctx->result);
ctx               890 ext/standard/url_scanner_ex.c 		smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len);
ctx               891 ext/standard/url_scanner_ex.c 		*newlen += ctx->buf.len;
ctx               892 ext/standard/url_scanner_ex.c 		smart_str_free(&ctx->buf);
ctx               894 ext/standard/url_scanner_ex.c 	retval = ctx->result.c;
ctx               895 ext/standard/url_scanner_ex.c 	ctx->result.c = NULL;
ctx               896 ext/standard/url_scanner_ex.c 	ctx->result.len = 0;
ctx               902 ext/standard/url_scanner_ex.c 	url_adapt_state_ex_t *ctx;
ctx               904 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
ctx               906 ext/standard/url_scanner_ex.c 	memset(ctx, 0, ((size_t) &((url_adapt_state_ex_t *)0)->tags));
ctx               913 ext/standard/url_scanner_ex.c 	url_adapt_state_ex_t *ctx;
ctx               915 ext/standard/url_scanner_ex.c 	ctx = &BG(url_adapt_state_ex);
ctx               917 ext/standard/url_scanner_ex.c 	smart_str_free(&ctx->result);
ctx               918 ext/standard/url_scanner_ex.c 	smart_str_free(&ctx->buf);
ctx               919 ext/standard/url_scanner_ex.c 	smart_str_free(&ctx->tag);
ctx               920 ext/standard/url_scanner_ex.c 	smart_str_free(&ctx->arg);
ctx               937 ext/standard/url_scanner_ex.c 		url_adapt_state_ex_t *ctx = &BG(url_adapt_state_ex);
ctx               938 ext/standard/url_scanner_ex.c 		if (ctx->buf.len) {
ctx               939 ext/standard/url_scanner_ex.c 			smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len);
ctx               940 ext/standard/url_scanner_ex.c 			smart_str_appendl(&ctx->result, output, output_len);
ctx               942 ext/standard/url_scanner_ex.c 			*handled_output = ctx->result.c;
ctx               943 ext/standard/url_scanner_ex.c 			*handled_output_len = ctx->buf.len + output_len;
ctx               945 ext/standard/url_scanner_ex.c 			ctx->result.c = NULL;
ctx               946 ext/standard/url_scanner_ex.c 			ctx->result.len = 0;
ctx               947 ext/standard/url_scanner_ex.c 			smart_str_free(&ctx->buf);
ctx                57 ext/zip/lib/zip_source_crc.c     struct crc_context *ctx;
ctx                64 ext/zip/lib/zip_source_crc.c     if ((ctx=(struct crc_context *)malloc(sizeof(*ctx))) == NULL) {
ctx                69 ext/zip/lib/zip_source_crc.c     ctx->eof = 0;
ctx                70 ext/zip/lib/zip_source_crc.c     ctx->validate = validate;
ctx                71 ext/zip/lib/zip_source_crc.c     ctx->e[0] = ctx->e[1] = 0;
ctx                72 ext/zip/lib/zip_source_crc.c     ctx->size = 0;
ctx                73 ext/zip/lib/zip_source_crc.c     ctx->crc = 0;
ctx                75 ext/zip/lib/zip_source_crc.c     return zip_source_layered(za, src, crc_read, ctx);
ctx                84 ext/zip/lib/zip_source_crc.c     struct crc_context *ctx;
ctx                87 ext/zip/lib/zip_source_crc.c     ctx = (struct crc_context *)_ctx;
ctx                91 ext/zip/lib/zip_source_crc.c 	ctx->eof = 0;
ctx                92 ext/zip/lib/zip_source_crc.c 	ctx->crc = (zip_uint32_t)crc32(0, NULL, 0);
ctx                93 ext/zip/lib/zip_source_crc.c 	ctx->size = 0;
ctx                98 ext/zip/lib/zip_source_crc.c 	if (ctx->eof || len == 0)
ctx               105 ext/zip/lib/zip_source_crc.c 	    ctx->eof = 1;
ctx               106 ext/zip/lib/zip_source_crc.c 	    if (ctx->validate) {
ctx               112 ext/zip/lib/zip_source_crc.c 		if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) {
ctx               113 ext/zip/lib/zip_source_crc.c 		    ctx->e[0] = ZIP_ER_CRC;
ctx               114 ext/zip/lib/zip_source_crc.c 		    ctx->e[1] = 0;
ctx               118 ext/zip/lib/zip_source_crc.c 		if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) {
ctx               119 ext/zip/lib/zip_source_crc.c 		    ctx->e[0] = ZIP_ER_INCONS;
ctx               120 ext/zip/lib/zip_source_crc.c 		    ctx->e[1] = 0;
ctx               127 ext/zip/lib/zip_source_crc.c 	    ctx->size += (zip_uint64_t)n;
ctx               128 ext/zip/lib/zip_source_crc.c 	    ctx->crc = (zip_uint32_t)crc32(ctx->crc, (const Bytef *)data, (uInt)n); /* TODO: check for overflow, use multiple crc calls if needed */
ctx               141 ext/zip/lib/zip_source_crc.c 	    if (ctx->eof) {
ctx               144 ext/zip/lib/zip_source_crc.c 		st->size = ctx->size;
ctx               145 ext/zip/lib/zip_source_crc.c 		st->crc = ctx->crc;
ctx               146 ext/zip/lib/zip_source_crc.c 		st->comp_size = ctx->size;
ctx               155 ext/zip/lib/zip_source_crc.c 	memcpy(data, ctx->e, sizeof(ctx->e));
ctx               159 ext/zip/lib/zip_source_crc.c 	free(ctx);
ctx                67 ext/zip/lib/zip_source_deflate.c     struct deflate *ctx;
ctx                75 ext/zip/lib/zip_source_deflate.c     if ((ctx=(struct deflate *)malloc(sizeof(*ctx))) == NULL) {
ctx                80 ext/zip/lib/zip_source_deflate.c     ctx->e[0] = ctx->e[1] = 0;
ctx                81 ext/zip/lib/zip_source_deflate.c     ctx->eof = 0;
ctx                84 ext/zip/lib/zip_source_deflate.c 	    ctx->mem_level = TORRENT_MEM_LEVEL;
ctx                86 ext/zip/lib/zip_source_deflate.c 	    ctx->mem_level = MAX_MEM_LEVEL;
ctx                92 ext/zip/lib/zip_source_deflate.c 			       ctx)) == NULL) {
ctx                93 ext/zip/lib/zip_source_deflate.c 	deflate_free(ctx);
ctx               103 ext/zip/lib/zip_source_deflate.c compress_read(struct zip_source *src, struct deflate *ctx,
ctx               109 ext/zip/lib/zip_source_deflate.c     if (ctx->e[0] != 0)
ctx               115 ext/zip/lib/zip_source_deflate.c     ctx->zstr.next_out = (Bytef *)data;
ctx               116 ext/zip/lib/zip_source_deflate.c     ctx->zstr.avail_out = (uInt)len; /* TODO: check for overflow */
ctx               120 ext/zip/lib/zip_source_deflate.c 	ret = deflate(&ctx->zstr, ctx->eof ? Z_FINISH : 0);
ctx               127 ext/zip/lib/zip_source_deflate.c 	    if (ctx->zstr.avail_out == 0
ctx               128 ext/zip/lib/zip_source_deflate.c 		|| (ctx->eof && ctx->zstr.avail_in == 0))
ctx               133 ext/zip/lib/zip_source_deflate.c 	    if (ctx->zstr.avail_in == 0) {
ctx               134 ext/zip/lib/zip_source_deflate.c 		if (ctx->eof) {
ctx               139 ext/zip/lib/zip_source_deflate.c 		if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
ctx               140 ext/zip/lib/zip_source_deflate.c 		    zip_source_error(src, ctx->e, ctx->e+1);
ctx               145 ext/zip/lib/zip_source_deflate.c 		    ctx->eof = 1;
ctx               146 ext/zip/lib/zip_source_deflate.c 		    ctx->size = ctx->zstr.total_in;
ctx               150 ext/zip/lib/zip_source_deflate.c 		    ctx->zstr.next_in = (Bytef *)ctx->buffer;
ctx               151 ext/zip/lib/zip_source_deflate.c 		    ctx->zstr.avail_in = (uInt)n;
ctx               160 ext/zip/lib/zip_source_deflate.c 	    ctx->e[0] = ZIP_ER_ZLIB;
ctx               161 ext/zip/lib/zip_source_deflate.c 	    ctx->e[1] = ret;
ctx               168 ext/zip/lib/zip_source_deflate.c     if (ctx->zstr.avail_out < len)
ctx               169 ext/zip/lib/zip_source_deflate.c 	return (zip_int64_t)(len - ctx->zstr.avail_out);
ctx               171 ext/zip/lib/zip_source_deflate.c     return (ctx->e[0] == 0) ? 0 : -1;
ctx               177 ext/zip/lib/zip_source_deflate.c decompress_read(struct zip_source *src, struct deflate *ctx,
ctx               183 ext/zip/lib/zip_source_deflate.c     if (ctx->e[0] != 0)
ctx               189 ext/zip/lib/zip_source_deflate.c     ctx->zstr.next_out = (Bytef *)data;
ctx               190 ext/zip/lib/zip_source_deflate.c     ctx->zstr.avail_out = (uInt)len; /* TODO: check for overflow */
ctx               193 ext/zip/lib/zip_source_deflate.c     while (!end && ctx->zstr.avail_out) {
ctx               194 ext/zip/lib/zip_source_deflate.c 	ret = inflate(&ctx->zstr, Z_SYNC_FLUSH);
ctx               201 ext/zip/lib/zip_source_deflate.c 	    ctx->eof = 1;
ctx               206 ext/zip/lib/zip_source_deflate.c 	    if (ctx->zstr.avail_in == 0) {
ctx               207 ext/zip/lib/zip_source_deflate.c 		if (ctx->eof) {
ctx               212 ext/zip/lib/zip_source_deflate.c 		if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) {
ctx               213 ext/zip/lib/zip_source_deflate.c 		    zip_source_error(src, ctx->e, ctx->e+1);
ctx               218 ext/zip/lib/zip_source_deflate.c 		    ctx->eof = 1;
ctx               220 ext/zip/lib/zip_source_deflate.c 		    ctx->zstr.next_in = (Bytef *)ctx->buffer;
ctx               221 ext/zip/lib/zip_source_deflate.c 		    ctx->zstr.avail_in = (uInt)n;
ctx               230 ext/zip/lib/zip_source_deflate.c 	    ctx->e[0] = ZIP_ER_ZLIB;
ctx               231 ext/zip/lib/zip_source_deflate.c 	    ctx->e[1] = ret;
ctx               237 ext/zip/lib/zip_source_deflate.c     if (ctx->zstr.avail_out < len)
ctx               238 ext/zip/lib/zip_source_deflate.c 	return (zip_int64_t)(len - ctx->zstr.avail_out);
ctx               240 ext/zip/lib/zip_source_deflate.c     return (ctx->e[0] == 0) ? 0 : -1;
ctx               249 ext/zip/lib/zip_source_deflate.c     struct deflate *ctx;
ctx               252 ext/zip/lib/zip_source_deflate.c     ctx = (struct deflate *)ud;
ctx               256 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.zalloc = Z_NULL;
ctx               257 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.zfree = Z_NULL;
ctx               258 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.opaque = NULL;
ctx               259 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.avail_in = 0;
ctx               260 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.next_in = NULL;
ctx               261 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.avail_out = 0;
ctx               262 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.next_out = NULL;
ctx               265 ext/zip/lib/zip_source_deflate.c 	if ((ret=deflateInit2(&ctx->zstr, Z_BEST_COMPRESSION, Z_DEFLATED,
ctx               266 ext/zip/lib/zip_source_deflate.c 			      -MAX_WBITS, ctx->mem_level,
ctx               268 ext/zip/lib/zip_source_deflate.c 	    ctx->e[0] = ZIP_ER_ZLIB;
ctx               269 ext/zip/lib/zip_source_deflate.c 	    ctx->e[1] = ret;
ctx               276 ext/zip/lib/zip_source_deflate.c 	return compress_read(src, ctx, data, len);
ctx               279 ext/zip/lib/zip_source_deflate.c 	deflateEnd(&ctx->zstr);
ctx               290 ext/zip/lib/zip_source_deflate.c 	    if (ctx->eof) {
ctx               291 ext/zip/lib/zip_source_deflate.c 		st->comp_size = ctx->size;
ctx               300 ext/zip/lib/zip_source_deflate.c 	memcpy(data, ctx->e, sizeof(int)*2);
ctx               304 ext/zip/lib/zip_source_deflate.c 	deflate_free(ctx);
ctx               308 ext/zip/lib/zip_source_deflate.c 	ctx->e[0] = ZIP_ER_INVAL;
ctx               309 ext/zip/lib/zip_source_deflate.c 	ctx->e[1] = 0;
ctx               320 ext/zip/lib/zip_source_deflate.c     struct deflate *ctx;
ctx               324 ext/zip/lib/zip_source_deflate.c     ctx = (struct deflate *)ud;
ctx               328 ext/zip/lib/zip_source_deflate.c 	if ((n=zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0)
ctx               331 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.zalloc = Z_NULL;
ctx               332 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.zfree = Z_NULL;
ctx               333 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.opaque = NULL;
ctx               334 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.next_in = (Bytef *)ctx->buffer;
ctx               335 ext/zip/lib/zip_source_deflate.c 	ctx->zstr.avail_in = (uInt)n /* TODO: check for overflow */;
ctx               338 ext/zip/lib/zip_source_deflate.c 	if ((ret=inflateInit2(&ctx->zstr, -MAX_WBITS)) != Z_OK) {
ctx               339 ext/zip/lib/zip_source_deflate.c 	    ctx->e[0] = ZIP_ER_ZLIB;
ctx               340 ext/zip/lib/zip_source_deflate.c 	    ctx->e[1] = ret;
ctx               347 ext/zip/lib/zip_source_deflate.c 	return decompress_read(src, ctx, data, len);
ctx               350 ext/zip/lib/zip_source_deflate.c 	inflateEnd(&ctx->zstr);
ctx               369 ext/zip/lib/zip_source_deflate.c 	memcpy(data, ctx->e, sizeof(int)*2);
ctx               374 ext/zip/lib/zip_source_deflate.c 	free(ctx);
ctx               378 ext/zip/lib/zip_source_deflate.c 	ctx->e[0] = ZIP_ER_INVAL;
ctx               379 ext/zip/lib/zip_source_deflate.c 	ctx->e[1] = 0;
ctx               388 ext/zip/lib/zip_source_deflate.c deflate_free(struct deflate *ctx)
ctx               391 ext/zip/lib/zip_source_deflate.c     free(ctx);
ctx                67 ext/zip/lib/zip_source_pkware.c     struct trad_pkware *ctx;
ctx                79 ext/zip/lib/zip_source_pkware.c     if ((ctx=(struct trad_pkware *)malloc(sizeof(*ctx))) == NULL) {
ctx                84 ext/zip/lib/zip_source_pkware.c     ctx->e[0] = ctx->e[1] = 0;
ctx                86 ext/zip/lib/zip_source_pkware.c     ctx->key[0] = KEY0;
ctx                87 ext/zip/lib/zip_source_pkware.c     ctx->key[1] = KEY1;
ctx                88 ext/zip/lib/zip_source_pkware.c     ctx->key[2] = KEY2;
ctx                89 ext/zip/lib/zip_source_pkware.c     decrypt(ctx, NULL, (const zip_uint8_t *)password, strlen(password), 1);
ctx                91 ext/zip/lib/zip_source_pkware.c     if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) {
ctx                92 ext/zip/lib/zip_source_pkware.c 	pkware_free(ctx);
ctx               102 ext/zip/lib/zip_source_pkware.c decrypt(struct trad_pkware *ctx, zip_uint8_t *out, const zip_uint8_t *in,
ctx               114 ext/zip/lib/zip_source_pkware.c 	    tmp = (zip_uint16_t)(ctx->key[2] | 2);
ctx               124 ext/zip/lib/zip_source_pkware.c 	ctx->key[0] = (zip_uint32_t)crc32(ctx->key[0] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL;
ctx               125 ext/zip/lib/zip_source_pkware.c 	ctx->key[1] = (ctx->key[1] + (ctx->key[0] & 0xff)) * 134775813 + 1;
ctx               126 ext/zip/lib/zip_source_pkware.c 	b = ctx->key[1] >> 24;
ctx               127 ext/zip/lib/zip_source_pkware.c 	ctx->key[2] = (zip_uint32_t)crc32(ctx->key[2] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL;
ctx               134 ext/zip/lib/zip_source_pkware.c decrypt_header(struct zip_source *src, struct trad_pkware *ctx)
ctx               142 ext/zip/lib/zip_source_pkware.c 	zip_source_error(src, ctx->e, ctx->e+1);
ctx               147 ext/zip/lib/zip_source_pkware.c 	ctx->e[0] = ZIP_ER_EOF;
ctx               148 ext/zip/lib/zip_source_pkware.c 	ctx->e[1] = 0;
ctx               152 ext/zip/lib/zip_source_pkware.c     decrypt(ctx, header, header, HEADERLEN, 0);
ctx               163 ext/zip/lib/zip_source_pkware.c 	ctx->e[0] = ZIP_ER_WRONGPASSWD;
ctx               164 ext/zip/lib/zip_source_pkware.c 	ctx->e[1] = 0;
ctx               177 ext/zip/lib/zip_source_pkware.c     struct trad_pkware *ctx;
ctx               180 ext/zip/lib/zip_source_pkware.c     ctx = (struct trad_pkware *)ud;
ctx               184 ext/zip/lib/zip_source_pkware.c 	if (decrypt_header(src, ctx) < 0)
ctx               214 ext/zip/lib/zip_source_pkware.c 	memcpy(data, ctx->e, sizeof(int)*2);
ctx               218 ext/zip/lib/zip_source_pkware.c 	pkware_free(ctx);
ctx               222 ext/zip/lib/zip_source_pkware.c 	ctx->e[0] = ZIP_ER_INVAL;
ctx               223 ext/zip/lib/zip_source_pkware.c 	ctx->e[1] = 0;
ctx               231 ext/zip/lib/zip_source_pkware.c pkware_free(struct trad_pkware *ctx)
ctx               233 ext/zip/lib/zip_source_pkware.c     free(ctx);
ctx                56 ext/zip/lib/zip_source_window.c     struct window *ctx;
ctx                63 ext/zip/lib/zip_source_window.c     if ((ctx=(struct window *)malloc(sizeof(*ctx))) == NULL) {
ctx                68 ext/zip/lib/zip_source_window.c     ctx->skip = start;
ctx                69 ext/zip/lib/zip_source_window.c     ctx->len = len;
ctx                70 ext/zip/lib/zip_source_window.c     ctx->left = len;
ctx                72 ext/zip/lib/zip_source_window.c     return zip_source_layered(za, src, window_read, ctx);
ctx                81 ext/zip/lib/zip_source_window.c     struct window *ctx;
ctx                86 ext/zip/lib/zip_source_window.c     ctx = (struct window *)_ctx;
ctx                90 ext/zip/lib/zip_source_window.c 	for (n=0; n<ctx->skip; n+=(zip_uint64_t)ret) {
ctx                91 ext/zip/lib/zip_source_window.c 	    i = (ctx->skip-n > sizeof(b) ? sizeof(b) : ctx->skip-n);
ctx                95 ext/zip/lib/zip_source_window.c 		ctx->e[0] = ZIP_ER_EOF;
ctx                96 ext/zip/lib/zip_source_window.c 		ctx->e[1] = 0;
ctx               103 ext/zip/lib/zip_source_window.c 	if (len > ctx->left)
ctx               104 ext/zip/lib/zip_source_window.c 	    len = ctx->left;
ctx               112 ext/zip/lib/zip_source_window.c 	ctx->left -= (zip_uint64_t)ret;
ctx               115 ext/zip/lib/zip_source_window.c 	    if (ctx->left > 0) {
ctx               116 ext/zip/lib/zip_source_window.c 		ctx->e[0] = ZIP_ER_EOF;
ctx               117 ext/zip/lib/zip_source_window.c 		ctx->e[1] = 0;
ctx               132 ext/zip/lib/zip_source_window.c 	    st->size = ctx->len;
ctx               139 ext/zip/lib/zip_source_window.c 	memcpy(data, ctx->e, sizeof(ctx->e));
ctx               143 ext/zip/lib/zip_source_window.c 	free(ctx);
ctx               100 ext/zlib/zlib.c static int php_zlib_output_handler_ex(php_zlib_context *ctx, php_output_context *output_context)
ctx               107 ext/zlib/zlib.c 		if (Z_OK != deflateInit2(&ctx->Z, ZLIBG(output_compression_level), Z_DEFLATED, ZLIBG(compression_coding), MAX_MEM_LEVEL, Z_DEFAULT_STRATEGY)) {
ctx               114 ext/zlib/zlib.c 		deflateEnd(&ctx->Z);
ctx               121 ext/zlib/zlib.c 			if (Z_OK != deflateInit2(&ctx->Z, ZLIBG(output_compression_level), Z_DEFLATED, ZLIBG(compression_coding), MAX_MEM_LEVEL, Z_DEFAULT_STRATEGY)) {
ctx               124 ext/zlib/zlib.c 			ctx->buffer.used = 0;
ctx               129 ext/zlib/zlib.c 			if (ctx->buffer.free < output_context->in.used) {
ctx               130 ext/zlib/zlib.c 				if (!(ctx->buffer.aptr = erealloc_recoverable(ctx->buffer.data, ctx->buffer.used + ctx->buffer.free + output_context->in.used))) {
ctx               131 ext/zlib/zlib.c 					deflateEnd(&ctx->Z);
ctx               134 ext/zlib/zlib.c 				ctx->buffer.data = ctx->buffer.aptr;
ctx               135 ext/zlib/zlib.c 				ctx->buffer.free += output_context->in.used;
ctx               137 ext/zlib/zlib.c 			memcpy(ctx->buffer.data + ctx->buffer.used, output_context->in.data, output_context->in.used);
ctx               138 ext/zlib/zlib.c 			ctx->buffer.free -= output_context->in.used;
ctx               139 ext/zlib/zlib.c 			ctx->buffer.used += output_context->in.used;
ctx               146 ext/zlib/zlib.c 		ctx->Z.avail_in = ctx->buffer.used;
ctx               147 ext/zlib/zlib.c 		ctx->Z.next_in = (Bytef *) ctx->buffer.data;
ctx               148 ext/zlib/zlib.c 		ctx->Z.avail_out = output_context->out.size;
ctx               149 ext/zlib/zlib.c 		ctx->Z.next_out = (Bytef *) output_context->out.data;
ctx               157 ext/zlib/zlib.c 		switch (deflate(&ctx->Z, flags)) {
ctx               160 ext/zlib/zlib.c 					deflateEnd(&ctx->Z);
ctx               164 ext/zlib/zlib.c 				if (ctx->Z.avail_in) {
ctx               165 ext/zlib/zlib.c 					memmove(ctx->buffer.data, ctx->buffer.data + ctx->buffer.used - ctx->Z.avail_in, ctx->Z.avail_in);
ctx               167 ext/zlib/zlib.c 				ctx->buffer.free += ctx->buffer.used - ctx->Z.avail_in;
ctx               168 ext/zlib/zlib.c 				ctx->buffer.used = ctx->Z.avail_in;
ctx               169 ext/zlib/zlib.c 				output_context->out.used = output_context->out.size - ctx->Z.avail_out;
ctx               172 ext/zlib/zlib.c 				deflateEnd(&ctx->Z);
ctx               177 ext/zlib/zlib.c 			deflateEnd(&ctx->Z);
ctx               188 ext/zlib/zlib.c 	php_zlib_context *ctx = *(php_zlib_context **) handler_context;
ctx               210 ext/zlib/zlib.c 	if (SUCCESS != php_zlib_output_handler_ex(ctx, output_context)) {
ctx               221 ext/zlib/zlib.c 					deflateEnd(&ctx->Z);
ctx               232 ext/zlib/zlib.c 						deflateEnd(&ctx->Z);
ctx               248 ext/zlib/zlib.c 	php_zlib_context *ctx = (php_zlib_context *) ecalloc(1, sizeof(php_zlib_context));
ctx               249 ext/zlib/zlib.c 	ctx->Z.zalloc = php_zlib_alloc;
ctx               250 ext/zlib/zlib.c 	ctx->Z.zfree = php_zlib_free;
ctx               251 ext/zlib/zlib.c 	return ctx;
ctx               258 ext/zlib/zlib.c 	php_zlib_context *ctx = (php_zlib_context *) opaq;
ctx               260 ext/zlib/zlib.c 	if (ctx) {
ctx               261 ext/zlib/zlib.c 		if (ctx->buffer.data) {
ctx               262 ext/zlib/zlib.c 			efree(ctx->buffer.data);
ctx               264 ext/zlib/zlib.c 		efree(ctx);
ctx               465 ext/zlib/zlib.c 	php_output_context ctx = {0};
ctx               500 ext/zlib/zlib.c 	TSRMLS_SET_CTX(ctx.tsrm_ls);
ctx               501 ext/zlib/zlib.c 	ctx.op = flags;
ctx               502 ext/zlib/zlib.c 	ctx.in.data = in_str;
ctx               503 ext/zlib/zlib.c 	ctx.in.used = in_len;
ctx               505 ext/zlib/zlib.c 	rv = php_zlib_output_handler_ex(ZLIBG(ob_gzhandler), &ctx);
ctx               508 ext/zlib/zlib.c 		if (ctx.out.data && ctx.out.free) {
ctx               509 ext/zlib/zlib.c 			efree(ctx.out.data);
ctx               515 ext/zlib/zlib.c 	if (ctx.out.data) {
ctx               516 ext/zlib/zlib.c 		RETVAL_STRINGL(ctx.out.data, ctx.out.used, 1);
ctx               517 ext/zlib/zlib.c 		if (ctx.out.free) {
ctx               518 ext/zlib/zlib.c 			efree(ctx.out.data);
ctx               110 main/php_output.h #define PHP_OUTPUT_TSRMLS(ctx) TSRMLS_FETCH_FROM_CTX((ctx)->tsrm_ls)
ctx               315 main/reentrancy.c do_rand(unsigned long *ctx)
ctx               317 main/reentrancy.c 	return ((*ctx = *ctx * 1103515245 + 12345) % ((u_long)PHP_RAND_MAX + 1));
ctx               322 main/reentrancy.c php_rand_r(unsigned int *ctx)
ctx               324 main/reentrancy.c 	u_long val = (u_long) *ctx;
ctx               325 main/reentrancy.c 	*ctx = do_rand(&val);
ctx               326 main/reentrancy.c 	return (int) *ctx;
ctx                82 sapi/aolserver/aolserver.c static void php_ns_config(php_ns_context *ctx, char global);
ctx               519 sapi/aolserver/aolserver.c php_ns_config(php_ns_context *ctx, char global)
ctx               525 sapi/aolserver/aolserver.c 	path = Ns_ConfigGetPath(ctx->ns_server, ctx->ns_module, NULL);
ctx               534 sapi/aolserver/aolserver.c 			Ns_RegisterRequest(ctx->ns_server, "GET", value, php_ns_request_handler, NULL, ctx, 0);
ctx               535 sapi/aolserver/aolserver.c 			Ns_RegisterRequest(ctx->ns_server, "POST", value, php_ns_request_handler, NULL, ctx, 0);
ctx               536 sapi/aolserver/aolserver.c 			Ns_RegisterRequest(ctx->ns_server, "HEAD", value, php_ns_request_handler, NULL, ctx, 0);
ctx               579 sapi/aolserver/aolserver.c 	php_ns_context *ctx = (php_ns_context *) context;
ctx               581 sapi/aolserver/aolserver.c 	ctx->sapi_module->shutdown(ctx->sapi_module);
ctx               585 sapi/aolserver/aolserver.c 	free(ctx->ns_module);
ctx               586 sapi/aolserver/aolserver.c 	free(ctx->ns_server);
ctx               587 sapi/aolserver/aolserver.c 	free(ctx);
ctx               599 sapi/aolserver/aolserver.c 	php_ns_context *ctx;
ctx               609 sapi/aolserver/aolserver.c 	ctx = malloc(sizeof *ctx);
ctx               610 sapi/aolserver/aolserver.c 	ctx->sapi_module = &aolserver_sapi_module;
ctx               611 sapi/aolserver/aolserver.c 	ctx->ns_server = strdup(server);
ctx               612 sapi/aolserver/aolserver.c 	ctx->ns_module = strdup(module);
ctx               615 sapi/aolserver/aolserver.c 	php_ns_config(ctx, 1);
ctx               617 sapi/aolserver/aolserver.c 	global_context = ctx;
ctx               620 sapi/aolserver/aolserver.c 	Ns_RegisterServerShutdown(server, php_ns_server_shutdown, ctx);
ctx                48 sapi/apache2filter/php_functions.c 	php_struct *ctx;
ctx                54 sapi/apache2filter/php_functions.c 	ctx = SG(server_context);
ctx                55 sapi/apache2filter/php_functions.c 	return ap_sub_req_lookup_uri(filename, ctx->f->r, ctx->f->next);
ctx               155 sapi/apache2filter/php_functions.c 	php_struct *ctx;
ctx               161 sapi/apache2filter/php_functions.c 	ctx = SG(server_context);
ctx               162 sapi/apache2filter/php_functions.c 	arr = apr_table_elts(ctx->f->r->headers_in);
ctx               175 sapi/apache2filter/php_functions.c 	php_struct *ctx;
ctx               181 sapi/apache2filter/php_functions.c 	ctx = SG(server_context);
ctx               182 sapi/apache2filter/php_functions.c 	arr = apr_table_elts(ctx->f->r->headers_out);
ctx               195 sapi/apache2filter/php_functions.c 	php_struct *ctx;
ctx               204 sapi/apache2filter/php_functions.c 	ctx = SG(server_context);
ctx               206 sapi/apache2filter/php_functions.c 	old_note_val = (char *) apr_table_get(ctx->r->notes, note_name);
ctx               209 sapi/apache2filter/php_functions.c 		apr_table_set(ctx->r->notes, note_name, note_val);
ctx               225 sapi/apache2filter/php_functions.c 	php_struct *ctx;
ctx               235 sapi/apache2filter/php_functions.c 	ctx = SG(server_context);
ctx               238 sapi/apache2filter/php_functions.c 		while(ctx->f->r->prev) {
ctx               239 sapi/apache2filter/php_functions.c 			ctx->f->r = ctx->f->r->prev;
ctx               243 sapi/apache2filter/php_functions.c 	apr_table_set(ctx->r->subprocess_env, variable, string_val);
ctx               253 sapi/apache2filter/php_functions.c 	php_struct *ctx;
ctx               264 sapi/apache2filter/php_functions.c 	ctx = SG(server_context);
ctx               267 sapi/apache2filter/php_functions.c 		while(ctx->f->r->prev) {
ctx               268 sapi/apache2filter/php_functions.c 			ctx->f->r = ctx->f->r->prev;
ctx               272 sapi/apache2filter/php_functions.c 	env_val = (char*) apr_table_get(ctx->r->subprocess_env, variable);
ctx                73 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx;
ctx                75 sapi/apache2filter/sapi_apache2.c 	ctx = SG(server_context);
ctx                76 sapi/apache2filter/sapi_apache2.c 	f = ctx->f;
ctx                81 sapi/apache2filter/sapi_apache2.c 	bb = apr_brigade_create(ctx->r->pool, ba);
ctx                86 sapi/apache2filter/sapi_apache2.c 	if (ap_pass_brigade(f->next, bb) != APR_SUCCESS || ctx->r->connection->aborted) {
ctx                96 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx;
ctx                99 sapi/apache2filter/sapi_apache2.c 	ctx = SG(server_context);
ctx               103 sapi/apache2filter/sapi_apache2.c 			apr_table_unset(ctx->r->headers_out, sapi_header->header);
ctx               107 sapi/apache2filter/sapi_apache2.c 			apr_table_clear(ctx->r->headers_out);
ctx               127 sapi/apache2filter/sapi_apache2.c 				ctx->r->content_type = apr_pstrdup(ctx->r->pool, val);
ctx               129 sapi/apache2filter/sapi_apache2.c                                ap_set_content_length(ctx->r, strtol(val, (char **)NULL, 10));
ctx               131 sapi/apache2filter/sapi_apache2.c 				apr_table_set(ctx->r->headers_out, sapi_header->header, val);
ctx               133 sapi/apache2filter/sapi_apache2.c 				apr_table_add(ctx->r->headers_out, sapi_header->header, val);
ctx               146 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               148 sapi/apache2filter/sapi_apache2.c 	ctx->r->status = SG(sapi_headers).http_response_code;
ctx               157 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               161 sapi/apache2filter/sapi_apache2.c 	brigade = ctx->post_data;
ctx               164 sapi/apache2filter/sapi_apache2.c 	switch (apr_brigade_partition(ctx->post_data, count_bytes, &partition)) {
ctx               166 sapi/apache2filter/sapi_apache2.c 		apr_brigade_flatten(ctx->post_data, buf, &len);
ctx               167 sapi/apache2filter/sapi_apache2.c 		brigade = apr_brigade_split(ctx->post_data, partition);
ctx               168 sapi/apache2filter/sapi_apache2.c 		apr_brigade_destroy(ctx->post_data);
ctx               169 sapi/apache2filter/sapi_apache2.c 		ctx->post_data = brigade;
ctx               172 sapi/apache2filter/sapi_apache2.c 		apr_brigade_flatten(ctx->post_data, buf, &len);
ctx               173 sapi/apache2filter/sapi_apache2.c 		apr_brigade_cleanup(ctx->post_data);
ctx               182 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               184 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_uid = ctx->r->finfo.user;
ctx               185 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_gid = ctx->r->finfo.group;
ctx               186 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_dev = ctx->r->finfo.device;
ctx               187 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_ino = ctx->r->finfo.inode;
ctx               189 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_atime.tv_sec = apr_time_sec(ctx->r->finfo.atime);
ctx               190 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_mtime.tv_sec = apr_time_sec(ctx->r->finfo.mtime);
ctx               191 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_ctime.tv_sec = apr_time_sec(ctx->r->finfo.ctime);
ctx               193 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_atime = apr_time_sec(ctx->r->finfo.atime);
ctx               194 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_mtime = apr_time_sec(ctx->r->finfo.mtime);
ctx               195 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_ctime = apr_time_sec(ctx->r->finfo.ctime);
ctx               198 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_size = ctx->r->finfo.size;
ctx               199 sapi/apache2filter/sapi_apache2.c 	ctx->finfo.st_nlink = ctx->r->finfo.nlink;
ctx               201 sapi/apache2filter/sapi_apache2.c 	return &ctx->finfo;
ctx               207 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               210 sapi/apache2filter/sapi_apache2.c 	http_cookie = apr_table_get(ctx->r->headers_in, "cookie");
ctx               219 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               222 sapi/apache2filter/sapi_apache2.c 	env_var = apr_table_get(ctx->r->subprocess_env, name);
ctx               230 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               231 sapi/apache2filter/sapi_apache2.c 	const apr_array_header_t *arr = apr_table_elts(ctx->r->subprocess_env);
ctx               244 sapi/apache2filter/sapi_apache2.c 	php_register_variable("PHP_SELF", ctx->r->uri, track_vars_array TSRMLS_CC);
ctx               245 sapi/apache2filter/sapi_apache2.c 	if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len TSRMLS_CC)) {
ctx               246 sapi/apache2filter/sapi_apache2.c 		php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
ctx               253 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx;
ctx               260 sapi/apache2filter/sapi_apache2.c 	ctx = server_context;
ctx               269 sapi/apache2filter/sapi_apache2.c 	ctx->r->status = SG(sapi_headers).http_response_code;
ctx               272 sapi/apache2filter/sapi_apache2.c 	f = ctx->f;
ctx               279 sapi/apache2filter/sapi_apache2.c 	ba = ctx->r->connection->bucket_alloc;
ctx               280 sapi/apache2filter/sapi_apache2.c 	bb = apr_brigade_create(ctx->r->pool, ba);
ctx               283 sapi/apache2filter/sapi_apache2.c 	if (ap_pass_brigade(f->next, bb) != APR_SUCCESS || ctx->r->connection->aborted) {
ctx               290 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx;
ctx               292 sapi/apache2filter/sapi_apache2.c 	ctx = SG(server_context);
ctx               294 sapi/apache2filter/sapi_apache2.c 	if (ctx == NULL) { /* we haven't initialized our ctx yet, oh well */
ctx               298 sapi/apache2filter/sapi_apache2.c 		ap_log_error(APLOG_MARK, APLOG_ERR, 0, ctx->r->server, "%s", msg);
ctx               316 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               317 sapi/apache2filter/sapi_apache2.c 	return ((double) apr_time_as_msec(ctx->r->request_time)) / 1000.0;
ctx               365 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx;
ctx               373 sapi/apache2filter/sapi_apache2.c 	ctx = SG(server_context);
ctx               374 sapi/apache2filter/sapi_apache2.c 	if (ctx == NULL) {
ctx               384 sapi/apache2filter/sapi_apache2.c 	if (!ctx->post_data) {
ctx               385 sapi/apache2filter/sapi_apache2.c 		ctx->post_data = apr_brigade_create(f->r->pool, f->c->bucket_alloc);
ctx               387 sapi/apache2filter/sapi_apache2.c 	if ((rv = ap_save_brigade(f, &ctx->post_data, &bb, f->r->pool)) != APR_SUCCESS) {
ctx               396 sapi/apache2filter/sapi_apache2.c static void php_apache_request_ctor(ap_filter_t *f, php_struct *ctx TSRMLS_DC)
ctx               433 sapi/apache2filter/sapi_apache2.c 	ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user);
ctx               440 sapi/apache2filter/sapi_apache2.c 	php_apr_bucket_brigade *pbb = (php_apr_bucket_brigade *)f->ctx;
ctx               459 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx;
ctx               482 sapi/apache2filter/sapi_apache2.c 	if(f->ctx) {
ctx               483 sapi/apache2filter/sapi_apache2.c 		pbb = (php_apr_bucket_brigade *)f->ctx;
ctx               485 sapi/apache2filter/sapi_apache2.c 		pbb = f->ctx = apr_palloc(f->r->pool, sizeof(*pbb));
ctx               511 sapi/apache2filter/sapi_apache2.c 	ctx = SG(server_context);
ctx               512 sapi/apache2filter/sapi_apache2.c 	if (ctx == NULL) {
ctx               521 sapi/apache2filter/sapi_apache2.c 	ctx->f = f->next; /* save whatever filters are after us in the chain. */
ctx               523 sapi/apache2filter/sapi_apache2.c 	if (ctx->request_processed) {
ctx               531 sapi/apache2filter/sapi_apache2.c 	php_apache_request_ctor(f, ctx TSRMLS_CC);
ctx               550 sapi/apache2filter/sapi_apache2.c 	apr_table_set(ctx->r->notes, "mod_php_memory_usage",
ctx               551 sapi/apache2filter/sapi_apache2.c 		apr_psprintf(ctx->r->pool, "%lu", (unsigned long) zend_memory_peak_usage(1 TSRMLS_CC)));
ctx               556 sapi/apache2filter/sapi_apache2.c 		ctx->request_processed = 1;
ctx               682 sapi/apache2filter/sapi_apache2.c 	php_struct *ctx;
ctx               686 sapi/apache2filter/sapi_apache2.c 	SG(server_context) = ctx = apr_pcalloc(r->pool, sizeof(*ctx));
ctx               697 sapi/apache2filter/sapi_apache2.c 	ctx->r = r;
ctx                61 sapi/apache2handler/php_functions.c 	php_struct *ctx = SG(server_context);
ctx                63 sapi/apache2handler/php_functions.c 	if (!filename || !ctx || !ctx->r) {
ctx                67 sapi/apache2handler/php_functions.c 	return ap_sub_req_lookup_uri(filename, ctx->r, ctx->r->output_filters);
ctx               175 sapi/apache2handler/php_functions.c 	php_struct *ctx;
ctx               185 sapi/apache2handler/php_functions.c 	ctx = SG(server_context);
ctx               186 sapi/apache2handler/php_functions.c 	arr = apr_table_elts(ctx->r->headers_in);
ctx               199 sapi/apache2handler/php_functions.c 	php_struct *ctx;
ctx               209 sapi/apache2handler/php_functions.c 	ctx = SG(server_context);
ctx               210 sapi/apache2handler/php_functions.c 	arr = apr_table_elts(ctx->r->headers_out);
ctx               223 sapi/apache2handler/php_functions.c 	php_struct *ctx;
ctx               232 sapi/apache2handler/php_functions.c 	ctx = SG(server_context);
ctx               234 sapi/apache2handler/php_functions.c 	old_note_val = (char *) apr_table_get(ctx->r->notes, note_name);
ctx               237 sapi/apache2handler/php_functions.c 		apr_table_set(ctx->r->notes, note_name, note_val);
ctx               255 sapi/apache2handler/php_functions.c 	php_struct *ctx;
ctx               266 sapi/apache2handler/php_functions.c 	ctx = SG(server_context);
ctx               268 sapi/apache2handler/php_functions.c 	r = ctx->r;
ctx               290 sapi/apache2handler/php_functions.c 	php_struct *ctx;
ctx               302 sapi/apache2handler/php_functions.c 	ctx = SG(server_context);
ctx               304 sapi/apache2handler/php_functions.c 	r = ctx->r;
ctx                79 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx;
ctx                81 sapi/apache2handler/sapi_apache2.c 	ctx = SG(server_context);
ctx                82 sapi/apache2handler/sapi_apache2.c 	r = ctx->r;
ctx                94 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx;
ctx                97 sapi/apache2handler/sapi_apache2.c 	ctx = SG(server_context);
ctx               101 sapi/apache2handler/sapi_apache2.c 			apr_table_unset(ctx->r->headers_out, sapi_header->header);
ctx               105 sapi/apache2handler/sapi_apache2.c 			apr_table_clear(ctx->r->headers_out);
ctx               124 sapi/apache2handler/sapi_apache2.c 				if (ctx->content_type) {
ctx               125 sapi/apache2handler/sapi_apache2.c 					efree(ctx->content_type);
ctx               127 sapi/apache2handler/sapi_apache2.c 				ctx->content_type = estrdup(val);
ctx               137 sapi/apache2handler/sapi_apache2.c 				ap_set_content_length(ctx->r, clen);
ctx               139 sapi/apache2handler/sapi_apache2.c 				apr_table_set(ctx->r->headers_out, sapi_header->header, val);
ctx               141 sapi/apache2handler/sapi_apache2.c 				apr_table_add(ctx->r->headers_out, sapi_header->header, val);
ctx               156 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               159 sapi/apache2handler/sapi_apache2.c 	ctx->r->status = SG(sapi_headers).http_response_code;
ctx               164 sapi/apache2handler/sapi_apache2.c 		ctx->r->status_line = apr_pstrdup(ctx->r->pool, sline + 9);
ctx               165 sapi/apache2handler/sapi_apache2.c 		ctx->r->proto_num = 1000 + (sline[7]-'0');
ctx               167 sapi/apache2handler/sapi_apache2.c 			apr_table_set(ctx->r->subprocess_env, "force-response-1.0", "true");
ctx               173 sapi/apache2handler/sapi_apache2.c 	if (!ctx->content_type) {
ctx               174 sapi/apache2handler/sapi_apache2.c 		ctx->content_type = sapi_get_default_content_type(TSRMLS_C);
ctx               176 sapi/apache2handler/sapi_apache2.c 	ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type));
ctx               177 sapi/apache2handler/sapi_apache2.c 	efree(ctx->content_type);
ctx               178 sapi/apache2handler/sapi_apache2.c 	ctx->content_type = NULL;
ctx               187 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               191 sapi/apache2handler/sapi_apache2.c 	r = ctx->r;
ctx               192 sapi/apache2handler/sapi_apache2.c 	brigade = ctx->brigade;
ctx               218 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               220 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_uid = ctx->r->finfo.user;
ctx               221 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_gid = ctx->r->finfo.group;
ctx               222 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_dev = ctx->r->finfo.device;
ctx               223 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_ino = ctx->r->finfo.inode;
ctx               225 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_atime.tv_sec = apr_time_sec(ctx->r->finfo.atime);
ctx               226 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_mtime.tv_sec = apr_time_sec(ctx->r->finfo.mtime);
ctx               227 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_ctime.tv_sec = apr_time_sec(ctx->r->finfo.ctime);
ctx               229 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_atime = apr_time_sec(ctx->r->finfo.atime);
ctx               230 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_mtime = apr_time_sec(ctx->r->finfo.mtime);
ctx               231 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_ctime = apr_time_sec(ctx->r->finfo.ctime);
ctx               234 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_size = ctx->r->finfo.size;
ctx               235 sapi/apache2handler/sapi_apache2.c 	ctx->finfo.st_nlink = ctx->r->finfo.nlink;
ctx               237 sapi/apache2handler/sapi_apache2.c 	return &ctx->finfo;
ctx               243 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               246 sapi/apache2handler/sapi_apache2.c 	http_cookie = apr_table_get(ctx->r->headers_in, "cookie");
ctx               255 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               258 sapi/apache2handler/sapi_apache2.c 	if (ctx == NULL) {
ctx               262 sapi/apache2handler/sapi_apache2.c 	env_var = apr_table_get(ctx->r->subprocess_env, name);
ctx               270 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               271 sapi/apache2handler/sapi_apache2.c 	const apr_array_header_t *arr = apr_table_elts(ctx->r->subprocess_env);
ctx               284 sapi/apache2handler/sapi_apache2.c 	if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), (unsigned int *)&new_val_len TSRMLS_CC)) {
ctx               285 sapi/apache2handler/sapi_apache2.c 		php_register_variable_safe("PHP_SELF", ctx->r->uri, new_val_len, track_vars_array TSRMLS_CC);
ctx               292 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx;
ctx               296 sapi/apache2handler/sapi_apache2.c 	ctx = server_context;
ctx               304 sapi/apache2handler/sapi_apache2.c 	r = ctx->r;
ctx               318 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx;
ctx               320 sapi/apache2handler/sapi_apache2.c 	ctx = SG(server_context);
ctx               322 sapi/apache2handler/sapi_apache2.c 	if (ctx == NULL) { /* we haven't initialized our ctx yet, oh well */
ctx               325 sapi/apache2handler/sapi_apache2.c 		ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, ctx->r, "%s", msg);
ctx               340 sapi/apache2handler/sapi_apache2.c 	php_struct *ctx = SG(server_context);
ctx               341 sapi/apache2handler/sapi_apache2.c 	return ((double) apr_time_as_msec(ctx->r->request_time)) / 1000.0;
ctx               471 sapi/apache2handler/sapi_apache2.c static int php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC)
ctx               500 sapi/apache2handler/sapi_apache2.c 	ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user);
ctx               538 sapi/apache2handler/sapi_apache2.c 	php_struct * volatile ctx;
ctx               551 sapi/apache2handler/sapi_apache2.c 	ctx = SG(server_context);
ctx               552 sapi/apache2handler/sapi_apache2.c 	if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) {
ctx               554 sapi/apache2handler/sapi_apache2.c 		ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx));
ctx               560 sapi/apache2handler/sapi_apache2.c 		ctx->r = r;
ctx               561 sapi/apache2handler/sapi_apache2.c 		ctx = NULL; /* May look weird to null it here, but it is to catch the right case in the first_try later on */
ctx               563 sapi/apache2handler/sapi_apache2.c 		parent_req = ctx->r;
ctx               564 sapi/apache2handler/sapi_apache2.c 		ctx->r = r;
ctx               613 sapi/apache2handler/sapi_apache2.c 	if (ctx == NULL) {
ctx               615 sapi/apache2handler/sapi_apache2.c 		ctx = SG(server_context);
ctx               616 sapi/apache2handler/sapi_apache2.c 		ctx->brigade = brigade;
ctx               618 sapi/apache2handler/sapi_apache2.c 		if (php_apache_request_ctor(r, ctx TSRMLS_CC)!=SUCCESS) {
ctx               623 sapi/apache2handler/sapi_apache2.c 			parent_req = ctx->r;
ctx               629 sapi/apache2handler/sapi_apache2.c 			if (php_apache_request_ctor(r, ctx TSRMLS_CC)!=SUCCESS) {
ctx               644 sapi/apache2handler/sapi_apache2.c 		ctx->r = r;
ctx               645 sapi/apache2handler/sapi_apache2.c 		brigade = ctx->brigade;
ctx               673 sapi/apache2handler/sapi_apache2.c 			apr_psprintf(ctx->r->pool, "%" APR_SIZE_T_FMT, zend_memory_peak_usage(1 TSRMLS_CC)));
ctx               680 sapi/apache2handler/sapi_apache2.c 		ctx->request_processed = 1;
ctx               693 sapi/apache2handler/sapi_apache2.c 		ctx->r = parent_req;
ctx              3362 sapi/litespeed/lsapilib.c void lsapi_MD5Init(struct lsapi_MD5Context *ctx)
ctx              3364 sapi/litespeed/lsapilib.c     ctx->buf[0] = 0x67452301;
ctx              3365 sapi/litespeed/lsapilib.c     ctx->buf[1] = 0xefcdab89;
ctx              3366 sapi/litespeed/lsapilib.c     ctx->buf[2] = 0x98badcfe;
ctx              3367 sapi/litespeed/lsapilib.c     ctx->buf[3] = 0x10325476;
ctx              3369 sapi/litespeed/lsapilib.c     ctx->bits[0] = 0;
ctx              3370 sapi/litespeed/lsapilib.c     ctx->bits[1] = 0;
ctx              3377 sapi/litespeed/lsapilib.c void lsapi_MD5Update(struct lsapi_MD5Context *ctx, unsigned char const *buf, unsigned len)
ctx              3383 sapi/litespeed/lsapilib.c     t = ctx->bits[0];
ctx              3384 sapi/litespeed/lsapilib.c     if ((ctx->bits[0] = t + ((uint32) len << 3)) < t)
ctx              3385 sapi/litespeed/lsapilib.c         ctx->bits[1]++;                /* Carry from low to high */
ctx              3386 sapi/litespeed/lsapilib.c     ctx->bits[1] += len >> 29;
ctx              3393 sapi/litespeed/lsapilib.c         unsigned char *p = (unsigned char *) ctx->in + t;
ctx              3401 sapi/litespeed/lsapilib.c         byteReverse(ctx->in, 16);
ctx              3402 sapi/litespeed/lsapilib.c         lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in);
ctx              3409 sapi/litespeed/lsapilib.c         memmove(ctx->in, buf, 64);
ctx              3410 sapi/litespeed/lsapilib.c         byteReverse(ctx->in, 16);
ctx              3411 sapi/litespeed/lsapilib.c         lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in);
ctx              3418 sapi/litespeed/lsapilib.c     memmove(ctx->in, buf, len);
ctx              3425 sapi/litespeed/lsapilib.c void lsapi_MD5Final(unsigned char digest[16], struct lsapi_MD5Context *ctx)
ctx              3431 sapi/litespeed/lsapilib.c     count = (ctx->bits[0] >> 3) & 0x3F;
ctx              3435 sapi/litespeed/lsapilib.c     p = ctx->in + count;
ctx              3445 sapi/litespeed/lsapilib.c         byteReverse(ctx->in, 16);
ctx              3446 sapi/litespeed/lsapilib.c         lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in);
ctx              3449 sapi/litespeed/lsapilib.c         memset(ctx->in, 0, 56);
ctx              3454 sapi/litespeed/lsapilib.c     byteReverse(ctx->in, 14);
ctx              3457 sapi/litespeed/lsapilib.c     ((uint32 *) ctx->in)[14] = ctx->bits[0];
ctx              3458 sapi/litespeed/lsapilib.c     ((uint32 *) ctx->in)[15] = ctx->bits[1];
ctx              3460 sapi/litespeed/lsapilib.c     lsapi_MD5Transform(ctx->buf, (uint32 *) ctx->in);
ctx              3461 sapi/litespeed/lsapilib.c     byteReverse((unsigned char *) ctx->buf, 4);
ctx              3462 sapi/litespeed/lsapilib.c     memmove(digest, ctx->buf, 16);
ctx              3463 sapi/litespeed/lsapilib.c     memset(ctx, 0, sizeof(*ctx));        /* In case it's sensitive */
ctx                99 sapi/milter/php_milter.c 	SMFICTX *ctx;
ctx               177 sapi/milter/php_milter.c static sfsistat	mlfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr)
ctx               224 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               242 sapi/milter/php_milter.c static sfsistat mlfi_helo(SMFICTX *ctx, char *helohost)
ctx               258 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               277 sapi/milter/php_milter.c static sfsistat mlfi_envfrom(SMFICTX *ctx, char **argv)
ctx               298 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               317 sapi/milter/php_milter.c static sfsistat mlfi_envrcpt(SMFICTX *ctx, char **argv)
ctx               338 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               358 sapi/milter/php_milter.c static sfsistat mlfi_header(SMFICTX *ctx, char *headerf, char *headerv)
ctx               377 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               398 sapi/milter/php_milter.c static sfsistat mlfi_eoh(SMFICTX *ctx)
ctx               409 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               427 sapi/milter/php_milter.c static sfsistat mlfi_body(SMFICTX *ctx, u_char *bodyp, size_t len)
ctx               443 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               463 sapi/milter/php_milter.c static sfsistat mlfi_eom(SMFICTX *ctx)
ctx               474 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               492 sapi/milter/php_milter.c static sfsistat mlfi_abort(SMFICTX *ctx)
ctx               503 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               521 sapi/milter/php_milter.c static sfsistat mlfi_close(SMFICTX *ctx)
ctx               537 sapi/milter/php_milter.c 	MG(ctx) = ctx;
ctx               619 sapi/milter/php_milter.c 		if ((ret = smfi_getsymval(MG(ctx), symname)) != NULL) {
ctx               640 sapi/milter/php_milter.c 		if (smfi_setreply(MG(ctx), rcode, xcode, message) == MI_SUCCESS) {
ctx               660 sapi/milter/php_milter.c 		if (smfi_addheader(MG(ctx), f, v) == MI_SUCCESS) {
ctx               681 sapi/milter/php_milter.c 		if (smfi_chgheader(MG(ctx), f, idx, v) == MI_SUCCESS) {
ctx               701 sapi/milter/php_milter.c 		if (smfi_addrcpt(MG(ctx), rcpt) == MI_SUCCESS) {
ctx               721 sapi/milter/php_milter.c 		if (smfi_delrcpt(MG(ctx), rcpt) == MI_SUCCESS) {
ctx               742 sapi/milter/php_milter.c 		if (smfi_replacebody(MG(ctx), (u_char*)body, len) == MI_SUCCESS) {
ctx                25 sapi/milter/php_milter.h 	SMFICTX *ctx;