Searched refs:level (Results 1 - 25 of 54) sorted by relevance

123

/PHP_5_6/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 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_5_6/ext/phar/phar/
H A Dpharcommand.inc110 'inf' => '<level> Number of preceding subdirectories to strip from file entries',
568 $level = $this->args['l']['val'];
583 $this->phar_add($phar, $level, $input, $regex, $invregex, $stub, NULL, isset($loader));
586 $this->phar_add($phar, $level, $i, $regex, $invregex, $stub, NULL, isset($loader));
629 static function phar_add(Phar $phar, $level, $input, $regex, $invregex, SplFileInfo $stub = NULL, $compress = NULL, $noloader = false)
632 return self::phar_add_file($phar, $level, $input, $input, $compress);
648 self::phar_add_file($phar, $level, $dir->getSubPathName(), $file, $compress, $noloader);
663 * @param string $level The level of the file.
669 static function phar_add_file(Phar $phar, $level,
[all...]
/PHP_5_6/ext/sockets/
H A Dconversions.h19 int level; member in struct:err_s
H A Dsendrecvmsg.h15 int php_do_setsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval **arg4 TSRMLS_DC);
16 int php_do_getsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *result TSRMLS_DC);
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);
148 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval **arg4 TSRMLS_DC) argument
183 retval = mcast_req_fun(php_sock, level, (struct sockaddr*)&group,
223 retval = mcast_sreq_fun(php_sock, level, (struct sockaddr*)&group,
230 "unexpected option in php_do_mcast_opt (level %d, option %d). "
231 "This is a bug.", level, optname);
245 int level,
265 if (php_do_mcast_opt(php_sock, level, optname, arg4 TSRMLS_CC) == FAILURE) {
304 retval = setsockopt(php_sock->bsd_socket, level, optnam
244 php_do_setsockopt_ip_mcast(php_socket *php_sock, int level, int optname, zval **arg4 TSRMLS_DC) argument
313 php_do_setsockopt_ipv6_mcast(php_socket *php_sock, int level, int optname, zval **arg4 TSRMLS_DC) argument
377 php_mcast_join( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index TSRMLS_DC) argument
387 php_mcast_leave( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index TSRMLS_DC) argument
398 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
410 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
422 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
434 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
448 _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
510 _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 Dmulticast.h49 int level,
54 int level,
72 int level,
79 int level,
87 int level,
96 int level,
105 int level,
114 int level,
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) U
1843 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 long level, optname; local
[all...]
H A Dsendrecvmsg.c97 #define PUT_ENTRY(sizev, var_size, calc, from, to, level, type) \
103 key.cmsg_level = level; \
275 long level, local
281 &level, &type, &n) == FAILURE) {
285 LONG_CHECK_VALID_INT(level);
295 entry = get_ancillary_reg_entry(level, type);
297 php_error_docref0(NULL TSRMLS_CC, E_WARNING, "The pair level %ld/type %ld is "
298 "not supported by PHP", level, type);
314 int php_do_setsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval **arg4 TSRMLS_DC) argument
322 assert(level
365 php_do_getsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *result TSRMLS_DC) argument
[all...]
/PHP_5_6/ext/spl/examples/
H A Drecursivecomparedualiterator.inc20 * level we need to check whether both child iterators are at their end.
/PHP_5_6/ext/spl/internal/
H A Drecursiveiteratoriterator.inc156 /** @return Sub Iterator at given level or if unspecified the current sub
159 function getSubIterator($level = NULL)
161 if (is_null($level)) {
162 $level = $this->count;
164 return @$this->ait[$level];
179 return $this->level;
H A Drecursivetreeiterator.inc43 /** Prefix used if $level < depth and hasNext($level) == true. */
45 /** Prefix used if $level < depth and hasNext($level) == false. */
47 /** Prefix used if $level == depth and hasNext($level) == true. */
49 /** Prefix used if $level == depth and hasNext($level) == false. */
73 for ($level = 0; $level <
[all...]
/PHP_5_6/TSRM/
H A DTSRM.h136 TSRM_API int tsrm_error(int level, const char *format, ...);
137 TSRM_API void tsrm_error_set(int level, char *debug_filename);
/PHP_5_6/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
/PHP_5_6/ext/libxml/
H A Dphp_libxml.h100 PHP_LIBXML_API void php_libxml_issue_error(int level, const char *msg TSRMLS_DC);
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_debug.c59 unsigned int level, const char * type, const char * message)
75 if (level == -1) {
76 level = zend_stack_count(&self->call_stack);
78 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
128 snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level);
155 unsigned int level, const char * type,
173 if (level == -1) {
174 level = zend_stack_count(&self->call_stack);
176 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
226 snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level);
[all...]
/PHP_5_6/ext/standard/
H A Dphp_var.h35 PHPAPI void php_var_dump(zval **struc, int level TSRMLS_DC);
36 PHPAPI void php_var_export(zval **struc, int level TSRMLS_DC);
37 PHPAPI void php_var_export_ex(zval **struc, int level, smart_str *buf TSRMLS_DC);
39 PHPAPI void php_debug_zval_dump(zval **struc, int level TSRMLS_DC);
57 /* fprintf(stderr, "SERIALIZE_INIT == lock: %u, level: %u\n", BG(serialize_lock), BG(serialize).level); */ \
58 if (BG(serialize_lock) || !BG(serialize).level) { \
63 BG(serialize).level = 1; \
67 ++BG(serialize).level; \
73 /* fprintf(stderr, "SERIALIZE_DESTROY == lock: %u, level
[all...]
H A Dvar.c40 int level; local
42 level = va_arg(args, int);
45 php_printf("%*c[%ld]=>\n", level + 1, ' ', hash_key->h);
47 php_printf("%*c[\"", level + 1, ' ');
51 php_var_dump(zv, level + 2 TSRMLS_CC);
58 int level; local
61 level = va_arg(args, int);
64 php_printf("%*c[%ld]=>\n", level + 1, ' ', hash_key->h);
67 php_printf("%*c[", level + 1, ' ');
82 php_var_dump(zv, level
191 int level; local
215 int level; local
346 int level; local
383 int level; local
416 php_var_export_ex(zval **struc, int level, smart_str *buf TSRMLS_DC) argument
[all...]
/PHP_5_6/ext/xml/
H A Dphp_xml.h80 int level; member in struct:__anon287
H A Dxml.c431 for (inx = 0; ((inx < parser->level) && (inx < XML_MAXLEVEL)); inx++)
781 parser->level++;
808 if (parser->level <= XML_MAXLEVEL) {
822 add_assoc_long(tag,"level",parser->level);
824 parser->ltags[parser->level-1] = estrdup(tag_name);
848 } else if (parser->level == (XML_MAXLEVEL + 1)) {
893 add_assoc_long(tag,"level",parser->level);
903 if ((parser->ltags) && (parser->level <
[all...]
/PHP_5_6/ext/zlib/
H A Dzlib.c305 static int php_zlib_encode(const char *in_buf, size_t in_len, char **out_buf, size_t *out_len, int encoding, int level TSRMLS_DC)
314 if (Z_OK == (status = deflateInit2(&Z, level, Z_DEFLATED, encoding, MAX_MEM_LEVEL, Z_DEFAULT_STRATEGY))) {
637 long level = -1; \
640 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &in_buf, &in_len, &level, &encoding)) { \
644 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|l", &in_buf, &in_len, &encoding, &level)) { \
648 if (level < -1 || level > 9) { \
649 php_error_docref(NULL TSRMLS_CC, E_WARNING, "compression level (%ld) must be within -1..9", level); \
661 if (SUCCESS != php_zlib_encode(in_buf, in_len, &out_buf, &out_len, encoding, level TSRMLS_C
[all...]
/PHP_5_6/main/
H A Doutput.c376 * Get output buffering level, ie. how many output handlers the stack contains */
449 * Start a user level output handler */
484 * Create a user level output handler */
575 /* zend_stack_push never returns SUCCESS but FAILURE or stack level */
576 if (FAILURE == (handler->level = zend_stack_push(&OG(handlers), &handler, sizeof(php_output_handler *)))) {
697 *(int *) arg = OG(running)->level;
1131 if (handler->level) {
1140 if (!handler->level) {
1145 if (handler->level) {
1204 add_assoc_long(entry, "level", (lon
[all...]
/PHP_5_6/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;
/PHP_5_6/ext/spl/
H A Dspl_iterators.c106 int level; member in struct:_spl_recursive_it_object
149 (var) = (object)->iterators[(object)->level].element; \
161 while (object->level > 0) {
162 sub_iter = object->iterators[object->level].iterator;
164 zval_ptr_dtor(&object->iterators[object->level--].zobject);
167 object->level = 0;
176 int level = object->level; local
181 while (level >=0) {
182 sub_iter = object->iterators[level]
695 long level = object->level; local
874 long level = object->level; local
1019 int level; local
[all...]

Completed in 36 milliseconds

123