HomeSort by relevance Sort by last modified time
    Searched refs:Err (Results 51 - 75 of 170) sorted by null

1 23 4 5 6 7

  /external/chromium_org/tools/gn/
header_checker.h 18 #include "tools/gn/err.h"
39 bool Run(std::vector<Err>* errors);
74 Err* err) const;
84 Err* err) const;
134 std::vector<Err> errors_;
parse_tree_unittest.cc 28 Err err; local
29 Value result = accessor.Execute(setup.scope(), &err);
30 EXPECT_TRUE(err.has_error());
34 err = Err();
37 result = accessor.Execute(setup.scope(), &err);
38 EXPECT_TRUE(err.has_error());
43 err = Err();
64 Err err; local
    [all...]
args.h 11 #include "tools/gn/err.h"
55 // On failure, the err will be set and it will return false.
58 Err* err) const;
62 bool VerifyAllOverridesUsed(Err* err) const;
69 Err* err);
commands.cc 64 Err err; local
67 default_toolchain, arg_value, &err);
68 if (err.has_error()) {
69 err.PrintToStdout();
75 Err(Location(), "Label not found.",
82 Err(Location(), "Not a target.",
functions.cc 13 #include "tools/gn/err.h"
25 Err* err) {
27 *err = Err(node, "Not valid from an import.",
38 Err* err) {
40 *err = Err(node, "Not valid from the build config.",
54 Err* err)
    [all...]
function_get_target_outputs.cc 126 Err* err) {
128 *err = Err(function, "Expected one argument.");
134 ToolchainLabelForScope(scope), args[0], err);
144 *err = Err(function, "No targets defined in this context.");
154 *err = Err(function, "Label does not refer to a target.",
164 *err = Err(function, "Target not found in this context."
    [all...]
label.cc 8 #include "tools/gn/err.h"
24 // computes the final build rule. Sets err on failure. On success,
31 Err* err) {
41 *err = Err(input_value, "Label can't start with a single slash",
59 Err* err) {
70 *err = Err(input_value, "This dependency name is empty")
    [all...]
visibility.cc 9 #include "tools/gn/err.h"
57 Err* err) {
63 patterns_.push_back(GetPattern(current_dir, value, err));
64 return !err->has_error();
68 if (!value.VerifyTypeIs(Value::LIST, err))
73 patterns_.push_back(GetPattern(current_dir, list[i], err));
74 if (err->has_error())
140 Err* err) {
    [all...]
input_file_manager.cc 29 Err* err) {
48 *err = Err(origin, "Can't load input file.",
56 *err = Err(origin,
66 *tokens = Tokenizer::Tokenize(file, err);
67 if (err->has_error())
71 *root = Parser::Parse(*tokens, err);
72 if (err->has_error()
260 Err err; local
    [all...]
function_get_path_info.cc 5 #include "tools/gn/err.h"
44 Err* err) {
45 if (!input.VerifyTypeIs(Value::STRING, err))
49 *err = Err(input, "Calling get_path_info on an empty string.");
189 Err* err) {
191 *err = Err(function, "Expecting two arguments to get_path_info.")
    [all...]
config_values_generator.cc 21 Err* err) {
27 ExtractListOfStringValues(*value, &result, err);
37 Err* err) {
44 *value, input_dir, &result, err);
54 Err* err)
58 err_(err) {
function_get_label_info.cc 5 #include "tools/gn/err.h"
87 Err* err) {
89 *err = Err(function, "Expected two arguments.");
95 ToolchainLabelForScope(scope), args[0], err);
100 if (!args[1].VerifyTypeIs(Value::STRING, err))
146 *err = Err(args[1], "Unknown value for \"what\" parameter.");
input_conversion_unittest.cc 6 #include "tools/gn/err.h"
32 Err err; local
35 Value(NULL, "string"), &err);
36 EXPECT_FALSE(err.has_error());
42 Value(NULL, "trim string"), &err);
43 EXPECT_FALSE(err.has_error());
49 Err err; local
52 Value(NULL, "list lines"), &err);
72 Err err; local
82 Err err; local
92 Err err; local
104 Err err; local
136 Err err; local
144 Err err; local
166 Err err; local
    [all...]
parser.h 14 #include "tools/gn/err.h"
33 // Will return a null pointer and set the err on error.
35 Err* err);
39 Err* err);
45 Parser(const std::vector<Token>& tokens, Err* err);
97 Err* err_;
scope_unittest.cc 48 Err err; local
51 &assignment, "error", &err));
52 EXPECT_TRUE(err.has_error());
61 Err err; local
65 &new_scope, options, &assignment, "error", &err));
66 EXPECT_FALSE(err.has_error());
79 Err err; local
91 Err err; local
102 Err err; local
115 Err err; local
128 Err err; local
216 Err err; local
    [all...]
function_process_file_template.cc 68 Err* err) {
70 *err = Err(function->function(), "Expected two arguments");
74 FileTemplate file_template(scope->settings(), args[1], err);
75 if (err->has_error())
80 scope->GetSourceDir(), &input_files, err))
gn_main.cc 9 #include "tools/gn/err.h"
57 Err(Location(), "No command specified.",
74 Err(Location(),
scheduler.h 39 void FailWithError(const Err& err);
60 void FailWithErrorOnMainThread(const Err& err);
string_utils.h 10 class Err;
32 // to the given value. On error, sets |err| and returns false.
36 Err* err);
tokenizer.cc 70 Tokenizer::Tokenizer(const InputFile* input_file, Err* err)
73 err_(err),
83 std::vector<Token> Tokenizer::Tokenize(const InputFile* input_file, Err* err) {
84 Tokenizer t(input_file, err);
233 *err_ = Err(GetCurrentLocation(),
247 *err_ = Err(LocationRange(location, GetCurrentLocation()),
256 *err_ = Err(LocationRange(location, GetCurrentLocation()),
297 *err_ = Err(location, "Everything is all messed up"
    [all...]
function_get_target_outputs_unittest.cc 20 Value GetTargetOutputs(const std::string& name, Err* err) {
24 return functions::RunGetTargetOutputs(setup_.scope(), &function, args, err);
66 Err err; local
67 Value result = GetTargetOutputs("//foo:bar", &err);
68 ASSERT_FALSE(err.has_error());
79 Err err; local
80 Value result = GetTargetOutputs("//foo:bar", &err);
93 Err err; local
110 Err err; local
    [all...]
  /external/llvm/include/llvm/AsmParser/
Parser.h 58 SMDiagnostic &Err, ///< Error result info.
  /external/llvm/tools/llvm-as/
llvm-as.cpp 96 SMDiagnostic Err;
97 std::unique_ptr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
99 Err.print(argv[0], errs());
  /external/llvm/unittests/IR/
UserTest.cpp 67 SMDiagnostic Err;
68 Module *M = ParseAssemblyString(ModuleString, nullptr, Err, C);
ValueTest.cpp 36 SMDiagnostic Err;
37 Module *M = ParseAssemblyString(ModuleString, nullptr, Err, C);

Completed in 1860 milliseconds

1 23 4 5 6 7