/external/clang/test/CXX/conv/conv.qual/ |
pr6089.cpp | 16 void first_finder( const char*& Search ) 18 make_range( Search, is_char_ptr(Search) );
|
/prebuilts/go/darwin-x86/src/sort/ |
search.go | 5 // This file implements binary search. 9 // Search uses binary search to find and return the smallest index i 11 // f(i) == true implies f(i+1) == true. That is, Search requires that 13 // and then true for the (possibly empty) remainder; Search returns 14 // the first true index. If there is no such index, Search returns n. 17 // Search calls f(i) only for i in the range [0, n). 19 // A common use of Search is to find the index i for a value x in 26 // the call Search(len(data), func(i int) bool { return data[i] >= 23 }) 38 // i := sort.Search(len(data), func(i int) bool { return data[i] >= x } [all...] |
search_test.go | 53 i := Search(e.n, e.f) 82 i := Search(n, func(i int) bool { count++; return i >= x }) 108 {"IntSlice.Search", IntSlice(data).Search(0), 2}, 109 {"Float64Slice.Search", Float64Slice(fdata).Search(2.0), 3}, 110 {"StringSlice.Search", StringSlice(sdata).Search("x"), 3}, 125 IntSlice(data).Search(0) 126 Float64Slice(fdata).Search(2.0 [all...] |
example_search_test.go | 17 i := sort.Search(len(a), func(i int) bool { return a[i] >= x }) 34 i := sort.Search(len(a), func(i int) bool { return a[i] <= x })
|
/prebuilts/go/linux-x86/src/sort/ |
search.go | 5 // This file implements binary search. 9 // Search uses binary search to find and return the smallest index i 11 // f(i) == true implies f(i+1) == true. That is, Search requires that 13 // and then true for the (possibly empty) remainder; Search returns 14 // the first true index. If there is no such index, Search returns n. 17 // Search calls f(i) only for i in the range [0, n). 19 // A common use of Search is to find the index i for a value x in 26 // the call Search(len(data), func(i int) bool { return data[i] >= 23 }) 38 // i := sort.Search(len(data), func(i int) bool { return data[i] >= x } [all...] |
search_test.go | 53 i := Search(e.n, e.f) 82 i := Search(n, func(i int) bool { count++; return i >= x }) 108 {"IntSlice.Search", IntSlice(data).Search(0), 2}, 109 {"Float64Slice.Search", Float64Slice(fdata).Search(2.0), 3}, 110 {"StringSlice.Search", StringSlice(sdata).Search("x"), 3}, 125 IntSlice(data).Search(0) 126 Float64Slice(fdata).Search(2.0 [all...] |
example_search_test.go | 17 i := sort.Search(len(a), func(i int) bool { return a[i] >= x }) 34 i := sort.Search(len(a), func(i int) bool { return a[i] <= x })
|
/external/llvm/include/llvm/ADT/ |
DeltaAlgorithm.h | 63 /// Search - Search for a subset (or subsets) in \p Sets which can be 69 bool Search(const changeset_ty &Changes, const changesetlist_ty &Sets, 73 /// UpdatedSearchState - Callback used when the search state changes.
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
DeltaAlgorithm.h | 63 /// Search - Search for a subset (or subsets) in \arg Sets which can be 69 bool Search(const changeset_ty &Changes, const changesetlist_ty &Sets, 73 /// UpdatedSearchState - Callback used when the search state changes.
|
/frameworks/ex/common/java/com/android/common/ |
Search.java | 27 * Utilities for search implementations. 31 public class Search { 34 * Key for the source identifier set by the application that launched a search intent. 35 * The identifier is search-source specific string. It can be used 36 * by the search provider to keep statistics of where searches are started from. 55 private Search() { } // don't instantiate 58 * Gets a cursor with search suggestions. 61 * @param query The search text entered (so far). 69 * Gets a cursor with search suggestions. 72 * @param query The search text entered (so far) [all...] |
/external/compiler-rt/lib/sanitizer_common/scripts/ |
cpplint.py | 374 matched = _RE_SUPPRESSION.search(raw_line) 411 # The regexp compilation caching is inlined in both Match and Search for 419 def Search(pattern, s): 423 return _regexp_compile_cache[pattern].search(s) [all...] |
/art/tools/ |
cpplint.py | 378 matched = _RE_SUPPRESSION.search(raw_line) 415 # The regexp compilation caching is inlined in both Match and Search for 423 def Search(pattern, s): 427 return _regexp_compile_cache[pattern].search(s) [all...] |
/tools/repohooks/tools/ |
cpplint.py | 557 matched = Search(r'\bNOLINT(NEXTLINE)?\b(\([^)]+\))?', raw_line) 586 if _SEARCH_C_FILE.search(line): 589 if _SEARCH_KERNEL_FILE.search(line): 620 # The regexp compilation caching is inlined in both Match and Search for 631 The compiled regex is kept in a cache shared by Match and Search. 636 s: search string 646 def Search(pattern, s): 650 return _regexp_compile_cache[pattern].search(s) [all...] |
/external/libvpx/libvpx/tools/ |
cpplint.py | 469 matched = _RE_SUPPRESSION.search(raw_line) 506 # The regexp compilation caching is inlined in both Match and Search for 517 The compiled regex is kept in a cache shared by Match and Search. 522 s: search string 532 def Search(pattern, s): 536 return _regexp_compile_cache[pattern].search(s) [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/ |
MainTextEditor.c | 113 search string in file buffer
125 search string in file buffer, and replace it with another str
540 search string in file buffer
557 // Below is the scenario of Search command:
558 // 1. An Input Bar will be prompted : "Enter Search String:".
559 // IF user press ESC, Search command ends.
560 // IF user just press Enter, Search command ends.
561 // IF user inputs the search string, do Step 2.
563 // 2. IF input search string is found, cursor will move to the first
565 // IF input search string is not found, a Status String [all...] |
/external/llvm/lib/Support/ |
DeltaAlgorithm.cpp | 55 if (Search(Changes, Sets, Res)) 69 bool DeltaAlgorithm::Search(const changeset_ty &Changes,
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
DeltaAlgorithm.cpp | 55 if (Search(Changes, Sets, Res)) 69 bool DeltaAlgorithm::Search(const changeset_ty &Changes,
|
/external/toolchain-utils/bestflags/ |
flags.py | 41 # Search the numeric flag pattern. 42 def Search(spec): 43 return rx.search(spec) 101 numeric_flag_match = Search(spec)
|
flags_util.py | 42 numeric_flag_match = flags.Search(climb_spec)
|
testing_batch.py | 58 numeric_flag_match = flags.Search(spec) 92 numeric_flag_match = flags.Search(spec) 162 numeric_flag_match = flags.Search(other_spec) 212 numeric_flag_match = flags.Search(spec)
|
iterative_elimination.py | 60 numeric_flag_match = flags.Search(spec)
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSearch.java | 19 import com.android.common.Search; 40 * This class is purely here to get search queries and route them to 47 // Used to figure out which domain to base search requests 51 // "source" parameter for Google search requests from unknown sources (e.g. apps). This will get 115 Log.w(TAG, "Got search intent with no query."); 123 source = appSearchData.getString(Search.SOURCE); 127 // window to place a new search into. So if this exists, we'll pass it back to
|
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/ |
Main.asm | 41 ; Search for the Boot Firmware Volume (BFV)
50 ; Search for the SEC entry point
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
SearchIterator.java | 17 * methods to search for a pattern within a text string. Instances of 23 * Subclasses provide concrete implementations of various search algorithms. 95 final class Search { 105 /** Flag to indicate if overlapping search is to be done. 133 /** Flag indicates if we are doing a forwards search */ 136 /** Flag indicates if we are at the start of a string search. 137 This indicates that we are in forward search and at the start of m_text. */ 157 Search search_ = new Search(); 175 * Sets the position in the target text at which the next search will start [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
SearchIterator.java | 16 * methods to search for a pattern within a text string. Instances of 22 * Subclasses provide concrete implementations of various search algorithms. 98 final class Search { 108 /** Flag to indicate if overlapping search is to be done. 136 /** Flag indicates if we are doing a forwards search */ 139 /** Flag indicates if we are at the start of a string search. 140 This indicates that we are in forward search and at the start of m_text. */ 160 Search search_ = new Search(); 179 * Sets the position in the target text at which the next search will start [all...] |