Home
last modified time | relevance | path

Searched refs:types_ (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/webkit/browser/appcache/
Dappcache_entry.h31 : types_(0), response_id_(kNoResponseId), response_size_(0) {} in AppCacheEntry()
34 : types_(type), response_id_(kNoResponseId), response_size_(0) {} in AppCacheEntry()
37 : types_(type), response_id_(response_id), response_size_(0) {} in AppCacheEntry()
40 : types_(type), response_id_(response_id), response_size_(response_size) {} in AppCacheEntry()
42 int types() const { return types_; } in types()
43 void add_types(int added_types) { types_ |= added_types; } in add_types()
44 bool IsMaster() const { return (types_ & MASTER) != 0; } in IsMaster()
45 bool IsManifest() const { return (types_ & MANIFEST) != 0; } in IsManifest()
46 bool IsExplicit() const { return (types_ & EXPLICIT) != 0; } in IsExplicit()
47 bool IsForeign() const { return (types_ & FOREIGN) != 0; } in IsForeign()
[all …]
/external/chromium/chrome/browser/sync/glue/
Ddata_type_manager_impl2_unittest.cc165 std::set<syncable::ModelType> types_; member in DataTypeManagerImpl2Test
172 dtm.Configure(types_); in TEST_F()
184 types_.insert(syncable::BOOKMARKS); in TEST_F()
187 dtm.Configure(types_); in TEST_F()
200 types_.insert(syncable::BOOKMARKS); in TEST_F()
203 dtm.Configure(types_); in TEST_F()
215 types_.insert(syncable::BOOKMARKS); in TEST_F()
218 dtm.Configure(types_); in TEST_F()
235 types_.insert(syncable::PASSWORDS); in TEST_F()
238 dtm.Configure(types_); in TEST_F()
[all …]
/external/chromium/chrome/browser/sync/sessions/
Dordered_commit_set.cc30 types_.push_back(type); in AddCommitItem()
63 types_.resize(max_size); in Truncate()
72 types_[position]}; in GetCommitItemAt()
84 DCHECK_LE(proj->second.size(), types_.size()); in HasBookmarkCommitId()
86 if (types_[proj->second[i]] == syncable::BOOKMARKS) in HasBookmarkCommitId()
97 types_ = other.types_; in operator =()
Dordered_commit_set.h60 return types_[position]; in GetModelTypeAt()
109 std::vector<syncable::ModelType> types_; variable
/external/chromium_org/tools/ipc_fuzzer/message_lib/
Dmessage_file_writer.cc48 TypesSet types_; member in ipc_fuzzer::__anon35587b030111::Writer
96 types_.insert(type); in CollectMessageTypes()
108 header.name_count = types_.size(); in WriteHeader()
127 for (TypesSet::iterator it = types_.begin(); it != types_.end(); ++it) { in WriteNameTable()
141 for (TypesSet::iterator it = types_.begin(); it != types_.end(); ++it) { in WriteStringTable()
/external/chromium/chrome/common/
Djson_schema_validator.cc157 CHECK(types_.find(id) == types_.end()); in JSONSchemaValidator()
158 types_[id] = type; in JSONSchemaValidator()
176 TypeMap::iterator iter = types_.find(id); in Validate()
177 if (iter == types_.end()) in Validate()
178 types_[id] = schema; in Validate()
187 TypeMap::iterator type = types_.find(ref); in Validate()
188 if (type == types_.end()) { in Validate()
Djson_schema_validator.h200 TypeMap types_; variable
/external/chromium/chrome/browser/extensions/
Dextension_webstore_private_browsertest.cc47 types_ = types; in ChangePreferredDataTypes()
50 *types = types_; in GetPreferredDataTypes()
58 syncable::ModelTypeSet types_; member in FakeProfileSyncService
/external/chromium_org/ppapi/tests/clang/
Dfind_affected_interfaces.cc126 StringVec types_; member in __anon9fd906dd0111::FindAffectedInterfacesAction
130 return new FindAffectedInterfacesConsumer(types_); in CreateASTConsumer()
142 types_.push_back(type_name); in ParseArgs()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dtcmalloc_unittest.cc210 : types_(new vector<Type>), total_weight_(0), num_tests_(0) { in TestHarness()
214 delete types_; in ~TestHarness()
248 vector<Type>* types_; // Registered types member in testing::TestHarness
258 types_->push_back(t); in AddType()
270 for (i = 0; i < types_->size(); i++) { in PickType()
271 v -= (*types_)[i].weight; in PickType()
277 assert(i < types_->size()); in PickType()
280 num_tests_, FLAGS_numtests, (*types_)[i].name.c_str()); in PickType()
282 return (*types_)[i].type; in PickType()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dtcmalloc_unittest.cc210 : types_(new vector<Type>), total_weight_(0), num_tests_(0) { in TestHarness()
214 delete types_; in ~TestHarness()
248 vector<Type>* types_; // Registered types member in testing::TestHarness
258 types_->push_back(t); in AddType()
270 for (i = 0; i < types_->size(); i++) { in PickType()
271 v -= (*types_)[i].weight; in PickType()
277 assert(i < types_->size()); in PickType()
280 num_tests_, FLAGS_numtests, (*types_)[i].name.c_str()); in PickType()
282 return (*types_)[i].type; in PickType()
/external/chromium_org/components/json_schema/
Djson_schema_validator.cc404 CHECK(types_.find(id) == types_.end()); in JSONSchemaValidator()
405 types_[id] = type; in JSONSchemaValidator()
423 TypeMap::iterator iter = types_.find(id); in Validate()
424 if (iter == types_.end()) in Validate()
425 types_[id] = schema; in Validate()
434 TypeMap::iterator type = types_.find(ref); in Validate()
435 if (type == types_.end()) { in Validate()
Djson_schema_validator.h235 TypeMap types_; variable
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_condition_attribute.cc128 : types_(types) {} in WebRequestConditionAttributeResourceType()
182 return std::find(types_.begin(), types_.end(), info->GetResourceType()) != in IsFulfilled()
183 types_.end(); in IsFulfilled()
201 return types_ == casted_other->types_; in Equals()
Dwebrequest_condition_attribute.h111 const std::vector<ResourceType::Type> types_; variable
/external/chromium_org/chrome/browser/ui/webui/options/
Dpreferences_browsertest.cc452 types_.push_back("Boolean"); in UseDefaultTestPrefs()
458 types_.push_back("Integer"); in UseDefaultTestPrefs()
465 types_.push_back("List"); in UseDefaultTestPrefs()
527 VerifySetPref(pref_names_[i], types_[i], non_default_values_[i], true); in IN_PROC_BROWSER_TEST_F()
553 VerifySetPref(pref_names_[i], types_[i], non_default_values_[i], false); in IN_PROC_BROWSER_TEST_F()
567 VerifySetPref(pref_names_[i], types_[i], non_default_values_[i], false); in IN_PROC_BROWSER_TEST_F()
576 VerifySetPref(pref_names_[i], types_[i], non_default_values_[i], false); in IN_PROC_BROWSER_TEST_F()
Dpreferences_browsertest.h186 std::vector<std::string> types_; variable
/external/chromium_org/v8/src/
Dcode-stubs.cc589 Types old_types(types_); in UpdateStatus()
590 bool to_boolean_value = types_.UpdateStatus(object); in UpdateStatus()
591 TraceTransition(old_types, types_); in UpdateStatus()
597 types_.Print(stream); in PrintState()
Dcode-stubs.h2173 : types_(types) { } in types_() function
2175 : types_(static_cast<byte>(state)) { } in ToBooleanStub()
2178 Types GetTypes() { return types_; } in GetTypes()
2202 return types_.ToIntegral(); in GetExtraICState()
2206 if (types_.IsEmpty()) { in GetICState()
2220 Types types_; variable
/external/v8/src/
Dcode-stubs.h1066 : tos_(tos), types_(types) { } in tos_()
1076 int MinorKey() { return (tos_.code() << NUMBER_OF_TYPES) | types_.ToByte(); } in MinorKey()
1079 code->set_to_boolean_state(types_.ToByte()); in FinishCode()
1089 Types types_; variable
Dhydrogen-instructions.cc1529 : types_(Min(types->length(), kMaxLoadPolymorphism)), in HLoadNamedFieldPolymorphic()
1537 i < types->length() && types_.length() < kMaxLoadPolymorphism; in HLoadNamedFieldPolymorphic()
1551 types_.Add(types->at(i)); in HLoadNamedFieldPolymorphic()
1555 types_.Add(types->at(i)); in HLoadNamedFieldPolymorphic()
1563 if (types_.length() == types->length() && FLAG_deoptimize_uncommon_cases) { in HLoadNamedFieldPolymorphic()
1574 if (types_.length() != other->types()->length()) return false; in DataEquals()
1577 for (int i = 0; i < types_.length(); i++) { in DataEquals()
1579 for (int j = 0; j < types_.length(); j++) { in DataEquals()
1580 if (types_.at(j).is_identical_to(other->types()->at(i))) { in DataEquals()
Dcode-stubs.cc355 types_.Print(stream); in PrintName()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DCodeGeneratorInspector.py1575 self.types_ = []
1578 self.types_.append(type_data)
1584 return self.types_
/external/v8/src/x64/
Dcode-stubs-x64.cc409 if (!types_.IsEmpty()) { in Generate()
423 if (types_.Contains(SMI)) { in Generate()
433 } else if (types_.NeedsMap()) { in Generate()
438 if (types_.NeedsMap()) { in Generate()
441 if (types_.CanBeUndetectable()) { in Generate()
453 if (types_.Contains(SPEC_OBJECT)) { in Generate()
466 if (types_.Contains(STRING)) { in Generate()
476 if (types_.Contains(HEAP_NUMBER)) { in Generate()
524 if (types_.Contains(type)) { in CheckOddball()
546 __ Push(Smi::FromInt(types_.ToByte())); in GenerateTypeTransition()
/external/v8/src/ia32/
Dcode-stubs-ia32.cc427 if (!types_.IsEmpty()) { in Generate()
441 if (types_.Contains(SMI)) { in Generate()
451 } else if (types_.NeedsMap()) { in Generate()
456 if (types_.NeedsMap()) { in Generate()
459 if (types_.CanBeUndetectable()) { in Generate()
471 if (types_.Contains(SPEC_OBJECT)) { in Generate()
484 if (types_.Contains(STRING)) { in Generate()
494 if (types_.Contains(HEAP_NUMBER)) { in Generate()
559 if (types_.Contains(type)) { in CheckOddball()
581 __ push(Immediate(Smi::FromInt(types_.ToByte()))); in GenerateTypeTransition()

12