| /PHP_5_4/ext/standard/ |
| H A D | crypt_sha256.c | 112 static void sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) { argument 117 uint32_t a = ctx->H[0]; 118 uint32_t b = ctx->H[1]; 119 uint32_t c = ctx->H[2]; 120 uint32_t d = ctx->H[3]; 121 uint32_t e = ctx->H[4]; 122 uint32_t f = ctx->H[5]; 123 uint32_t g = ctx->H[6]; 124 uint32_t h = ctx->H[7]; 129 ctx 210 sha256_init_ctx(struct sha256_ctx *ctx) argument 230 sha256_finish_ctx(struct sha256_ctx *ctx, void *resbuf) argument 262 sha256_process_bytes(const void *buffer, size_t len, struct sha256_ctx *ctx) argument 357 struct sha256_ctx ctx; local 702 struct sha256_ctx ctx; local [all...] |
| H A D | crypt_sha512.c | 138 sha512_process_block(const void *buffer, size_t len, struct sha512_ctx *ctx) { argument 141 uint64_t a = ctx->H[0]; 142 uint64_t b = ctx->H[1]; 143 uint64_t c = ctx->H[2]; 144 uint64_t d = ctx->H[3]; 145 uint64_t e = ctx->H[4]; 146 uint64_t f = ctx->H[5]; 147 uint64_t g = ctx->H[6]; 148 uint64_t h = ctx->H[7]; 153 ctx 237 sha512_init_ctx(struct sha512_ctx *ctx) argument 257 sha512_finish_ctx(struct sha512_ctx *ctx, void *resbuf) argument 289 sha512_process_bytes(const void *buffer, size_t len, struct sha512_ctx *ctx) argument 390 struct sha512_ctx ctx; local 766 struct sha512_ctx ctx; local [all...] |
| H A D | md5.c | 174 (ctx->block[(n)] = \ 180 (ctx->block[(n)]) 187 static const void *body(PHP_MD5_CTX *ctx, const void *data, size_t size) argument 195 a = ctx->a; 196 b = ctx->b; 197 c = ctx->c; 198 d = ctx->d; 286 ctx->a = a; 287 ctx->b = b; 288 ctx 294 PHP_MD5Init(PHP_MD5_CTX *ctx) argument 305 PHP_MD5Update(PHP_MD5_CTX *ctx, const void *data, size_t size) argument 340 PHP_MD5Final(unsigned char *result, PHP_MD5_CTX *ctx) argument [all...] |
| H A D | md5.h | 51 PHPAPI void PHP_MD5Init(PHP_MD5_CTX *ctx); 52 PHPAPI void PHP_MD5Update(PHP_MD5_CTX *ctx, const void *data, size_t size); 53 PHPAPI void PHP_MD5Final(unsigned char *result, PHP_MD5_CTX *ctx);
|
| H A D | php_crypt_r.c | 129 HCRYPTHASH ctx, ctx1; local 166 if(!CryptCreateHash(hCryptProv, CALG_MD5, 0, 0, &ctx)) { 171 if(!CryptHashData(ctx, (BYTE *)pw, pwl, 0)) { 176 if(!CryptHashData(ctx, magic_md5, magic_md5_len, 0)) { 181 if(!CryptHashData( ctx, (BYTE *)sp, sl, 0)) { 205 CryptHashData(ctx, final, (DWORD)(pl > 16 ? 16 : pl), 0); 214 CryptHashData(ctx, (const BYTE *)final, 1, 0); 216 CryptHashData(ctx, (const BYTE *)pw, 1, 0); 230 /* Fetch the ctx hash value */ 231 CryptGetHashParam(ctx, HP_HASHVA 325 PHP_MD5_CTX ctx, ctx1; local [all...] |
| H A D | url_scanner_ex.c | 49 url_adapt_state_ex_t *ctx; local 54 ctx = &BG(url_adapt_state_ex); 58 if (ctx->tags) 59 zend_hash_destroy(ctx->tags); 61 ctx->tags = malloc(sizeof(HashTable)); 62 if (!ctx->tags) { 67 zend_hash_init(ctx->tags, 0, NULL, NULL, 1); 85 zend_hash_add(ctx->tags, key, keylen, val, strlen(val)+1, NULL); 216 static inline void tag_arg(url_adapt_state_ex_t *ctx, char quotes, char type TSRMLS_DC) argument 220 if (strncasecmp(ctx 339 xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen TSRMLS_DC) argument 947 url_adapt_state_ex_t *ctx; local 972 url_adapt_state_ex_t *ctx; local 983 url_adapt_state_ex_t *ctx; local 1007 url_adapt_state_ex_t *ctx = &BG(url_adapt_state_ex); local [all...] |
| H A D | url_scanner_ex.re | 47 url_adapt_state_ex_t *ctx; 52 ctx = &BG(url_adapt_state_ex); 56 if (ctx->tags) 57 zend_hash_destroy(ctx->tags); 59 ctx->tags = malloc(sizeof(HashTable)); 60 if (!ctx->tags) { 65 zend_hash_init(ctx->tags, 0, NULL, NULL, 1); 83 zend_hash_add(ctx->tags, key, keylen, val, strlen(val)+1, NULL); 152 static inline void tag_arg(url_adapt_state_ex_t *ctx, char quotes, char type TSRMLS_DC) 156 if (strncasecmp(ctx [all...] |
| /PHP_5_4/ext/zip/lib/ |
| H A D | zip_source_crc.c | 59 struct crc *ctx; 66 if ((ctx=(struct crc *)malloc(sizeof(*ctx))) == NULL) { 71 ctx->validate = validate; 73 return zip_source_layered(za, src, crc_read, ctx); 83 struct crc *ctx; 86 ctx = (struct crc *)_ctx; 90 ctx->eof = 0; 91 ctx->crc = crc32(0, NULL, 0); 92 ctx 57 struct crc *ctx; local 80 struct crc *ctx; local [all...] |
| H A D | zip_source_deflate.c | 69 struct deflate *ctx; 77 if ((ctx=(struct deflate *)malloc(sizeof(*ctx))) == NULL) { 82 ctx->e[0] = ctx->e[1] = 0; 83 ctx->eof = 0; 86 ctx->mem_level = TORRENT_MEM_LEVEL; 88 ctx->mem_level = MAX_MEM_LEVEL; 94 ctx)) == NULL) { 95 deflate_free(ctx); 67 struct deflate *ctx; local 103 compress_read(struct zip_source *src, struct deflate *ctx, void *data, zip_uint64_t len) argument 178 decompress_read(struct zip_source *src, struct deflate *ctx, void *data, zip_uint64_t len) argument 251 struct deflate *ctx; local 322 struct deflate *ctx; local 390 deflate_free(struct deflate *ctx) argument [all...] |
| H A D | zip_source_pkware.c | 74 struct trad_pkware *ctx; 89 if ((ctx=(struct trad_pkware *)malloc(sizeof(*ctx))) == NULL) { 94 ctx->e[0] = ctx->e[1] = 0; 96 ctx->key[0] = KEY0; 97 ctx->key[1] = KEY1; 98 ctx->key[2] = KEY2; 99 decrypt(ctx, NULL, (const zip_uint8_t *)password, strlen(password), 1); 101 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) 71 struct trad_pkware *ctx; local 109 decrypt(struct trad_pkware *ctx, zip_uint8_t *out, const zip_uint8_t *in, zip_uint64_t len, int update_only) argument 141 decrypt_header(struct zip_source *src, struct trad_pkware *ctx) argument 184 struct trad_pkware *ctx; local 238 pkware_free(struct trad_pkware *ctx) argument [all...] |
| /PHP_5_4/pear/ |
| H A D | fetch.php | 64 $ctx = stream_context_create($copt, array("notification" => "stream_notification_callback")); variable 66 $fp = fopen($argv[1], "r", false, $ctx);
|
| /PHP_5_4/sapi/milter/ |
| H A D | php_milter.h | 25 SMFICTX *ctx; member in struct:__anon546
|
| /PHP_5_4/ext/gd/libgd/ |
| H A D | gd_gif_out.c | 90 static void BumpPixel (GifCtx *ctx); 91 static int GIFNextPixel (gdImagePtr im, GifCtx *ctx); 93 static void compress (int init_bits, gdIOCtx *outfile, gdImagePtr im, GifCtx *ctx); 94 static void output (code_int code, GifCtx *ctx); 95 static void cl_block (GifCtx *ctx); 96 static void cl_hash (register count_int chsize, GifCtx *ctx); 97 static void char_init (GifCtx *ctx); 98 static void char_out (int c, GifCtx *ctx); 99 static void flush_char (GifCtx *ctx); 182 BumpPixel(GifCtx *ctx) argument 238 GIFNextPixel(gdImagePtr im, GifCtx *ctx) argument 266 GifCtx ctx; local 492 compress(int init_bits, gdIOCtxPtr outfile, gdImagePtr im, GifCtx *ctx) argument 610 output(code_int code, GifCtx *ctx) argument 667 cl_block(GifCtx *ctx) argument 678 cl_hash(register count_int chsize, GifCtx *ctx) argument 722 char_init(GifCtx *ctx) argument 732 char_out(int c, GifCtx *ctx) argument 743 flush_char(GifCtx *ctx) argument [all...] |
| H A D | gd_io.c | 34 void Putword (int w, gdIOCtx * ctx) argument 40 (ctx->putBuf) (ctx, (char *) buf, 2); 43 void Putchar (int c, gdIOCtx * ctx) argument 45 (ctx->putC) (ctx, c & 0xff); 48 void gdPutC (const unsigned char c, gdIOCtx * ctx) argument 50 (ctx->putC) (ctx, c); 53 void gdPutWord (int w, gdIOCtx * ctx) argument 61 gdPutInt(int w, gdIOCtx * ctx) argument 71 gdGetC(gdIOCtx * ctx) argument 76 gdGetByte(int *result, gdIOCtx * ctx) argument 85 gdGetWord(int *result, gdIOCtx * ctx) argument 98 gdGetInt(int *result, gdIOCtx * ctx) argument 122 gdPutBuf(const void *buf, int size, gdIOCtx * ctx) argument 129 gdGetBuf(void *buf, int size, gdIOCtx * ctx) argument 134 gdSeek(gdIOCtx * ctx, const int pos) argument 141 gdTell(gdIOCtx * ctx) argument [all...] |
| H A D | gd_io.h | 27 void Putword(int w, gdIOCtx *ctx); 28 void Putchar(int c, gdIOCtx *ctx); 30 void gdPutC(const unsigned char c, gdIOCtx *ctx); 32 void gdPutWord(int w, gdIOCtx *ctx); 33 void gdPutInt(int w, gdIOCtx *ctx); 35 int gdGetC(gdIOCtx *ctx); 37 int gdGetByte(int *result, gdIOCtx *ctx); 38 int gdGetWord(int *result, gdIOCtx *ctx); 39 int gdGetInt(int *result, gdIOCtx *ctx); 41 int gdSeek(gdIOCtx *ctx, cons [all...] |
| H A D | gd_io_dp.c | 41 gdIOCtx ctx; member in struct:dpIOCtx 52 static void gdFreeDynamicCtx (struct gdIOCtx *ctx); 58 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len); 59 static int dynamicGetchar (gdIOCtxPtr ctx); 72 dpIOCtx *ctx; local 75 ctx = (dpIOCtx *) gdMalloc (sizeof (dpIOCtx)); 79 ctx->dp = dp; 81 ctx->ctx.getC = dynamicGetchar; 82 ctx 95 gdDPExtractData(struct gdIOCtx *ctx, int *size) argument 124 gdFreeDynamicCtx(struct gdIOCtx *ctx) argument 140 dynamicTell(struct gdIOCtx *ctx) argument 149 dynamicSeek(struct gdIOCtx *ctx, const int pos) argument 198 dynamicPutbuf(struct gdIOCtx *ctx, const void *buf, int size) argument 216 dynamicPutchar(struct gdIOCtx *ctx, int a) argument 227 dynamicGetbuf(gdIOCtxPtr ctx, void *buf, int len) argument 252 dynamicGetchar(gdIOCtxPtr ctx) argument [all...] |
| H A D | gd_io_file.c | 33 gdIOCtx ctx; member in struct:fileIOCtx 42 static int fileGetchar (gdIOCtx * ctx); 46 static void gdFreeFileCtx (gdIOCtx * ctx); 51 fileIOCtx *ctx; local 53 ctx = (fileIOCtx *) gdMalloc(sizeof (fileIOCtx)); 55 ctx->f = f; 57 ctx->ctx.getC = fileGetchar; 58 ctx->ctx 71 gdFreeFileCtx(gdIOCtx * ctx) argument 77 filePutbuf(gdIOCtx * ctx, const void *buf, int size) argument 86 fileGetbuf(gdIOCtx * ctx, void *buf, int size) argument 94 filePutchar(gdIOCtx * ctx, int a) argument 105 fileGetchar(gdIOCtx * ctx) argument 114 fileSeek(struct gdIOCtx *ctx, const int pos) argument 122 fileTell(struct gdIOCtx *ctx) argument [all...] |
| H A D | gd_io_ss.c | 34 gdIOCtx ctx; member in struct:ssIOCtx 44 static int sourceGetchar (gdIOCtx * ctx); 45 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size); 46 static void sinkPutchar (gdIOCtx * ctx, int a); 47 static void gdFreeSsCtx (gdIOCtx * ctx); 52 ssIOCtxPtr ctx; local 54 ctx = (ssIOCtxPtr) gdMalloc (sizeof (ssIOCtx)); 56 ctx->src = src; 57 ctx->snk = snk; 59 ctx 73 gdFreeSsCtx(gdIOCtx * ctx) argument 79 sourceGetbuf(gdIOCtx * ctx, void *buf, int size) argument 102 sourceGetchar(gdIOCtx * ctx) argument 116 sinkPutbuf(gdIOCtx * ctx, const void *buf, int size) argument 132 sinkPutchar(gdIOCtx * ctx, int a) argument [all...] |
| /PHP_5_4/ext/gd/ |
| H A D | gd_ctx.c | 23 #define CTX_PUTC(c,ctx) ctx->putC(ctx, c) 25 static void _php_image_output_putc(struct gdIOCtx *ctx, int c) argument 36 static int _php_image_output_putbuf(struct gdIOCtx *ctx, const void* buf, int l) argument 42 static void _php_image_output_ctxfree(struct gdIOCtx *ctx) argument 44 if(ctx) { 45 efree(ctx); 49 static void _php_image_stream_putc(struct gdIOCtx *ctx, int c) { argument 51 php_stream * stream = (php_stream *)ctx 56 _php_image_stream_putbuf(struct gdIOCtx *ctx, const void* buf, int l) argument 63 _php_image_stream_ctxfree(struct gdIOCtx *ctx) argument 87 gdIOCtx *ctx = NULL; local [all...] |
| /PHP_5_4/ext/soap/ |
| H A D | php_schema.h | 25 int load_schema(sdlCtx *ctx, xmlNodePtr schema TSRMLS_DC); 26 void schema_pass2(sdlCtx *ctx);
|
| /PHP_5_4/ext/zlib/ |
| H A D | zlib.c | 88 static int php_zlib_output_handler_ex(php_zlib_context *ctx, php_output_context *output_context) argument 95 if (Z_OK != deflateInit2(&ctx->Z, ZLIBG(output_compression_level), Z_DEFLATED, ZLIBG(compression_coding), MAX_MEM_LEVEL, Z_DEFAULT_STRATEGY)) { 102 deflateEnd(&ctx->Z); 109 if (Z_OK != deflateInit2(&ctx->Z, ZLIBG(output_compression_level), Z_DEFLATED, ZLIBG(compression_coding), MAX_MEM_LEVEL, Z_DEFAULT_STRATEGY)) { 112 ctx->buffer.used = 0; 117 if (ctx->buffer.free < output_context->in.used) { 118 if (!(ctx->buffer.aptr = erealloc_recoverable(ctx->buffer.data, ctx->buffer.used + ctx 176 php_zlib_context *ctx = *(php_zlib_context **) handler_context; local 236 php_zlib_context *ctx = (php_zlib_context *) ecalloc(1, sizeof(php_zlib_context)); local 246 php_zlib_context *ctx = (php_zlib_context *) opaq; local 453 php_output_context ctx = {0}; local [all...] |
| /PHP_5_4/sapi/aolserver/ |
| H A D | aolserver.c | 82 static void php_ns_config(php_ns_context *ctx, char global); 519 php_ns_config(php_ns_context *ctx, char global) argument 525 path = Ns_ConfigGetPath(ctx->ns_server, ctx->ns_module, NULL); 534 Ns_RegisterRequest(ctx->ns_server, "GET", value, php_ns_request_handler, NULL, ctx, 0); 535 Ns_RegisterRequest(ctx->ns_server, "POST", value, php_ns_request_handler, NULL, ctx, 0); 536 Ns_RegisterRequest(ctx->ns_server, "HEAD", value, php_ns_request_handler, NULL, ctx, 579 php_ns_context *ctx = (php_ns_context *) context; local 599 php_ns_context *ctx; local [all...] |
| /PHP_5_4/sapi/apache2filter/ |
| H A D | php_functions.c | 48 php_struct *ctx; local 54 ctx = SG(server_context); 55 return ap_sub_req_lookup_uri(filename, ctx->f->r, ctx->f->next); 155 php_struct *ctx; local 161 ctx = SG(server_context); 162 arr = apr_table_elts(ctx->f->r->headers_in); 175 php_struct *ctx; local 181 ctx = SG(server_context); 182 arr = apr_table_elts(ctx 195 php_struct *ctx; local 225 php_struct *ctx; local 253 php_struct *ctx; local [all...] |
| H A D | sapi_apache2.c | 73 php_struct *ctx; local 75 ctx = SG(server_context); 76 f = ctx->f; 81 bb = apr_brigade_create(ctx->r->pool, ba); 86 if (ap_pass_brigade(f->next, bb) != APR_SUCCESS || ctx->r->connection->aborted) { 96 php_struct *ctx; local 100 ctx = SG(server_context); 101 f = ctx->r->output_filters; 105 apr_table_unset(ctx->r->headers_out, sapi_header->header); 109 apr_table_clear(ctx 148 php_struct *ctx = SG(server_context); local 160 php_struct *ctx = SG(server_context); local 179 php_struct *ctx = SG(server_context); local 204 php_struct *ctx = SG(server_context); local 216 php_struct *ctx = SG(server_context); local 227 php_struct *ctx = SG(server_context); local 250 php_struct *ctx; local 287 php_struct *ctx; local 313 php_struct *ctx = SG(server_context); local 362 php_struct *ctx; local 462 php_struct *ctx; local 685 php_struct *ctx; local [all...] |
| /PHP_5_4/sapi/apache2handler/ |
| H A D | sapi_apache2.c | 79 php_struct *ctx; local 81 ctx = SG(server_context); 82 r = ctx->r; 94 php_struct *ctx; local 97 ctx = SG(server_context); 101 apr_table_unset(ctx->r->headers_out, sapi_header->header); 105 apr_table_clear(ctx->r->headers_out); 124 if (ctx->content_type) { 125 efree(ctx->content_type); 127 ctx 156 php_struct *ctx = SG(server_context); local 187 php_struct *ctx = SG(server_context); local 218 php_struct *ctx = SG(server_context); local 243 php_struct *ctx = SG(server_context); local 255 php_struct *ctx = SG(server_context); local 270 php_struct *ctx = SG(server_context); local 292 php_struct *ctx; local 318 php_struct *ctx; local 340 php_struct *ctx = SG(server_context); local 538 php_struct * volatile ctx; local [all...] |