Lines Matching refs:val
261 xmlNodePtr val = NULL; in parse_packet_soap() local
301 val = cur; in parse_packet_soap()
303 val = get_node(cur->children, param->paramName); in parse_packet_soap()
305 if (val == NULL) { in parse_packet_soap()
306 val = get_node(cur->children, "return"); in parse_packet_soap()
308 if (val == NULL) { in parse_packet_soap()
309 val = get_node(cur->children, "result"); in parse_packet_soap()
311 if (val == NULL && cur->children && cur->children->next == NULL) { in parse_packet_soap()
312 val = cur->children; in parse_packet_soap()
318 if (!val) { in parse_packet_soap()
330 tmp = master_to_zval(param->encode, val); in parse_packet_soap()
332 tmp = master_to_zval(NULL, val); in parse_packet_soap()
344 xmlNodePtr val; in parse_packet_soap() local
345 val = resp->children; in parse_packet_soap()
346 while (val != NULL) { in parse_packet_soap()
347 while (val && val->type != XML_ELEMENT_NODE) { in parse_packet_soap()
348 val = val->next; in parse_packet_soap()
350 if (val != NULL) { in parse_packet_soap()
351 if (!node_is_equal_ex(val,"result",RPC_SOAP12_NAMESPACE)) { in parse_packet_soap()
355 tmp = master_to_zval(NULL, val); in parse_packet_soap()
356 if (val->name) { in parse_packet_soap()
357 …if (zend_hash_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name)+1, (void**… in parse_packet_soap()
359 } else if (val->next && get_node(val->next, (char*)val->name)) { in parse_packet_soap()
365 add_assoc_zval(return_value, (char*)val->name, arr); in parse_packet_soap()
367 add_assoc_zval(return_value, (char*)val->name, tmp); in parse_packet_soap()
374 val = val->next; in parse_packet_soap()
402 zval* val; in parse_packet_soap() local
419 val = master_to_zval(enc, trav); in parse_packet_soap()
420 add_assoc_zval(soap_headers, (char*)trav->name, val); in parse_packet_soap()