Searched defs:level (Results 1 - 25 of 31) sorted by relevance

12

/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregtrav.c37 int level, void* arg)
46 level, ONIG_TRAVERSE_CALLBACK_AT_FIRST, arg);
52 callback_func, level + 1, arg);
58 level, ONIG_TRAVERSE_CALLBACK_AT_LAST, arg);
35 capture_tree_traverse(OnigCaptureTreeNode* node, int at, int(*callback_func)(int,int,int,int,int,void*), int level, void* arg) argument
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_png.c420 void gdImagePngEx (gdImagePtr im, FILE * outFile, int level, int basefilter) argument
423 gdImagePngCtxEx(im, out, level, basefilter);
445 void * gdImagePngPtrEx (gdImagePtr im, int *size, int level, int basefilter) argument
449 gdImagePngCtxEx(im, out, level, basefilter);
464 void gdImagePngCtxEx (gdImagePtr im, gdIOCtx * outfile, int level, int basefilter) argument
520 if (level != -1 && (level < 0 || level > 9)) {
521 php_gd_error("gd-png error: compression level must be 0 through 9");
524 png_set_compression_level(png_ptr, level);
[all...]
H A Dgd_jpeg.c49 static long php_jpeg_emit_message(j_common_ptr jpeg_info, int level) argument
64 if (level < 0) {
74 /* strace msg, Show it if trace_level >= level. */
75 if (jpeg_info->err->trace_level >= level) {
H A Dgdft.c599 * or to just store the alpha level. All we have to do here
649 int level; local
654 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));
657 level = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? gdAlphaTransparent : gdAlphaOpaque;
667 level = level * (gdAlphaMax - gdTrueColorGetAlpha(fg)) / gdAlphaMax;
669 level = gdAlphaMax - level;
679 if (level < (gdAlphaMax / 2)) {
684 *tpixel = gdAlphaBlend(*tpixel, (level << 2
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c411 file_check_mem(struct magic_set *ms, unsigned int level) argument
415 if (level >= ms->c.len) {
425 ms->c.li[level].got_match = 0;
427 ms->c.li[level].last_match = 0;
428 ms->c.li[level].last_cond = COND_NONE;
H A Dsoftmagic.c88 size_t level, int mode, int text)
94 text, 0, level, &printed_something, &need_separator,
105 * We support multi-level continuations:
107 * At any time when processing a successful top-level match, there is a
108 * current continuation level; it represents the level of the last
111 * Continuations above that level are skipped as, if we see one, it
113 * lower-level continuation preceding them - failed to match.
115 * Continuations below that level are processed as, if we see one,
116 * it means we've finished processing or skipping higher-level
87 file_softmagic(struct magic_set *ms, const unsigned char *buf, size_t nbytes, size_t level, int mode, int text) argument
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c475 error_copy.level = XML_ERR_ERROR;
494 static void php_libxml_ctx_error_level(int level, void *ctx, const char *msg) argument
502 php_error_docref(NULL, level, "%s in %s, line: %d", msg, parser->input->filename, parser->input->line);
504 php_error_docref(NULL, level, "%s in Entity, line: %d", msg, parser->input->line);
509 void php_libxml_issue_error(int level, const char *msg) argument
514 php_error_docref(NULL, level, "%s", msg);
683 * we've defined is an application level (true global) setting.
990 add_property_long(return_value, "level", error->level);
1029 add_property_long_ex(&z_error, "level", sizeo
[all...]
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c1248 /* {{{ int netsnmp_session_set_sec_level(struct snmp_session *s, char *level)
1249 Set the security level in the snmpv3 session */
1250 static int netsnmp_session_set_sec_level(struct snmp_session *s, char *level) argument
1252 if (!strcasecmp(level, "noAuthNoPriv") || !strcasecmp(level, "nanp")) {
1254 } else if (!strcasecmp(level, "authNoPriv") || !strcasecmp(level, "anp")) {
1256 } else if (!strcasecmp(level, "authPriv") || !strcasecmp(level, "ap")) {
1368 /* Setting the security level
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_http.c366 int level = Z_LVAL_P(tmp) & 0x0f; local
369 if (level > 9) {level = 9;}
374 if (level > 0) {
381 ZVAL_LONG(&params[1], level);
/PHP_TRUNK/ext/sockets/
H A Dconversions.c170 err->level = E_WARNING;
202 php_error_docref0(NULL, err->level, "%s", err->msg);
818 * [ level => , type => , data => [],]
834 int level, local
842 {"level", sizeof("level"), 0, 0, from_zval_write_int, 0},
854 from_zval_write_aggregation(arr, (char *)&level, descriptor_level, ctx);
863 entry = get_ancillary_reg_entry(level, type);
865 do_from_zval_err(ctx, "cmsghdr with level %d and type %d not supported",
866 level, typ
[all...]
H A Dconversions.h19 int level; member in struct:err_s
H A Dmulticast.c54 static int _php_mcast_join_leave(php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index, int join);
56 static int _php_mcast_source_op(php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index, enum source_op sop);
150 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) argument
185 retval = mcast_req_fun(php_sock, level, (struct sockaddr*)&group,
225 retval = mcast_sreq_fun(php_sock, level, (struct sockaddr*)&group,
232 "unexpected option in php_do_mcast_opt (level %d, option %d). "
233 "This is a bug.", level, optname);
247 int level,
267 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) {
307 retval = setsockopt(php_sock->bsd_socket, level, optnam
246 php_do_setsockopt_ip_mcast(php_socket *php_sock, int level, int optname, zval *arg4) argument
316 php_do_setsockopt_ipv6_mcast(php_socket *php_sock, int level, int optname, zval *arg4) argument
381 php_mcast_join( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index) argument
391 php_mcast_leave( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index) argument
402 php_mcast_join_source( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index) argument
414 php_mcast_leave_source( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index) argument
426 php_mcast_block_source( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index) argument
438 php_mcast_unblock_source( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index) argument
452 _php_mcast_join_leave( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index, int join) argument
514 _php_mcast_source_op( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index, enum source_op sop) argument
[all...]
H A Dsendrecvmsg.c101 #define PUT_ENTRY(sizev, var_size, calc, from, to, level, type) \
107 key.cmsg_level = level; \
276 zend_long level, local
282 &level, &type, &n) == FAILURE) {
286 LONG_CHECK_VALID_INT(level);
296 entry = get_ancillary_reg_entry(level, type);
298 php_error_docref0(NULL, E_WARNING, "The pair level %pd/type %pd is "
299 "not supported by PHP", level, type);
315 int php_do_setsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *arg4) argument
323 assert(level
366 php_do_getsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *result) argument
[all...]
H A Dsockets.c215 ZEND_ARG_INFO(0, level)
221 ZEND_ARG_INFO(0, level)
267 ZEND_ARG_INFO(0, level)
1839 /* {{{ proto mixed socket_get_option(resource socket, int level, int optname)
1852 zend_long level, optname; local
1854 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll", &arg1, &level, &optname) == FAILURE) {
1860 if (level == IPPROTO_IP) {
1866 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1879 else if (level == IPPROTO_IPV6) {
1880 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optnam
1960 zend_long level, optname; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c105 int level; member in struct:_spl_recursive_it_object
155 (var) = (object)->iterators[(object)->level].element; \
165 (var) = &(object)->iterators[(object)->level].element; \
177 while (object->level > 0) {
178 sub_iter = object->iterators[object->level].iterator;
180 zval_ptr_dtor(&object->iterators[object->level--].zobject);
183 object->level = 0;
191 int level = object->level; local
196 while (level >
706 zend_long level = object->level; local
885 zend_long level = object->level; local
1025 int level; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dvar.c57 static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ argument
60 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index);
62 php_printf("%*c[\"", level + 1, ' ');
66 php_var_dump(zv, level + 2);
70 static void php_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ argument
75 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index);
78 php_printf("%*c[", level + 1, ' ');
93 php_var_dump(zv, level + 2);
97 PHPAPI void php_var_dump(zval *struc, int level) /* {{{ */ argument
107 if (level >
227 zval_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) argument
240 zval_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level) argument
265 php_debug_zval_dump(zval *struc, int level) argument
398 php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf) argument
426 php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf) argument
451 php_var_export_ex(zval *struc, int level, smart_str *buf) argument
560 php_var_export(zval *struc, int level) argument
[all...]
H A Dbasic_functions.h212 unsigned level; member in struct:_php_basic_globals::__anon3
216 unsigned level; member in struct:_php_basic_globals::__anon4
/PHP_TRUNK/ext/xml/
H A Dphp_xml.h80 int level; member in struct:__anon250
/PHP_TRUNK/ext/zlib/
H A Dzlib.c319 static zend_string *php_zlib_encode(const char *in_buf, size_t in_len, int encoding, int level) argument
329 if (Z_OK == (status = deflateInit2(&Z, level, Z_DEFLATED, encoding, MAX_MEM_LEVEL, Z_DEFAULT_STRATEGY))) {
645 zend_long level = -1; \
648 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "S|ll", &in, &level, &encoding)) { \
652 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "Sl|l", &in, &encoding, &level)) { \
656 if (level < -1 || level > 9) { \
657 php_error_docref(NULL, E_WARNING, "compression level (%pd) must be within -1..9", level); \
669 if ((out = php_zlib_encode(in->val, in->len, encoding, level))
[all...]
H A Dzlib_filter.c348 int level = Z_DEFAULT_COMPRESSION; local
356 /* filterparams can either be a scalar value to indicate compression level (shortcut method)
357 Or can be a hash containing one or more of 'window', 'memory', and/or 'level' members. */
368 php_error_docref(NULL, E_WARNING, "Invalid parameter give for memory level. (%pd)", Z_LVAL(tmp));
386 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "level", sizeof("level") - 1))) {
389 /* Pseudo pass through to catch level validating code */
401 /* Set compression level within reason (-1 == default, 0 == none, 1-9 == least to most compression */
403 php_error_docref(NULL, E_WARNING, "Invalid compression level specified. (%pd)", Z_LVAL(tmp));
405 level
[all...]
/PHP_TRUNK/main/
H A Dphp_output.h130 int level; member in struct:_php_output_handler
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c604 * Ignore level, we want to send all messages through fastcgi
606 void sapi_cgi_log_fastcgi(int level, char *message, size_t len) argument
/PHP_TRUNK/TSRM/
H A DTSRM.c62 int tsrm_error(int level, const char *format, ...);
758 int tsrm_error(int level, const char *format, ...) argument
760 if (level<=tsrm_error_level) {
778 void tsrm_error_set(int level, char *debug_filename) argument
780 tsrm_error_level = level;
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass1_5.c629 int level = 0; local
635 level++;
637 if (level == 0) {
640 level--;
/PHP_TRUNK/Zend/
H A Dzend_vm_def.h2291 * nesting level. Return NULL (except when return value unused) */
5663 int level; variable
5671 level = 0;
5676 level++;
5685 if (level == 0) {
5689 level--;
5698 if (level == 0) {
5705 if (level == 0) {
5716 level = 0;
5721 level
[all...]

Completed in 63 milliseconds

12