/external/libchrome/base/ |
D | feature_list_unittest.cc | 38 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 …]
|
D | feature_list.cc | 26 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 …]
|
D | feature_list.h | 92 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/ |
D | scoped_feature_list_unittest.cc | 25 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 …]
|
D | scoped_feature_list.cc | 61 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 …]
|
D | scoped_feature_list.h | 50 void InitWithFeatureList(std::unique_ptr<FeatureList> feature_list); 114 std::unique_ptr<FeatureList> original_feature_list_;
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ParseSequenceExample.pbtxt | 36 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
|
D | api_def_ParseSingleSequenceExample.pbtxt | 13 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
|
/external/tensorflow/tensorflow/core/example/ |
D | example.proto | 95 // associated with a repeated set of Features (a FeatureList). 96 // A FeatureList thus represents the values of a feature identified by its key 190 // - A FeatureList L may be missing in an example; it is up to the 193 // - If a FeatureList L exists, it may be empty (zero length). 194 // - If a FeatureList L is non-empty, all features within the FeatureList 196 // of the FeatureList identified by the same key must be the same. An entry 198 // - If a FeatureList L is non-empty, it is up to the parser configuration 199 // to determine if all features within the FeatureList must 200 // have the same size. The same holds for this FeatureList across multiple 207 // number of Feature messages, so that the ith element in each FeatureList
|
D | feature.proto | 92 // A FeatureList contains lists of Features. These may hold zero or more 96 // contains the mapping from name to FeatureList. 98 message FeatureList { message 104 map<string, FeatureList> feature_list = 1;
|
/external/fonttools/Lib/fontTools/varLib/ |
D | featureVars.py | 281 for feature in gsub.FeatureList.FeatureRecord: 285 gsub.FeatureList.FeatureRecord.append(rvrnFeature) 288 rvrnFeatureIndex = gsub.FeatureList.FeatureRecord.index(rvrnFeature) 331 gsub.FeatureList = ot.FeatureList() 332 gsub.FeatureList.FeatureRecord = [] 438 …tagIndexFea = [(fea.FeatureTag, index, fea) for index, fea in enumerate(table.FeatureList.FeatureR… 440 table.FeatureList.FeatureRecord = [fea for tag, index, fea in tagIndexFea]
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | SubtargetEmitter.cpp | 74 std::vector<Record*> FeatureList = in FeatureKeyValues() local 77 if (FeatureList.empty()) in FeatureKeyValues() 80 std::sort(FeatureList.begin(), FeatureList.end(), LessRecordFieldName()); in FeatureKeyValues() 88 for (unsigned i = 0, N = FeatureList.size(); i < N; ++i) { in FeatureKeyValues() 90 Record *Feature = FeatureList[i]; in FeatureKeyValues() 151 const std::vector<Record*> &FeatureList = in CPUKeyValues() local 159 if (FeatureList.empty()) { in CPUKeyValues() 162 for (unsigned j = 0, M = FeatureList.size(); j < M;) { in CPUKeyValues() 163 OS << Target << "::" << FeatureList[j]->getName(); in CPUKeyValues()
|
/external/fonttools/Lib/fontTools/ |
D | merge.py | 565 otTables.FeatureList.mergeMap = { 663 table.table.FeatureList.FeatureRecord.append(synthFeature) 664 table.table.FeatureList.FeatureCount += 1 796 @_add_method(otTables.FeatureList) 1063 t.table.FeatureList.mapLookups(lookupMap) 1065 if t.table.FeatureList and t.table.ScriptList: 1066 featureMap = {i:v for i,v in enumerate(t.table.FeatureList.FeatureRecord)} 1083 if t.table.FeatureList and t.table.ScriptList: 1086 featureMap = _GregariousIdentityDict(t.table.FeatureList.FeatureRecord) 1090 featureMap = _AttendanceRecordingIdentityDict(t.table.FeatureList.FeatureRecord) [all …]
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.train.-feature-list.pbtxt | 1 path: "tensorflow.train.FeatureList" 4 name: "FeatureList"
|
D | tensorflow.train.-feature-lists.-feature-list-entry.pbtxt | 16 type_name: ".tensorflow.FeatureList"
|
D | tensorflow.train.-feature-lists.pbtxt | 25 type_name: ".tensorflow.FeatureList"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.train.-feature-list.pbtxt | 1 path: "tensorflow.train.FeatureList" 4 name: "FeatureList"
|
D | tensorflow.train.-feature-lists.-feature-list-entry.pbtxt | 16 type_name: ".tensorflow.FeatureList"
|
/external/pdfium/core/fpdfapi/font/ |
D | cfx_cttgsubtable.cpp | 39 if (FeatureList[index].FeatureTag == tag[0] || in GetVerticalGlyph() 40 FeatureList[index].FeatureTag == tag[1]) { in GetVerticalGlyph() 48 for (const TFeatureRecord& feature : FeatureList) { in GetVerticalGlyph() 57 if (GetVerticalGlyphSub(glyphnum, vglyphnum, &FeatureList[item])) { in GetVerticalGlyph() 205 FeatureList = std::vector<TFeatureRecord>(GetUInt16(sp)); in ParseFeatureList() 206 for (auto& featureRec : FeatureList) { in ParseFeatureList()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | GSUBWriter.java | 21 private FeatureList featureList; 25 public GSUBWriter(String theScriptName, ScriptList theScriptList, FeatureList theFeatureList, in GSUBWriter()
|
D | FeatureList.java | 16 public class FeatureList class 22 public FeatureList() in FeatureList() method in FeatureList
|
/external/freetype/src/otvalid/ |
D | otvgsub.c | 557 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()
|
D | otvgpos.c | 991 FT_UInt ScriptList, FeatureList, LookupList; in otv_GPOS_validate() local 1025 FeatureList = FT_NEXT_USHORT( p ); in otv_GPOS_validate() 1034 otv_FeatureList_validate( table + FeatureList, table + LookupList, in otv_GPOS_validate() 1036 otv_ScriptList_validate( table + ScriptList, table + FeatureList, in otv_GPOS_validate()
|
/external/fonttools/Snippets/ |
D | layout-features.py | 23 if not table.ScriptList or not table.FeatureList: continue 24 featureRecords = table.FeatureList.FeatureRecord
|
/external/llvm/utils/TableGen/ |
D | SubtargetEmitter.cpp | 161 std::vector<Record*> FeatureList = in FeatureKeyValues() local 164 if (FeatureList.empty()) in FeatureKeyValues() 167 std::sort(FeatureList.begin(), FeatureList.end(), LessRecordFieldName()); in FeatureKeyValues() 176 for (unsigned i = 0, N = FeatureList.size(); i < N; ++i) { in FeatureKeyValues() 178 Record *Feature = FeatureList[i]; in FeatureKeyValues() 238 const std::vector<Record*> &FeatureList = in CPUKeyValues() local 247 for (unsigned j = 0, M = FeatureList.size(); j < M;) { in CPUKeyValues() 248 OS << " " << Target << "::" << FeatureList[j]->getName(); in CPUKeyValues()
|