Home
last modified time | relevance | path

Searched refs:region_ (Results 1 – 25 of 32) sorted by relevance

12

/external/libchrome/mojo/core/
Dshared_buffer_dispatcher.cc196 if (!region_.IsValid() || in_transit_) in PassPlatformSharedMemoryRegion()
199 return std::move(region_); in PassPlatformSharedMemoryRegion()
211 region_ = base::subtle::PlatformSharedMemoryRegion(); in Close()
231 if (region_.GetMode() == in DuplicateBufferHandle()
234 } else if (region_.GetMode() == in DuplicateBufferHandle()
236 region_ = base::ReadOnlySharedMemoryRegion::TakeHandleForSerialization( in DuplicateBufferHandle()
239 std::move(region_)))); in DuplicateBufferHandle()
242 DCHECK_EQ(region_.GetMode(), in DuplicateBufferHandle()
248 if (region_.GetMode() == in DuplicateBufferHandle()
251 } else if (region_.GetMode() == in DuplicateBufferHandle()
[all …]
Dshared_buffer_dispatcher.h71 return region_; in GetRegionForTesting()
116 base::subtle::PlatformSharedMemoryRegion region_; variable
/external/libchrome/base/memory/
Dshared_memory_region_unittest.cc35 std::tie(region_, rw_mapping_) = in SetUp()
37 ASSERT_TRUE(region_.IsValid()); in SetUp()
44 SharedMemoryRegionType region_; member in base::SharedMemoryRegionTest
63 TypeParam moved_region = std::move(this->region_); in TYPED_TEST()
64 EXPECT_FALSE(this->region_.IsValid()); in TYPED_TEST()
82 this->region_ = TypeParam(); in TYPED_TEST()
83 EXPECT_FALSE(this->region_.IsValid()); in TYPED_TEST()
91 typename TypeParam::MappingType mapping = this->region_.Map(); in TYPED_TEST()
104 this->region_ = TypeParam(); in TYPED_TEST()
112 typename TypeParam::MappingType mapping = this->region_.Map(); in TYPED_TEST()
[all …]
/external/webrtc/modules/audio_processing/aec3/
Dfilter_analyzer.cc118 RTC_DCHECK_LT(region_.start_sample_, filters_time_domain[ch].size()); in AnalyzeRegion()
119 RTC_DCHECK_LT(region_.end_sample_, filters_time_domain[ch].size()); in AnalyzeRegion()
127 FindPeakIndex(h_highpass_[ch], st_ch.peak_index, region_.start_sample_, in AnalyzeRegion()
128 region_.end_sample_); in AnalyzeRegion()
135 h_highpass_[ch], region_, in AnalyzeRegion()
164 RTC_DCHECK_LT(region_.start_sample_, filters_time_domain[ch].size()); in PreProcessFilters()
165 RTC_DCHECK_LT(region_.end_sample_, filters_time_domain[ch].size()); in PreProcessFilters()
173 std::fill(h_highpass_[ch].begin() + region_.start_sample_, in PreProcessFilters()
174 h_highpass_[ch].begin() + region_.end_sample_ + 1, 0.f); in PreProcessFilters()
175 for (size_t k = std::max(h.size() - 1, region_.start_sample_); in PreProcessFilters()
[all …]
Dfilter_analyzer.h130 FilterRegion region_; variable
/external/pigweed/pw_allocator/
Dfreelist_heap.cc33 region_ = region; in FreeListHeap()
70 if (bytes < region_.data() || bytes >= region_.data() + region_.size()) { in Free()
130 if (bytes < region_.data() || bytes >= region_.data() + region_.size()) { in Realloc()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_client_stats.h60 : region_(std::move(region)), in XdsLocalityName()
65 return region_ == other.region_ && zone_ == other.zone_ &&
74 int cmp_result = region_.compare(other.region_); in Compare()
81 const std::string& region() const { return region_; } in region()
89 region_, zone_, sub_zone_); in AsHumanReadableString()
95 std::string region_;
/external/icing/icing/file/
Dmemory-mapped-file.cc66 region_ = nullptr; in Unmap()
131 region_ = reinterpret_cast<char*>(mmap_result_) + alignment_adjustment; in Remap()
143 if (region_ == nullptr) { in PersistToDisk()
192 std::swap(region_, other->region_); in Swap()
Dmemory-mapped-file.h133 const char* region() const { return region_; } in region()
134 char* mutable_region() { return region_; } in mutable_region()
152 char* region_ = nullptr; variable
/external/libtextclassifier/native/utils/i18n/
Dlocale.h50 std::string Region() const { return region_; } in Region()
72 region_(region), in Locale()
81 std::string region_; variable
Dlocale.cc202 return language_ == locale.language_ && region_ == locale.region_ && in operator ==()
207 return std::tie(language_, region_, script_) < in operator <()
208 std::tie(locale.language_, locale.region_, locale.script_); in operator <()
/external/google-breakpad/src/google_breakpad/processor/
Dminidump.h1019 uint64_t GetBase() const { return valid_ ? region_.start : 0; } in GetBase()
1021 uint64_t GetSize() const { return valid_ ? region_.end - region_.start : 0; } in GetSize()
1025 return valid_ ? region_.permissions & MappedMemoryRegion::READ : false; in IsReadable()
1028 return valid_ ? region_.permissions & MappedMemoryRegion::WRITE : false; in IsWriteable()
1031 return valid_ ? region_.permissions & MappedMemoryRegion::EXECUTE : false; in IsExecutable()
1034 return valid_ ? region_.permissions & MappedMemoryRegion::PRIVATE : false; in IsPrivate()
1038 uint64_t GetOffset() const { return valid_ ? region_.offset : 0; } in GetOffset()
1041 uint8_t GetMajorDevice() const { return valid_ ? region_.major_device : 0; } in GetMajorDevice()
1043 uint8_t GetMinorDevice() const { return valid_ ? region_.minor_device : 0; } in GetMinorDevice()
1046 uint64_t GetInode() const { return valid_ ? region_.inode : 0; } in GetInode()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
Dconverter.cc422 region_ = CalculateTextureRegion(output_def); in Init()
459 origin, region_.data(), 0, nullptr, nullptr)); in Copy()
464 std::array<size_t, 3> region_; member in tflite::gpu::cl::__anondaf6909e0111::TrivialCopier
482 region_ = CalculateTextureRegion( in Init()
497 texture_output->memobj, int3(region_[0], region_[1], region_[2]), in Convert()
509 texture_input->memobj, int3(region_[0], region_[1], region_[2]), in Convert()
522 std::array<size_t, 3> region_; member in tflite::gpu::cl::__anondaf6909e0111::CpuCopier
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem.h164 : region_(std::move(region)), ops_(ops) {} in ModularReadOnlyMemoryRegion()
166 ~ModularReadOnlyMemoryRegion() override { ops_->cleanup(region_.get()); }; in ~ModularReadOnlyMemoryRegion()
168 const void* data() override { return ops_->data(region_.get()); } in data()
169 uint64 length() override { return ops_->length(region_.get()); } in length()
172 std::unique_ptr<TF_ReadOnlyMemoryRegion> region_;
/external/icu/icu4c/source/common/
Dlocalebuilder.cpp34 script_(), region_(), variant_(nullptr), extensions_(nullptr) in LocaleBuilder()
38 region_[0] = 0; in LocaleBuilder()
98 setField(region, region_, status_, &ultag_isRegionSubtag); in setRegion()
389 region_[0] = 0; in clear()
440 if (uprv_strlen(region_) > 0) { in build()
441 locale_str.append('-', errorCode).append(StringPiece(region_), errorCode); in build()
/external/google-breakpad/src/processor/
Dminidump_processor_unittest.cc124 region_.Init(base, contents); in MockMinidumpMemoryRegion()
127 uint64_t GetBase() const { return region_.GetBase(); } in GetBase()
128 uint32_t GetSize() const { return region_.GetSize(); } in GetSize()
131 return region_.GetMemoryAtAddress(address, value); in GetMemoryAtAddress()
134 return region_.GetMemoryAtAddress(address, value); in GetMemoryAtAddress()
137 return region_.GetMemoryAtAddress(address, value); in GetMemoryAtAddress()
140 return region_.GetMemoryAtAddress(address, value); in GetMemoryAtAddress()
143 MockMemoryRegion region_; member in google_breakpad::MockMinidumpMemoryRegion
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/
Daws_request_signer.cc74 region_(std::move(region)), in AwsRequestSigner()
187 "%s/%s/%s/aws4_request", request_date_short, region_, service_name); in GetSignedRequestHeaders()
198 std::string region = HMAC(date, region_); in GetSignedRequestHeaders()
Daws_external_account_credentials.cc144 region_ = std::string(region_from_env.get()); in RetrieveRegion()
193 region_ = std::string(response_body.substr(0, response_body.size() - 1)); in OnRetrieveRegionInternal()
356 regional_cred_verification_url_, {{"{region}", region_}}); in BuildSubjectToken()
359 cred_verification_url_, region_, "", in BuildSubjectToken()
Daws_request_signer.h62 std::string region_; variable
Daws_external_account_credentials.h65 std::string region_; variable
/external/webrtc/modules/desktop_capture/
Ddesktop_region.cc502 : region_(region), in Iterator()
515 return row_ == region_.rows_.end(); in IsAtEnd()
526 if (row_ != region_.rows_.end()) { in Advance()
538 if (previous_row_ != region_.rows_.end() && in Advance()
560 } while (bottom_row != region_.rows_.end() && in UpdateCurrentRect()
/external/icu/libicu/cts_headers/unicode/
Dlocalebuilder.h301 char region_[4]; variable
/external/icu/icu4c/source/common/unicode/
Dlocalebuilder.h301 char region_[4]; variable
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dresource_alias_analysis.cc75 if (arg.getParentBlock() == &region_->front()) return arg.getArgNumber(); in GetArg()
83 Region* region_; member in mlir::TF::detail::BacktrackAnalysisInfo
218 : region_(&region) { in BacktrackAnalysisInfo()
/external/pigweed/pw_allocator/public/pw_allocator/
Dfreelist_heap.h53 std::span<std::byte> region_; variable

12