| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkTDict_DEFINED | 8 #ifndef SkTDict_DEFINED |
| 9 #define SkTDict_DEFINED | 9 #define SkTDict_DEFINED |
| 10 | 10 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 if (count) { | 138 if (count) { |
| 139 index = SkStrSearch(&fArray.begin()->fName, count, name, len, sizeof
(Pair)); | 139 index = SkStrSearch(&fArray.begin()->fName, count, name, len, sizeof
(Pair)); |
| 140 } | 140 } |
| 141 return index; | 141 return index; |
| 142 } | 142 } |
| 143 friend class Iter; | 143 friend class Iter; |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 #endif | 146 #endif |
| OLD | NEW |