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

12 3 4 5 6 7

  /external/chromium_org/tools/gn/
template.h 15 class Err;
42 Err* err) const;
action_target_generator.h 18 Err* err);
binary_target_generator.h 19 Err* err);
group_target_generator.cc 11 Err* err)
12 : TargetGenerator(target, scope, function_call, 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);
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);
67 Err GetErrorForInvalidToken(const Location& location) const;
80 Err* err_;
action_target_generator.cc 8 #include "tools/gn/err.h"
36 Err* err)
37 : TargetGenerator(target, scope, function_call, err),
52 *err_ = Err(function_call_, "action_foreach target has no sources.",
91 *err_ = Err(function_call_, "This target type requires a \"script\".");
100 *err_ = Err(*value, "script name is empty");
129 *err_ = Err(function_call_, "Action has no outputs.",
138 *err_ = Err(function_call_, "Action has patterns in the output.",
147 *err_ = Err(function_call_
    [all...]
value_extractors.cc 8 #include "tools/gn/err.h"
23 bool operator()(const Value& v, SourceFile* out, Err* err) const {
24 if (!v.VerifyTypeIs(Value::STRING, err))
29 *err = Err(v, "System-absolute file path.",
47 bool operator()(const Value& v, SourceDir* out, Err* err) const {
48 if (!v.VerifyTypeIs(Value::STRING, err))
64 bool operator()(const Value& v, LabelPtrPair<T>* out, Err* err) const
    [all...]
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 5 #include "tools/gn/err.h"
24 bool ReadString(Scope& scope, const char* var, std::string* dest, Err* err) {
29 if (!v->VerifyTypeIs(Value::STRING, err))
93 Err* err) {
94 if (!EnsureNotProcessingImport(function, scope, err) ||
95 !EnsureNotProcessingBuildConfig(function, scope, err))
114 block->ExecuteBlockInScope(&block_scope, err);
116 if (err->has_error()
    [all...]
parse_tree.cc 55 Value AccessorNode::Execute(Scope* scope, Err* err) const {
57 return ExecuteArrayAccess(scope, err);
59 return ExecuteScopeAccess(scope, err);
73 Err AccessorNode::MakeErrorDescribing(const std::string& msg,
75 return Err(GetRange(), msg, help);
87 Value AccessorNode::ExecuteArrayAccess(Scope* scope, Err* err) const {
88 Value index_value = index_->Execute(scope, err);
89 if (err->has_error()
    [all...]
functions_target.cc 8 #include "tools/gn/err.h"
31 Err* err) {
32 if (!EnsureNotProcessingImport(function, scope, err) ||
33 !EnsureNotProcessingBuildConfig(function, scope, err))
37 args, &block_scope, err))
40 block->ExecuteBlockInScope(&block_scope, err);
41 if (err->has_error())
45 target_type, err);
46 if (err->has_error()
    [all...]
builder.cc 8 #include "tools/gn/err.h"
69 Err err; local
71 GetOrCreateRecordOfType(item->label(), item->defined_from(), type, &err);
73 g_scheduler->FailWithError(err);
79 err = Err(item->defined_from(), "Duplicate definition.",
82 err.AppendSubErr(Err(record->item()->defined_from(),
84 g_scheduler->FailWithError(err);
    [all...]
parse_tree.h 13 #include "tools/gn/err.h"
46 virtual Value Execute(Scope* scope, Err* err) const = 0;
52 virtual Err MakeErrorDescribing(
95 virtual Value Execute(Scope* scope, Err* err) const OVERRIDE;
97 virtual Err MakeErrorDescribing(
117 Value ExecuteArrayAccess(Scope* scope, Err* err) const;
118 Value ExecuteScopeAccess(Scope* scope, Err* err) const
    [all...]
function_foreach_unittest.cc 20 Err err; local
21 input.parsed()->Execute(setup.scope(), &err);
22 ASSERT_FALSE(err.has_error()) << err.message();
35 Err err; local
36 input_good.parsed()->Execute(setup.scope(), &err);
37 ASSERT_FALSE(err.has_error()) << err.message()
    [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...]
test_with_scope.h 12 #include "tools/gn/err.h"
62 const Err& parse_err() const { return parse_err_; }
74 Err parse_err_;
function_write_file.cc 11 #include "tools/gn/err.h"
49 Err* err) {
51 *err = Err(function->function(), "Wrong number of arguments to write_file",
57 if (!args[0].VerifyTypeIs(Value::STRING, err))
63 source_file.value(), args[0], err))
87 *err = Err(function->function(), "Unable to create directory.",
95 *err = Err(function->function(), "Unable to write file."
    [all...]
  /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));
  /external/mesa3d/src/gallium/drivers/r600/
llvm_wrapper.cpp 16 llvm::SMDiagnostic Err;
17 M.reset(llvm::ParseIR(buffer, Err, llvm::getGlobalContext()));
  /external/mesa3d/src/gallium/drivers/radeon/
loader.cpp 28 SMDiagnostic Err;
30 M.reset(ParseIRFile(InputFilename, Err, Context));

Completed in 979 milliseconds

12 3 4 5 6 7