Home
last modified time | relevance | path

Searched refs:xml_ctx (Results 1 – 25 of 34) sorted by relevance

12

/dports/net/liblinphone/linphone-3.12.0/coreapi/
H A Dxml.c61 int linphone_create_xml_xpath_context(xmlparsing_context_t *xml_ctx) { in linphone_create_xml_xpath_context() argument
62 if (xml_ctx->xpath_ctx != NULL) { in linphone_create_xml_xpath_context()
63 xmlXPathFreeContext(xml_ctx->xpath_ctx); in linphone_create_xml_xpath_context()
65 xml_ctx->xpath_ctx = xmlXPathNewContext(xml_ctx->doc); in linphone_create_xml_xpath_context()
66 if (xml_ctx->xpath_ctx == NULL) return -1; in linphone_create_xml_xpath_context()
72 xml_ctx->xpath_ctx->node = node; in linphone_xml_xpath_context_set_node()
87 text = xmlNodeListGetString(xml_ctx->doc, node->children, 1); in linphone_get_xml_text_content()
129 return xmlXPathEvalExpression((const xmlChar *)xpath_expression, xml_ctx->xpath_ctx); in linphone_get_xml_xpath_object_for_node_list()
132 void linphone_xml_xpath_context_init_carddav_ns(xmlparsing_context_t *xml_ctx) { in linphone_xml_xpath_context_init_carddav_ns() argument
133 if (xml_ctx && xml_ctx->xpath_ctx) { in linphone_xml_xpath_context_init_carddav_ns()
[all …]
H A Dcarddav.c176 if (xml_ctx->doc != NULL) { in parse_vcards_from_xml_response()
178 linphone_xml_xpath_context_init_carddav_ns(xml_ctx); in parse_vcards_from_xml_response()
187 xml_ctx->xpath_ctx->node = response_node; in parse_vcards_from_xml_response()
209 linphone_xmlparsing_context_destroy(xml_ctx); in parse_vcards_from_xml_response()
272 if (xml_ctx->doc != NULL) { in parse_vcards_etags_from_xml_response()
274 linphone_xml_xpath_context_init_carddav_ns(xml_ctx); in parse_vcards_etags_from_xml_response()
283 xml_ctx->xpath_ctx->node = response_node; in parse_vcards_etags_from_xml_response()
302 linphone_xmlparsing_context_destroy(xml_ctx); in parse_vcards_etags_from_xml_response()
322 if (xml_ctx->doc != NULL) { in parse_ctag_value_from_xml_response()
325 linphone_xml_xpath_context_init_carddav_ns(xml_ctx); in parse_ctag_value_from_xml_response()
[all …]
H A Dpresence.c1206 lang = linphone_get_xml_text_content(xml_ctx, xpath_str); in process_pidf_xml_presence_service_notes()
1353 lang = linphone_get_xml_text_content(xml_ctx, xpath_str); in process_pidf_xml_presence_person_notes()
1465 if (linphone_create_xml_xpath_context(xml_ctx) < 0) in process_pidf_xml_presence_notification()
1473 err = process_pidf_xml_presence_services(xml_ctx, model); in process_pidf_xml_presence_notification()
1475 err = process_pidf_xml_presence_persons(xml_ctx, model); in process_pidf_xml_presence_notification()
1478 err = process_pidf_xml_presence_notes(xml_ctx, model); in process_pidf_xml_presence_notification()
1582 xmlparsing_context_t *xml_ctx; in linphone_notify_parse_presence() local
1591 xml_ctx = linphone_xmlparsing_context_new(); in linphone_notify_parse_presence()
1594 if (xml_ctx->doc != NULL) { in linphone_notify_parse_presence()
1595 model = process_pidf_xml_presence_notification(xml_ctx); in linphone_notify_parse_presence()
[all …]
H A Dxmlrpc.c194 xmlparsing_context_t *xml_ctx = linphone_xmlparsing_context_new(); in parse_valid_xml_rpc_response() local
195 xmlSetGenericErrorFunc(xml_ctx, linphone_xmlparsing_genericxml_error); in parse_valid_xml_rpc_response()
197 xml_ctx->doc = xmlReadDoc((const unsigned char*)response_body, 0, NULL, 0); in parse_valid_xml_rpc_response()
198 if (xml_ctx->doc != NULL) { in parse_valid_xml_rpc_response()
200 if (linphone_create_xml_xpath_context(xml_ctx) < 0) goto end; in parse_valid_xml_rpc_response()
203 response_str = linphone_get_xml_text_content(xml_ctx, "/methodResponse/params/param/value/int"); in parse_valid_xml_rpc_response()
210 …response_str = linphone_get_xml_text_content(xml_ctx, "/methodResponse/params/param/value/string"); in parse_valid_xml_rpc_response()
221 ms_warning("Wrongly formatted XML-RPC response: %s", xml_ctx->errorBuffer); in parse_valid_xml_rpc_response()
224 linphone_xmlparsing_context_destroy(xml_ctx); in parse_valid_xml_rpc_response()
H A Dchat.c794 if (linphone_create_xml_xpath_context(xml_ctx) < 0) in process_im_is_composing_notification()
797 xmlXPathRegisterNs(xml_ctx->xpath_ctx, (const xmlChar *)"xsi", in process_im_is_composing_notification()
804 state_str = linphone_get_xml_text_content(xml_ctx, xpath_str); in process_im_is_composing_notification()
844 if (xml_ctx->doc != NULL) { in linphone_chat_room_notify_is_composing()
845 process_im_is_composing_notification(cr, xml_ctx); in linphone_chat_room_notify_is_composing()
849 linphone_xmlparsing_context_destroy(xml_ctx); in linphone_chat_room_notify_is_composing()
868 if (linphone_create_xml_xpath_context(xml_ctx) < 0) in process_imdn()
871 xmlXPathRegisterNs(xml_ctx->xpath_ctx, (const xmlChar *)"imdn", in process_imdn()
928 if (xml_ctx->doc != NULL) { in linphone_chat_room_notify_imdn()
929 process_imdn(cr, xml_ctx); in linphone_chat_room_notify_imdn()
[all …]
H A Dlime.c584 xmlparsing_context_t *xml_ctx; in lime_decryptMultipartMessage() local
605 xml_ctx = linphone_xmlparsing_context_new(); in lime_decryptMultipartMessage()
606 xmlSetGenericErrorFunc(xml_ctx, linphone_xmlparsing_genericxml_error); in lime_decryptMultipartMessage()
607 xml_ctx->doc = xmlReadDoc((const unsigned char*)message, 0, NULL, 0); in lime_decryptMultipartMessage()
608 if (xml_ctx->doc == NULL) { in lime_decryptMultipartMessage()
614 if (linphone_create_xml_xpath_context(xml_ctx) < 0) { in lime_decryptMultipartMessage()
621 peerZidHex = linphone_get_xml_text_content(xml_ctx, "/doc/ZID"); in lime_decryptMultipartMessage()
642 currentZidHex = linphone_get_xml_text_content(xml_ctx, xpath_str); in lime_decryptMultipartMessage()
646 sessionIndexHex = linphone_get_xml_text_content(xml_ctx, xpath_str); in lime_decryptMultipartMessage()
651 encryptedMessageb64 = linphone_get_xml_text_content(xml_ctx, xpath_str); in lime_decryptMultipartMessage()
[all …]
H A Dfriendlist.c201 xmlparsing_context_t *xml_ctx = linphone_xmlparsing_context_new(); in linphone_friend_list_parse_multipart_related_body() local
202 xmlSetGenericErrorFunc(xml_ctx, linphone_xmlparsing_genericxml_error); in linphone_friend_list_parse_multipart_related_body()
203 xml_ctx->doc = xmlReadDoc((const unsigned char*)first_part_body, 0, NULL, 0); in linphone_friend_list_parse_multipart_related_body()
204 if (xml_ctx->doc != NULL) { in linphone_friend_list_parse_multipart_related_body()
215 if (linphone_create_xml_xpath_context(xml_ctx) < 0) goto end; in linphone_friend_list_parse_multipart_related_body()
218 version_str = linphone_get_xml_attribute_text_content(xml_ctx, "/rlmi:list", "version"); in linphone_friend_list_parse_multipart_related_body()
229 full_state_str = linphone_get_xml_attribute_text_content(xml_ctx, "/rlmi:list", "fullState"); in linphone_friend_list_parse_multipart_related_body()
254 cid = linphone_get_xml_text_content(xml_ctx, "./rlmi:instance/@cid"); in linphone_friend_list_parse_multipart_related_body()
265 uri = linphone_get_xml_text_content(xml_ctx, "./@uri"); in linphone_friend_list_parse_multipart_related_body()
339 ms_warning("Wrongly formatted rlmi+xml body: %s", xml_ctx->errorBuffer); in linphone_friend_list_parse_multipart_related_body()
[all …]
/dports/www/libdom/libdom-0.4.1/bindings/xml/
H A Dlibxml_xmlparser.c183 parser->xml_ctx = in dom_xml_parser_create()
185 if (parser->xml_ctx == NULL) { in dom_xml_parser_create()
195 xmlFreeParserCtxt(parser->xml_ctx); in dom_xml_parser_create()
205 xmlFreeParserCtxt(parser->xml_ctx); in dom_xml_parser_create()
221 xmlFreeParserCtxt(parser->xml_ctx); in dom_xml_parser_create()
247 xmlFreeDoc(parser->xml_ctx->myDoc); in dom_xml_parser_destroy()
249 xmlFreeParserCtxt(parser->xml_ctx); in dom_xml_parser_destroy()
310 xmlSAX2StartDocument(parser->xml_ctx); in xml_parser_start_document()
314 (xmlNodePtr) parser->xml_ctx->myDoc); in xml_parser_start_document()
334 xmlSAX2EndDocument(parser->xml_ctx); in xml_parser_end_document()
[all …]
/dports/ftp/lftp/lftp-4.9.2/src/
H A DHttpDirXML.cc202 xml_ctx=new xml_context; in ParsePropsFormat()
203 xml_ctx->set_base_dir(curr_url->path); in ParsePropsFormat()
204 XML_SetUserData(xml_p,xml_ctx); in ParsePropsFormat()
216 if(!xml_ctx->fs) in ParsePropsFormat()
218 xml_ctx->fs->rewind(); in ParsePropsFormat()
221 FileInfo *info=xml_ctx->fs->curr(); in ParsePropsFormat()
234 xml_ctx->fs->next(); in ParsePropsFormat()
236 xml_ctx->fs->Empty(); in ParsePropsFormat()
242 delete xml_ctx; in ParsePropsFormat()
243 xml_ctx=0; in ParsePropsFormat()
H A DHttpDir.h54 struct xml_context *xml_ctx; variable
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/lib/scanner/xml-scanner/
H A Dxml-scanner.c230 g_markup_parse_context_push(self->xml_ctx, &skip, NULL); in xml_scanner_start_element_method()
262 g_markup_parse_context_pop(self->xml_ctx); in xml_scanner_end_element_method()
346 self->xml_ctx = g_markup_parse_context_new(&scanner_callbacks, 0, self, NULL); in xml_scanner_parse()
347 g_markup_parse_context_parse(self->xml_ctx, input, input_len, error); in xml_scanner_parse()
350 g_markup_parse_context_end_parse(self->xml_ctx, error); in xml_scanner_parse()
354 g_markup_parse_context_free(self->xml_ctx); in xml_scanner_parse()
355 self->xml_ctx = NULL; in xml_scanner_parse()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/
H A Dswitch_ivr_menu.c708 static switch_ivr_menu_xml_map_t *switch_ivr_menu_stack_xml_find(switch_ivr_menu_xml_ctx_t *xml_ctx in switch_ivr_menu_stack_xml_find() argument
710 switch_ivr_menu_xml_map_t *map = (xml_ctx != NULL ? xml_ctx->map : NULL); in switch_ivr_menu_stack_xml_find()
720 static switch_status_t switch_ivr_menu_stack_xml_add(switch_ivr_menu_xml_ctx_t *xml_ctx, const char… in switch_ivr_menu_stack_xml_add() argument
726 …if (xml_ctx != NULL && name != NULL && xml_ctx->pool != NULL && switch_ivr_menu_stack_xml_find(xml… in switch_ivr_menu_stack_xml_add()
727 …switch_ivr_menu_xml_map_t *map = switch_core_alloc(xml_ctx->pool, sizeof(switch_ivr_menu_xml_map_t… in switch_ivr_menu_stack_xml_add()
730 map->name = switch_core_strdup(xml_ctx->pool, name); in switch_ivr_menu_stack_xml_add()
736 map->next = xml_ctx->map; in switch_ivr_menu_stack_xml_add()
737 xml_ctx->map = map; in switch_ivr_menu_stack_xml_add()
/dports/devel/git-svn/git-2.34.1/
H A Dhttp-push.c137 struct xml_ctx { struct
141 void (*userFunc)(struct xml_ctx *ctx, int tag_closed); argument
732 static void handle_lockprop_ctx(struct xml_ctx *ctx, int tag_closed) in handle_lockprop_ctx()
751 static void handle_new_lock_ctx(struct xml_ctx *ctx, int tag_closed) in handle_new_lock_ctx()
782 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_start_tag()
808 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_end_tag()
826 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_cdata()
842 struct xml_ctx ctx; in lock_remote()
1056 static void handle_remote_ls_ctx(struct xml_ctx *ctx, int tag_closed) in handle_remote_ls_ctx()
1125 struct xml_ctx ctx; in remote_ls()
[all …]
/dports/devel/git-gui/git-2.34.1/
H A Dhttp-push.c137 struct xml_ctx { struct
141 void (*userFunc)(struct xml_ctx *ctx, int tag_closed); argument
732 static void handle_lockprop_ctx(struct xml_ctx *ctx, int tag_closed) in handle_lockprop_ctx()
751 static void handle_new_lock_ctx(struct xml_ctx *ctx, int tag_closed) in handle_new_lock_ctx()
782 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_start_tag()
808 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_end_tag()
826 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_cdata()
842 struct xml_ctx ctx; in lock_remote()
1056 static void handle_remote_ls_ctx(struct xml_ctx *ctx, int tag_closed) in handle_remote_ls_ctx()
1125 struct xml_ctx ctx; in remote_ls()
[all …]
/dports/devel/git-p4/git-2.34.1/
H A Dhttp-push.c137 struct xml_ctx { struct
141 void (*userFunc)(struct xml_ctx *ctx, int tag_closed); argument
732 static void handle_lockprop_ctx(struct xml_ctx *ctx, int tag_closed) in handle_lockprop_ctx()
751 static void handle_new_lock_ctx(struct xml_ctx *ctx, int tag_closed) in handle_new_lock_ctx()
782 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_start_tag()
808 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_end_tag()
826 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_cdata()
842 struct xml_ctx ctx; in lock_remote()
1056 static void handle_remote_ls_ctx(struct xml_ctx *ctx, int tag_closed) in handle_remote_ls_ctx()
1125 struct xml_ctx ctx; in remote_ls()
[all …]
/dports/devel/git/git-2.34.1/
H A Dhttp-push.c137 struct xml_ctx { struct
141 void (*userFunc)(struct xml_ctx *ctx, int tag_closed); argument
732 static void handle_lockprop_ctx(struct xml_ctx *ctx, int tag_closed) in handle_lockprop_ctx()
751 static void handle_new_lock_ctx(struct xml_ctx *ctx, int tag_closed) in handle_new_lock_ctx()
782 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_start_tag()
808 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_end_tag()
826 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_cdata()
842 struct xml_ctx ctx; in lock_remote()
1056 static void handle_remote_ls_ctx(struct xml_ctx *ctx, int tag_closed) in handle_remote_ls_ctx()
1125 struct xml_ctx ctx; in remote_ls()
[all …]
/dports/devel/git-cvs/git-2.34.1/
H A Dhttp-push.c137 struct xml_ctx { struct
141 void (*userFunc)(struct xml_ctx *ctx, int tag_closed); argument
732 static void handle_lockprop_ctx(struct xml_ctx *ctx, int tag_closed) in handle_lockprop_ctx()
751 static void handle_new_lock_ctx(struct xml_ctx *ctx, int tag_closed) in handle_new_lock_ctx()
782 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_start_tag()
808 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_end_tag()
826 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_cdata()
842 struct xml_ctx ctx; in lock_remote()
1056 static void handle_remote_ls_ctx(struct xml_ctx *ctx, int tag_closed) in handle_remote_ls_ctx()
1125 struct xml_ctx ctx; in remote_ls()
[all …]
/dports/devel/cgit/cgit-1.2.3/git/
H A Dhttp-push.c136 struct xml_ctx { struct
140 void (*userFunc)(struct xml_ctx *ctx, int tag_closed); argument
739 static void handle_lockprop_ctx(struct xml_ctx *ctx, int tag_closed) in handle_lockprop_ctx()
758 static void handle_new_lock_ctx(struct xml_ctx *ctx, int tag_closed) in handle_new_lock_ctx()
789 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_start_tag()
815 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_end_tag()
833 struct xml_ctx *ctx = (struct xml_ctx *)userData; in xml_cdata()
849 struct xml_ctx ctx; in lock_remote()
1061 static void handle_remote_ls_ctx(struct xml_ctx *ctx, int tag_closed) in handle_remote_ls_ctx()
1130 struct xml_ctx ctx; in remote_ls()
[all …]
/dports/net/hostapd/hostapd-2.9/src/utils/
H A Dhttp-utils.h45 struct http_ctx * http_init_ctx(void *upper_ctx, struct xml_node_ctx *xml_ctx);
/dports/net/hostapd-devel/hostap-14ab4a816/src/utils/
H A Dhttp-utils.h45 struct http_ctx * http_init_ctx(void *upper_ctx, struct xml_node_ctx *xml_ctx);
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/src/utils/
H A Dhttp-utils.h45 struct http_ctx * http_init_ctx(void *upper_ctx, struct xml_node_ctx *xml_ctx);
/dports/security/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dhttp-utils.h45 struct http_ctx * http_init_ctx(void *upper_ctx, struct xml_node_ctx *xml_ctx);
/dports/net/wpa_supplicant_gui/wpa_supplicant-2.9/src/utils/
H A Dhttp-utils.h45 struct http_ctx * http_init_ctx(void *upper_ctx, struct xml_node_ctx *xml_ctx);
/dports/www/libapreq2/libapreq2-2.13/library/
H A Dparser.c271 struct xml_ctx { struct
285 struct xml_ctx *ctx = hook->ctx; in APREQ_DECLARE_HOOK() argument
/dports/www/p5-libapreq2/libapreq2-2.16/library/
H A Dparser.c271 struct xml_ctx { struct
285 struct xml_ctx *ctx = hook->ctx; in APREQ_DECLARE_HOOK() argument

12