Home
last modified time | relevance | path

Searched refs:extractor (Results 1 – 25 of 52) sorted by relevance

123

/external/libtextclassifier/utils/
Dtoken-feature-extractor_test.cc44 TestingTokenFeatureExtractor extractor(options, unilib_); in TEST_F() local
49 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, in TEST_F()
55 extractor.HashToken("H"), in TEST_F()
56 extractor.HashToken("e"), in TEST_F()
57 extractor.HashToken("l"), in TEST_F()
58 extractor.HashToken("l"), in TEST_F()
59 extractor.HashToken("o"), in TEST_F()
60 extractor.HashToken("^H"), in TEST_F()
61 extractor.HashToken("He"), in TEST_F()
62 extractor.HashToken("el"), in TEST_F()
[all …]
/external/libtextclassifier/annotator/
Dzlib-utils.cc60 DatetimeModelExtractorT* extractor = in CompressModel() local
62 extractor->compressed_pattern.reset(new CompressedBufferT); in CompressModel()
63 zlib_compressor->Compress(extractor->pattern, in CompressModel()
64 extractor->compressed_pattern.get()); in CompressModel()
65 extractor->pattern.clear(); in CompressModel()
118 DatetimeModelExtractorT* extractor = in DecompressModel() local
121 extractor->compressed_pattern.get(), &extractor->pattern)) { in DecompressModel()
125 extractor->compressed_pattern.reset(nullptr); in DecompressModel()
/external/autotest/client/common_lib/cros/cfm/metrics/
Dmedia_info_metrics_extractor_unittest.py14 self.extractor = media_info_metrics_extractor.MediaInfoMetricsExtractor(
18 metric = self.extractor.get_top_level_metric('processcpuusage')
22 metric = self.extractor.get_media_metric(
28 metric = self.extractor.get_media_metric(
36 metric = self.extractor.get_media_metric(
44 metric = self.extractor.get_top_level_metric('does_not_exist')
48 metric = self.extractor.get_media_metric(
54 metric = self.extractor.get_media_metric(
61 metric = self.extractor.get_top_level_metric('gpuProcessCpuUsage')
Dmedia_metrics_collector.py20 def _get_number_of_incoming_active_video_streams(extractor): argument
30 fps_metrics = extractor.get_media_metric(
/external/syzkaller/sys/syz-extract/
Dextract.go82 extractor := extractors[OS]
83 if extractor == nil {
86 if err := extractor.prepare(*flagSourceDir, *flagBuild, archArray); err != nil {
104 infos, err := processArch(extractor, j)
114 j.consts, j.undeclared, j.err = processFile(extractor, j.arch, j)
261 func processArch(extractor Extractor, arch *Arch) (map[string]*compiler.ConstInfo, error) {
274 if err := extractor.prepareArch(arch); err != nil {
280 func processFile(extractor Extractor, arch *Arch, file *File) (map[string]uint64, map[string]bool, …
290 consts, undeclared, err := extractor.processFile(arch, file.info)
/external/pdfium/core/fpdftext/
Dcpdf_linkextract_unittest.cpp22 CPDF_TestLinkExtract extractor; in TEST() local
36 EXPECT_FALSE(extractor.CheckMailLink(&text_str)) << input; in TEST()
59 EXPECT_TRUE(extractor.CheckMailLink(&text_str)) << input; in TEST()
65 CPDF_TestLinkExtract extractor; in TEST() local
86 EXPECT_FALSE(extractor.CheckWebLink(&text_str, &start_offset, &count)) in TEST()
181 EXPECT_TRUE(extractor.CheckWebLink(&text_str, &start_offset, &count)) in TEST()
/external/junit/src/main/java/org/junit/
DComparisonFailure.java99 DiffExtractor extractor = new DiffExtractor(); in compact() local
100 String compactedPrefix = extractor.compactPrefix(); in compact()
101 String compactedSuffix = extractor.compactSuffix(); in compact()
103 compactedPrefix + extractor.expectedDiff() + compactedSuffix, in compact()
104 compactedPrefix + extractor.actualDiff() + compactedSuffix); in compact()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/
DAnnotationProcessingUtils.java36 AnnotationExtractor extractor = new AnnotationExtractor(clazz); in getAnnotation() local
37 return (A) extractor.getClosest(extractor.getMatchingAnnotations(description)); in getAnnotation()
46 AnnotationExtractor extractor = new AnnotationExtractor(clazz); in getAnnotation() local
47 return (A) extractor.getClosest(extractor.getMatchingAnnotations(element)); in getAnnotation()
/external/libtextclassifier/annotator/datetime/
Dparser.cc74 for (const DatetimeModelExtractor* extractor : *model->extractors()) { in DatetimeParser()
77 unilib, extractor->pattern(), extractor->compressed_pattern(), in DatetimeParser()
85 if (extractor->locales()) { in DatetimeParser()
86 for (int locale : *extractor->locales()) { in DatetimeParser()
87 type_and_locale_to_extractor_rule_[extractor->extractor()][locale] = in DatetimeParser()
398 DatetimeExtractor extractor(rule, matcher, locale_id, unilib_, in ExtractDatetime() local
401 if (!extractor.Extract(&parse, result_span)) { in ExtractDatetime()
/external/libtextclassifier/lang_id/common/fel/
Dfeature-descriptors.cc58 void ToFEL(const FeatureExtractorDescriptor &extractor, string *output) { in ToFEL() argument
59 for (int i = 0; i < extractor.feature_size(); ++i) { in ToFEL()
60 ToFEL(extractor.feature(i), output); in ToFEL()
Dfeature-extractor.h238 const GenericFeatureExtractor *extractor() const { return extractor_; } in extractor() function
239 void set_extractor(const GenericFeatureExtractor *extractor) { in set_extractor() argument
240 extractor_ = extractor; in set_extractor()
341 static Self *Instantiate(const GenericFeatureExtractor *extractor, in Instantiate() argument
346 f->set_extractor(extractor); in Instantiate()
391 bool success = CreateNested(this->extractor(), this->descriptor(), &nested_, in Setup()
440 const GenericFeatureExtractor *extractor, in CreateNested() argument
445 NES *f = NES::Instantiate(extractor, &sub, prefix); in CreateNested()
Dfeature-descriptors.h154 void ToFEL(const FeatureExtractorDescriptor &extractor, string *output);
/external/libcxx/utils/libcxx/sym_check/
Dextract.py191 extractor = ReadElfExtractor()
193 extractor = NMExtractor()
194 return extractor.extract(lib_file)
/external/v4l2_codec2/cmds/
Dcodec2.cpp384 sp<IMediaExtractor> extractor = MediaExtractorFactory::Create(dataSource); in getMediaSourceFromFile() local
385 if (extractor == nullptr) { in getMediaSourceFromFile()
402 for (size_t i = 0, numTracks = extractor->countTracks(); i < numTracks; ++i) { in getMediaSourceFromFile()
404 extractor->getTrackMetaData(i, MediaExtractor::kIncludeExtensiveMetaData); in getMediaSourceFromFile()
411 *source = extractor->getTrack(i); in getMediaSourceFromFile()
/external/flatbuffers/grpc/flatbuffers-java-grpc/src/main/java/com/google/flatbuffers/grpc/
DFlatbuffersUtils.java95 …e> MethodDescriptor.Marshaller<T> marshaller(final Class<T> clazz, final FBExtactor<T> extractor) { in marshaller() argument
110 return extractor.extract(stream); in marshaller()
/external/libchrome/base/containers/
Dflat_tree.h104 GetKeyFromValue extractor;
105 return key_compare::operator()(extractor(left), extractor(right));
367 GetKeyFromValue extractor;
368 return extractor(v);
879 GetKeyFromValue extractor;
880 if (lower == end() || impl_.get_key_comp()(key, extractor(*lower)))
962 GetKeyFromValue extractor;
963 if ((hint == begin() || key_comp()(extractor(*std::prev(hint)), key))) {
964 if (hint == end() || key_comp()(key, extractor(*hint))) {
968 if (!key_comp()(extractor(*hint), key)) {
/external/v4l2_codec2/tests/
DC2VDAComponent_test.cpp263 sp<IMediaExtractor> extractor = MediaExtractorFactory::Create(dataSource); in getMediaSourceFromFile() local
264 if (extractor == nullptr) { in getMediaSourceFromFile()
281 for (size_t i = 0, numTracks = extractor->countTracks(); i < numTracks; ++i) { in getMediaSourceFromFile()
283 extractor->getTrackMetaData(i, MediaExtractor::kIncludeExtensiveMetaData); in getMediaSourceFromFile()
290 *source = extractor->getTrack(i); in getMediaSourceFromFile()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTest.java30 public void extractor() throws Exception { in extractor() method in ShadowTest
/external/llvm/test/Transforms/CodeExtractor/
D2004-03-14-DominanceProblem.ll2 ; This testcase is failing the loop extractor because not all exit blocks
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CodeExtractor/
D2004-03-14-DominanceProblem.ll2 ; This testcase is failing the loop extractor because not all exit blocks
/external/swiftshader/third_party/LLVM/test/Transforms/CodeExtractor/
D2004-03-14-DominanceProblem.ll2 ; This testcase is failing the loop extractor because not all exit blocks
/external/testng/gradle/
Dpublishing.gradle51 classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.0.3"
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py969 extractor = self.outlineExtractor(pen, subrs, self.globalSubrs,
972 extractor.execute(self)
973 self.width = extractor.width
1167 extractor = T1OutlineExtractor(pen, self.subrs)
1168 extractor.execute(self)
1169 self.width = extractor.width
/external/volley/
Dbintray.gradle6 classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.8.1"
/external/droiddriver/
Dbuild.gradle18 classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:3.0.3'

123