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

12

/PHP_TRUNK/TSRM/
H A DTSRM.c58 int tsrm_error(int level, const char *format, ...);
754 int tsrm_error(int level, const char *format, ...) argument
756 if (level<=tsrm_error_level) {
774 void tsrm_error_set(int level, char *debug_filename) argument
776 tsrm_error_level = level;
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregexec.c615 int level = 0;\
621 level++;\
624 if (level == 0) break;\
625 level--;\
631 int level = 0;\
634 if (level == 0) (start) = k->u.mem.pstr;\
635 level++;\
638 level--;\
639 if (level == 0) {\
821 int level
1096 int level; local
2285 LengthType level; local
[all...]
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
H A Dregcomp.c2268 get_char_length_tree1(Node* node, regex_t* reg, int* len, int level) argument
2273 level++;
2278 r = get_char_length_tree1(NCAR(node), reg, &tlen, level);
2289 r = get_char_length_tree1(NCAR(node), reg, &tlen, level);
2291 r = get_char_length_tree1(NCAR(node), reg, &tlen2, level);
2299 if (level == 1)
2325 r = get_char_length_tree1(qn->target, reg, &tlen, level);
2337 r = get_char_length_tree1(NCALL(node)->target, reg, len, level);
2361 r = get_char_length_tree1(en->target, reg, len, level);
2371 r = get_char_length_tree1(en->target, reg, len, level);
5991 LengthType level; local
[all...]
/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.c600 * or to just store the alpha level. All we have to do here
650 int level; local
655 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1));
658 level = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? gdAlphaTransparent : gdAlphaOpaque;
668 level = level * (gdAlphaMax - gdTrueColorGetAlpha(fg)) / gdAlphaMax;
670 level = gdAlphaMax - level;
680 if (level < (gdAlphaMax / 2)) {
685 *tpixel = gdAlphaBlend(*tpixel, (level << 2
[all...]
/PHP_TRUNK/ext/sockets/
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 TSRMLS_DC);
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 TSRMLS_DC);
150 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4 TSRMLS_DC) 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 TSRMLS_CC) == 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 TSRMLS_DC) argument
316 php_do_setsockopt_ipv6_mcast(php_socket *php_sock, int level, int optname, zval *arg4 TSRMLS_DC) argument
381 php_mcast_join( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index TSRMLS_DC) argument
391 php_mcast_leave( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index TSRMLS_DC) 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 TSRMLS_DC) 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 TSRMLS_DC) 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 TSRMLS_DC) 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 TSRMLS_DC) argument
452 _php_mcast_join_leave( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index, int join TSRMLS_DC) 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 TSRMLS_DC) 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 TSRMLS_CC, 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 TSRMLS_DC) argument
323 assert(level
366 php_do_getsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *result TSRMLS_DC) argument
[all...]
H A Dsockets.c215 ZEND_ARG_INFO(0, level)
221 ZEND_ARG_INFO(0, level)
267 ZEND_ARG_INFO(0, level)
1830 /* {{{ proto mixed socket_get_option(resource socket, int level, int optname)
1843 zend_long level, optname; local
1845 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rll", &arg1, &level, &optname) == FAILURE) {
1851 if (level == IPPROTO_IP) {
1857 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1870 else if (level == IPPROTO_IPV6) {
1871 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optnam
1951 zend_long level, optname; local
[all...]
H A Dconversions.c170 err->level = E_WARNING;
202 php_error_docref0(NULL TSRMLS_CC, err->level, "%s", err->msg);
821 * [ level => , type => , data => [],]
837 int level, local
845 {"level", sizeof("level"), 0, 0, from_zval_write_int, 0},
857 from_zval_write_aggregation(arr, (char *)&level, descriptor_level, ctx);
866 entry = get_ancillary_reg_entry(level, type);
868 do_from_zval_err(ctx, "cmsghdr with level %d and type %d not supported",
869 level, typ
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfuncs.c412 file_check_mem(struct magic_set *ms, unsigned int level) argument
416 if (level >= ms->c.len) {
426 ms->c.li[level].got_match = 0;
428 ms->c.li[level].last_match = 0;
429 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 TSRMLS_DC) argument
502 php_error_docref(NULL TSRMLS_CC, level, "%s in %s, line: %d", msg, parser->input->filename, parser->input->line);
504 php_error_docref(NULL TSRMLS_CC, level, "%s in Entity, line: %d", msg, parser->input->line);
509 void php_libxml_issue_error(int level, const char *msg TSRMLS_DC) argument
514 php_error_docref(NULL TSRMLS_CC, level, "%s", msg);
686 * we've defined is an application level (true global) setting.
994 add_property_long(return_value, "level", error->level);
1033 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/xml/
H A Dphp_xml.h80 int level; member in struct:__anon280
/PHP_TRUNK/main/
H A Dphp_output.h132 int level; member in struct:_php_output_handler
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c652 * Ignore level, we want to send all messages through fastcgi
654 void sapi_cgi_log_fastcgi(int level, char *message, size_t len) argument
/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/zlib/
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 TSRMLS_CC, 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 /* Psuedo 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 TSRMLS_CC, E_WARNING, "Invalid compression level specified. (%pd)", Z_LVAL(tmp));
405 level
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass1_5.c554 int level = 0; local
560 level++;
562 if (level == 0) {
565 level--;
/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
882 zend_long level = object->level; local
1022 int level; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h208 unsigned level; member in struct:_php_basic_globals::__anon7
212 unsigned level; member in struct:_php_basic_globals::__anon8
H A Dvar.c57 static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level TSRMLS_DC) /* {{{ */
60 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index);
62 php_printf("%*c[\"", level + 1, ' ');
66 php_var_dump(zv, level + 2 TSRMLS_CC);
70 static void php_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level TSRMLS_DC) /* {{{ */
75 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index);
78 php_printf("%*c[", level + 1, ' ');
93 php_var_dump(zv, level + 2 TSRMLS_CC);
97 PHPAPI void php_var_dump(zval *struc, int level TSRMLS_DC) /* {{{ */
107 if (level >
398 php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf TSRMLS_DC) argument
426 php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf TSRMLS_DC) argument
451 php_var_export_ex(zval *struc, int level, smart_str *buf TSRMLS_DC) argument
[all...]

Completed in 45 milliseconds

12