Searched refs:indent (Results 1 - 13 of 13) sorted by relevance

/PHP_5_5/ext/tidy/examples/
H A Ddumpit5.php47 function do_leaf($string, $indent) {
48 for($i = 0; $i < $indent; $i++) {
54 function dump_tree(tidyNode $node, $indent = 0) {
61 do_leaf(" + $nodename (".node_type($node->type).")\n", $indent);
68 do_leaf(" |\n", $indent);
69 do_leaf(" +---- Value: '{$node->value}'\n", $indent);
73 do_leaf(" |\n", $indent);
74 do_leaf(" +---- Attributes\n", $indent);
77 @do_leaf(" +-- $name\n", $indent);
78 do_leaf(" | +-- Value: $value\n", $indent);
[all...]
/PHP_5_5/ext/xmlreader/examples/
H A Dxmlreader_relaxNG.php2 $indent = 5; /* Number of spaces to indent per level */ variable
12 /* Print node name indenting it based on depth and $indent var */
13 print str_repeat(" ", $reader->depth * $indent).$reader->name."\n";
H A Dxmlreader_validatedtd.php2 $indent = 5; /* Number of spaces to indent per level */ variable
9 /* Print node name indenting it based on depth and $indent var */
10 print str_repeat(" ", $xml->depth * $indent).$xml->name."\n";
13 print str_repeat(" ", $xml->depth * $indent)." Number of Attributes: ".$xml->attributeCount."\n";
/PHP_5_5/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h253 int indent);
H A Dmbfilter.c2346 int indent)
2370 if (indent > 0 && indent < 74) {
2371 pe->firstindent = indent;
2340 mbfl_mime_header_encode( mbfl_string *string, mbfl_string *result, enum mbfl_no_encoding outcode, enum mbfl_no_encoding encoding, const char *linefeed, int indent) argument
/PHP_5_5/ext/mbstring/oniguruma/
H A Dregcomp.c5792 Indent(FILE* f, int indent) argument
5795 for (i = 0; i < indent; i++) putc(' ', f);
6083 print_indent_tree(FILE* f, Node* node, int indent) argument
6089 Indent(f, indent);
6104 print_indent_tree(f, NCAR(node), indent + add);
6110 print_indent_tree(f, NCAR(node), indent + add);
6212 print_indent_tree(f, NQTFR(node)->target, indent + add);
6220 print_indent_tree(f, NENCLOSE(node)->target, indent + add);
6233 print_indent_tree(f, NENCLOSE(node)->target, indent + add);
/PHP_5_5/ext/xmlwriter/
H A Dphp_xmlwriter.c187 ZEND_ARG_INFO(0, indent)
191 ZEND_ARG_INFO(0, indent)
818 /* {{{ proto bool xmlwriter_set_indent(resource xmlwriter, bool indent)
826 zend_bool indent; local
832 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &indent) == FAILURE) {
839 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rb", &pind, &indent) == FAILURE) {
848 retval = xmlTextWriterSetIndent(ptr, indent);
/PHP_5_5/Zend/
H A Dzend.h646 ZEND_API int zend_print_zval(zval *expr, int indent);
647 ZEND_API int zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent);
648 ZEND_API void zend_print_zval_r(zval *expr, int indent TSRMLS_DC);
650 ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int indent TSRMLS_DC);
868 * indent-tabs-mode: t
H A Dzend_builtin_functions.c2070 int indent = 0; local
2186 zend_printf("#%-2d ", indent);
2219 ++indent;
2491 * indent-tabs-mode: t
H A Dzend.c133 static void print_hash(zend_write_func_t write_func, HashTable *ht, int indent, zend_bool is_object TSRMLS_DC) /* {{{ */ argument
142 for (i = 0; i < indent; i++) {
146 indent += PRINT_ZVAL_INDENT;
149 for (i = 0; i < indent; i++) {
183 zend_print_zval_r_ex(write_func, *tmp, indent+PRINT_ZVAL_INDENT TSRMLS_CC);
187 indent -= PRINT_ZVAL_INDENT;
188 for (i = 0; i < indent; i++) {
310 ZEND_API int zend_print_zval(zval *expr, int indent) /* {{{ */ argument
312 return zend_print_zval_ex(zend_write, expr, indent);
316 ZEND_API int zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent) /* {{{ */ argument
[all...]
/PHP_5_5/ext/mbstring/
H A Dmbstring.c392 ZEND_ARG_INFO(0, indent)
3302 /* {{{ proto string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed [, int indent]]]])
3314 long indent = 0; local
3320 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|sssl", (char **)&string.val, &string.len, &charset_name, &charset_name_len, &trans_enc_name, &trans_enc_name_len, &linefeed, &linefeed_len, &indent) == FAILURE) {
3350 ret = mbfl_mime_header_encode(&string, &result, charset, transenc, linefeed, indent);
/PHP_5_5/win32/build/
H A Dconfutils.js253 function word_wrap_and_indent(indent, text, line_suffix, indent_char)
275 for (i = 0; i < indent; i++) {
286 if (t.length + indent > 78) {
/PHP_5_5/ext/reflection/
H A Dphp_reflection.c349 static void _const_string(string *str, char *name, zval *value, char *indent TSRMLS_DC);
350 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC);
351 static void _property_string(string *str, zend_property_info *prop, char *prop_name, char* indent TSRMLS_DC);
352 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent TSRMLS_DC);
353 static void _extension_string(string *str, zend_module_entry *module, char *indent TSRMLS_DC);
354 static void _zend_extension_string(string *str, zend_extension *extension, char *indent TSRMLS_DC);
357 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent TSRMLS_DC)
363 string_printf(&sub_indent, "%s ", indent);
367 string_printf(str, "%s%s", indent, ce->info.user.doc_comment);
372 string_printf(str, "%sObject of class [ ", indent);
969 char *indent = va_arg(args, char *); local
1005 char *indent = va_arg(args, char *); local
1024 char *indent = va_arg(args, char *); local
[all...]

Completed in 51 milliseconds