Home
last modified time | relevance | path

Searched refs:srch (Results 1 – 10 of 10) sorted by relevance

/external/chromium/third_party/icu/source/test/perf/strsrchperf/
Dstrsrchperf.h22 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn,…
35 UStringSearch* srch; variable
43 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); in call()
71 srch = search; in StringSearchPerfFunction()
86 UStringSearch* srch; variable
118 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pat… in ICUForwardSearch() argument
121 match = usearch_first(srch, status); in ICUForwardSearch()
123 match = usearch_next(srch, status); in ICUForwardSearch()
127 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pa… in ICUBackwardSearch() argument
130 match = usearch_last(srch, status); in ICUBackwardSearch()
[all …]
Dstrsrchperf.cpp21 srch = NULL; in StringSearchPerformanceTest()
77 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); in StringSearchPerformanceTest()
101 if (srch != NULL) { in ~StringSearchPerformanceTest()
102 usearch_close(srch); in ~StringSearchPerformanceTest()
123 …StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen,… in Test_ICU_Forward_Search()
132 …StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUBackwardSearch, srch, src, srcLen… in Test_ICU_Backward_Search()
/external/icu4c/test/perf/strsrchperf/
Dstrsrchperf.h22 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn,…
35 UStringSearch* srch; variable
43 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); in call()
71 srch = search; in StringSearchPerfFunction()
86 UStringSearch* srch; variable
118 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pat… in ICUForwardSearch() argument
121 match = usearch_first(srch, status); in ICUForwardSearch()
123 match = usearch_next(srch, status); in ICUForwardSearch()
127 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pa… in ICUBackwardSearch() argument
130 match = usearch_last(srch, status); in ICUBackwardSearch()
[all …]
Dstrsrchperf.cpp21 srch = NULL; in StringSearchPerformanceTest()
77 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); in StringSearchPerformanceTest()
101 if (srch != NULL) { in ~StringSearchPerformanceTest()
102 usearch_close(srch); in ~StringSearchPerformanceTest()
123 …StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen,… in Test_ICU_Forward_Search()
132 …StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUBackwardSearch, srch, src, srcLen… in Test_ICU_Backward_Search()
/external/openssl/crypto/store/
Dstr_mem.c276 int srch; in mem_list_next() local
299 srch = sk_MEM_OBJECT_DATA_find_ex(store->data, &key); in mem_list_next()
301 if (srch >= 0) in mem_list_next()
303 context->search_index = srch; in mem_list_next()
314 for(srch = context->search_index; in mem_list_next()
315 srch < sk_MEM_OBJECT_DATA_num(store->data) in mem_list_next()
317 sk_MEM_OBJECT_DATA_value(store->data, srch)->attr_info) in mem_list_next()
319 sk_MEM_OBJECT_DATA_value(store->data, srch)->attr_info)); in mem_list_next()
320 srch++) in mem_list_next()
323 context->search_index = srch; in mem_list_next()
[all …]
/external/bluetooth/bluez/cups/
Dsdp.c42 sdp_list_t *srch, *attrs, *rsp; in sdp_search_hcrp() local
51 srch = sdp_list_append(NULL, &svclass); in sdp_search_hcrp()
58 err = sdp_service_search_attr_req(sdp, srch, SDP_ATTR_REQ_INDIVIDUAL, attrs, &rsp); in sdp_search_hcrp()
87 sdp_list_t *srch, *attrs, *rsp; in sdp_search_spp() local
96 srch = sdp_list_append(NULL, &svclass); in sdp_search_spp()
101 err = sdp_service_search_attr_req(sdp, srch, SDP_ATTR_REQ_INDIVIDUAL, attrs, &rsp); in sdp_search_spp()
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_yuv.c86 int srcx, srcy, srcw, srch; in SDL_DisplayYUVOverlay() local
98 srch = overlay->h; in SDL_DisplayYUVOverlay()
115 srch += (dsty * overlay->h) / dstrect->h; in SDL_DisplayYUVOverlay()
122 srch -= (extra * overlay->h) / dstrect->h; in SDL_DisplayYUVOverlay()
125 if ( srcw <= 0 || srch <= 0 || in SDL_DisplayYUVOverlay()
126 srch <= 0 || dsth <= 0 ) { in SDL_DisplayYUVOverlay()
133 src.h = srch; in SDL_DisplayYUVOverlay()
/external/bluetooth/bluez/compat/
Dsdp.c521 sdp_list_t *srch, *rsp = NULL; in bnep_sdp_search() local
538 srch = sdp_list_append(NULL, &svclass); in bnep_sdp_search()
547 err = sdp_service_search_req(s, srch, 1, &rsp); in bnep_sdp_search()
666 sdp_list_t *srch, *attrs, *rsp; in dun_sdp_search() local
693 srch = sdp_list_append(NULL, &svclass); in dun_sdp_search()
698 err = sdp_service_search_attr_req(s, srch, SDP_ATTR_REQ_INDIVIDUAL, attrs, &rsp); in dun_sdp_search()
/external/bluetooth/bluez/tools/
Dciptool.c94 sdp_list_t *srch, *attrs, *rsp; in get_psm() local
103 srch = sdp_list_append(NULL, &svclass); in get_psm()
108 err = sdp_service_search_attr_req(s, srch, SDP_ATTR_REQ_INDIVIDUAL, attrs, &rsp); in get_psm()
/external/bluetooth/bluez/test/
Drctest.c97 sdp_list_t *srch, *attrs, *rsp; in get_channel() local
111 srch = sdp_list_append(NULL, &svclass); in get_channel()
116 err = sdp_service_search_attr_req(sdp, srch, in get_channel()