Home
last modified time | relevance | path

Searched refs:possible_values (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/components/policy/tools/
Dgenerate_policy_source.py335 possible_values = schema['enum']
336 if self.IsConsecutiveInterval(possible_values):
337 index = self.AppendRestriction(max(possible_values), min(possible_values))
341 self.int_enums += possible_values
524 for possible_values in self.int_enums:
525 f.write(' %d,\n' % possible_values)
530 for possible_values in self.string_enums:
531 f.write(' %s,\n' % self.GetString(possible_values))
/external/chromium_org/components/policy/core/common/
Dschema.cc408 const base::ListValue* possible_values = NULL; in DetermineStorageSizes() local
409 if (schema.GetList(schema::kEnum, &possible_values)) { in DetermineStorageSizes()
411 sizes->int_enums += possible_values->GetSize(); in DetermineStorageSizes()
413 sizes->string_enums += possible_values->GetSize(); in DetermineStorageSizes()
414 sizes->strings += possible_values->GetSize(); in DetermineStorageSizes()
602 const base::ListValue *possible_values = NULL; in ParseEnum() local
603 if (!schema.GetList(schema::kEnum, &possible_values)) { in ParseEnum()
607 if (possible_values->empty()) { in ParseEnum()
616 for (base::ListValue::const_iterator it = possible_values->begin(); in ParseEnum()
617 it != possible_values->end(); ++it) { in ParseEnum()
[all …]
/external/chromium_org/components/autofill/core/browser/
Dform_structure_unittest.cc2379 std::set<base::string16> possible_values = in TEST() local
2381 EXPECT_EQ(5U, possible_values.size()); in TEST()
2382 EXPECT_EQ(1U, possible_values.count(ASCIIToUTF16("AU"))); in TEST()
2383 EXPECT_EQ(1U, possible_values.count(ASCIIToUTF16("FR"))); in TEST()
2384 EXPECT_EQ(1U, possible_values.count(ASCIIToUTF16("DOWN UNDER"))); in TEST()
2385 EXPECT_EQ(1U, possible_values.count(ASCIIToUTF16("GERMANY"))); in TEST()
2386 EXPECT_EQ(1U, possible_values.count(ASCIIToUTF16("GRMNY"))); in TEST()
2387 EXPECT_EQ(0U, possible_values.count(ASCIIToUTF16("Fr"))); in TEST()
2388 EXPECT_EQ(0U, possible_values.count(ASCIIToUTF16("DE"))); in TEST()
/external/chromium_org/net/quic/
Dquic_config.h117 void set(const QuicTagVector& possible_values, QuicTag default_value);
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_impl.cc655 bool CountryFilter(const std::set<base::string16>& possible_values, in CountryFilter() argument
657 if (!possible_values.empty() && in CountryFilter()
658 !possible_values.count(base::ASCIIToUTF16(country_code))) { in CountryFilter()