Home
last modified time | relevance | path

Searched refs:err_ (Results 1 – 25 of 37) sorted by relevance

12

/third_party/gn/src/gn/
Dcreate_bundle_target_generator.cc86 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillBundleDir()
92 value->origin(), err_)) in FillBundleDir()
96 *err_ = Err( in FillBundleDir()
116 if (!value->VerifyTypeIs(Value::SCOPE, err_)) in FillXcodeExtraAttributes()
127 if (!iter.second.VerifyTypeIs(Value::STRING, err_)) in FillXcodeExtraAttributes()
144 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillProductType()
156 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillPartialInfoPlist()
161 *value, err_, build_settings->root_path_utf8()); in FillPartialInfoPlist()
163 if (err_->has_error()) in FillPartialInfoPlist()
167 value->origin(), err_)) in FillPartialInfoPlist()
[all …]
Daction_target_generator.cc36 *err_ = in DoRun()
75 scope_->GetSourceDir(), err_); in DoRun()
77 if (err_->has_error()) in DoRun()
90 *err_ = Err( in DoRun()
98 *err_ = Err( in DoRun()
112 *err_ = Err(function_call_, "This target type requires a \"script\"."); in FillScript()
115 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillScript()
119 *value, err_, scope_->settings()->build_settings()->root_path_utf8()); in FillScript()
120 if (err_->has_error()) in FillScript()
131 if (!target_->action_values().args().Parse(*value, err_)) in FillScriptArgs()
[all …]
Dbinary_target_generator.cc71 RustValuesGenerator rustgen(target_, scope_, function_call_, err_); in DoRun()
73 if (err_->has_error()) in DoRun()
78 SwiftValuesGenerator swiftgen(target_, scope_, err_); in DoRun()
80 if (err_->has_error()) in DoRun()
86 scope_->GetSourceDir(), err_); in DoRun()
88 if (err_->has_error()) in DoRun()
117 *err_ = in FillSources()
135 if (!value->VerifyTypeIs(Value::BOOLEAN, err_)) in FillCompleteStaticLib()
147 &target_->friends(), err_); in FillFriends()
156 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillOutputName()
[all …]
Dtarget_generator.cc40 err_(err) {} in TargetGenerator()
64 if (!Visibility::FillItemVisibility(target_, scope_, err_)) in Run()
183 scope_->GetSourceDir(), &dest_sources, err_)) in FillSources()
199 scope_->GetSourceDir(), &dest_public, err_)) in FillPublic()
225 if (!value->VerifyTypeIs(Value::LIST, err_)) in FillData()
238 if (!input.VerifyTypeIs(Value::STRING, err_)) in FillData()
247 dir.ResolveRelativeAs(!as_dir, input, err_, root_path, &input_str); in FillData()
248 if (err_->has_error()) in FillData()
285 if (!value->VerifyTypeIs(Value::SCOPE, err_)) in FillMetadata()
297 if (!iter.second.VerifyTypeIs(Value::LIST, err_)) in FillMetadata()
[all …]
Dgenerated_file_target_generator.cc30 *err_ = Err( in DoRun()
44 *err_ = Err( in DoRun()
74 *err_ = in IsMetadataCollectionTarget()
91 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillOutputConversion()
105 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillRebase()
113 *value, err_, build_settings->root_path_utf8()); in FillRebase()
114 if (err_->has_error()) in FillRebase()
127 if (!value->VerifyTypeIs(Value::LIST, err_)) in FillDataKeys()
132 if (!v.VerifyTypeIs(Value::STRING, err_)) in FillDataKeys()
156 if (!value->VerifyTypeIs(Value::LIST, err_)) in FillWalkKeys()
[all …]
Drust_values_generator.cc28 err_(err) {} in RustValuesGenerator()
45 *err_ = Err(function_call_, in Run()
75 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillCrateName()
89 *err_ = Err(function_call_, in FillCrateType()
98 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillCrateType()
126 *err_ = Err(value->origin(), in FillCrateType()
149 *err_ = Err(function_call_, "Missing \"crate_root\" and missing \"" + in FillCrateRoot()
154 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillCrateRoot()
159 scope_->GetSourceDir(), &dest, err_)) in FillCrateRoot()
171 if (!value->VerifyTypeIs(Value::SCOPE, err_)) in FillAliasedDeps()
[all …]
Dconfig_values_generator.cc84 err_(err) {} in ConfigValuesGenerator()
90 GetStringList(scope_, #name, config_values_, &ConfigValues::name, err_); in Run()
93 err_); in Run()
119 &config_values_->inputs(), err_); in Run()
126 input_dir_, &config_values_->libs(), err_); in Run()
133 input_dir_, &config_values_->externs(), err_); in Run()
138 &ConfigValues::frameworks, err_); in Run()
140 &ConfigValues::weak_frameworks, err_); in Run()
146 if (!precompiled_header_value->VerifyTypeIs(Value::STRING, err_)) in Run()
152 *err_ = Err( in Run()
[all …]
Dbundle_data_target_generator.cc32 *err_ = Err(function_call_, in DoRun()
38 *err_ = Err( in DoRun()
54 if (!outputs.Parse(*value, err_)) in FillOutputs()
60 *err_ = Err(value->origin(), "Invalid substitution type.", in FillOutputs()
84 *err_ = Err(original_value, "This has an empty value in it."); in EnsureSubstitutionIsInBundleDir()
91 *err_ = Err(original_value, "File is not inside bundle directory.", in EnsureSubstitutionIsInBundleDir()
Dswift_values_generator.cc18 : target_(target), scope_(scope), err_(err) {} in SwiftValuesGenerator()
35 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillBridgeHeader()
40 scope_->GetSourceDir(), &dest, err_)) in FillBridgeHeader()
55 if (!value->VerifyTypeIs(Value::STRING, err_)) in FillModuleName()
Dparser.cc293 err_(err), in Parser()
407 *err_ = Err(Location(), error_message, kEOFMsg); in Consume()
409 *err_ = Err(tokens_[tokens_.size() - 1], error_message, kEOFMsg); in Consume()
417 *err_ = Err(cur_token(), error_message); in Consume()
437 *err_ = Err(token, "Unexpected token '" + std::string(token.value()) + "'"); in ParseExpression()
450 *err_ = Err(next_token, in ParseExpression()
497 *err_ = Err(token, "Expected right-hand side for '!'."); in Not()
520 *err_ = Err(token, "Expected right-hand side for '" + in BinaryOperator()
576 *err_ = Err(left.get(), in Assignment()
584 *err_ = Err(token, "Expected right-hand side for assignment."); in Assignment()
[all …]
Dtokenizer.cc76 err_(err), in Tokenizer()
100 *err_ = GetErrorForInvalidToken(location); in Run()
153 if (err_->has_error()) in Run()
270 *err_ = Err(GetCurrentLocation(), "This is not a valid number."); in AdvanceToEndOfToken()
272 err_->AppendRange(LocationRange(location, GetCurrentLocation())); in AdvanceToEndOfToken()
282 *err_ = Err(LocationRange(location, GetCurrentLocation()), in AdvanceToEndOfToken()
291 *err_ = Err(LocationRange(location, GetCurrentLocation()), in AdvanceToEndOfToken()
332 *err_ = Err(location, "Everything is all messed up", in AdvanceToEndOfToken()
Dcopy_target_generator.cc30 *err_ = Err( in DoRun()
36 *err_ = Err( in DoRun()
Dtokenizer.h91 bool has_error() const { return err_->has_error(); } in has_error()
97 Err* err_; variable
Dqt_creator_writer.cc57 if (gen.err_.has_error()) { in RunAndWriteFile()
58 *err = gen.err_; in RunAndWriteFile()
102 err_ = Err(Location(), "Target '" + root_target_name_ + "' not found."); in DiscoverTargets()
278 storage.WriteToFileIfChanged(file_path, &err_); in GenerateFile()
Dparser.h113 bool has_error() const { return err_->has_error(); } in has_error()
122 Err* err_; variable
Dswift_values_generator.h31 Err* err_; variable
Dconfig_values_generator.h33 Err* err_; variable
Drust_values_generator.h33 Err* err_; variable
/third_party/node/src/
Dnode_zlib.cc166 int err_ = 0; member in node::__anonb47e24fa0111::ZlibContext
755 if (first_init_call && err_ != Z_OK) { in DoThreadPoolWork()
768 err_ = deflate(&strm_, flush_); in DoThreadPoolWork()
818 err_ = inflate(&strm_, flush_); in DoThreadPoolWork()
823 err_ == Z_NEED_DICT && in DoThreadPoolWork()
826 err_ = inflateSetDictionary(&strm_, in DoThreadPoolWork()
829 if (err_ == Z_OK) { in DoThreadPoolWork()
831 err_ = inflate(&strm_, flush_); in DoThreadPoolWork()
832 } else if (err_ == Z_DATA_ERROR) { in DoThreadPoolWork()
836 err_ = Z_NEED_DICT; in DoThreadPoolWork()
[all …]
/third_party/node/test/parallel/
Dtest-fs-write-stream-err.js63 stream.on('error', common.mustCall(function(err_) { argument
66 assert.strictEqual(err_, err);
72 stream.write(Buffer.allocUnsafe(256), common.mustCall(function(err_) { argument
74 assert.strictEqual(err_, err);
Dtest-fs-stream-destroy-emit-error.js40 stream.on('error', common.mustCall(function(err_) { argument
41 assert.strictEqual(err_, err);
Dtest-fs-read-stream-err.js32 stream.on('error', common.mustCall((err_) => {
35 assert.strictEqual(err_, err);
/third_party/boost/libs/exception/test/
Dexception_ptr_test.cpp27 boost::exception_ptr err_; member in thread_handle
47 t_(boost::bind(thread_wrapper,f,boost::ref(err_))) in thread_handle()
66 assert(t.err_); in join()
67 rethrow_exception(t.err_); in join()
/third_party/cef/libcef_dll/base/
Dcef_logging.cc239 : err_(err), log_message_(file, line, severity) {} in Win32ErrorLogMessage()
242 stream() << ": " << SystemErrorCodeToString(err_); in ~Win32ErrorLogMessage()
249 : err_(err), log_message_(file, line, severity) {} in ErrnoLogMessage()
252 stream() << ": " << SystemErrorCodeToString(err_); in ~ErrnoLogMessage()
/third_party/gn/src/base/
Dlogging.cc272 : err_(err), log_message_(file, line, severity) {} in Win32ErrorLogMessage()
275 stream() << ": " << SystemErrorCodeToString(err_); in ~Win32ErrorLogMessage()
282 : err_(err), log_message_(file, line, severity) {} in ErrnoLogMessage()
285 stream() << ": " << SystemErrorCodeToString(err_); in ~ErrnoLogMessage()

12