Lines Matching refs:tmp_buf
423 char tmp_buf[WDDX_BUF_LEN], *dec_point; in php_wddx_serialize_number() local
425 snprintf(tmp_buf, sizeof(tmp_buf), WDDX_NUMBER, ZSTR_VAL(str)); in php_wddx_serialize_number()
428 dec_point = strchr(tmp_buf, ','); in php_wddx_serialize_number()
432 php_wddx_add_chunk(packet, tmp_buf); in php_wddx_serialize_number()
461 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_object() local
482 snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR); in php_wddx_serialize_object()
483 php_wddx_add_chunk(packet, tmp_buf); in php_wddx_serialize_object()
506 snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR); in php_wddx_serialize_object()
507 php_wddx_add_chunk(packet, tmp_buf); in php_wddx_serialize_object()
552 char tmp_buf[WDDX_BUF_LEN]; in php_wddx_serialize_array() local
572 snprintf(tmp_buf, sizeof(tmp_buf), WDDX_ARRAY_S, zend_hash_num_elements(target_hash)); in php_wddx_serialize_array()
573 php_wddx_add_chunk(packet, tmp_buf); in php_wddx_serialize_array()
609 char *tmp_buf; in php_wddx_serialize_var() local
611 tmp_buf = emalloc(ZSTR_LEN(name_esc) + sizeof(WDDX_VAR_S)); in php_wddx_serialize_var()
612 snprintf(tmp_buf, ZSTR_LEN(name_esc) + sizeof(WDDX_VAR_S), WDDX_VAR_S, ZSTR_VAL(name_esc)); in php_wddx_serialize_var()
613 php_wddx_add_chunk(packet, tmp_buf); in php_wddx_serialize_var()
614 efree(tmp_buf); in php_wddx_serialize_var()
752 char tmp_buf[2]; in php_wddx_push_element() local
754 snprintf(tmp_buf, sizeof(tmp_buf), "%c", (char)strtol((char *)atts[i+1], NULL, 16)); in php_wddx_push_element()
755 php_wddx_process_data(user_data, (XML_Char *) tmp_buf, strlen(tmp_buf)); in php_wddx_push_element()