Lines Matching refs:buf

49 static void function_to_string(sdlFunctionPtr function, smart_str *buf);
50 static void type_to_string(sdlTypePtr type, smart_str *buf, int level);
1500 xmlChar *buf; local
1935 xmlDocDumpMemory(doc_return, &buf, &size);
1955 php_write(buf, size TSRMLS_CC);
1956 xmlFree(buf);
2067 xmlChar *buf; local
2078 xmlDocDumpMemory(doc_return, &buf, &size);
2106 php_write(buf, size TSRMLS_CC);
2109 xmlFree(buf);
2557 char *buf; local
2566 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size);
2567 if (!buf) {
2574 add_property_stringl(this_ptr, "__last_request", buf, buf_size, 1);
2580 ZVAL_STRINGL(params[0], buf, buf_size, 1);
2616 xmlFree(buf);
2978 smart_str buf = {0}; local
2984 function_to_string((*function), &buf);
2985 add_next_index_stringl(return_value, buf.c, buf.len, 1);
2986 smart_str_free(&buf);
3009 smart_str buf = {0}; local
3015 type_to_string((*type), &buf, 0);
3016 add_next_index_stringl(return_value, buf.c, buf.len, 1);
3017 smart_str_free(&buf);
3106 char *buf, *location, *action; local
3112 &buf, &buf_size,
3122 …if (make_http_soap_request(this_ptr, buf, buf_size, location, action, version, NULL, NULL TSRMLS_C…
3125 } else if (make_http_soap_request(this_ptr, buf, buf_size, location, action, version,
4605 static void function_to_string(sdlFunctionPtr function, smart_str *buf) argument
4617 …smart_str_appendl(buf, (*param)->encode->details.type_str, strlen((*param)->encode->details.type_s…
4618 smart_str_appendc(buf, ' ');
4620 smart_str_appendl(buf, "UNKNOWN ", 8);
4624 smart_str_appendl(buf, "list(", 5);
4628 smart_str_appendl(buf, ", ", 2);
4631 …smart_str_appendl(buf, (*param)->encode->details.type_str, strlen((*param)->encode->details.type_s…
4633 smart_str_appendl(buf, "UNKNOWN", 7);
4635 smart_str_appendl(buf, " $", 2);
4636 smart_str_appendl(buf, (*param)->paramName, strlen((*param)->paramName));
4640 smart_str_appendl(buf, ") ", 2);
4643 smart_str_appendl(buf, "void ", 5);
4646 smart_str_appendl(buf, function->functionName, strlen(function->functionName));
4648 smart_str_appendc(buf, '(');
4654 smart_str_appendl(buf, ", ", 2);
4657 …smart_str_appendl(buf, (*param)->encode->details.type_str, strlen((*param)->encode->details.type_s…
4659 smart_str_appendl(buf, "UNKNOWN", 7);
4661 smart_str_appendl(buf, " $", 2);
4662 smart_str_appendl(buf, (*param)->paramName, strlen((*param)->paramName));
4667 smart_str_appendc(buf, ')');
4668 smart_str_0(buf);
4671 static void model_to_string(sdlContentModelPtr model, smart_str *buf, int level) argument
4677 type_to_string(model->u.element, buf, level);
4678 smart_str_appendl(buf, ";\n", 2);
4682 smart_str_appendc(buf, ' ');
4684 smart_str_appendl(buf, "<anyXML> any;\n", sizeof("<anyXML> any;\n")-1);
4693 model_to_string(*tmp, buf, level);
4699 model_to_string(model->u.group->model, buf, level);
4705 static void type_to_string(sdlTypePtr type, smart_str *buf, int level) argument
4714 smart_str_appendl(buf, spaces.c, spaces.len);
4719 smart_str_appendl(buf, type->encode->details.type_str, strlen(type->encode->details.type_str));
4720 smart_str_appendc(buf, ' ');
4722 smart_str_appendl(buf, "anyType ", sizeof("anyType ")-1);
4724 smart_str_appendl(buf, type->name, strlen(type->name));
4727 smart_str_appendl(buf, "list ", 5);
4728 smart_str_appendl(buf, type->name, strlen(type->name));
4732 smart_str_appendl(buf, " {", 2);
4735 smart_str_appendl(buf, (*item_type)->name, strlen((*item_type)->name));
4737 smart_str_appendc(buf, '}');
4741 smart_str_appendl(buf, "union ", 6);
4742 smart_str_appendl(buf, type->name, strlen(type->name));
4747 smart_str_appendl(buf, " {", 2);
4751 smart_str_appendc(buf, ',');
4754 smart_str_appendl(buf, (*item_type)->name, strlen((*item_type)->name));
4757 smart_str_appendc(buf, '}');
4783 smart_str_appendl(buf, "anyType", sizeof("anyType")-1);
4785 smart_str_appendl(buf, (*ext)->val, len);
4787 smart_str_appendc(buf, ' ');
4788 smart_str_appendl(buf, type->name, strlen(type->name));
4790 smart_str_appends(buf, end);
4800 smart_str_appends(buf, (*ext)->val);
4801 smart_str_appendc(buf, ' ');
4808 smart_str_appends(buf, elementType->encode->details.type_str);
4809 smart_str_appendc(buf, ' ');
4811 smart_str_appendl(buf, "anyType ", 8);
4813 smart_str_appendl(buf, type->name, strlen(type->name));
4820 smart_str_appendc(buf, '[');
4821 smart_str_appends(buf, (*ext)->val);
4822 smart_str_appendc(buf, ']');
4824 smart_str_appendl(buf, "[]", 2);
4828 smart_str_appendl(buf, "struct ", 7);
4829 smart_str_appendl(buf, type->name, strlen(type->name));
4830 smart_str_appendc(buf, ' ');
4831 smart_str_appendl(buf, "{\n", 2);
4843 smart_str_appendl(buf, spaces.c, spaces.len);
4844 smart_str_appendc(buf, ' ');
4845 … smart_str_appendl(buf, type->encode->details.type_str, strlen(type->encode->details.type_str));
4846 smart_str_appendl(buf, " _;\n", 4);
4850 model_to_string(type->model, buf, level+1);
4857 smart_str_appendl(buf, spaces.c, spaces.len);
4858 smart_str_appendc(buf, ' ');
4860 smart_str_appends(buf, (*attr)->encode->details.type_str);
4861 smart_str_appendc(buf, ' ');
4863 smart_str_appendl(buf, "UNKNOWN ", 8);
4865 smart_str_appends(buf, (*attr)->name);
4866 smart_str_appendl(buf, ";\n", 2);
4870 smart_str_appendl(buf, spaces.c, spaces.len);
4871 smart_str_appendc(buf, '}');
4878 smart_str_0(buf);