Lines Matching refs:val
258 xmlNodePtr val = NULL; in parse_packet_soap() local
296 val = cur; in parse_packet_soap()
298 val = get_node(cur->children, param->paramName); in parse_packet_soap()
300 if (val == NULL) { in parse_packet_soap()
301 val = get_node(cur->children, "return"); in parse_packet_soap()
303 if (val == NULL) { in parse_packet_soap()
304 val = get_node(cur->children, "result"); in parse_packet_soap()
306 if (val == NULL && cur->children && cur->children->next == NULL) { in parse_packet_soap()
307 val = cur->children; in parse_packet_soap()
313 if (!val) { in parse_packet_soap()
324 master_to_zval(&tmp, param->encode, val); in parse_packet_soap()
326 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
336 xmlNodePtr val; in parse_packet_soap() local
337 val = resp->children; in parse_packet_soap()
338 while (val != NULL) { in parse_packet_soap()
339 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap()
340 val = val->next; in parse_packet_soap()
342 if (val != NULL) { in parse_packet_soap()
343 if (!node_is_equal_ex(val,"result",RPC_SOAP12_NAMESPACE)) { in parse_packet_soap()
347 master_to_zval(&tmp, NULL, val); in parse_packet_soap()
348 if (val->name) { in parse_packet_soap()
349 …if ((arr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)… in parse_packet_soap()
351 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap()
356 add_assoc_zval(return_value, (char*)val->name, &arr); in parse_packet_soap()
358 add_assoc_zval(return_value, (char*)val->name, &tmp); in parse_packet_soap()
365 val = val->next; in parse_packet_soap()
395 zval val; in parse_packet_soap() local
412 master_to_zval(&val, enc, trav); in parse_packet_soap()
413 add_assoc_zval(soap_headers, (char*)trav->name, &val); in parse_packet_soap()