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

123

/PHP_TRUNK/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_TRUNK/ext/spl/examples/
H A Drecursivecomparedualiterator.inc20 * level we need to check whether both child iterators are at their end.
/PHP_TRUNK/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_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
/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 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 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);
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 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 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...]
/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;
/PHP_TRUNK/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_TRUNK/ext/mysqlnd/
H A Dmysqlnd_debug.c60 unsigned int level, const char * type, const char * message)
76 if (level == -1) {
77 level = zend_stack_count(&self->call_stack);
79 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
129 snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level);
156 unsigned int level, const char * type,
174 if (level == -1) {
175 level = zend_stack_count(&self->call_stack);
177 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
227 snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level);
[all...]
/PHP_TRUNK/ext/xml/
H A Dphp_xml.h80 int level; member in struct:__anon280
H A Dxml.c400 for (inx = 0; ((inx < parser->level) && (inx < XML_MAXLEVEL)); inx++)
720 parser->level++;
748 if (parser->level <= XML_MAXLEVEL) {
759 add_assoc_long(&tag, "level", parser->level);
761 parser->ltags[parser->level-1] = estrdup(tag_name->val);
788 } else if (parser->level == (XML_MAXLEVEL + 1)) {
830 add_assoc_long(&tag, "level", parser->level);
840 if ((parser->ltags) && (parser->level <
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib.c307 static zend_string *php_zlib_encode(const char *in_buf, size_t in_len, int encoding, int level TSRMLS_DC)
317 if (Z_OK == (status = deflateInit2(&Z, level, Z_DEFLATED, encoding, MAX_MEM_LEVEL, Z_DEFAULT_STRATEGY))) {
634 zend_long level = -1; \
637 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|ll", &in, &level, &encoding)) { \
641 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Sl|l", &in, &encoding, &level)) { \
645 if (level < -1 || level > 9) { \
646 php_error_docref(NULL TSRMLS_CC, E_WARNING, "compression level (%pd) must be within -1..9", level); \
658 if ((out = php_zlib_encode(in->val, in->len, encoding, level TSRMLS_C
[all...]
/PHP_TRUNK/main/
H A Doutput.c382 * Get output buffering level, ie. how many output handlers the stack contains */
455 * Start a user level output handler */
490 * Create a user level output handler */
583 /* zend_stack_push returns stack level */
584 handler->level = zend_stack_push(&OG(handlers), &handler);
700 *(int *) arg = OG(running)->level;
1131 if (handler->level) {
1140 if (!handler->level) {
1145 if (handler->level) {
1202 add_assoc_long(entry, "level", (zend_lon
[all...]
/PHP_TRUNK/ext/libxml/
H A Dphp_libxml.h108 PHP_LIBXML_API void php_libxml_issue_error(int level, const char *msg TSRMLS_DC);
/PHP_TRUNK/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);
63 /* fprintf(stderr, "SERIALIZE_INIT == lock: %u, level: %u\n", BG(serialize_lock), BG(serialize).level); */ \
64 if (BG(serialize_lock) || !BG(serialize).level) { \
70 BG(serialize).level = 1; \
74 ++BG(serialize).level; \
80 /* fprintf(stderr, "SERIALIZE_DESTROY == lock: %u, level
[all...]
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...]
/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...]

Completed in 83 milliseconds

123