Home
last modified time | relevance | path

Searched refs:mode_ (Results 1 – 25 of 123) sorted by relevance

12345

/external/webrtc/webrtc/base/
Dhttpbase.cc249 if (HM_RECV == base_->mode_) in GetState()
263 if (HM_RECV != base_->mode_) { in Read()
325 if (HM_RECV == base->mode_ && base->http_stream_) { in Close()
334 if (!base_ || HM_RECV != base_->mode_) in GetAvailable()
363 HttpBase::HttpBase() : mode_(HM_NONE), data_(NULL), notify_(NULL), in HttpBase()
368 ASSERT(HM_NONE == mode_); in ~HttpBase()
378 if ((mode_ != HM_NONE) || (http_stream_ != NULL) || (stream == NULL)) { in attach()
384 mode_ = (http_stream_->GetState() == SS_OPENING) ? HM_CONNECT : HM_NONE; in attach()
390 ASSERT(HM_NONE == mode_); in detach()
391 if (mode_ != HM_NONE) { in detach()
[all …]
Dfilerotatingstream.cc51 mode_(mode), in FileRotatingStream()
84 if (mode_ == kRead && current_file_index_ < file_names_.size()) { in GetState()
98 if (mode_ != kRead) { in Read()
147 if (mode_ != kWrite) { in Write()
181 if (mode_ != kRead) { in GetSize()
205 switch (mode_) { in Open()
247 switch (mode_) { in OpenCurrentFile()
279 RTC_DCHECK_EQ(mode_, kWrite); in RotateFiles()
/external/perfetto/src/trace_processor/
Dfiltered_row_index.cc25 : mode_(Mode::kAllRows), start_row_(start_row), end_row_(end_row) {} in FilteredRowIndex()
33 if (mode_ == kAllRows) { in IntersectRows()
34 mode_ = Mode::kRowVector; in IntersectRows()
43 } else if (mode_ == kRowVector) { in IntersectRows()
76 switch (mode_) { in ToRowVector()
78 mode_ = Mode::kRowVector; in ToRowVector()
95 mode_ = Mode::kRowVector; in ConvertBitVectorToRowVector()
110 switch (mode_) { in ToRowIterator()
132 PERFETTO_DCHECK(mode_ == Mode::kRowVector); in TakeRowVector()
135 mode_ = Mode::kAllRows; in TakeRowVector()
[all …]
/external/drm_hwcomposer/
Ddrmdisplaycompositor.cpp82 if (mode_.blob_id) in ~DrmDisplayCompositor()
83 drm->DestroyPropertyBlob(mode_.blob_id); in ~DrmDisplayCompositor()
84 if (mode_.old_blob_id) in ~DrmDisplayCompositor()
85 drm->DestroyPropertyBlob(mode_.old_blob_id); in ~DrmDisplayCompositor()
287 if (mode_.needs_modeset) { in CommitFrame()
297 mode_.blob_id) < 0 || in CommitFrame()
302 ALOGE("Failed to add blob %d to pset", mode_.blob_id); in CommitFrame()
505 if (!test_only && mode_.needs_modeset) { in CommitFrame()
506 ret = drm->DestroyPropertyBlob(mode_.old_blob_id); in CommitFrame()
509 mode_.old_blob_id, ret); in CommitFrame()
[all …]
/external/google-breakpad/src/client/linux/handler/
Dminidump_descriptor.h52 MinidumpDescriptor() : mode_(kUninitialized), in MinidumpDescriptor()
57 : mode_(kWriteMinidumpToFile), in MinidumpDescriptor()
66 : mode_(kWriteMinidumpToFd), in MinidumpDescriptor()
74 : mode_(kWriteMicrodumpToConsole), in MinidumpDescriptor()
83 bool IsFD() const { return mode_ == kWriteMinidumpToFd; } in IsFD()
92 return mode_ == kWriteMicrodumpToConsole; in IsMicrodumpOnConsole()
111 DumpMode mode_; variable
Dminidump_descriptor.cc43 : mode_(descriptor.mode_), in MinidumpDescriptor()
58 mode_ = descriptor.mode_; in operator =()
72 assert(mode_ == kWriteMinidumpToFile && !directory_.empty()); in UpdatePath()
/external/v8/src/
Dhandler-table.cc26 mode_(kRangeBasedEncoding), in HandlerTable()
36 mode_(kReturnAddressBasedEncoding), in HandlerTable()
46 DCHECK_EQ(kRangeBasedEncoding, mode_); in GetRangeStart()
53 DCHECK_EQ(kRangeBasedEncoding, mode_); in GetRangeEnd()
60 DCHECK_EQ(kRangeBasedEncoding, mode_); in GetRangeHandler()
68 DCHECK_EQ(kRangeBasedEncoding, mode_); in GetRangeData()
76 DCHECK_EQ(kRangeBasedEncoding, mode_); in GetRangePrediction()
84 DCHECK_EQ(kReturnAddressBasedEncoding, mode_); in GetReturnOffset()
91 DCHECK_EQ(kReturnAddressBasedEncoding, mode_); in GetReturnHandler()
142 DCHECK_EQ(kRangeBasedEncoding, mode_); in NumberOfRangeEntries()
[all …]
Dkeys.h39 : isolate_(isolate), mode_(mode), filter_(filter) {} in KeyAccumulator()
78 KeyCollectionMode mode() { return mode_; } in mode()
115 KeyCollectionMode mode_; variable
137 mode_(mode), in isolate_()
160 KeyCollectionMode mode_; variable
/external/tensorflow/tensorflow/core/kernels/
Ddequantize_op.cc58 mode_ = QUANTIZE_MODE_MIN_COMBINED; in DequantizeOp()
60 mode_ = QUANTIZE_MODE_MIN_FIRST; in DequantizeOp()
62 mode_ = QUANTIZE_MODE_SCALED; in DequantizeOp()
73 if (mode_ == QUANTIZE_MODE_MIN_COMBINED) { in Compute()
88 } else if (mode_ == QUANTIZE_MODE_MIN_FIRST) { in Compute()
98 } else if (mode_ == QUANTIZE_MODE_SCALED) { in Compute()
115 int mode_; member in tensorflow::DequantizeOp
Dquantize_op.cc77 mode_ = QUANTIZE_MODE_MIN_COMBINED; in QuantizeV2Op()
79 mode_ = QUANTIZE_MODE_MIN_FIRST; in QuantizeV2Op()
81 mode_ = QUANTIZE_MODE_SCALED; in QuantizeV2Op()
135 if (mode_ == QUANTIZE_MODE_MIN_COMBINED) { in Compute()
171 } else if (mode_ == QUANTIZE_MODE_MIN_FIRST) { in Compute()
182 } else if (mode_ == QUANTIZE_MODE_SCALED) { in Compute()
225 int mode_; member in tensorflow::QuantizeV2Op
/external/libchrome/base/memory/
Dplatform_shared_memory_region_mac.cc54 CHECK_NE(mode_, Mode::kWritable) in Duplicate()
66 mode_, size_, guid_); in Duplicate()
77 CHECK_EQ(mode_, Mode::kWritable) in ConvertToReadOnly()
112 mode_ = Mode::kReadOnly; in ConvertToReadOnly()
120 CHECK_EQ(mode_, Mode::kWritable) in ConvertToUnsafe()
123 mode_ = Mode::kUnsafe; in ConvertToUnsafe()
139 bool write_allowed = mode_ != Mode::kReadOnly; in MapAt()
230 : handle_(std::move(handle)), mode_(mode), size_(size), guid_(guid) {} in PlatformSharedMemoryRegion()
Dplatform_shared_memory_region_posix.cc118 (mode_ == Mode::kWritable ? handle_.readonly_fd.is_valid() : true); in IsValid()
125 CHECK_NE(mode_, Mode::kWritable) in Duplicate()
134 return PlatformSharedMemoryRegion({std::move(duped_fd), ScopedFD()}, mode_, in Duplicate()
142 CHECK_EQ(mode_, Mode::kWritable) in ConvertToReadOnly()
146 mode_ = Mode::kReadOnly; in ConvertToReadOnly()
154 CHECK_EQ(mode_, Mode::kWritable) in ConvertToUnsafe()
158 mode_ = Mode::kUnsafe; in ConvertToUnsafe()
174 bool write_allowed = mode_ != Mode::kReadOnly; in MapAt()
325 : handle_(std::move(handle)), mode_(mode), size_(size), guid_(guid) {} in PlatformSharedMemoryRegion()
/external/tensorflow/tensorflow/core/kernels/data/
Dprefetch_autotuner.cc24 mode_ = Mode::kUpswing; in PrefetchAutotuner()
37 switch (mode_) { in RecordConsumption()
42 mode_ = Mode::kDownswing; in RecordConsumption()
52 mode_ = Mode::kUpswing; in RecordConsumption()
/external/libchrome/ipc/
Dipc_channel_factory.cc20 : handle_(handle), mode_(mode), ipc_task_runner_(ipc_task_runner) {} in PlatformChannelFactory()
24 return Channel::Create(handle_, mode_, listener); in BuildChannel()
28 mojo::ScopedMessagePipeHandle(handle_.mojo_handle), mode_, listener, in BuildChannel()
39 Channel::Mode mode_; member in IPC::__anonad5ea2080111::PlatformChannelFactory
/external/webrtc/talk/session/media/
Dsrtpfilter_unittest.cc764 mode_(-1), in SrtpStatTest()
775 mode_ = mode; in OnSrtpError()
780 mode_ = -1; in Reset()
786 int mode_; member in SrtpStatTest
797 EXPECT_EQ(-1, mode_); in TEST_F()
802 EXPECT_EQ(cricket::SrtpFilter::PROTECT, mode_); in TEST_F()
807 EXPECT_EQ(cricket::SrtpFilter::PROTECT, mode_); in TEST_F()
813 EXPECT_EQ(-1, mode_); in TEST_F()
820 EXPECT_EQ(cricket::SrtpFilter::PROTECT, mode_); in TEST_F()
828 EXPECT_EQ(-1, mode_); in TEST_F()
[all …]
/external/v8/src/compiler/
Dinstruction-selector.h38 FlagsContinuation() : mode_(kFlags_none) {} in FlagsContinuation()
84 bool IsNone() const { return mode_ == kFlags_none; } in IsNone()
86 return mode_ == kFlags_branch || mode_ == kFlags_branch_and_poison; in IsBranch()
89 return mode_ == kFlags_deoptimize || mode_ == kFlags_deoptimize_and_poison; in IsDeoptimize()
92 return mode_ == kFlags_branch_and_poison || in IsPoisoned()
93 mode_ == kFlags_deoptimize_and_poison; in IsPoisoned()
95 bool IsSet() const { return mode_ == kFlags_set; } in IsSet()
96 bool IsTrap() const { return mode_ == kFlags_trap; } in IsTrap()
174 opcode |= FlagsModeField::encode(mode_); in Encode()
175 if (mode_ != kFlags_none) { in Encode()
[all …]
Dsimplified-operator.h202 : mode_(mode), feedback_(feedback) {} in CheckFloat64HoleParameters()
204 CheckFloat64HoleMode mode() const { return mode_; } in mode()
208 CheckFloat64HoleMode mode_;
237 : mode_(mode), feedback_(feedback) {} in CheckTaggedInputParameters()
239 CheckTaggedInputMode mode() const { return mode_; } in mode()
243 CheckTaggedInputMode mode_;
275 : mode_(mode), feedback_(feedback) {} in CheckMinusZeroParameters()
277 CheckForMinusZeroMode mode() const { return mode_; } in mode()
281 CheckForMinusZeroMode mode_;
376 : mode_(mode), feedback_(feedback) {} in GrowFastElementsParameters()
[all …]
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc126 mode_(mode), in HeapprofdProducer()
139 if (mode_ == HeapprofdMode::kCentral && bool(listening_socket_)) in ~HeapprofdProducer()
168 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in AdoptTargetProcessSocket()
181 mode_ == HeapprofdMode::kCentral ? "central" : "child"); in OnConnect()
193 if (mode_ == HeapprofdMode::kChild) { in OnDisconnect()
256 if (mode_ == HeapprofdMode::kChild) in Restart()
259 HeapprofdMode mode = mode_; in Restart()
271 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in ScheduleActiveDataSourceWatchdog()
287 PERFETTO_DCHECK(mode_ == HeapprofdMode::kChild); in ActiveDataSourceWatchdogCheck()
314 PERFETTO_CHECK(mode_ == HeapprofdMode::kChild); in TerminateProcess()
[all …]
/external/v8/src/wasm/
Dfunction-compiler.cc58 mode_(mode) { in WasmCompilationUnit()
87 GetExecutionTierAsString(mode_)); in ExecuteCompilation()
90 switch (mode_) { in ExecuteCompilation()
106 switch (mode_) { in FinishCompilation()
128 mode_ = new_mode; in SwitchMode()
/external/webrtc/webrtc/modules/desktop_capture/
Dmouse_cursor_monitor_win.cc42 Mode mode_; member in webrtc::MouseCursorMonitorWin
53 mode_(SHAPE_AND_POSITION), in MouseCursorMonitorWin()
62 mode_(SHAPE_AND_POSITION), in MouseCursorMonitorWin()
78 mode_ = mode; in Init()
102 if (mode_ != SHAPE_AND_POSITION) in Capture()
/external/webrtc/webrtc/modules/audio_processing/
Dgain_control_impl.cc52 mode_(kAdaptiveAnalog), in GainControlImpl()
139 if (mode_ == kAdaptiveAnalog) { in AnalyzeCaptureAudio()
153 } else if (mode_ == kAdaptiveDigital) { in AnalyzeCaptureAudio()
186 if (mode_ == kAdaptiveAnalog && !was_analog_level_set_) { in ProcessCaptureAudio()
222 if (mode_ == kAdaptiveAnalog) { in ProcessCaptureAudio()
275 mode_ = mode; in set_mode()
281 return mode_; in mode()
416 MapSetting(mode_), in InitializeHandle()
/external/libchrome/base/files/
Dfile_descriptor_watcher_posix.cc77 const MessagePumpForIO::Mode mode_; member in base::FileDescriptorWatcher::Controller::Watcher
99 mode_(mode), in Watcher()
114 fd_, false, mode_, &fd_watch_controller_, this)) { in StartWatching()
130 DCHECK_EQ(MessagePumpForIO::WATCH_READ, mode_); in OnFileCanReadWithoutBlocking()
141 DCHECK_EQ(MessagePumpForIO::WATCH_WRITE, mode_); in OnFileCanWriteWithoutBlocking()
/external/v8/src/libplatform/tracing/
Dtracing-controller.cc143 mode_ = RECORDING_MODE; in StartTracing()
153 if (mode_ == DISABLED) { in StopTracing()
157 mode_ = DISABLED; in StopTracing()
173 if (mode_ == RECORDING_MODE && in UpdateCategoryGroupEnabledFlag()
182 if (mode_ == RECORDING_MODE && !strcmp(category_group, "__metadata")) { in UpdateCategoryGroupEnabledFlag()
252 if (mode_ != RECORDING_MODE) return; in AddTraceStateObserver()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dxla_dequantize_op.cc34 OP_REQUIRES_OK(context, context->GetAttr("mode", &mode_)); in XlaDequantizeOp()
45 xla::Dequantize<uint8>(input, range, mode_, transpose_output_); in Compile()
53 string mode_; member in tensorflow::__anon319de6fb0111::XlaDequantizeOp
/external/libaom/libaom/test/
Dfilterintra_test.cc48 mode_ = ::testing::get<2>(funcMode); in SetUp()
71 predFuncRef_(predRef_, stride, txSize_, &above[1], left, mode_); in RunTest()
73 predFunc_(pred_, stride, txSize_, &above[1], left, mode_)); in RunTest()
102 int mode_; member in __anond22a00060111::AV1FilterIntraPredTest

12345