Lines Matching refs:val
261 xmlNodePtr val = NULL; in parse_packet_soap() local
299 val = cur; in parse_packet_soap()
301 val = get_node(cur->children, param->paramName); in parse_packet_soap()
303 if (val == NULL) { in parse_packet_soap()
304 val = get_node(cur->children, "return"); in parse_packet_soap()
306 if (val == NULL) { in parse_packet_soap()
307 val = get_node(cur->children, "result"); in parse_packet_soap()
309 if (val == NULL && cur->children && cur->children->next == NULL) { in parse_packet_soap()
310 val = cur->children; in parse_packet_soap()
316 if (!val) { in parse_packet_soap()
327 master_to_zval(&tmp, param->encode, val); in parse_packet_soap()
329 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
339 xmlNodePtr val; in parse_packet_soap() local
340 val = resp->children; in parse_packet_soap()
341 while (val != NULL) { in parse_packet_soap()
342 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap()
343 val = val->next; in parse_packet_soap()
345 if (val != NULL) { in parse_packet_soap()
346 if (!node_is_equal_ex(val,"result",RPC_SOAP12_NAMESPACE)) { in parse_packet_soap()
350 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
351 if (val->name) { in parse_packet_soap()
352 …if ((arr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)… in parse_packet_soap()
354 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap()
359 add_assoc_zval(return_value, (char*)val->name, &arr); in parse_packet_soap()
361 add_assoc_zval(return_value, (char*)val->name, &tmp); in parse_packet_soap()
368 val = val->next; in parse_packet_soap()
398 zval val; in parse_packet_soap() local
415 master_to_zval(&val, enc, trav); in parse_packet_soap()
416 add_assoc_zval(soap_headers, (char*)trav->name, &val); in parse_packet_soap()