HomeSort by relevance Sort by last modified time
    Searched refs:Err (Results 26 - 50 of 199) sorted by null

12 3 4 5 6 7 8

  /external/chromium_org/tools/gn/
err.cc 5 #include "tools/gn/err.h"
58 const Err::RangeList& ranges,
86 Err::Err() : has_error_(false) {
89 Err::Err(const Location& location,
98 Err::Err(const LocationRange& range,
108 Err::Err(const Token& token
    [all...]
function_read_file.cc 6 #include "tools/gn/err.h"
45 Err* err) {
47 *err = Err(function->function(), "Wrong number of arguments to read_file",
51 if (!args[0].VerifyTypeIs(Value::STRING, err))
66 *err = Err(args[0], "Could not read file.",
72 args[1], err);
functions_target_unittest.cc 25 Err err; local
26 good_input.parsed()->Execute(setup.scope(), &err);
27 ASSERT_FALSE(err.has_error()) << err.message();
36 err = Err();
37 source_set_input.parsed()->Execute(setup.scope(), &err);
38 ASSERT_TRUE(err.has_error());
47 err = Err()
    [all...]
function_get_target_outputs.cc 74 Err* err) {
76 *err = Err(function, "Expected one argument.");
82 ToolchainLabelForScope(scope), args[0], err);
92 *err = Err(function, "No targets defined in this context.");
102 *err = Err(function, "Label does not refer to a target.",
112 *err = Err(function, "Target not found in this context."
    [all...]
substitution_list.h 19 bool Parse(const Value& value, Err* err);
22 Err* err);
template.h 15 class Err;
42 Err* err) const;
value_extractors.cc 8 #include "tools/gn/err.h"
21 Err* err,
23 if (!value.VerifyTypeIs(Value::LIST, err))
28 if (!converter(input_list[i], &(*dest)[i], err))
39 Err* err,
41 if (!value.VerifyTypeIs(Value::LIST, err))
47 if (!converter(input_list[i], &new_one, err))
51 *err = Err(input_list[i], "Duplicate item in list")
    [all...]
action_target_generator.h 18 Err* err);
binary_target_generator.h 19 Err* err);
input_file_manager.h 24 class Err;
57 Err* err);
61 // Err is set.
65 Err* err);
129 // Loads the given file. On error, sets the Err and return false.
134 Err* err);
substitution_pattern.h 14 class Err;
41 bool Parse(const Value& value, Err* err);
42 bool Parse(const std::string& str, const ParseNode* origin, Err* err);
59 Err* err) const;
tokenizer.h 13 #include "tools/gn/err.h"
20 static std::vector<Token> Tokenize(const InputFile* input_file, Err* err);
46 explicit Tokenizer(const InputFile* input_file, Err* err);
72 Err GetErrorForInvalidToken(const Location& location) const;
85 Err* err_;
function_foreach.cc 5 #include "tools/gn/err.h"
52 Err* err) {
55 *err = Err(function, "Wrong number of arguments to foreach().",
63 *err = Err(args_vector[0], "Expected an identifier for the loop var.");
75 *err = Err(args_vector[1], "Undefined identifier.");
81 value_storage_for_exec = args_vector[1]->Execute(scope, err);
    [all...]
operators.cc 8 #include "tools/gn/err.h"
60 Err* err) {
61 Value value = node->Execute(scope, err);
62 if (err->has_error())
65 *err = Err(op_node->op(),
69 err->AppendRange(node->GetRange());
78 Err* err) {
    [all...]
function_toolchain.cc 8 #include "tools/gn/err.h"
31 Err* err) {
35 if (!v->VerifyTypeIs(Value::BOOLEAN, err))
48 Err* err) {
52 if (!v->VerifyTypeIs(Value::STRING, err))
64 Err* err) {
68 *err = Err(*origin, "Pattern not valid here."
    [all...]
parse_tree.cc 91 Value AccessorNode::Execute(Scope* scope, Err* err) const {
93 return ExecuteArrayAccess(scope, err);
95 return ExecuteScopeAccess(scope, err);
109 Err AccessorNode::MakeErrorDescribing(const std::string& msg,
111 return Err(GetRange(), msg, help);
124 Value AccessorNode::ExecuteArrayAccess(Scope* scope, Err* err) const {
125 Value index_value = index_->Execute(scope, err);
126 if (err->has_error()
    [all...]
parse_tree.h 13 #include "tools/gn/err.h"
86 virtual Value Execute(Scope* scope, Err* err) const = 0;
92 virtual Err MakeErrorDescribing(
141 virtual Value Execute(Scope* scope, Err* err) const OVERRIDE;
143 virtual Err MakeErrorDescribing(
163 Value ExecuteArrayAccess(Scope* scope, Err* err) const;
164 Value ExecuteScopeAccess(Scope* scope, Err* err) const
    [all...]
functions_target.cc 8 #include "tools/gn/err.h"
32 Err* err) {
33 if (!EnsureNotProcessingImport(function, scope, err) ||
34 !EnsureNotProcessingBuildConfig(function, scope, err))
38 args, &block_scope, err))
41 block->ExecuteBlockInScope(&block_scope, err);
42 if (err->has_error())
46 target_type, err);
47 if (err->has_error()
    [all...]
function_set_default_toolchain.cc 49 Err* err) {
51 *err = Err(function->function(), "Must be called from build config.",
67 if (!EnsureSingleStringArg(function, args, err))
70 Label::Resolve(current_dir, default_toolchain, args[0], err));
function_set_defaults.cc 5 #include "tools/gn/err.h"
47 Err* err) {
48 if (!EnsureSingleStringArg(function, args, err))
68 *err = Err(function->function(),
74 FillNeedsBlockError(function, err);
80 block->ExecuteBlockInScope(&block_scope, err);
81 if (err->has_error())
88 "<SHOULD NOT FAIL>", err);
    [all...]
label_pattern.cc 7 #include "tools/gn/err.h"
66 Err* err) {
67 if (!value.VerifyTypeIs(Value::STRING, err))
72 *err = Err(value, "Label pattern must not be empty.");
80 Label label = Label::Resolve(current_dir, Label(), value, err);
81 if (err->has_error())
99 *err = Err(value, "No close paren when looking for toolchain name.")
    [all...]
label_pattern.h 12 class Err;
40 Err* err);
  /frameworks/compile/slang/
llvm-rs-as.cpp 129 SMDiagnostic Err;
130 std::unique_ptr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
132 Err.print(argv[0], errs());
137 std::string Err;
138 raw_string_ostream stream(Err);
142 errs() << Err;
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
llvm_wrapper.cpp 16 llvm::SMDiagnostic Err;
17 M.reset(llvm::ParseIR(buffer, Err, llvm::getGlobalContext()));
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
loader.cpp 28 SMDiagnostic Err;
30 M.reset(ParseIRFile(InputFilename, Err, Context));

Completed in 195 milliseconds

12 3 4 5 6 7 8