Searched refs:indent (Results 1 - 14 of 14) 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.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
H A Dmbfilter.h253 int indent);
/PHP_TRUNK/Zend/
H A Dzend_ast.c482 static void zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent);
544 static void zend_ast_export_indent(smart_str *str, int indent) argument
546 while (indent > 0) {
548 indent--;
552 static void zend_ast_export_name(smart_str *str, zend_ast *ast, int priority, int indent) argument
562 zend_ast_export_ex(str, ast, priority, indent);
565 static void zend_ast_export_ns_name(smart_str *str, zend_ast *ast, int priority, int indent) argument
580 zend_ast_export_ex(str, ast, priority, indent);
622 static void zend_ast_export_var(smart_str *str, zend_ast *ast, int priority, int indent) argument
632 zend_ast_export_ex(str, ast, 0, indent);
640 zend_ast_export_list(smart_str *str, zend_ast_list *list, int separator, int priority, int indent) argument
653 zend_ast_export_encaps_list(smart_str *str, char quote, zend_ast_list *list, int indent) argument
682 zend_ast_export_name_list(smart_str *str, zend_ast_list *list, int indent) argument
695 zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) argument
712 zend_ast_export_stmt(smart_str *str, zend_ast *ast, int indent) argument
750 zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) argument
787 zend_ast_export_zval(smart_str *str, zval *zv, int priority, int indent) argument
891 zend_ast_export_ex(smart_str *str, zend_ast *ast, int priority, int indent) argument
1346 zend_ast_export_list(str, (zend_ast_list*)ast->child[0], 1, 0, indent); local
[all...]
H A Dzend.c162 static void print_hash(zend_write_func_t write_func, HashTable *ht, int indent, zend_bool is_object) /* {{{ */ argument
169 for (i = 0; i < indent; i++) {
173 indent += PRINT_ZVAL_INDENT;
181 for (i = 0; i < indent; i++) {
210 zend_print_zval_r_ex(write_func, tmp, indent+PRINT_ZVAL_INDENT);
213 indent -= PRINT_ZVAL_INDENT;
214 for (i = 0; i < indent; i++) {
255 ZEND_API size_t zend_print_zval(zval *expr, int indent) /* {{{ */ argument
257 return zend_print_zval_ex(zend_write, expr, indent);
261 ZEND_API size_t zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent) /* {{{ */ argument
321 zend_print_zval_r(zval *expr, int indent) argument
327 zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int indent) argument
[all...]
H A Dzend.h247 ZEND_API size_t zend_print_zval(zval *expr, int indent);
248 ZEND_API size_t zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent);
249 ZEND_API void zend_print_zval_r(zval *expr, int indent);
251 ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int indent);
346 * indent-tabs-mode: t
H A Dzend_builtin_functions.c2241 int indent = 0; local
2375 zend_printf("#%-2d ", indent);
2412 ++indent;
2715 * indent-tabs-mode: t
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregcomp.c5824 Indent(FILE* f, int indent) argument
5827 for (i = 0; i < indent; i++) putc(' ', f);
6115 print_indent_tree(FILE* f, Node* node, int indent) argument
6121 Indent(f, indent);
6136 print_indent_tree(f, NCAR(node), indent + add);
6142 print_indent_tree(f, NCAR(node), indent + add);
6244 print_indent_tree(f, NQTFR(node)->target, indent + add);
6264 print_indent_tree(f, NENCLOSE(node)->target, indent + add);
/PHP_TRUNK/win32/build/
H A Dconfutils.js271 function word_wrap_and_indent(indent, text, line_suffix, indent_char)
293 for (i = 0; i < indent; i++) {
304 if (t.length + indent > 78) {
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c384 ZEND_ARG_INFO(0, indent)
3357 /* {{{ proto string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed [, int indent]]]])
3369 zend_long indent = 0; local
3375 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|sssl", (char **)&string.val, &string.len, &charset_name, &charset_name_len, &trans_enc_name, &trans_enc_name_len, &linefeed, &linefeed_len, &indent) == FAILURE) {
3405 ret = mbfl_mime_header_encode(&string, &result, charset, transenc, linefeed, indent);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c350 static void _const_string(string *str, char *name, zval *value, char *indent);
351 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent);
352 static void _property_string(string *str, zend_property_info *prop, char *prop_name, char* indent);
353 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent);
354 static void _extension_string(string *str, zend_module_entry *module, char *indent);
355 static void _zend_extension_string(string *str, zend_extension *extension, char *indent);
358 static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent) argument
364 string_printf(&sub_indent, "%s ", indent);
368 string_printf(str, "%s%s", indent, ce->info.user.doc_comment);
373 string_printf(str, "%sObject of class [ ", indent);
610 _const_string(string *str, char *name, zval *value, char *indent) argument
642 _parameter_string(string *str, zend_function *fptr, struct _zend_arg_info *arg_info, uint32_t offset, uint32_t required, char* indent) argument
718 _function_parameter_string(string *str, zend_function *fptr, char* indent) argument
744 _function_closure_string(string *str, zend_function *fptr, char* indent) argument
772 _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent) argument
895 _property_string(string *str, zend_property_info *prop, char *prop_name, char* indent) argument
939 char *indent = va_arg(args, char *); local
976 char *indent = va_arg(args, char *); local
996 char *indent = va_arg(args, char *); local
1008 _extension_string(string *str, zend_module_entry *module, char *indent) argument
1059 zend_hash_apply_with_arguments(EG(ini_directives), (apply_func_args_t) _extension_ini_string, 3, &str_ini, indent, module->module_number); local
1073 zend_hash_apply_with_arguments(EG(zend_constants), (apply_func_args_t) _extension_const_string, 4, &str_constants, indent, module, &num_constants); local
1123 _zend_extension_string(string *str, zend_extension *extension, char *indent) argument
[all...]
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c173 ZEND_ARG_INFO(0, indent)
177 ZEND_ARG_INFO(0, indent)
768 /* {{{ proto bool xmlwriter_set_indent(resource xmlwriter, bool indent)
776 zend_bool indent; local
781 if (zend_parse_parameters(ZEND_NUM_ARGS(), "b", &indent) == FAILURE) {
786 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rb", &pind, &indent) == FAILURE) {
797 retval = xmlTextWriterSetIndent(ptr, indent);

Completed in 56 milliseconds