Home
last modified time | relevance | path

Searched refs:source_ (Results 1 – 25 of 53) sorted by relevance

123

/external/v8/src/
Dbackground-parsing-task.cc21 : source_(source), stack_size_(stack_size), script_data_(nullptr) { in BackgroundParsingTask()
38 info->set_unicode_cache(&source_->unicode_cache); in BackgroundParsingTask()
42 source_->info->set_cached_data(&script_data_); in BackgroundParsingTask()
45 source_->parser.reset(new Parser(source_->info.get())); in BackgroundParsingTask()
46 source_->parser->DeserializeScopeChain(source_->info.get(), in BackgroundParsingTask()
59 source_->parser->set_stack_limit(stack_limit); in Run()
63 Isolate* isolate = source_->info->isolate(); in Run()
64 source_->info->set_isolate(nullptr); in Run()
66 source_->parser->ParseOnBackground(source_->info.get()); in Run()
69 source_->cached_data.reset(new ScriptCompiler::CachedData( in Run()
[all …]
Djson-parser.cc103 : source_(source), in JsonParser()
111 source_ = String::Flatten(source_); in JsonParser()
116 seq_source_ = Handle<SeqOneByteString>::cast(source_); in JsonParser()
162 Handle<Script> script(factory->NewScript(source_)); in ParseJson()
184 c0_ = source_->Get(position_); in Advance()
220 if (source_->length() - position_ - 1 > length) { in ParseJsonString()
571 String::WriteToFlat(*source_, buffer.start(), beg_pos, position_); in ParseJsonNumber()
731 return SlowScanJsonString<SeqOneByteString, uint8_t>(source_, beg_pos, in ScanJsonString()
788 return SlowScanJsonString<SeqTwoByteString, uc16>(source_, beg_pos, in ScanJsonString()
792 return SlowScanJsonString<SeqOneByteString, uint8_t>(source_, beg_pos, in ScanJsonString()
[all …]
/external/vulkan-validation-layers/layers/
Dparameter_name.h61 ParameterName(const char *source) : source_(source) { assert(IsValid()); } in ParameterName()
70 ParameterName(const std::string &source) : source_(source) { assert(IsValid()); } in ParameterName()
79 ParameterName(const std::string &&source) : source_(std::move(source)) { assert(IsValid()); } in ParameterName()
90 …ParameterName(const std::string &source, const IndexVector &args) : source_(source), args_(args) {… in ParameterName()
101 …ParameterName(const std::string &&source, const IndexVector &&args) : source_(std::move(source)), … in ParameterName()
106 std::string get_name() const { return (args_.empty()) ? source_ : Format(); } in get_name()
116 current = source_.find(IndexFormatSpecifier, last); in Format()
120 format << source_.substr(last, (current - last)) << index; in Format()
124 format << source_.substr(last, std::string::npos); in Format()
133 std::string::size_type pos = source_.find(IndexFormatSpecifier); in IsValid()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/
Drcssmin.c181 const rchar **source_, rchar **target_, rcssmin_ctx_t *ctx) in copy_match() argument
183 const rchar *source = *source_; in copy_match()
192 *source_ = source; in copy_match()
213 const rchar **source_, rchar **target_, rcssmin_ctx_t *ctx) in copy_imatch() argument
215 const rchar *source = *source_, *pstart = pattern; in copy_imatch()
227 *source_ = source; in copy_imatch()
276 *source_ = source; \
292 copy_escape(const rchar **source_, rchar **target_, rcssmin_ctx_t *ctx) in copy_escape() argument
294 const rchar *source = *source_, *hsentinel; in copy_escape()
337 *source_ = source; in copy_escape()
[all …]
/external/webrtc/talk/app/webrtc/
Dvideosource_unittest.cc115 source_(source) { in StateObserver()
118 state_ = source_->state(); in OnChanged()
124 rtc::scoped_refptr<VideoSourceInterface> source_; member in StateObserver
147 source_ = in CreateVideoSource()
151 ASSERT_TRUE(source_.get() != NULL); in CreateVideoSource()
152 EXPECT_EQ(capturer_, source_->GetVideoCapturer()); in CreateVideoSource()
154 state_observer_.reset(new StateObserver(source_)); in CreateVideoSource()
155 source_->RegisterObserver(state_observer_.get()); in CreateVideoSource()
156 source_->AddSink(&renderer_); in CreateVideoSource()
164 rtc::scoped_refptr<VideoSource> source_; member in VideoSourceTest
[all …]
Dremoteaudiosource.cc43 explicit MessageHandler(RemoteAudioSource* source) : source_(source) {} in MessageHandler()
49 source_->OnMessage(msg); in OnMessage()
53 const rtc::scoped_refptr<RemoteAudioSource> source_; member in webrtc::RemoteAudioSource::MessageHandler
59 explicit Sink(RemoteAudioSource* source) : source_(source) {} in Sink()
60 ~Sink() override { source_->OnAudioProviderGone(); } in ~Sink()
64 if (source_) in OnData()
65 source_->OnData(audio); in OnData()
68 const rtc::scoped_refptr<RemoteAudioSource> source_; member in webrtc::RemoteAudioSource::Sink
/external/libchrome/base/containers/
Dstack_container.h78 : std::allocator<T>(), source_(rhs.source_) { in StackAllocator()
92 : source_(NULL) { in StackAllocator()
99 StackAllocator() : source_(NULL) { in StackAllocator()
102 explicit StackAllocator(Source* source) : source_(source) { in StackAllocator()
109 if (source_ != NULL && !source_->used_stack_buffer_
111 source_->used_stack_buffer_ = true;
112 return source_->stack_buffer();
121 if (source_ != NULL && p == source_->stack_buffer()) in deallocate()
122 source_->used_stack_buffer_ = false; in deallocate()
128 Source* source_;
/external/deqp/framework/opengl/
DgluShaderProgram.hpp266 …derType shaderType_, const std::string& source_) : shaderType(shaderType_), source(source_) { DE_A… in ShaderSource()
271 VertexSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_VERTEX, source_) {} in VertexSource()
276 FragmentSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_FRAGMENT, source_) {} in FragmentSource()
281 GeometrySource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_GEOMETRY, source_) {} in GeometrySource()
286 ComputeSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_COMPUTE, source_) {} in ComputeSource()
291 …ellationControlSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_TESSELLATION_CON… in TessellationControlSource()
296 …ionEvaluationSource (const std::string& source_) : ShaderSource(glu::SHADERTYPE_TESSELLATION_EVALU… in TessellationEvaluationSource()
/external/v8/src/snapshot/
Ddeserializer.cc193 CHECK_EQ(expected, source_.Get()); in Synchronize()
197 for (int code = source_.Get(); code != kSynchronize; code = source_.Get()) { in DeserializeDeferredObjects()
209 int size = source_.GetInt() << kPointerSizeLog2; in DeserializeDeferredObjects()
224 if (!source_.HasMore() || source_.Get() != kInternalFieldsData) return; in DeserializeInternalFields()
229 for (int code = source_.Get(); code != kSynchronize; code = source_.Get()) { in DeserializeInternalFields()
236 int index = source_.GetInt(); in DeserializeInternalFields()
237 int size = source_.GetInt(); in DeserializeInternalFields()
239 source_.CopyRaw(data, size); in DeserializeInternalFields()
358 SerializerReference::FromBitfield(source_.GetInt()); in GetBackReferencedObject()
395 int size = source_.GetInt() << kObjectAlignmentBits; in ReadObject()
[all …]
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_generator.cc57 : source_(file), stub_h_(stub_h_printer), stub_cc_(stub_cc_printer) {} in GeneratorJob()
140 for (int i = 0; i < source_->message_type_count(); ++i) in CollectDescriptors()
141 stack.push_back(source_->message_type(i)); in CollectDescriptors()
153 for (int i = 0; i < source_->enum_type_count(); ++i) in CollectDescriptors()
154 enums_.push_back(source_->enum_type(i)); in CollectDescriptors()
166 for (int i = 0; i < source_->public_dependency_count(); ++i) in CollectDependencies()
167 public_imports_.insert(source_->public_dependency(i)); in CollectDependencies()
169 if (source_->weak_dependency_count() > 0) in CollectDependencies()
177 for (int i = 0; i < source_->dependency_count(); ++i) { in CollectDependencies()
178 const FileDescriptor* import = source_->dependency(i); in CollectDependencies()
[all …]
/external/libmojo/mojo/common/
Ddata_pipe_drainer.cc19 source_(std::move(source)), in DataPipeDrainer()
24 source_.get(), MOJO_HANDLE_SIGNAL_READABLE, in DataPipeDrainer()
33 MojoResult rv = BeginReadDataRaw(source_.get(), &buffer, &num_bytes, in ReadData()
37 EndReadDataRaw(source_.get(), num_bytes); in ReadData()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dpacket_sender.cc75 source_(source), in VideoSender()
77 source_->bits_per_second() / 1000, in VideoSender()
93 source_->SetBitrateBps(previous_sending_bitrate_); in Resume()
99 in_out, clock_.TimeInMilliseconds() + time_ms, source_->flow_id()); in RunFor()
118 source_->SetBitrateBps(0); in ProcessFeedbackAndGeneratePackets()
122 source_->RunFor(time_to_run_ms, &generated); in ProcessFeedbackAndGeneratePackets()
148 source_->SetBitrateBps(target_bitrate_bps); in OnNetworkChanged()
153 return (source_->bits_per_second() + 500) / 1000; in TargetBitrateKbps()
180 GetFeedbackPackets(in_out, end_time_ms, source_->flow_id()); in RunFor()
183 BWE_TEST_LOGGING_CONTEXT(source_->flow_id()); in RunFor()
[all …]
/external/webrtc/webrtc/base/
Dmacasyncsocket.cc36 source_(NULL), in MacAsyncSocket()
255 if (source_ != NULL) { in Close()
256 CFRunLoopSourceInvalidate(source_); in Close()
257 CFRelease(source_); in Close()
259 source_ = NULL; in Close()
325 source_(NULL), in MacAsyncSocket()
371 source_ = CFSocketCreateRunLoopSource(kCFAllocatorDefault, socket_, 1); in Initialize()
372 res = (source_ != NULL); in Initialize()
378 CFRunLoopAddSource(CFRunLoopGetCurrent(), source_, kCFRunLoopCommonModes); in Initialize()
/external/protobuf/src/google/protobuf/stubs/
Dbytestream.cc160 : source_(source), in LimitByteSource()
165 size_t available = source_->Available(); in Available()
174 StringPiece piece(source_->Peek()); in Peek()
184 source_->Skip(n); in Skip()
190 source_->CopyTo(sink, n); in CopyTo()
/external/tensorflow/tensorflow/core/lib/io/
Drecordio_test.cc98 StringSource source_; member in tensorflow::io::RecordioTest
109 reader_(new RecordReader(&source_)) {} in RecordioTest()
126 source_.contents_ = StringPiece(dest_.contents_); in Read()
158 void ForceError() { source_.force_error_ = true; } in ForceError()
167 source_.contents_ = StringPiece(dest_.contents_); in CheckOffsetPastEndReturnsNoRecords()
/external/libmojo/mojo/edk/system/
Drequest_context.cc24 : source_(source), tls_context_(g_current_context.Pointer()) { in RequestContext()
40 if (source_ == Source::SYSTEM) in ~RequestContext()
58 RequestContext request_context(source_); in ~RequestContext()
Drequest_context.h48 Source source() const { return source_; } in source()
90 const Source source_; variable
/external/v8/src/parsing/
Dscanner-character-streams.cc532 : source_(source), stats_(stats) {} in OneByteExternalStreamingStream()
540 ScriptCompiler::ExternalSourceStream* source_; member in v8::internal::OneByteExternalStreamingStream
545 const Chunk& chunk = chunks_[FindChunk(chunks_, source_, position, stats_)]; in FillBuffer()
573 ScriptCompiler::ExternalSourceStream* source_; member in v8::internal::TwoByteExternalStreamingStream
582 source_(source), in TwoByteExternalStreamingStream()
595 size_t chunk_no = FindChunk(chunks_, source_, 2 * position + 1, stats_); in ReadBlock()
680 ScriptCompiler::ExternalSourceStream* source_; member in v8::internal::TwoByteExternalBufferedStream
687 source_(source), in TwoByteExternalBufferedStream()
697 size_t chunk_no = FindChunk(chunks_, source_, 2 * position + 1, stats_); in ReadBlock()
743 chunk_no = FindChunk(chunks_, source_, 2 * new_pos + 1, stats_); in FillBuffer()
[all …]
Dscanner.h565 c0_ = source_->Advance(); in Advance()
571 uc32 c1 = source_->Advance(); in HandleLeadSurrogate()
573 source_->Back(); in HandleLeadSurrogate()
582 source_->Back2(); in PushBack()
584 source_->Back(); in PushBack()
594 source_->Back2(); in PushBack2()
715 return static_cast<int>(source_->pos()) - kCharacterLookaheadBufferSize; in source_pos()
754 Utf16CharacterStream* source_; variable
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc34 source_ = static_cast<Source*>(g_source_new(&SourceFuncs, sizeof(Source))); in EventInjector()
35 source_->injector = this; in EventInjector()
36 g_source_attach(source_, NULL); in EventInjector()
37 g_source_set_can_recurse(source_, TRUE); in EventInjector()
41 g_source_destroy(source_); in ~EventInjector()
42 g_source_unref(source_); in ~EventInjector()
132 Source* source_; member in base::__anon7ea8555f0111::EventInjector
/external/webrtc/talk/session/media/
Dcurrentspeakermonitor_unittest.cc49 monitor_ = new CurrentSpeakerMonitor(&source_); in CurrentSpeakerMonitorTest()
64 source_.SignalAudioMonitor(&source_, info); in SignalAudioMonitor()
68 AudioSourceContext source_; member in cricket::CurrentSpeakerMonitorTest
/external/ImageMagick/Magick++/lib/
DFunctions.cpp24 const std::string &source_) in CloneString() argument
26 MagickCore::CloneString(destination_,source_.c_str()); in CloneString()
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher-job.cc161 source_ = in PrepareToParseOnMainThread()
276 if (!source_.is_null()) { in FinalizeParsingOnMainThread()
277 i::GlobalHandles::Destroy(Handle<Object>::cast(source_).location()); in FinalizeParsingOnMainThread()
278 source_ = Handle<String>::null(); in FinalizeParsingOnMainThread()
430 if (!source_.is_null()) { in ResetOnMainThread()
431 i::GlobalHandles::Destroy(Handle<Object>::cast(source_).location()); in ResetOnMainThread()
432 source_ = Handle<String>::null(); in ResetOnMainThread()
/external/v8/src/crankshaft/
Dlithium.h273 : source_(source), destination_(destination) { in LMoveOperands()
276 LOperand* source() const { return source_; } in source()
277 void set_source(LOperand* operand) { source_ = operand; } in set_source()
285 return destination_ == NULL && source_ != NULL; in IsPending()
296 return IsEliminated() || source_->Equals(destination_) || IsIgnored() || in IsRedundant()
305 void Eliminate() { source_ = destination_ = NULL; } in Eliminate()
307 DCHECK(source_ != NULL || destination_ == NULL); in IsEliminated()
308 return source_ == NULL; in IsEliminated()
312 LOperand* source_;
/external/deqp/external/vulkancts/framework/vulkan/
DvkSpirVProgram.hpp58 SpirVAsmSource (const std::string& source_) in SpirVAsmSource()
59 : source(source_) in SpirVAsmSource()

123