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

/PHP_TRUNK/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_TRUNK/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_TRUNK/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_TRUNK/ext/mbstring/oniguruma/
H A Dregcomp.c5791 Indent(FILE* f, int indent) argument
5794 for (i = 0; i < indent; i++) putc(' ', f);
6082 print_indent_tree(FILE* f, Node* node, int indent) argument
6088 Indent(f, indent);
6103 print_indent_tree(f, NCAR(node), indent + add);
6109 print_indent_tree(f, NCAR(node), indent + add);
6211 print_indent_tree(f, NQTFR(node)->target, indent + add);
6231 print_indent_tree(f, NENCLOSE(node)->target, indent + add);
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c391 ZEND_ARG_INFO(0, indent)
3349 /* {{{ proto string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed [, int indent]]]])
3361 zend_long indent = 0; local
3367 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) {
3397 ret = mbfl_mime_header_encode(&string, &result, charset, transenc, linefeed, indent);
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c173 ZEND_ARG_INFO(0, indent)
177 ZEND_ARG_INFO(0, indent)
764 /* {{{ proto bool xmlwriter_set_indent(resource xmlwriter, bool indent)
772 zend_bool indent; local
777 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &indent) == FAILURE) {
782 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rb", &pind, &indent) == FAILURE) {
791 retval = xmlTextWriterSetIndent(ptr, indent);
/PHP_TRUNK/Zend/
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
140 for (i = 0; i < indent; i++) {
144 indent += PRINT_ZVAL_INDENT;
152 for (i = 0; i < indent; i++) {
181 zend_print_zval_r_ex(write_func, tmp, indent+PRINT_ZVAL_INDENT TSRMLS_CC);
184 indent -= PRINT_ZVAL_INDENT;
185 for (i = 0; i < indent; i++) {
226 ZEND_API size_t zend_print_zval(zval *expr, int indent TSRMLS_DC) /* {{{ */
228 return zend_print_zval_ex(zend_write, expr, indent TSRMLS_CC);
232 ZEND_API size_t zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent TSRMLS_D
[all...]
H A Dzend.h231 ZEND_API size_t zend_print_zval(zval *expr, int indent TSRMLS_DC);
232 ZEND_API size_t zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent TSRMLS_DC);
233 ZEND_API void zend_print_zval_r(zval *expr, int indent TSRMLS_DC);
235 ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int indent TSRMLS_DC);
328 * indent-tabs-mode: t
H A Dzend_builtin_functions.c2114 int indent = 0; local
2245 zend_printf("#%-2d ", indent);
2282 ++indent;
2586 * indent-tabs-mode: t
/PHP_TRUNK/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);
956 char *indent = va_arg(args, char *); local
993 char *indent = va_arg(args, char *); local
1013 char *indent = va_arg(args, char *); local
[all...]
/PHP_TRUNK/win32/build/
H A Dconfutils.js270 function word_wrap_and_indent(indent, text, line_suffix, indent_char)
292 for (i = 0; i < indent; i++) {
303 if (t.length + indent > 78) {

Completed in 57 milliseconds