Searched refs:level (Results 1 - 25 of 56) 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.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/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/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;
/PHP_TRUNK/ext/libxml/
H A Dphp_libxml.h108 PHP_LIBXML_API void php_libxml_issue_error(int level, const char *msg);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_debug.c52 unsigned int level, const char * type, const char * message)
67 if (level == -1) {
68 level = zend_stack_count(&self->call_stack);
70 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
120 snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level);
147 unsigned int level, const char * type,
164 if (level == -1) {
165 level = zend_stack_count(&self->call_stack);
167 i = MIN(level, sizeof(pipe_buffer) / 2 - 1);
217 snprintf(level_buffer, sizeof(level_buffer) - 1, "%4u: ", level);
[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);
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 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, 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 Dsendrecvmsg.h15 int php_do_setsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *arg4);
16 int php_do_getsockopt_ipv6_rfc3542(php_socket *php_sock, int level, int optname, zval *result);
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 Dphp_var.h35 PHPAPI void php_var_dump(zval *struc, int level);
36 PHPAPI void php_var_export(zval *struc, int level);
37 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf);
39 PHPAPI void php_debug_zval_dump(zval *struc, int level);
64 /* fprintf(stderr, "SERIALIZE_INIT == lock: %u, level: %u\n", BG(serialize_lock), BG(serialize).level); */ \
65 if (BG(serialize_lock) || !BG(serialize).level) { \
71 BG(serialize).level = 1; \
75 ++BG(serialize).level; \
81 /* 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) /* {{{ */ 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...]
/PHP_TRUNK/ext/xml/
H A Dphp_xml.h80 int level; member in struct:__anon250
H A Dxml.c406 for (inx = 0; ((inx < parser->level) && (inx < XML_MAXLEVEL)); inx++)
725 parser->level++;
753 if (parser->level <= XML_MAXLEVEL) {
764 add_assoc_long(&tag, "level", parser->level);
766 parser->ltags[parser->level-1] = estrdup(tag_name->val);
793 } else if (parser->level == (XML_MAXLEVEL + 1)) {
834 add_assoc_long(&tag, "level", parser->level);
844 if ((parser->ltags) && (parser->level <
[all...]
/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...]
/PHP_TRUNK/main/
H A Doutput.c369 * Get output buffering level, ie. how many output handlers the stack contains */
442 * Start a user level output handler */
477 * Create a user level output handler */
570 /* zend_stack_push returns stack level */
571 handler->level = zend_stack_push(&OG(handlers), &handler);
687 *(int *) arg = OG(running)->level;
1118 if (handler->level) {
1127 if (!handler->level) {
1132 if (handler->level) {
1189 add_assoc_long(entry, "level", (zend_lon
[all...]

Completed in 39 milliseconds

123