diff options
| author | Greg Hackmann <ghackmann@google.com> | 2013-02-12 16:39:31 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2013-06-18 19:24:29 -0700 |
| commit | c6ff844d75dddfb19fc804b8add2d6a79947b101 (patch) | |
| tree | f7eda9c4bf1279480f00c4a27b2009246a1d1f19 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp | |
| parent | c656d732c7712b0f73d9c560ccf3cb5ae47d219d (diff) | |
bionic: add __system_property_foreach
find_nth() will be inefficient on a trie. Since find_nth() is only used
internally and only for enumerating properties, we can add a foreach()
function to do this directly.
Signed-off-by: Greg Hackmann <ghackmann@google.com>
(cherry picked from commit 577418403d68e663fb33c7b0c8a90d862d9c00cf)
Change-Id: Iaca97d1182ce2c28863ba85241cbb5cf6185eb2f
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions
