From patchwork Thu Feb 13 13:09:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 2808 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D186961952 for ; Thu, 13 Feb 2020 14:09:12 +0100 (CET) Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4700B9D3; Thu, 13 Feb 2020 14:09:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1581599352; bh=2BALNezMKoUkVslUxphl8LlwbW+WWG5tBOqJRZpw3tw=; h=From:To:Cc:Subject:Date:From; b=EvY9iINCcCfCyz+yIMigkLbpfOqVHxhiPInINLBxw7nuPfDXf5aNG6Qk3BYcen2P8 RnFQF777rFLRJXO7ih9jt5EkFidWNBFaN8S+29mruzCdsU/3p4uVvWYQFCkHA0yHUU zmiy6A48iTI8/U+Os2xeRAzej+F5g4IiNDv5LOro= From: Kieran Bingham To: libcamera devel Date: Thu, 13 Feb 2020 13:09:05 +0000 Message-Id: <20200213130908.23638-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] utils: Provide string splitting X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2020 13:09:13 -0000 Three patches from Laurent, which I've rebased to master. Provide a helper for splitting strings given a separator, and an associated test case for the implementation. Laurent Pinchart (3): libcamera: utils: Add string splitter utility function test: Add a utils::split() test libcamera: ipa_manager: Use utils::split() Documentation/Doxyfile.in | 1 + src/libcamera/include/utils.h | 34 +++++++++++++++++++ src/libcamera/ipa_manager.cpp | 21 ++++-------- src/libcamera/utils.cpp | 62 +++++++++++++++++++++++++++++++++++ test/utils.cpp | 25 ++++++++++++++ 5 files changed, 128 insertions(+), 15 deletions(-)