Lines Matching refs:search
60 UStringSearch * search = 0;
227 * Creates a string search
234 search = usearch_openFromCollator(pattern, -1, source, -1, collator, NULL,
240 usearch_setAttribute(search, USEARCH_OVERLAP, USEARCH_ON, &status);
243 usearch_setAttribute(search, USEARCH_CANONICAL_MATCH, USEARCH_ON,
247 fprintf(stderr, "Error setting search attributes\n");
256 int32_t offset = usearch_next(search, &status);
262 usearch_getMatchedLength(search));
263 offset = usearch_next(search, &status);
269 fprintf(stdout, "End of search\n");
290 fprintf(stderr, "Error creating string search\n");
299 usearch_close(search);