Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 57) sorted by relevance

123

/PHP-7.4/ext/gd/libgd/
H A Dgd_io.c34 void Putword (int w, gdIOCtx * ctx) in Putword()
43 void Putchar (int c, gdIOCtx * ctx) in Putchar()
48 void gdPutC (const unsigned char c, gdIOCtx * ctx) in gdPutC()
53 void gdPutWord (int w, gdIOCtx * ctx) in gdPutWord()
61 void gdPutInt (int w, gdIOCtx * ctx) in gdPutInt()
71 int gdGetC (gdIOCtx * ctx) in gdGetC()
76 int gdGetByte (int *result, gdIOCtx * ctx) in gdGetByte()
85 int gdGetWord (int *result, gdIOCtx * ctx) in gdGetWord()
118 int gdGetInt (int *result, gdIOCtx * ctx) in gdGetInt()
193 int gdSeek (gdIOCtx * ctx, const int pos) in gdSeek()
[all …]
H A Dgd_io_file.c33 gdIOCtx ctx; member
51 fileIOCtx *ctx; in gdNewFileCtx() local
71 static void gdFreeFileCtx (gdIOCtx * ctx) in gdFreeFileCtx()
77 static int filePutbuf (gdIOCtx * ctx, const void *buf, int size) in filePutbuf()
86 static int fileGetbuf (gdIOCtx * ctx, void *buf, int size) in fileGetbuf()
94 static void filePutchar (gdIOCtx * ctx, int a) in filePutchar()
105 static int fileGetchar (gdIOCtx * ctx) in fileGetchar()
114 static int fileSeek (struct gdIOCtx *ctx, const int pos) in fileSeek()
122 static long fileTell (struct gdIOCtx *ctx) in fileTell()
H A Dgd_io_ss.c34 gdIOCtx ctx; member
52 ssIOCtxPtr ctx; in gdNewSSCtx() local
73 static void gdFreeSsCtx (gdIOCtx * ctx) in gdFreeSsCtx()
79 static int sourceGetbuf (gdIOCtx * ctx, void *buf, int size) in sourceGetbuf()
102 static int sourceGetchar (gdIOCtx * ctx) in sourceGetchar()
116 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size) in sinkPutbuf()
132 static void sinkPutchar (gdIOCtx * ctx, int a) in sinkPutchar()
H A Dgd_io_dp.c41 gdIOCtx ctx; member
72 dpIOCtx *ctx; in gdNewDynamicCtxEx() local
95 void * gdDPExtractData (struct gdIOCtx *ctx, int *size) in gdDPExtractData()
124 static void gdFreeDynamicCtx (struct gdIOCtx *ctx) in gdFreeDynamicCtx()
140 static long dynamicTell (struct gdIOCtx *ctx) in dynamicTell()
149 static int dynamicSeek (struct gdIOCtx *ctx, const int pos) in dynamicSeek()
201 dynamicPutbuf (struct gdIOCtx *ctx, const void *buf, int size) in dynamicPutbuf()
219 static void dynamicPutchar (struct gdIOCtx *ctx, int a) in dynamicPutchar()
230 static int dynamicGetbuf (gdIOCtxPtr ctx, void *buf, int len) in dynamicGetbuf()
255 static int dynamicGetchar (gdIOCtxPtr ctx) in dynamicGetchar()
H A Dgd_gif_out.c196 BumpPixel(GifCtx *ctx) in BumpPixel()
252 GIFNextPixel(gdImagePtr im, GifCtx *ctx) in GIFNextPixel()
280 GifCtx ctx; in GIFEncode() local
506 compress(int init_bits, gdIOCtxPtr outfile, gdImagePtr im, GifCtx *ctx)
632 output(code_int code, GifCtx *ctx)
695 cl_block (GifCtx *ctx) /* table clear for block compress */
706 cl_hash(register count_int chsize, GifCtx *ctx) /* reset code table */
750 char_init(GifCtx *ctx)
760 char_out(int c, GifCtx *ctx)
771 flush_char(GifCtx *ctx)
H A Dgd_tga.c62 gdImagePtr gdImageCreateFromTgaCtx(gdIOCtx* ctx) in gdImageCreateFromTgaCtx()
146 int read_header_tga(gdIOCtx *ctx, oTga *tga) in read_header_tga()
206 int read_image_tga( gdIOCtx *ctx, oTga *tga ) in read_image_tga()
/PHP-7.4/ext/sockets/
H A Dconversions.c107 static int param_get_bool(void *ctx, const char *key, int def) in param_get_bool()
181 static void do_from_zval_err(ser_context *ctx, const char *fmt, ...) in do_from_zval_err()
190 static void do_to_zval_err(res_context *ctx, const char *fmt, ...) in do_to_zval_err()
216 void (*func)(zval *elem, unsigned i, void **args, ser_context *ctx), in from_array_iterate()
249 ser_context *ctx) in from_zval_write_aggregation()
281 res_context *ctx) in to_zval_read_aggregation()
495 void to_zval_read_int(const char *data, zval *zv, res_context *ctx) in to_zval_read_int()
708 ser_context *ctx) in from_zval_write_sockaddr_aux()
847 ser_context *ctx) in from_zval_write_control()
1453 ser_context ctx; in from_zval_run_conversions() local
[all …]
/PHP-7.4/ext/gd/
H A Dgd_ctx.c21 #define CTX_PUTC(c,ctx) ctx->putC(ctx, c) argument
23 static void _php_image_output_putc(struct gdIOCtx *ctx, int c) /* {{{ */ in _php_image_output_putc()
33 static int _php_image_output_putbuf(struct gdIOCtx *ctx, const void* buf, int l) /* {{{ */ in _php_image_output_putbuf()
38 static void _php_image_output_ctxfree(struct gdIOCtx *ctx) /* {{{ */ in _php_image_output_ctxfree()
45 static void _php_image_stream_putc(struct gdIOCtx *ctx, int c) /* {{{ */ { in _php_image_stream_putc()
51 static int _php_image_stream_putbuf(struct gdIOCtx *ctx, const void* buf, int l) /* {{{ */ in _php_image_stream_putbuf()
57 static void _php_image_stream_ctxfree(struct gdIOCtx *ctx) /* {{{ */ in _php_image_stream_ctxfree()
67 static void _php_image_stream_ctxfreeandclose(struct gdIOCtx *ctx) /* {{{ */ in _php_image_stream_ctxfreeandclose()
91 gdIOCtx *ctx = NULL; in _php_image_output_ctx() local
/PHP-7.4/sapi/apache2handler/
H A Dsapi_apache2.c70 php_struct *ctx; in ZEND_TSRMLS_CACHE_DEFINE() local
85 php_struct *ctx; in php_apache_sapi_header_handler() local
147 php_struct *ctx = SG(server_context); in php_apache_sapi_send_headers() local
178 php_struct *ctx = SG(server_context); in php_apache_sapi_read_post() local
209 php_struct *ctx = SG(server_context); in php_apache_sapi_get_stat() local
232 php_struct *ctx = SG(server_context); in php_apache_sapi_read_cookies() local
244 php_struct *ctx = SG(server_context); in php_apache_sapi_getenv() local
259 php_struct *ctx = SG(server_context); in php_apache_sapi_register_variables() local
281 php_struct *ctx; in php_apache_sapi_flush() local
306 php_struct *ctx; in php_apache_sapi_log_message() local
[all …]
H A Dphp_functions.c59 php_struct *ctx = SG(server_context); in php_apache_lookup_uri() local
173 php_struct *ctx; in PHP_FUNCTION() local
197 php_struct *ctx; in PHP_FUNCTION() local
221 php_struct *ctx; in PHP_FUNCTION() local
253 php_struct *ctx; in PHP_FUNCTION() local
288 php_struct *ctx; in PHP_FUNCTION() local
/PHP-7.4/ext/opcache/Optimizer/
H A Ddce.c250 static zend_always_inline void add_to_worklists(context *ctx, int var_num, int check) { in add_to_worklists()
263 static inline void add_to_phi_worklist_no_val(context *ctx, int var_num) { in add_to_phi_worklist_no_val()
270 static zend_always_inline void add_operands_to_worklists(context *ctx, zend_op *opline, zend_ssa_op… in add_operands_to_worklists()
294 static zend_always_inline void add_phi_sources_to_worklists(context *ctx, zend_ssa_phi *phi, int ch… in add_phi_sources_to_worklists()
302 static inline zend_bool is_var_dead(context *ctx, int var_num) { in is_var_dead()
317 static zend_bool try_remove_var_def(context *ctx, int free_var, int use_chain, zend_op *opline) { in try_remove_var_def()
376 static zend_bool dce_instr(context *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in dce_instr()
444 static void try_remove_trivial_phi(context *ctx, zend_ssa_phi *phi) { in try_remove_trivial_phi()
488 context ctx; in dce_optimize_op_array() local
H A Dsccp.c150 static void set_value(scdf_ctx *scdf, sccp_ctx *ctx, int var, zval *new) { in set_value()
189 static zval *get_op1_value(sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in get_op1_value()
199 static zval *get_op2_value(sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in get_op2_value()
292 sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op, int var, zval *value) { in try_replace_op1()
337 sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op, int var, zval *value) { in try_replace_op2()
1068 sccp_ctx *ctx = (sccp_ctx *) scdf; in sccp_visit_instr() local
1923 sccp_ctx *ctx = (sccp_ctx *) scdf; in sccp_mark_feasible_successors() local
2127 sccp_ctx *ctx = (sccp_ctx *) scdf; in sccp_visit_phi() local
2211 static int remove_call(sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op) in remove_call()
2428 static int replace_constant_operands(sccp_ctx *ctx) { in replace_constant_operands()
[all …]
H A Dzend_optimizer.c44 void zend_optimizer_collect_constant(zend_optimizer_ctx *ctx, zval *name, zval* value) in zend_optimizer_collect_constant()
935 zend_optimizer_ctx *ctx) in zend_optimize()
1251 zend_optimizer_ctx *ctx) in zend_optimize_op_array()
1273 static void zend_adjust_fcall_stack_size(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_adjust_fcall_stack_size()
1339 zend_optimizer_ctx ctx; in zend_optimize_script() local
H A Ddfa_pass.c42 int zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa) in zend_dfa_analyze_op_array()
155 static void zend_ssa_remove_nops(zend_op_array *op_array, zend_ssa *ssa, zend_optimizer_ctx *ctx) in zend_ssa_remove_nops()
993 void zend_dfa_optimize_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa, ze… in zend_dfa_optimize_op_array()
1315 void zend_optimize_dfa(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimize_dfa()
/PHP-7.4/ext/zlib/
H A Dzlib.c69 z_stream *ctx = zend_fetch_resource(res, NULL, le_deflate); in deflate_rsrc_dtor() local
76 z_stream *ctx = zend_fetch_resource(res, NULL, le_inflate); in inflate_rsrc_dtor() local
209 php_zlib_context *ctx = *(php_zlib_context **) handler_context; in php_zlib_output_handler() local
278 php_zlib_context *ctx = (php_zlib_context *) opaq; in php_zlib_output_handler_context_dtor() local
481 php_output_context ctx = {0}; in PHP_FUNCTION() local
833 z_stream *ctx; in PHP_FUNCTION() local
912 z_stream *ctx; in PHP_FUNCTION() local
1028 z_stream *ctx; in PHP_FUNCTION() local
1049 z_stream *ctx; in PHP_FUNCTION() local
1069 z_stream *ctx; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/standard/
H A Dmd5.c190 static const void *body(PHP_MD5_CTX *ctx, const void *data, size_t size) in body()
297 PHPAPI void PHP_MD5Init(PHP_MD5_CTX *ctx) in PHP_MD5Init()
308 PHPAPI void PHP_MD5Update(PHP_MD5_CTX *ctx, const void *data, size_t size) in PHP_MD5Update()
343 PHPAPI void PHP_MD5Final(unsigned char *result, PHP_MD5_CTX *ctx) in PHP_MD5Final()
H A Dcrypt_sha256.c97 static void sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx) { in sha256_process_block()
195 static void sha256_init_ctx(struct sha256_ctx *ctx) { in sha256_init_ctx()
215 static void * sha256_finish_ctx(struct sha256_ctx *ctx, void *resbuf) { in sha256_finish_ctx()
247 static void sha256_process_bytes(const void *buffer, size_t len, struct sha256_ctx *ctx) { in sha256_process_bytes()
335 struct sha256_ctx ctx; in php_sha256_crypt_r() local
679 struct sha256_ctx ctx; in main() local
H A Dcrypt_sha512.c123 sha512_process_block(const void *buffer, size_t len, struct sha512_ctx *ctx) { in sha512_process_block()
222 static void sha512_init_ctx (struct sha512_ctx *ctx) { in sha512_init_ctx()
242 static void * sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf) { in sha512_finish_ctx()
274 sha512_process_bytes(const void *buffer, size_t len, struct sha512_ctx *ctx) { in sha512_process_bytes()
368 struct sha512_ctx ctx; in php_sha512_crypt_r() local
744 struct sha512_ctx ctx; in main() local
H A Dphp_crypt_r.c128 HCRYPTHASH ctx, ctx1; in php_md5_crypt_r() local
322 PHP_MD5_CTX ctx, ctx1; in php_md5_crypt_r() local
/PHP-7.4/ext/hash/
H A Dhash_sha3.c90 static void permute(PHP_SHA3_CTX* ctx) { in permute()
152 static void PHP_SHA3_Init(PHP_SHA3_CTX* ctx, in PHP_SHA3_Init()
157 static void PHP_SHA3_Update(PHP_SHA3_CTX* ctx, in PHP_SHA3_Update()
182 PHP_SHA3_CTX* ctx, in PHP_SHA3_Final()
/PHP-7.4/TSRM/
H A DTSRM.h166 #define TSRMLS_FETCH_FROM_CTX(ctx) void ***tsrm_ls = (void ***) ctx argument
167 #define TSRMLS_SET_CTX(ctx) ctx = (void ***) tsrm_get_ls_cache() argument
199 #define TSRMLS_FETCH_FROM_CTX(ctx) argument
200 #define TSRMLS_SET_CTX(ctx) argument
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c927 static int lsapi_activate_user_ini_basic_checks(_lsapi_activate_user_ini_ctx *ctx, in lsapi_activate_user_ini_basic_checks()
953 static int lsapi_activate_user_ini_mk_path(_lsapi_activate_user_ini_ctx *ctx, in lsapi_activate_user_ini_mk_path()
973 static int lsapi_activate_user_ini_mk_realpath(_lsapi_activate_user_ini_ctx *ctx, in lsapi_activate_user_ini_mk_realpath()
1000 static int lsapi_activate_user_ini_mk_user_config(_lsapi_activate_user_ini_ctx *ctx, in lsapi_activate_user_ini_mk_user_config()
1029 _lsapi_activate_user_ini_ctx *ctx = data; in walk_down_the_path_callback() local
1036 static int lsapi_activate_user_ini_walk_down_the_path(_lsapi_activate_user_ini_ctx *ctx, in lsapi_activate_user_ini_walk_down_the_path()
1072 static int lsapi_activate_user_ini_finally(_lsapi_activate_user_ini_ctx *ctx, in lsapi_activate_user_ini_finally()
1090 _lsapi_activate_user_ini_ctx ctx; in lsapi_activate_user_ini() local
/PHP-7.4/ext/soap/
H A Dphp_schema.c97 static void schema_load_file(sdlCtx *ctx, xmlAttrPtr ns, xmlChar *location, xmlAttrPtr tns, int imp… in schema_load_file()
162 int load_schema(sdlCtx *ctx, xmlNodePtr schema) in load_schema()
1727 …schema_attribute(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrType, sdlTypePtr cur_type, sdlCtx *ctx) in schema_attribute()
1949 …_attributeGroup(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr attrGroup, sdlTypePtr cur_type, sdlCtx *ctx) in schema_attributeGroup()
2083 static void schema_attribute_fixup(sdlCtx *ctx, sdlAttributePtr attr) in schema_attribute_fixup()
2131 static void schema_attributegroup_fixup(sdlCtx *ctx, sdlAttributePtr attr, HashTable *ht) in schema_attributegroup_fixup()
2182 static void schema_content_model_fixup(sdlCtx *ctx, sdlContentModelPtr model) in schema_content_model_fixup()
2226 static void schema_type_fixup(sdlCtx *ctx, sdlTypePtr type) in schema_type_fixup()
2279 void schema_pass2(sdlCtx *ctx) in schema_pass2()
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c137 SSL_CTX *ctx; member
164 SSL_CTX *ctx; member
293 static int verify_callback(int preverify_ok, X509_STORE_CTX *ctx) /* {{{ */ in verify_callback()
837 static int php_openssl_enable_peer_verification(SSL_CTX *ctx, php_stream *stream) /* {{{ */ in php_openssl_enable_peer_verification()
898 static int php_openssl_set_local_cert(SSL_CTX *ctx, php_stream *stream) /* {{{ */ in php_openssl_set_local_cert()
1201 static int php_openssl_set_server_dh_param(php_stream * stream, SSL_CTX *ctx) /* {{{ */ in php_openssl_set_server_dh_param()
1250 static int php_openssl_set_server_ecdh_curve(php_stream *stream, SSL_CTX *ctx) /* {{{ */ in php_openssl_set_server_ecdh_curve()
1290 static int php_openssl_set_server_specific_opts(php_stream *stream, SSL_CTX *ctx) /* {{{ */ in php_openssl_set_server_specific_opts()
1362 SSL_CTX *ctx = SSL_CTX_new(SSLv23_server_method()); in php_openssl_create_sni_server_ctx() local
1394 SSL_CTX *ctx; in php_openssl_enable_server_sni() local
[all …]
/PHP-7.4/ext/zip/examples/
H A Dencryption.php42 $ctx = stream_context_create(array( variable

Completed in 124 milliseconds

123