Searched defs:warnings (Results 1 - 25 of 86) sorted by relevance

1234

/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dautomation_unittest.cc37 std::vector<base::string16> warnings = local
39 EXPECT_EQ(0u, warnings.size());
50 std::vector<base::string16> warnings = local
52 ASSERT_EQ(1u, warnings.size());
54 base::UTF16ToUTF8(warnings[0]));
69 std::vector<base::string16> warnings = local
71 ASSERT_EQ(1u, warnings.size());
73 base::UTF16ToUTF8(warnings[0]));
93 std::vector<base::string16> warnings = local
95 ASSERT_EQ(1u, warnings
120 std::vector<base::string16> warnings = local
145 std::vector<base::string16> warnings = local
173 std::vector<base::string16> warnings = local
190 std::vector<base::string16> warnings = local
209 std::vector<base::string16> warnings = local
213 warnings[0]); local
227 std::vector<base::string16> warnings = local
231 warnings[0]); local
247 std::vector<base::string16> warnings = local
251 warnings[0]); local
267 std::vector<base::string16> warnings = local
271 warnings[0]); local
[all...]
/external/chromium_org/third_party/cython/src/Cython/Distutils/
H A Dextension.py12 import warnings namespace
14 warnings = None variable
/external/mockito/src/org/mockito/internal/util/junit/
H A DJUnitFailureHacker.java13 public void appendWarnings(Failure failure, String warnings) { argument
14 if (isEmpty(warnings)) {
20 String newMessage = "contains both: actual test failure *and* Mockito warnings.\n" +
21 warnings + "\n *** The actual failure is because of: ***\n";
28 private boolean isEmpty(String warnings) { argument
29 return warnings == null || "".equals(warnings); // isEmpty() is in JDK 6+
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DErrorQueue.java40 List warnings = new LinkedList(); field in class:ErrorQueue
51 warnings.add(msg);
59 return infos.size() + errors.size() + warnings.size();
65 "warnings: "+warnings;
/external/chromium_org/chrome/common/extensions/api/storage/
H A Dstorage_schema_manifest_handler_unittest.cc62 std::vector<InstallWarning> warnings; local
63 if (file_util::ValidateExtension(extension.get(), &error, &warnings))
/external/chromium_org/chrome/common/extensions/
H A Dextension_unittest.cc176 std::vector<InstallWarning> warnings; local
177 EXPECT_TRUE(file_util::ValidateExtension(extension.get(), &err, &warnings));
178 EXPECT_EQ(0U, warnings.size());
H A Dmanifest_unittest.cc74 std::vector<InstallWarning> warnings; local
75 EXPECT_TRUE(manifest->ValidateManifest(&error, &warnings));
77 ASSERT_EQ(1u, warnings.size());
98 warnings.clear();
99 EXPECT_TRUE(manifest->ValidateManifest(&error, &warnings));
101 ASSERT_EQ(2u, warnings.size());
108 warnings[0].message);
129 std::vector<InstallWarning> warnings; local
130 EXPECT_TRUE(manifest->ValidateManifest(&error, &warnings));
132 EXPECT_TRUE(warnings
185 std::vector<InstallWarning> warnings; local
[all...]
/external/chromium_org/chrome/common/extensions/permissions/
H A Dsettings_override_permission_unittest.cc71 std::vector<base::string16> warnings = local
73 ASSERT_EQ(1u, warnings.size());
75 base::UTF16ToUTF8(warnings[0]));
95 std::vector<base::string16> warnings = local
97 ASSERT_EQ(1u, warnings.size());
99 base::UTF16ToUTF8(warnings[0]));
119 std::vector<base::string16> warnings = local
121 ASSERT_EQ(1u, warnings.size());
123 base::UTF16ToUTF8(warnings[0]));
/external/chromium_org/extensions/browser/
H A Dwarning_service.h30 // Manages a set of warnings caused by extensions. These warnings (e.g.
43 // insert any warnings.
47 // Clears all warnings of types contained in |types| and notifies observers
48 // of the changed warnings.
51 // Returns all types of warnings effecting extension |extension_id|.
55 // Returns all localized warnings for extension |extension_id| in |result|.
59 const WarningSet& warnings() const { return warnings_; } function in class:extensions::WarningService
61 // Adds a set of warnings and notifies observers if any warning is new.
62 void AddWarnings(const WarningSet& warnings);
[all...]
H A Dwarning_service.cc74 void WarningService::AddWarnings(const WarningSet& warnings) { argument
78 warnings_.insert(warnings.begin(), warnings.end());
87 const WarningSet& warnings) {
101 warning_service->AddWarnings(warnings);
121 // Therefore, we clear warnings of this type for all extensions.
85 NotifyWarningsOnUI( void* profile_id, const WarningSet& warnings) argument
H A Dwarning_service_unittest.cc24 WarningSet warnings; local
25 warnings.insert(warning);
26 AddWarnings(warnings);
69 // Check that ClearWarnings deletes exactly the specified warnings and
77 // Insert two unique warnings in one batch.
92 // Check that the correct warnings appear in |warnings|.
106 // Check that not warnings remain.
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_l_o_c_a.py6 import warnings namespace
28 warnings.warn("corrupt 'loca' table, or wrong numGlyphs in 'maxp': %d %d" % (len(locations) - 1, ttFont['maxp'].numGlyphs))
H A D_h_m_t_x.py7 import warnings namespace
34 warnings.warn("too much 'hmtx'/'vmtx' table data")
H A DO_S_2f_2.py6 import warnings namespace
119 warnings.warn("too much 'OS/2' table data")
H A D_k_e_r_n.py8 import warnings namespace
115 warnings.warn("excess data in 'kern' subtable: %d bytes" % len(data))
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_l_o_c_a.py6 import warnings namespace
28 warnings.warn("corrupt 'loca' table, or wrong numGlyphs in 'maxp': %d %d" % (len(locations) - 1, ttFont['maxp'].numGlyphs))
H A D_h_m_t_x.py7 import warnings namespace
34 warnings.warn("too much 'hmtx'/'vmtx' table data")
H A DO_S_2f_2.py6 import warnings namespace
119 warnings.warn("too much 'OS/2' table data")
/external/chromium_org/chrome/browser/extensions/
H A Dextension_warning_badge_service_unittest.cc27 WarningSet warnings; local
28 warnings.insert(warning);
29 AddWarnings(warnings);
43 return warning_service_->warnings();
66 TestExtensionWarningSet warnings(&profile);
67 TestExtensionWarningBadgeService badge_service(&profile, &warnings);
68 warnings.AddObserver(&badge_service);
71 warnings.AddWarning(Warning::CreateNetworkDelayWarning(ext1_id));
80 warnings.GetWarningTypesAffectingExtension(ext1_id);
81 warnings
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/tasm/
H A Dtasm-options.c48 int errors = 0, warnings = 0; local
89 warnings++;
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/
H A Djs_checker.py100 import warnings namespace
102 old_filters = warnings.filters
117 warnings.filterwarnings('ignore', category=DeprecationWarning)
124 warnings.filters = old_filters
/external/chromium_org/chrome/browser/extensions/api/alarms/
H A Dalarms_api.cc33 std::vector<std::string>* warnings) {
56 warnings->push_back(ErrorUtils::FormatErrorMessage(
62 warnings->push_back(ErrorUtils::FormatErrorMessage(
72 warnings->push_back(ErrorUtils::FormatErrorMessage(
78 warnings->push_back(ErrorUtils::FormatErrorMessage(
107 std::vector<std::string> warnings; local
109 alarm_name, params->alarm_info, extension(), &error_, &warnings)) {
112 for (std::vector<std::string>::const_iterator it = warnings.begin();
113 it != warnings.end(); ++it)
29 ValidateAlarmCreateInfo(const std::string& alarm_name, const alarms::AlarmCreateInfo& create_info, const Extension* extension, std::string* error, std::vector<std::string>* warnings) argument
/external/chromium_org/chrome/browser/web_dev_style/
H A Djs_checker.py111 import warnings namespace
113 old_filters = warnings.filters
128 warnings.filterwarnings('ignore', category=DeprecationWarning)
135 warnings.filters = old_filters
/external/chromium_org/third_party/markdown/extensions/
H A Dcodehilite.py57 import warnings namespace
252 warnings.warn('The "force_linenos" config setting'
/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/yasm/
H A Dyasm-options.c48 int errors = 0, warnings = 0; local
108 warnings++;
146 warnings++;

Completed in 566 milliseconds

1234