Home
last modified time | relevance | path

Searched refs:search (Results 1 – 25 of 529) sorted by relevance

12345678910>>...22

/external/chromium/third_party/icu/source/i18n/
Dusearch.cpp577 UBreakIterator *breakiterator = strsrch->search->internalBreakIter; in checkBreakBoundary()
608 UBreakIterator *breakiterator = strsrch->search->breakIter; in isBreakUnit()
629 const UChar *text = strsrch->search->text + in isBreakUnit()
705 int32_t textlength = strsrch->search->textLength; in getNextUStringSearchBaseOffset()
709 const UChar *text = strsrch->search->text; in getNextUStringSearchBaseOffset()
770 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
771 strsrch->search->matchedLength = 0; in setMatchNotFound()
772 if (strsrch->search->isForwardSearching) { in setMatchNotFound()
773 setColEIterOffset(strsrch->textIter, strsrch->search->textLength); in setMatchNotFound()
838 const UChar *text = strsrch->search->text + start; in checkExtraMatchAccents()
[all …]
/external/icu4c/test/cintltst/
Dusrchtst.c337 const SearchData search) in assertEqualWithUStringSearch() argument
342 int32_t matchindex = search.offset[count]; in assertEqualWithUStringSearch()
346 usearch_setAttribute(strsrch, USEARCH_ELEMENT_COMPARISON, search.elemCompare, &status); in assertEqualWithUStringSearch()
358 uint32_t matchlength = search.size[count]; in assertEqualWithUStringSearch()
381 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
398 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
401 uint32_t matchlength = search.size[count]; in assertEqualWithUStringSearch()
423 matchindex = count > 0 ? search.offset[count - 1] : -1; in assertEqualWithUStringSearch()
443 static UBool assertEqual(const SearchData search) in assertEqual() argument
448 UCollator *collator = getCollator(search.collator); in assertEqual()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dusrchtst.c337 const SearchData search) in assertEqualWithUStringSearch() argument
342 int32_t matchindex = search.offset[count]; in assertEqualWithUStringSearch()
352 uint32_t matchlength = search.size[count]; in assertEqualWithUStringSearch()
375 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
392 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
395 uint32_t matchlength = search.size[count]; in assertEqualWithUStringSearch()
417 matchindex = count > 0 ? search.offset[count - 1] : -1; in assertEqualWithUStringSearch()
436 static UBool assertEqual(const SearchData search) in assertEqual() argument
441 UCollator *collator = getCollator(search.collator); in assertEqual()
442 UBreakIterator *breaker = getBreakIterator(search.breaker); in assertEqual()
[all …]
/external/icu4c/i18n/
Dusearch.cpp587 UBreakIterator *breakiterator = strsrch->search->internalBreakIter; in checkBreakBoundary()
618 UBreakIterator *breakiterator = strsrch->search->breakIter; in isBreakUnit()
639 const UChar *text = strsrch->search->text + in isBreakUnit()
715 int32_t textlength = strsrch->search->textLength; in getNextUStringSearchBaseOffset()
719 const UChar *text = strsrch->search->text; in getNextUStringSearchBaseOffset()
780 strsrch->search->matchedIndex = USEARCH_DONE; in setMatchNotFound()
781 strsrch->search->matchedLength = 0; in setMatchNotFound()
782 if (strsrch->search->isForwardSearching) { in setMatchNotFound()
783 setColEIterOffset(strsrch->textIter, strsrch->search->textLength); in setMatchNotFound()
848 const UChar *text = strsrch->search->text + start; in checkExtraMatchAccents()
[all …]
/external/icu4c/test/intltest/
Dsrchtest.cpp253 const SearchData *search) in assertEqualWithStringSearch() argument
257 int32_t matchindex = search->offset[count]; in assertEqualWithStringSearch()
260 strsrch->setAttribute(USEARCH_ELEMENT_COMPARISON, search->elemCompare, status); in assertEqualWithStringSearch()
272 int32_t matchlength = search->size[count]; in assertEqualWithStringSearch()
297 matchindex = search->offset[count]; in assertEqualWithStringSearch()
312 matchindex = search->offset[count]; in assertEqualWithStringSearch()
314 int32_t matchlength = search->size[count]; in assertEqualWithStringSearch()
337 matchindex = count > 0 ? search->offset[count - 1] : -1; in assertEqualWithStringSearch()
355 UBool StringSearchTest::assertEqual(const SearchData *search) in assertEqual() argument
359 Collator *collator = getCollator(search->collator); in assertEqual()
[all …]
Dsrchtest.h45 const SearchData *search);
46 UBool assertEqual(const SearchData *search);
47 UBool assertCanonicalEqual(const SearchData *search);
48 UBool assertEqualWithAttribute(const SearchData *search,
/external/chromium/third_party/icu/source/test/intltest/
Dsrchtest.cpp251 const SearchData *search) in assertEqualWithStringSearch() argument
255 int32_t matchindex = search->offset[count]; in assertEqualWithStringSearch()
264 int32_t matchlength = search->size[count]; in assertEqualWithStringSearch()
288 matchindex = search->offset[count]; in assertEqualWithStringSearch()
303 matchindex = search->offset[count]; in assertEqualWithStringSearch()
305 int32_t matchlength = search->size[count]; in assertEqualWithStringSearch()
328 matchindex = count > 0 ? search->offset[count - 1] : -1; in assertEqualWithStringSearch()
345 UBool StringSearchTest::assertEqual(const SearchData *search) in assertEqual() argument
349 Collator *collator = getCollator(search->collator); in assertEqual()
350 BreakIterator *breaker = getBreakIterator(search->breaker); in assertEqual()
[all …]
Dsrchtest.h45 const SearchData *search);
46 UBool assertEqual(const SearchData *search);
47 UBool assertCanonicalEqual(const SearchData *search);
48 UBool assertEqualWithAttribute(const SearchData *search,
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/
Dregress-179524.js89 actual = str.search(re);
94 actual = str.search(re, 'i');
99 actual = str.search(re, 'g', '');
104 actual = str.search(re, 'z', new Object(), new Date());
208 actual = str.search('a');
209 expect = str.search(/a/);
213 actual = str.search('a', 'i');
214 expect = str.search(/a/i);
218 actual = str.search('a', 'ig');
219 expect = str.search(/a/ig);
[all …]
/external/webkit/WebKitTools/Scripts/webkitpy/style/processors/
Dcpp.py134 def search(pattern, s): function
138 return _regexp_compile_cache[pattern].search(s)
625 if re.search(r'Copyright', lines[line], re.I):
915 if search(r'printf\s*\(.*".*%[-+ ]?\d*q', line):
919 if search(r'printf\s*\(.*".*%\d+\$', line):
926 if search(r'("|\').*\\(%|\[|\(|{)', line):
933 if search(r'\b(const|volatile|void|char|short|int|long'
949 if search(r'(\w+|[+-]?\d+(\.\d*)?)\s*(<|>)\?=?\s*(\w+|[+-]?\d+)(\.\d*)?', line):
982 if search('(^|[^:]):($|[^:])', line):
1004 if search(r'\bvirtual\b', line):
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/regexp/
Dstring_search.js43 3, 'abcdefg'.search(/d/));
47 -1, 'abcdefg'.search(/x/));
51 7, 'abcdefg123456hijklmn'.search(/\d+/));
55 0, 'abcdefg123456hijklmn'.search(new RegExp()));
59 3, 'abc'.search(new RegExp('$')));
63 0, 'abc'.search(new RegExp('^')));
67 2, 'abc1'.search(/.\d/));
71 -1, 'abc1'.search(/\d{2}/));
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/VMS/
Ddescrip.mms157 @- if f$search("scan.c").nes."" then $(REMOVE) scan.c;*
162 @- if f$search("y_tab.%").nes."" then $(REMOVE) y_tab.%;*
219 @- if f$search("scan.c").nes."" then $(REMOVE) scan.c;*
240 @ if f$search("$(FLEXLIB);-1").nes."" then $(PURGE) $(FLEXLIB)
246 @ if f$search("$(MISCDIR)flex.man").eqs."" then \
282 @- if f$search("scan.chk").nes."" then $(REMOVE) scan.chk;*
283 @- if f$search("*.obj;-1").nes."" then $(PURGE) *.obj
284 @- if f$search("*.exe;-1").nes."" then $(PURGE) *.exe
285 @- if f$search("*.opt;-1").nes."" then $(PURGE) *.opt
288 @- if f$search("*.obj").nes."" then $(REMOVE) *.obj;*
[all …]
/external/dhcpcd/dhcpcd-hooks/
D20-resolv.conf14 local interfaces= header= search= srvs= servers= x=
27 search=$(cd "${resolv_conf_dir}"; \
29 [ -n "${search}" ] && search="search $(uniqify ${search})\n"
48 printf "${search}${servers}" >> "${cf}"
/external/quake/quake/src/WinQuake/
Dcommon.cpp1216 int memsearch (const byte *start, int count, int search) in memsearch() argument
1221 if (start[i] == search) in memsearch()
1400 searchpath_t *search; in COM_FindFile() local
1415 search = com_searchpaths; in COM_FindFile()
1419 search = search->next; in COM_FindFile()
1422 for ( ; search ; search = search->next) in COM_FindFile()
1425 if (search->pack) in COM_FindFile()
1428 pak = search->pack; in COM_FindFile()
1457 sprintf (netpath, "%s/%s",search->filename, filename); in COM_FindFile()
1725 searchpath_t *search; in COM_AddGameDirectory() local
[all …]
/external/stlport/test/unit/
Dsearch_test.cpp46 location = search((int*)v1, (int*)v1 + 6, (int*)v3, (int*)v3 + 2); in search0()
49 location = search((int*)v2, (int*)v2 + 6, (int*)v3, (int*)v3 + 2); in search0()
62 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); in search1()
68 location = search(v1.begin(), v1.end(), v2.begin(), v2.end()); in search1()
79 …char const** location = search((char const**)grades, (char const**)grades + gradeCount, (char cons… in search2()
84 …location = search((char const**)grades, (char const**)grades + gradeCount, (char const**)letters, … in search2()
/external/libpng/contrib/gregbook/
Dmakevms.com13 $ if f$search("[---.zlib]zlib.h").nes."" then zpath = "[---.zlib]"
14 $ if f$search("[--]png.h").nes."" then pngpath = "[--]"
16 $ if f$search("[-.zlib]zlib.h").nes."" then zpath = "[-.zlib]"
17 $ if f$search("[-.libpng]png.h").nes."" then pngpath = "[-.libpng]"
40 $ if f$search("SYS$SYSTEM:DECC$COMPILER.EXE").eqs.""
43 $ if f$search("SYS$SYSTEM:VAXC.EXE").eqs.""
/external/quake/quake/src/QW/client/
Dcommon.c1257 int memsearch (byte *start, int count, int search) in memsearch() argument
1262 if (start[i] == search) in memsearch()
1480 searchpath_t *search; in COM_FOpenFile() local
1491 for (search = com_searchpaths ; search ; search = search->next) in COM_FOpenFile()
1494 if (search->pack) in COM_FOpenFile()
1497 pak = search->pack; in COM_FOpenFile()
1521 sprintf (netpath, "%s/%s",search->filename, filename); in COM_FOpenFile()
1715 searchpath_t *search; in COM_AddGameDirectory() local
1729 search = Hunk_Alloc (sizeof(searchpath_t)); in COM_AddGameDirectory()
1730 strcpy (search->filename, dir); in COM_AddGameDirectory()
[all …]
/external/icu4c/samples/strsrch/
Dstrsrch.cpp60 UStringSearch * search = 0; variable
234 search = usearch_openFromCollator(pattern, -1, source, -1, collator, NULL, in processStringSearch()
240 usearch_setAttribute(search, USEARCH_OVERLAP, USEARCH_ON, &status); in processStringSearch()
243 usearch_setAttribute(search, USEARCH_CANONICAL_MATCH, USEARCH_ON, in processStringSearch()
256 int32_t offset = usearch_next(search, &status); in findPattern()
262 usearch_getMatchedLength(search)); in findPattern()
263 offset = usearch_next(search, &status); in findPattern()
299 usearch_close(search); in main()
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
D15.5.4.7-3.js115 function LastIndexOf( string, search, position ) { argument
117 search = String( search );
129 result7 = search.length;
142 if ( string.charAt(k+j) != search.charAt(j) ){
/external/chromium/third_party/icu/source/test/perf/strsrchperf/
Dstrsrchperf.h56 …StringSearchPerfFunction(StrSrchFn func, BoyerMooreSearch *search, const UChar *source, int32_t so… in StringSearchPerfFunction() argument
62 bms = search; in StringSearchPerfFunction()
65 …StringSearchPerfFunction(StrSrchFn func, UStringSearch* search, const UChar* source,int32_t source… in StringSearchPerfFunction() argument
71 srch = search; in StringSearchPerfFunction()
104 while (bms->search(offset, start, end)) { in ICUForwardSearch()
113 while (bms->search(offset, start, end)) { in ICUBackwardSearch()
/external/icu4c/test/perf/strsrchperf/
Dstrsrchperf.h56 …StringSearchPerfFunction(StrSrchFn func, BoyerMooreSearch *search, const UChar *source, int32_t so… in StringSearchPerfFunction() argument
62 bms = search; in StringSearchPerfFunction()
65 …StringSearchPerfFunction(StrSrchFn func, UStringSearch* search, const UChar* source,int32_t source… in StringSearchPerfFunction() argument
71 srch = search; in StringSearchPerfFunction()
104 while (bms->search(offset, start, end)) { in ICUForwardSearch()
113 while (bms->search(offset, start, end)) { in ICUBackwardSearch()
/external/webkit/WebCore/css/
DthemeWin.css41 input[type="search"] {
64 input[type="search"]:disabled {
68 input[type="search"]::-webkit-search-cancel-button {
72 input[type="search"]::-webkit-search-results-decoration {
76 input[type="search"]::-webkit-search-results-button {
/external/bluetooth/bluez/src/
Dglib-helper.c251 sdp_list_t *search, *attrids; in connect_watch() local
273 search = sdp_list_append(NULL, &ctxt->uuid); in connect_watch()
276 search, SDP_ATTR_REQ_RANGE, attrids) < 0) { in connect_watch()
278 sdp_list_free(search, NULL); in connect_watch()
284 sdp_list_free(search, NULL); in connect_watch()
373 const struct search_context *ctxt = data, *search = user_data; in find_by_bdaddr() local
375 return (bacmp(&ctxt->dst, &search->dst) && in find_by_bdaddr()
376 bacmp(&ctxt->src, &search->src)); in find_by_bdaddr()
381 struct search_context search, *ctxt; in bt_cancel_discovery() local
384 memset(&search, 0, sizeof(search)); in bt_cancel_discovery()
[all …]
/external/bluetooth/bluez/compat/
Dsdp.c191 sdp_list_t *search, *attrid, *pnp_rsp, *hid_rsp; in get_sdp_device_info() local
202 search = sdp_list_append(NULL, &svclass); in get_sdp_device_info()
205 err = sdp_service_search_attr_req(s, search, in get_sdp_device_info()
208 sdp_list_free(search, NULL); in get_sdp_device_info()
212 search = sdp_list_append(NULL, &svclass); in get_sdp_device_info()
215 err = sdp_service_search_attr_req(s, search, in get_sdp_device_info()
218 sdp_list_free(search, NULL); in get_sdp_device_info()
305 sdp_list_t *search, *attrid, *rsp; in get_alternate_device_info() local
314 search = sdp_list_append(NULL, &svclass); in get_alternate_device_info()
318 err = sdp_service_search_attr_req(s, search, in get_alternate_device_info()
[all …]
/external/dnsmasq/bld/
Dpkg-wrapper3 search=$1
6 if grep "^\#.*define.*$search" config.h 2>&1 >/dev/null || \
7 grep $search 2>&1 >/dev/null ; then

12345678910>>...22