Home
last modified time | relevance | path

Searched refs:FeatureList (Results 1 – 25 of 77) sorted by relevance

1234

/external/libchrome/base/
Dfeature_list_unittest.cc38 FeatureList::SplitFeatureListString(feature_list); in SortFeatureListString()
48 RegisterFeatureListInstance(WrapUnique(new FeatureList)); in FeatureListTest()
52 void RegisterFeatureListInstance(std::unique_ptr<FeatureList> feature_list) { in RegisterFeatureListInstance()
53 FeatureList::ClearInstanceForTesting(); in RegisterFeatureListInstance()
55 FeatureList::SetInstance(std::move(feature_list)); in RegisterFeatureListInstance()
58 FeatureList::ClearInstanceForTesting(); in ClearFeatureListInstance()
62 FeatureList* feature_list() { return feature_list_; } in feature_list()
66 FeatureList* feature_list_;
72 EXPECT_TRUE(FeatureList::IsEnabled(kFeatureOnByDefault)); in TEST_F()
73 EXPECT_FALSE(FeatureList::IsEnabled(kFeatureOffByDefault)); in TEST_F()
[all …]
Dfeature_list.cc26 FeatureList* g_feature_list_instance = nullptr;
84 FeatureList::FeatureList() = default;
86 FeatureList::~FeatureList() = default;
88 void FeatureList::InitializeFromCommandLine( in InitializeFromCommandLine()
101 void FeatureList::InitializeFromSharedMemory( in InitializeFromSharedMemory()
121 bool FeatureList::IsFeatureOverriddenFromCommandLine( in IsFeatureOverriddenFromCommandLine()
129 void FeatureList::AssociateReportingFieldTrial( in AssociateReportingFieldTrial()
149 void FeatureList::RegisterFieldTrialOverride(const std::string& feature_name, in RegisterFieldTrialOverride()
163 void FeatureList::AddFeaturesToAllocator(PersistentMemoryAllocator* allocator) { in AddFeaturesToAllocator()
187 void FeatureList::GetFeatureOverrides(std::string* enable_overrides, in GetFeatureOverrides()
[all …]
Dfeature_list.h92 class BASE_EXPORT FeatureList {
94 FeatureList();
95 ~FeatureList();
191 static FeatureList* GetInstance();
197 static void SetInstance(std::unique_ptr<FeatureList> instance);
203 static std::unique_ptr<FeatureList> ClearInstanceForTesting();
208 static void RestoreInstanceForTesting(std::unique_ptr<FeatureList> instance);
305 DISALLOW_COPY_AND_ASSIGN(FeatureList);
/external/libchrome/base/test/
Dscoped_feature_list_unittest.cc25 FeatureList* list = FeatureList::GetInstance(); in ExpectFeatures()
42 std::unique_ptr<FeatureList> feature_list(new FeatureList); in ScopedFeatureListTest()
44 original_feature_list_ = FeatureList::ClearInstanceForTesting(); in ScopedFeatureListTest()
45 FeatureList::SetInstance(std::move(feature_list)); in ScopedFeatureListTest()
51 FeatureList::ClearInstanceForTesting(); in ~ScopedFeatureListTest()
52 FeatureList::RestoreInstanceForTesting(std::move(original_feature_list_)); in ~ScopedFeatureListTest()
58 std::unique_ptr<FeatureList> original_feature_list_;
65 EXPECT_FALSE(FeatureList::IsEnabled(kTestFeature1)); in TEST_F()
70 EXPECT_TRUE(FeatureList::IsEnabled(kTestFeature1)); in TEST_F()
73 EXPECT_FALSE(FeatureList::IsEnabled(kTestFeature1)); in TEST_F()
[all …]
Dscoped_feature_list.cc61 FeatureList::OverrideState override_state, in OverrideFeatures()
73 if (override_state == FeatureList::OverrideState::OVERRIDE_ENABLE_FEATURE) { in OverrideFeatures()
77 FeatureList::OverrideState::OVERRIDE_DISABLE_FEATURE); in OverrideFeatures()
98 FeatureList::ClearInstanceForTesting(); in ~ScopedFeatureList()
100 FeatureList::RestoreInstanceForTesting(std::move(original_feature_list_)); in ~ScopedFeatureList()
104 std::unique_ptr<FeatureList> feature_list(new FeatureList); in Init()
110 std::unique_ptr<FeatureList> feature_list) { in InitWithFeatureList()
112 original_feature_list_ = FeatureList::ClearInstanceForTesting(); in InitWithFeatureList()
113 FeatureList::SetInstance(std::move(feature_list)); in InitWithFeatureList()
120 std::unique_ptr<FeatureList> feature_list(new FeatureList); in InitFromCommandLine()
[all …]
Dscoped_feature_list.h50 void InitWithFeatureList(std::unique_ptr<FeatureList> feature_list);
114 std::unique_ptr<FeatureList> original_feature_list_;
/external/fonttools/Lib/fontTools/varLib/
DfeatureVars.py288 for index, feature in enumerate(gsub.FeatureList.FeatureRecord):
294 gsub.FeatureList.FeatureRecord.append(varFeature)
295 gsub.FeatureList.FeatureCount = len(gsub.FeatureList.FeatureRecord)
298 varFeatureIndex = gsub.FeatureList.FeatureRecord.index(varFeature)
335 … existingLookupIndices = gsub.FeatureList.FeatureRecord[varFeatureIndex].Feature.LookupListIndex
354 gsub.FeatureList = ot.FeatureList()
355 gsub.FeatureList.FeatureRecord = []
464 …tagIndexFea = [(fea.FeatureTag, index, fea) for index, fea in enumerate(table.FeatureList.FeatureR…
466 table.FeatureList.FeatureRecord = [fea for tag, index, fea in tagIndexFea]
Derrors.py87 for x in good_ttf[self.stack[-1]].table.FeatureList.FeatureRecord
91 for x in bad_ttf[self.stack[-1]].table.FeatureList.FeatureRecord
/external/libchrome/base/metrics/
Dfield_trial_params_unittest.cc43 FeatureList::OverrideState override_state, in CreateFeatureWithTrial()
45 std::unique_ptr<FeatureList> feature_list(new FeatureList); in CreateFeatureWithTrial()
182 CreateFeatureWithTrial(kFeature, FeatureList::OVERRIDE_ENABLE_FEATURE, in TEST_F()
200 CreateFeatureWithTrial(kFeature, FeatureList::OVERRIDE_ENABLE_FEATURE, in TEST_F()
217 CreateFeatureWithTrial(kFeature, FeatureList::OVERRIDE_DISABLE_FEATURE, in TEST_F()
234 CreateFeatureWithTrial(kFeature, FeatureList::OVERRIDE_DISABLE_FEATURE, in TEST_F()
263 CreateFeatureWithTrial(kFeature, FeatureList::OVERRIDE_ENABLE_FEATURE, in TEST_F()
294 CreateFeatureWithTrial(kFeature, FeatureList::OVERRIDE_ENABLE_FEATURE, in TEST_F()
332 CreateFeatureWithTrial(kFeature, FeatureList::OVERRIDE_ENABLE_FEATURE, in TEST_F()
373 CreateFeatureWithTrial(kFeature, FeatureList::OVERRIDE_ENABLE_FEATURE, in TEST_F()
[all …]
Dfield_trial_params.cc30 if (!base::FeatureList::IsEnabled(feature)) in GetFieldTrialParamsByFeature()
33 base::FieldTrial* trial = base::FeatureList::GetFieldTrial(feature); in GetFieldTrialParamsByFeature()
53 if (!base::FeatureList::IsEnabled(feature)) in GetFieldTrialParamValueByFeature()
56 base::FieldTrial* trial = base::FeatureList::GetFieldTrial(feature); in GetFieldTrialParamValueByFeature()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ParseSingleSequenceExample.pbtxt13 FeatureList keys which may be missing from the SequenceExample. If the
14 associated FeatureList is missing, it is treated as empty. By default,
15 any FeatureList not listed in this vector must exist in the SequenceExample.
96 of data in each FeatureList given in feature_list_sparse_keys.
105 data in each FeatureList given in feature_list_dense_keys.
106 The shape of each Feature in the FeatureList corresponding to
Dapi_def_ParseSequenceExample.pbtxt36 FeatureList keys which may be missing from the SequenceExamples. If the
37 associated FeatureList is missing, it is treated as empty. By default,
38 any FeatureList not listed in this vector must exist in the SequenceExamples.
96 of data in each FeatureList given in feature_list_sparse_keys.
105 data in each FeatureList given in feature_list_dense_keys.
106 The shape of each Feature in the FeatureList corresponding to
Dapi_def_ParseSequenceExampleV2.pbtxt64 FeatureList is missing, it is treated as empty.
104 of data in each FeatureList given in feature_list_sparse_keys.
113 data in each FeatureList given in feature_list_dense_keys.
114 The shape of each Feature in the FeatureList corresponding to
134 RaggedTensor.value dtypes for the ragged FeatureList features.
140 RaggedTensor.row_split dtypes for the ragged FeatureList features.
/external/tensorflow/tensorflow/core/example/
Dexample.proto97 // associated with a repeated set of Features (a FeatureList).
98 // A FeatureList thus represents the values of a feature identified by its key
192 // - A FeatureList L may be missing in an example; it is up to the
195 // - If a FeatureList L exists, it may be empty (zero length).
196 // - If a FeatureList L is non-empty, all features within the FeatureList
198 // of the FeatureList identified by the same key must be the same. An entry
200 // - If a FeatureList L is non-empty, it is up to the parser configuration
201 // to determine if all features within the FeatureList must
202 // have the same size. The same holds for this FeatureList across multiple
209 // number of Feature messages, so that the ith element in each FeatureList
Dfeature.proto94 // A FeatureList contains lists of Features. These may hold zero or more
98 // contains the mapping from name to FeatureList.
100 message FeatureList { message
106 map<string, FeatureList> feature_list = 1;
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-feature-list.pbtxt1 path: "tensorflow.train.FeatureList"
4 name: "FeatureList"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-feature-list.pbtxt1 path: "tensorflow.train.FeatureList"
4 name: "FeatureList"
Dtensorflow.train.-feature-lists.-feature-list-entry.pbtxt16 type_name: ".tensorflow.FeatureList"
/external/fonttools/Lib/fontTools/
Dmerge.py567 otTables.FeatureList.mergeMap = {
665 table.table.FeatureList.FeatureRecord.append(synthFeature)
666 table.table.FeatureList.FeatureCount += 1
798 @_add_method(otTables.FeatureList)
1103 t.table.FeatureList.mapLookups(lookupMap)
1105 if t.table.FeatureList and t.table.ScriptList:
1106 featureMap = {i:v for i,v in enumerate(t.table.FeatureList.FeatureRecord)}
1123 if t.table.FeatureList and t.table.ScriptList:
1126 featureMap = _GregariousIdentityDict(t.table.FeatureList.FeatureRecord)
1130 featureMap = _AttendanceRecordingIdentityDict(t.table.FeatureList.FeatureRecord)
[all …]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DGSUBWriter.java21 private FeatureList featureList;
25 public GSUBWriter(String theScriptName, ScriptList theScriptList, FeatureList theFeatureList, in GSUBWriter()
DFeatureList.java16 public class FeatureList class
22 public FeatureList() in FeatureList() method in FeatureList
/external/fonttools/Snippets/
Dlayout-features.py21 if not table.ScriptList or not table.FeatureList: continue
22 featureRecords = table.FeatureList.FeatureRecord
/external/freetype/src/otvalid/
Dotvgsub.c557 FT_UInt ScriptList, FeatureList, LookupList; in otv_GSUB_validate() local
591 FeatureList = FT_NEXT_USHORT( p ); in otv_GSUB_validate()
600 otv_FeatureList_validate( table + FeatureList, table + LookupList, in otv_GSUB_validate()
602 otv_ScriptList_validate( table + ScriptList, table + FeatureList, in otv_GSUB_validate()
/external/pdfium/core/fpdfapi/font/
Dcfx_cttgsubtable.cpp34 if (IsVerticalFeatureTag(FeatureList[index].FeatureTag)) in CFX_CTTGSUBTable()
43 for (const TFeatureRecord& feature : FeatureList) { in CFX_CTTGSUBTable()
63 if (GetVerticalGlyphSub(FeatureList[item], glyphnum, &vglyphnum)) in GetVerticalGlyph()
210 FeatureList = std::vector<TFeatureRecord>(GetUInt16(sp)); in ParseFeatureList()
211 for (auto& featureRec : FeatureList) { in ParseFeatureList()
/external/angle/include/platform/
DFeature.h105 using FeatureList = std::vector<const Feature *>; variable
184 void populateFeatureList(FeatureList *features) const in populateFeatureList()

1234