/aosp_15_r20/system/update_engine/aosp/ |
H A D | cleanup_previous_update_action.cc | 8 // http://www.apache.org/licenses/LICENSE-2.0 24 #include <android-base/chrono_utils.h> 25 #include <android-base/properties.h> 26 #include <base/bind.h> 36 using android::base::GetBoolProperty; 46 constexpr auto kCheckBootCompletedInterval = base::TimeDelta::FromSeconds(2); 49 base::TimeDelta::FromSeconds(2); 51 constexpr auto kWaitForMergeInterval = base::TimeDelta::FromSeconds(2); 125 processor_->ActionComplete(this, ErrorCode::kError); in CheckTaskScheduled() 153 // Do nothing on non-VAB device. in StartActionInternal() [all …]
|
/aosp_15_r20/external/angle/infra/specs/ |
H A D | angle.json | 4 "android-arm64-exp-pixel6": { 8 "--use-angle=vulkan", 9 "-v", 10 "--shard-timeout=500" 12 "merge": { object 26 "service_account": "chromium-tester@chops-service-accounts.iam.gserviceaccount.com", 35 "--use-angle=vulkan", 36 "-v", 37 "--shard-timeout=500" 39 "merge": { object [all …]
|
H A D | test_suites.pyl | 2 # Use of this source code is governed by a BSD-style license that can be 18 '--log=debug', 26 '--no-xvfb', 35 '--no-xvfb', 44 '--no-xvfb', 53 '--no-xvfb', 62 '--no-xvfb', 71 '--no-xvfb', 80 '--use-angle=d3d11', 82 'merge': { [all …]
|
/aosp_15_r20/external/llvm/test/Transforms/RewriteStatepointsForGC/ |
H A D | base-pointers.ll | 1 ; RUN: opt < %s -rewrite-statepoints-for-gc -S 2>&1 | FileCheck %s 6 declare i64 addrspace(1)* @generate_obj() "gc-leaf-function" 8 declare void @use_obj(i64 addrspace(1)*) "gc-leaf-function" 10 define void @def_use_safepoint() gc "statepoint-example" { 11 ; CHECK-LABEL: def_use_safepoint 13 ; CHECK-DAG: [ %obj.relocated.casted, %loop ] 14 ; CHECK-DAG: [ %obj, %entry ] 21 call void @do_safepoint() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ] 29 …est1(i32 %caller, i8 addrspace(1)* %a, i8 addrspace(1)* %b, i32 %unknown) gc "statepoint-example" { 30 ; CHECK-LABEL: test1 [all …]
|
H A D | base-vector.ll | 1 ; RUN: opt < %s -rewrite-statepoints-for-gc -S | FileCheck %s 4 define i64 addrspace(1)* @test(<2 x i64 addrspace(1)*> %vec, i32 %idx) gc "statepoint-example" { 5 ; CHECK-LABEL: @test 10 ; CHECK-DAG: ; (%base_ee, %obj) 12 ; CHECK-DAG: ; (%base_ee, %base_ee) 14 ; be to reuse the existing obj as a base since it is actually a base pointer. 21 …(1)* @test2(<2 x i64 addrspace(1)*>* %ptr, i1 %cnd, i32 %idx1, i32 %idx2) gc "statepoint-example" { 22 ; CHECK-LABEL: test2 28 br label %merge 32 br label %merge [all …]
|
/aosp_15_r20/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 45 // Merge all packages that have this package ID. in SetUp() 71 ASSERT_TRUE(merger.Merge({}, table_a.get(), false /*overlay*/)); in TEST_F() 95 file_desc.config = test::ParseConfigOrDie("hdpi-v4"); in TEST_F() 97 file_desc.source = android::Source("res/layout-hdpi/main.xml"); in TEST_F() 98 test::TestFile test_file("path/to/res/layout-hdpi/main.xml.flat"); in TEST_F() 103 &final_table, "com.app.a:layout/main", test::ParseConfigOrDie("hdpi-v4")); in TEST_F() 105 EXPECT_EQ(std::string("res/layout-hdpi-v4/main.xml"), *file->path); in TEST_F() 139 ASSERT_TRUE(merger.Merge({}, table_a.get(), false /*overlay*/)); in TEST_F() 144 EXPECT_THAT(*f->path, StrEq("res/xml/file.xml")); in TEST_F() [all …]
|
/aosp_15_r20/system/core/fs_mgr/libsnapshot/ |
H A D | snapshot.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 #include <android-base/file.h> 31 #include <android-base/logging.h> 32 #include <android-base/parseint.h> 33 #include <android-base/properties.h> 34 #include <android-base/stringprintf.h> 35 #include <android-base/strings.h> 36 #include <android-base/unique_fd.h> 59 using android::base::unique_fd; 87 using android::base::Realpath; [all …]
|
H A D | snapshot_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 31 #include <android-base/file.h> 32 #include <android-base/logging.h> 33 #include <android-base/properties.h> 34 #include <android-base/strings.h> 35 #include <android-base/unique_fd.h> 59 #define DEFAULT_MODE "vab-legacy" 65 "Force testing older modes (vab-legacy) ignoring device config."); 67 "Force testing mode (iouring_disabled) - disable io_uring"); 73 using android::base::unique_fd; [all …]
|
/aosp_15_r20/external/mesa3d/src/amd/compiler/tests/ |
H A D | test_isel.cpp | 4 * SPDX-License-Identifier: MIT 6 #include <llvm/Config/llvm-config.h> 9 #include "test_isel-spirv.h" 253 nir_def *init0 = nir_unit_test_uniform_amd(nb, 1, 32, .base=0); 254 nir_def *init1 = nir_unit_test_divergent_amd(nb, 1, 32, .base=1); 260 //! /* logical preds: BB0, / linear preds: BB0, / kind: uniform, loop-header, */ 263 phi[0] = nir_phi_instr_create(nb->shader); 264 phi[1] = nir_phi_instr_create(nb->shader); 265 nir_def_init(&phi[0]->instr, &phi[0]->def, 1, 32); 266 nir_def_init(&phi[1]->instr, &phi[1]->def, 1, 32); [all …]
|
/aosp_15_r20/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
H A D | snapuserd_test.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 #include <android-base/strings.h> 31 #include <android-base/file.h> 32 #include <android-base/properties.h> 33 #include <android-base/unique_fd.h> 54 using android::base::unique_fd; 83 unique_fd GetCowFd() { return unique_fd{dup(cow_system_->fd)}; } in GetCowFd() 130 base_dev_ = harness_->CreateBackingDevice(total_base_size_); in CreateBaseDevice() 133 base_fd_.reset(open(base_dev_->GetPath().c_str(), O_RDWR | O_CLOEXEC)); in CreateBaseDevice() 143 ASSERT_EQ(android::base::WriteFully(base_fd_, random_buffer.get(), 1_MiB), true); in CreateBaseDevice() [all …]
|
H A D | snapuserd_core.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 #include <android-base/chrono_utils.h> 20 #include <android-base/properties.h> 21 #include <android-base/scopeguard.h> 22 #include <android-base/strings.h> 34 using android::base::unique_fd; 58 if (!wt->Init()) { in InitializeWorkers() 77 return reader_->CloneCowReader(); in CloneReaderForWorker() 82 merge_completion_percentage_ = (ch->num_merge_ops * 100.0) / reader_->get_num_total_data_ops(); in UpdateMergeCompletionPercentage() 84 SNAP_LOG(DEBUG) << "Merge-complete %: " << merge_completion_percentage_ in UpdateMergeCompletionPercentage() [all …]
|
H A D | merge_worker.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 #include <android-base/properties.h> 31 using android::base::unique_fd; 52 if (!cowop_iter_->AtEnd() && num_ops) { in PrepareMerge() 53 const CowOperation* cow_op = cowop_iter_->Get(); in PrepareMerge() 58 *source_offset = static_cast<uint64_t>(cow_op->new_block) * BLOCK_SZ; in PrepareMerge() 60 replace_zero_vec->push_back(cow_op); in PrepareMerge() 61 if (cow_op->type() == kCowReplaceOp) { in PrepareMerge() 67 cowop_iter_->Next(); in PrepareMerge() 68 num_ops -= num_blocks; in PrepareMerge() [all …]
|
/aosp_15_r20/external/perfetto/src/tools/proto_merger/ |
H A D | proto_merger.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 #include "perfetto/base/logging.h" 22 #include "perfetto/base/status.h" 23 #include "perfetto/ext/base/string_utils.h" 33 return it == map.end() ? std::nullopt : std::make_optional(it->second); in FindInMap() 60 seen.insert(input_item->name); in ComputeDeletedByName() 95 seen.insert(input_item->number); in ComputeDeletedByNumber() 166 // Otherwise, merge the enums from the input and source of truth. in MergeEnums() 172 base::Status MergeField(const ProtoFile::Field& input, in MergeField() 178 return base::ErrStatus( in MergeField() [all …]
|
/aosp_15_r20/external/fonttools/Lib/fontTools/varLib/ |
H A D | merger.py | 2 Merge OpenType Layout tables (GDEF / GPOS / GSUB). 63 assert method.__name__ == "merge" 72 "Oops, class '%s' has merge function for '%s' defined already." 139 # need to special-case Enums as have __dict__ but are not regular 'objects', 171 def merge(merger, self, lst): function 213 - Combined glyph list, 214 - If values_lst is None, return input glyph lists, but padded with None when a glyph 215 was missing in a list. Otherwise, return values_lst list-of-list, padded with None 248 def merge(merger, self, lst): function 256 def merge(merger, self, lst): function [all …]
|
/aosp_15_r20/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
H A D | inspect_cow.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 25 #include <android-base/file.h> 26 #include <android-base/logging.h> 27 #include <android-base/unique_fd.h> 36 DEFINE_string(order, "", "If show_ops is true, change the order (either merge or reverse-merge)"); 38 "If show_ops is true, and order is merge or reverse-merge, include merged ops"); 39 DEFINE_bool(verify_merge_sequence, false, "Verify merge order sequencing"); 40 DEFINE_bool(show_merge_sequence, false, "Show merge order sequence"); 47 using android::base::borrowed_fd; 48 using android::base::unique_fd; [all …]
|
H A D | cow_reader.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 25 #include <android-base/file.h> 26 #include <android-base/logging.h> 41 bool ReadCowHeader(android::base::borrowed_fd fd, CowHeaderV3* header) { in ReadCowHeader() 49 if (!android::base::ReadFully(fd, &header->prefix, sizeof(header->prefix))) { in ReadCowHeader() 52 if (header->prefix.magic != kCowMagicNumber) { in ReadCowHeader() 53 LOG(ERROR) << "Header Magic corrupted. Magic: " << header->prefix.magic in ReadCowHeader() 57 if (header->prefix.header_size > sizeof(CowHeaderV3)) { in ReadCowHeader() 58 LOG(ERROR) << "Unknown CowHeader size (got " << header->prefix.header_size in ReadCowHeader() 67 return android::base::ReadFully(fd, header, header->prefix.header_size); in ReadCowHeader() [all …]
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/debug/ |
D | list | 1 // Debugging list implementation -*- C++ -*- 3 // Copyright (C) 2003-2013 Free Software Foundation, Inc. 113 { this->_M_swap(__x); } 126 this->_M_invalidate_all(); 146 this->_M_invalidate_all(); 154 this->_M_invalidate_all(); 170 this->_M_invalidate_all(); 177 this->_M_invalidate_all(); 242 this->_M_detach_singular(); 247 for (size_type __i = __sz; __victim != __end && __i > 0; --__i) [all …]
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/include/c++/4.8.3/debug/ |
D | list | 1 // Debugging list implementation -*- C++ -*- 3 // Copyright (C) 2003-2013 Free Software Foundation, Inc. 113 { this->_M_swap(__x); } 126 this->_M_invalidate_all(); 146 this->_M_invalidate_all(); 154 this->_M_invalidate_all(); 170 this->_M_invalidate_all(); 177 this->_M_invalidate_all(); 242 this->_M_detach_singular(); 247 for (size_type __i = __sz; __victim != __end && __i > 0; --__i) [all …]
|
/aosp_15_r20/libcore/tools/upstream/ |
H A D | merge-from-upstream | 9 # http://www.apache.org/licenses/LICENSE-2.0 19 Merges upstream files to ojluni. This is done by using git to perform a 3-way 20 merge between the current (base) upstream version, ojluni and the new (target) 21 upstream version. The 3-way merge is needed because ojluni sometimes contains 22 some Android-specific changes from the upstream version. 28 The naming of the repositories (expected, ojluni, 7u40, 8u121-b13, 31 http://go/libcore-o-verify 40 * 5593705 (HEAD -> main) Merge branch 'ojluni' 45 * 9ae2fbf Base commit (9b113+) 47 The conflicts during the merge get resolved by git whenever possible. However, [all …]
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/include/c++/4.8.3/profile/ |
D | list | 1 // Profiling list implementation -*- C++ -*- 3 // Copyright (C) 2009-2013 Free Software Foundation, Inc. 33 #include <profile/base.h> 162 this->clear(); 163 this->swap(__x); 330 --__victim; 340 return iterator(_Base::emplace(__position.base(), 350 return iterator(_Base::insert(__position.base(), __x), this); 358 return iterator(_Base::emplace(__position.base(), std::move(__x)), 366 _Base::insert(__position.base(), __l); [all …]
|
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/profile/ |
D | list | 1 // Profiling list implementation -*- C++ -*- 3 // Copyright (C) 2009-2013 Free Software Foundation, Inc. 33 #include <profile/base.h> 162 this->clear(); 163 this->swap(__x); 330 --__victim; 340 return iterator(_Base::emplace(__position.base(), 350 return iterator(_Base::insert(__position.base(), __x), this); 358 return iterator(_Base::emplace(__position.base(), std::move(__x)), 366 _Base::insert(__position.base(), __l); [all …]
|
/aosp_15_r20/external/crosvm/docs/book/src/integration/ |
H A D | chromeos.md | 9 ## The merge process. 11 A crosvm bot will regularly generate automated commits that merge upstream crosvm into downstream. 13 [gerrit](https://chromium-review.googlesource.com/q/hashtag:crosvm-merge). 18 Googlers can find more information on the merge process at [go/crosvm-uprev-playbook]. 23 `cros_workon` package. The full package name is `chromeos-base/crosvm`. 26 …Changes](https://www.chromium.org/chromium-os/developer-library/guides/development/developer-guide… 28 build with cros build-packages. Consecutive builds without changes to dependency can be done with 32 (chroot)$ cros_workon --board=${BOARD} start chromeos-base/crosvm 33 (chroot or host)$ cros build-packages --board=${BOARD} chromeos-base/crosvm 34 (chroot)$ emerge-${BOARD} chromeos-base/crosvm -j 10 [all …]
|
/aosp_15_r20/frameworks/minikin/tests/unittest/ |
H A D | FontFakeryTest.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 35 FontFakery merge(const FVarTable& fvar, const std::string& base, const std::string& target, in merge() function 37 return merge(fvar, parseVariationSettings(base), parseVariationSettings(target), baseStyle, in merge() 88 EXPECT_EQ("'ABCD' 100", merge(fvar, "", "'ABCD' 100", REGULAR, REGULAR).variationSettings()); in TEST() 89 // Base should be remains in TEST() 90 EXPECT_EQ("'ABCD' 0", merge(fvar, "'ABCD' 0", "", REGULAR, REGULAR).variationSettings()); in TEST() 92 EXPECT_EQ("'ABCD' 50", merge(fvar, "", "'ABCD' 50", REGULAR, REGULAR).variationSettings()); in TEST() 93 // Override should override the base settings. in TEST() 95 merge(fvar, "'ABCD' 0", "'ABCD' 100", REGULAR, REGULAR).variationSettings()); in TEST() 104 merge(fvar, "'ABCD' 100", "'EFGH' 100", REGULAR, REGULAR).variationSettings()); in TEST() [all …]
|
/aosp_15_r20/system/core/fs_mgr/libdm/ |
H A D | dm_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 #include <android-base/file.h> 33 #include <android-base/logging.h> 34 #include <android-base/scopeguard.h> 35 #include <android-base/strings.h> 36 #include <android-base/unique_fd.h> 48 using android::base::make_scope_guard; 49 using android::base::unique_fd; 55 testing::UnitTest::GetInstance()->current_test_info(); in SetUp() 56 test_name_ = test_info->name(); in SetUp() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/itertools/src/ |
D | merge_join.rs | 17 /// An iterator adaptor that merges the two base iterators in ascending order. 18 /// If both base iterators are sorted (ascending), the result is sorted. 22 /// See [`.merge()`](crate::Itertools::merge_by) for more information. 23 pub type Merge<I, J> = MergeBy<I, J, MergeLte>; typedef 27 /// [`IntoIterator`] enabled version of [`Itertools::merge`](crate::Itertools::merge). 30 /// use itertools::merge; 32 /// for elt in merge(&[1, 2, 3], &[2, 3, 4]) { 36 pub fn merge<I, J>( in merge() function 39 ) -> Merge<<I as IntoIterator>::IntoIter, <J as IntoIterator>::IntoIter> in merge() 48 /// An iterator adaptor that merges the two base iterators in ascending order. [all …]
|