From nobody Sun Nov 9 22:30:56 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1551987401628146.62263500496113; Thu, 7 Mar 2019 11:36:41 -0800 (PST) Received: from localhost ([127.0.0.1]:58307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1yoZ-0001EU-Cy for importer@patchew.org; Thu, 07 Mar 2019 14:36:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1yC8-0001PO-8Y for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1yC7-0002XT-CM for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:40 -0500 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:42649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1yC7-0002WK-5K for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:39 -0500 Received: by mail-pf1-x433.google.com with SMTP id n74so12130511pfi.9 for ; Thu, 07 Mar 2019 10:56:39 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id g12sm8801973pgr.76.2019.03.07.10.56.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 10:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=TQcVd3Dqy6iFhltS0ecXUxe7EPe6saLCfPnA5OwEVjU=; b=A7kI5ztXPu1ZM/XkK3JUosr+U0o4dXU8wVVCG/8Cr6c+4r/YD19vPw2H3e8iSRXEqr 6EYY+3EbEK9b0IhSe/o8FV5kp3K4YNcETBJB5HJMJbFfBmA7Ut/cLdZS3VrBEG2hLgch SzHmf33p65kbSGud/z2ny+lRL2Vq4uEeVumuwuChRILgVKkcTFnQnUHU5b1H8yd6HI4s a8YSWQAy30vVmKu4el49vM8tj+KtZGQGYcJgN5Fh7MN2qABZEyHb7OFTfOsiZHc9swao hFdvqcT7GluUqBRzbzAC9ZII8CPATjQfmYjsOXaKHIX41ePLScrag4QrHotzrQ0PIBIf PkLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=TQcVd3Dqy6iFhltS0ecXUxe7EPe6saLCfPnA5OwEVjU=; b=NGMQ34nlG6Se05YgUV6BgmoUJhejr2tonaOS8IDvY6EuC6t70vHPElmWeFH1+mdCr6 wEMGHqdUbVXr+1OsfbYREY3As1IiwOunlOSqmposa9dIpsVkHSPAb9xYQIfmfvvxVGRw cY3fx9uOL8DLCcBEkKr65lnzaf76+1JCThb1vVHFf5SWRHVRKlc/Wux1xHNij0szlA8G wfXuc6eVO0f474YlJPabfpUC4Py0YhMVzLok/+iYLEkASXmVhDLqnDK4KlR2+mZQaC+E 3TUqcxr8mW3h3U7h4gFsTJwV9qYKY2h7OyDVlMJfp4s4hQAYPqmqRAEjEi5hInnbNZwn vfZw== X-Gm-Message-State: APjAAAVyQ8PyR82J7IopUzchom8vnGcsEHAwYmrE0s7RcW/FLIpBIB2u xstoO/N0bevbkWBJ7LtFbsHAeeY1VZg= X-Google-Smtp-Source: APXvYqwRgMBCDXoPYp/1a+Q6PoGEM8yANl/kpu34o8pbLBOqd4XIcQwC+FyJs2WzqD5BDfz8F0cBiA== X-Received: by 2002:a17:902:bb86:: with SMTP id m6mr14281271pls.4.1551984997661; Thu, 07 Mar 2019 10:56:37 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 7 Mar 2019 10:56:21 -0800 Message-Id: <20190307185622.29026-12-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190307185622.29026-1-richard.henderson@linaro.org> References: <20190307185622.29026-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::433 Subject: [Qemu-devel] [PATCH v3 11/12] decodetree: Prefix extract function names with decode_function X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This makes it easier to name Formats within multiple decode files. Signed-off-by: Richard Henderson --- scripts/decodetree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/decodetree.py b/scripts/decodetree.py index eef32f695f..f8df89e072 100755 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -312,7 +312,8 @@ class Format(General): """Class representing an instruction format""" =20 def extract_name(self): - return 'extract_' + self.name + global decode_function + return decode_function + '_extract_' + self.name =20 def output_extract(self): output('static void ', self.extract_name(), '(', --=20 2.17.2