Lines Matching refs:buf
693 static void* ZEND_FASTCALL zend_ast_tree_copy(zend_ast *ast, void *buf) in zend_ast_tree_copy() argument
696 zend_ast_zval *new = (zend_ast_zval*)buf; in zend_ast_tree_copy()
700 buf = (void*)((char*)buf + sizeof(zend_ast_zval)); in zend_ast_tree_copy()
702 zend_ast_zval *new = (zend_ast_zval*)buf; in zend_ast_tree_copy()
706 buf = (void*)((char*)buf + sizeof(zend_ast_zval)); in zend_ast_tree_copy()
709 zend_ast_list *new = (zend_ast_list*)buf; in zend_ast_tree_copy()
714 buf = (void*)((char*)buf + zend_ast_list_size(list->children)); in zend_ast_tree_copy()
717 new->child[i] = (zend_ast*)buf; in zend_ast_tree_copy()
718 buf = zend_ast_tree_copy(list->child[i], buf); in zend_ast_tree_copy()
725 zend_ast *new = (zend_ast*)buf; in zend_ast_tree_copy()
728 buf = (void*)((char*)buf + zend_ast_size(children)); in zend_ast_tree_copy()
731 new->child[i] = (zend_ast*)buf; in zend_ast_tree_copy()
732 buf = zend_ast_tree_copy(ast->child[i], buf); in zend_ast_tree_copy()
738 return buf; in zend_ast_tree_copy()