Lines Matching refs:val
260 xmlNodePtr val = NULL; in parse_packet_soap() local
298 val = cur; in parse_packet_soap()
300 val = get_node(cur->children, param->paramName); in parse_packet_soap()
302 if (val == NULL) { in parse_packet_soap()
303 val = get_node(cur->children, "return"); in parse_packet_soap()
305 if (val == NULL) { in parse_packet_soap()
306 val = get_node(cur->children, "result"); in parse_packet_soap()
308 if (val == NULL && cur->children && cur->children->next == NULL) { in parse_packet_soap()
309 val = cur->children; in parse_packet_soap()
315 if (!val) { in parse_packet_soap()
326 master_to_zval(&tmp, param->encode, val); in parse_packet_soap()
328 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
338 xmlNodePtr val; in parse_packet_soap() local
339 val = resp->children; in parse_packet_soap()
340 while (val != NULL) { in parse_packet_soap()
341 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap()
342 val = val->next; in parse_packet_soap()
344 if (val != NULL) { in parse_packet_soap()
345 if (!node_is_equal_ex(val,"result",RPC_SOAP12_NAMESPACE)) { in parse_packet_soap()
349 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
350 if (val->name) { in parse_packet_soap()
351 …if ((arr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)… in parse_packet_soap()
353 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap()
358 add_assoc_zval(return_value, (char*)val->name, &arr); in parse_packet_soap()
360 add_assoc_zval(return_value, (char*)val->name, &tmp); in parse_packet_soap()
367 val = val->next; in parse_packet_soap()
397 zval val; in parse_packet_soap() local
414 master_to_zval(&val, enc, trav); in parse_packet_soap()
415 add_assoc_zval(soap_headers, (char*)trav->name, &val); in parse_packet_soap()