Lines Matching refs:buf

48 static void function_to_string(sdlFunctionPtr function, smart_str *buf);
49 static void type_to_string(sdlTypePtr type, smart_str *buf, int level);
1493 xmlChar *buf; local
1905 xmlDocDumpMemory(doc_return, &buf, &size);
1925 php_write(buf, size);
1926 xmlFree(buf);
2037 xmlChar *buf; local
2048 xmlDocDumpMemory(doc_return, &buf, &size);
2076 php_write(buf, size);
2079 xmlFree(buf);
2496 char *buf; local
2506 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size);
2507 if (!buf) {
2515 add_property_stringl(this_ptr, "__last_request", buf, buf_size);
2519 ZVAL_STRINGL(&params[0], buf, buf_size);
2563 xmlFree(buf);
2925 smart_str buf = {0}; local
2930 function_to_string(function, &buf);
2931 add_next_index_stringl(return_value, ZSTR_VAL(buf.s), ZSTR_LEN(buf.s));
2932 smart_str_free(&buf);
2953 smart_str buf = {0}; local
2958 type_to_string(type, &buf, 0);
2959 add_next_index_stringl(return_value, ZSTR_VAL(buf.s), ZSTR_LEN(buf.s));
2960 smart_str_free(&buf);
3048 zend_string *buf; local
3056 &buf,
3066 if (make_http_soap_request(this_ptr, buf, location, action, version, NULL)) {
3069 } else if (make_http_soap_request(this_ptr, buf, location, action, version,
4539 static void function_to_string(sdlFunctionPtr function, smart_str *buf) /* {{{ */ argument
4550 … smart_str_appendl(buf, param->encode->details.type_str, strlen(param->encode->details.type_str));
4551 smart_str_appendc(buf, ' ');
4553 smart_str_appendl(buf, "UNKNOWN ", 8);
4557 smart_str_appendl(buf, "list(", 5);
4560 smart_str_appendl(buf, ", ", 2);
4563 … smart_str_appendl(buf, param->encode->details.type_str, strlen(param->encode->details.type_str));
4565 smart_str_appendl(buf, "UNKNOWN", 7);
4567 smart_str_appendl(buf, " $", 2);
4568 smart_str_appendl(buf, param->paramName, strlen(param->paramName));
4571 smart_str_appendl(buf, ") ", 2);
4574 smart_str_appendl(buf, "void ", 5);
4577 smart_str_appendl(buf, function->functionName, strlen(function->functionName));
4579 smart_str_appendc(buf, '(');
4584 smart_str_appendl(buf, ", ", 2);
4587 … smart_str_appendl(buf, param->encode->details.type_str, strlen(param->encode->details.type_str));
4589 smart_str_appendl(buf, "UNKNOWN", 7);
4591 smart_str_appendl(buf, " $", 2);
4592 smart_str_appendl(buf, param->paramName, strlen(param->paramName));
4596 smart_str_appendc(buf, ')');
4597 smart_str_0(buf);
4601 static void model_to_string(sdlContentModelPtr model, smart_str *buf, int level) /* {{{ */ argument
4607 type_to_string(model->u.element, buf, level);
4608 smart_str_appendl(buf, ";\n", 2);
4612 smart_str_appendc(buf, ' ');
4614 smart_str_appendl(buf, "<anyXML> any;\n", sizeof("<anyXML> any;\n")-1);
4622 model_to_string(tmp, buf, level);
4627 model_to_string(model->u.group->model, buf, level);
4634 static void type_to_string(sdlTypePtr type, smart_str *buf, int level) /* {{{ */ argument
4643 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
4648 smart_str_appendl(buf, type->encode->details.type_str, strlen(type->encode->details.type_str));
4649 smart_str_appendc(buf, ' ');
4651 smart_str_appendl(buf, "anyType ", sizeof("anyType ")-1);
4653 smart_str_appendl(buf, type->name, strlen(type->name));
4656 smart_str_appendl(buf, "list ", 5);
4657 smart_str_appendl(buf, type->name, strlen(type->name));
4661 smart_str_appendl(buf, " {", 2);
4663 smart_str_appendl(buf, item_type->name, strlen(item_type->name));
4665 smart_str_appendc(buf, '}');
4669 smart_str_appendl(buf, "union ", 6);
4670 smart_str_appendl(buf, type->name, strlen(type->name));
4675 smart_str_appendl(buf, " {", 2);
4678 smart_str_appendc(buf, ',');
4681 smart_str_appendl(buf, item_type->name, strlen(item_type->name));
4683 smart_str_appendc(buf, '}');
4708 smart_str_appendl(buf, "anyType", sizeof("anyType")-1);
4710 smart_str_appendl(buf, ext->val, len);
4712 smart_str_appendc(buf, ' ');
4713 smart_str_appendl(buf, type->name, strlen(type->name));
4715 smart_str_appends(buf, end);
4724 smart_str_appends(buf, ext->val);
4725 smart_str_appendc(buf, ' ');
4731 smart_str_appends(buf, elementType->encode->details.type_str);
4732 smart_str_appendc(buf, ' ');
4734 smart_str_appendl(buf, "anyType ", 8);
4736 smart_str_appendl(buf, type->name, strlen(type->name));
4742 smart_str_appendc(buf, '[');
4743 smart_str_appends(buf, ext->val);
4744 smart_str_appendc(buf, ']');
4746 smart_str_appendl(buf, "[]", 2);
4750 smart_str_appendl(buf, "struct ", 7);
4751 smart_str_appendl(buf, type->name, strlen(type->name));
4752 smart_str_appendc(buf, ' ');
4753 smart_str_appendl(buf, "{\n", 2);
4766 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
4768 smart_str_appendc(buf, ' ');
4769 … smart_str_appendl(buf, type->encode->details.type_str, strlen(type->encode->details.type_str));
4770 smart_str_appendl(buf, " _;\n", 4);
4774 model_to_string(type->model, buf, level+1);
4781 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
4783 smart_str_appendc(buf, ' ');
4785 smart_str_appends(buf, attr->encode->details.type_str);
4786 smart_str_appendc(buf, ' ');
4788 smart_str_appendl(buf, "UNKNOWN ", 8);
4790 smart_str_appends(buf, attr->name);
4791 smart_str_appendl(buf, ";\n", 2);
4795 smart_str_appendl(buf, ZSTR_VAL(spaces.s), ZSTR_LEN(spaces.s));
4797 smart_str_appendc(buf, '}');
4804 smart_str_0(buf);