/external/zucchini/ |
D | imposed_ensemble_matcher.cc | 66 return match_a.new_element.offset < match_b.new_element.offset; in Parse() 73 return match1.new_element.hi() > match2.new_element.lo(); in Parse() 85 new_image[matches_[read_idx].new_element.region()]); in Parse() 93 absl::optional<Element> new_element = detector.Run(new_sub_image); in Parse() local 94 if (!old_element || !new_element) { in Parse() 98 } else if (old_element->exe_type != new_element->exe_type) { in Parse() 105 matches_[read_idx].new_element.exe_type = new_element->exe_type; in Parse()
|
D | heuristic_ensemble_matcher.cc | 59 bool UnsafeDifference(const Element& old_element, const Element& new_element) { in UnsafeDifference() argument 62 size_t lo_size = std::min(old_element.size, new_element.size); in UnsafeDifference() 63 size_t hi_size = std::max(old_element.size, new_element.size); in UnsafeDifference() 102 const Element& new_element, in OutputCompare() argument 106 const Element& new_element, in OutputMatch() argument 176 const Element& new_element, in OutputCompare() argument 178 out_ << "Compare old" << old_element << " to new" << new_element << " --> " in OutputCompare() 183 const Element& new_element, in OutputMatch() argument 188 << new_element; in OutputMatch() 190 out_ << "Matched old" << best_old_element << " to new" << new_element in OutputMatch()
|
D | patch_reader.cc | 50 element_match->new_element.offset = element_header.new_offset; in ParseElementMatch() 51 element_match->new_element.size = element_header.new_length; in ParseElementMatch() 53 element_match->new_element.exe_type = exe_type; in ParseElementMatch() 288 const size_t new_region_size = element_match_.new_element.size; in ValidateEquivalencesAndExtraData() 311 element_match_.new_element.region().size < total_length.ValueOrDie() || in ValidateEquivalencesAndExtraData() 313 element_match_.new_element.region().size - in ValidateEquivalencesAndExtraData() 365 !element_patch.new_element().FitsIn(header_.new_size)) { in Initialize() 370 if (element_patch.new_element().offset != current_dst_offset) { in Initialize() 374 current_dst_offset = element_patch.new_element().EndOffset(); in Initialize()
|
D | image_utils.h | 207 bool IsValid() const { return old_element.exe_type == new_element.exe_type; } in IsValid() 216 new_element.offset, new_element.size); in ToString() 220 Element new_element; member
|
D | imposed_ensemble_matcher_unittest.cc | 99 EXPECT_EQ(exe_type, match.new_element.exe_type) << prev_imposed_matches; in TEST() 100 EXPECT_EQ(new_offset, match.new_element.offset) << prev_imposed_matches; in TEST() 101 EXPECT_EQ(new_size, match.new_element.size) << prev_imposed_matches; in TEST()
|
D | patch_writer.cc | 31 base::checked_cast<uint32_t>(element_match.new_element.offset); in SerializeElementMatch() 33 base::checked_cast<uint32_t>(element_match.new_element.size); in SerializeElementMatch() 270 DCHECK(patch_element.new_element().offset == current_dst_offset_); in AddElement() 271 current_dst_offset_ = patch_element.new_element().EndOffset(); in AddElement()
|
D | patch_read_write_unittest.cc | 132 EXPECT_EQ(kExeTypeDex, element_match.new_element.exe_type); in TEST() 135 EXPECT_EQ(0x3U, element_match.new_element.offset); in TEST() 136 EXPECT_EQ(0x4U, element_match.new_element.size); in TEST() 512 EXPECT_EQ(kExeTypeWin32X86, element_match.new_element.exe_type); in TEST() 515 EXPECT_EQ(0x3U, element_match.new_element.offset); in TEST() 516 EXPECT_EQ(0x13U, element_match.new_element.size); in TEST()
|
D | patch_reader.h | 219 const Element& new_element() const { return element_match_.new_element; } in new_element() function
|
D | patch_writer.h | 193 const Element& new_element() const { return element_match_.new_element; } in new_element() function
|
/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | containers.py | 276 new_element = self._message_descriptor._concrete_class(**kwargs) 277 new_element._SetListener(self._message_listener) 278 self._values.append(new_element) 281 return new_element 285 new_element = self._message_descriptor._concrete_class() 286 new_element._SetListener(self._message_listener) 287 new_element.CopyFrom(value) 288 self._values.append(new_element) 294 new_element = self._message_descriptor._concrete_class() 295 new_element._SetListener(self._message_listener) [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | containers.py | 276 new_element = self._message_descriptor._concrete_class(**kwargs) 277 new_element._SetListener(self._message_listener) 278 self._values.append(new_element) 281 return new_element 285 new_element = self._message_descriptor._concrete_class() 286 new_element._SetListener(self._message_listener) 287 new_element.CopyFrom(value) 288 self._values.append(new_element) 294 new_element = self._message_descriptor._concrete_class() 295 new_element._SetListener(self._message_listener) [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | instruction_list_test.cpp | 77 auto new_element = list.end().InsertBefore(std::move(inst)); in TEST() local 78 EXPECT_EQ(&*new_element, inserted_instructions.back()); in TEST() 102 auto new_element = list.begin().InsertBefore(std::move(new_instructions)); in TEST() local 104 EXPECT_EQ(&*new_element, created_instructions.front()); in TEST()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/ |
D | instruction_list_test.cpp | 77 auto new_element = list.end().InsertBefore(std::move(inst)); in TEST() local 78 EXPECT_EQ(&*new_element, inserted_instructions.back()); in TEST() 102 auto new_element = list.begin().InsertBefore(std::move(new_instructions)); in TEST() local 104 EXPECT_EQ(&*new_element, created_instructions.front()); in TEST()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | instruction_list_test.cpp | 77 auto new_element = list.end().InsertBefore(std::move(inst)); in TEST() local 78 EXPECT_EQ(&*new_element, inserted_instructions.back()); in TEST() 102 auto new_element = list.begin().InsertBefore(std::move(new_instructions)); in TEST() local 104 EXPECT_EQ(&*new_element, created_instructions.front()); in TEST()
|
/external/zucchini/aosp/include/components/zucchini/ |
D | image_utils.h | 207 bool IsValid() const { return old_element.exe_type == new_element.exe_type; } in IsValid() 216 new_element.offset, new_element.size); in ToString() 220 Element new_element; member
|
D | patch_writer.h | 193 const Element& new_element() const { return element_match_.new_element; } in new_element() function
|
D | patch_reader.h | 219 const Element& new_element() const { return element_match_.new_element; } in new_element() function
|
/external/cronet/testing/clusterfuzz/common/ |
D | fuzzy_types.py | 161 def RandomMutation(self, count=None, new_element=""): argument 163 random_items = lambda: random.choice(self) if self else new_element 167 functools.partial(self.Overwrite, new_element), 169 functools.partial(self.Insert, new_element, max_exponent=10),
|
/external/openscreen/util/ |
D | std_util.h | 81 TFirst&& new_element, in Append() argument 83 so_far.push_back(std::move(new_element)); in Append()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/ |
D | node_hash_policy_test.cc | 35 static int* new_element(Alloc* alloc, int value) { in new_element() function
|
/external/angle/third_party/abseil-cpp/absl/container/internal/ |
D | node_slot_policy_test.cc | 35 static int* new_element(Alloc* alloc, int value) { in new_element() function
|
/external/webrtc/third_party/abseil-cpp/absl/container/internal/ |
D | node_slot_policy_test.cc | 35 static int* new_element(Alloc* alloc, int value) { in new_element() function
|
/external/openscreen/third_party/abseil/src/absl/container/internal/ |
D | node_hash_policy_test.cc | 35 static int* new_element(Alloc* alloc, int value) { in new_element() function
|
/external/tensorflow/third_party/absl/abseil-cpp/absl/container/internal/ |
D | node_slot_policy_test.cc | 35 static int* new_element(Alloc* alloc, int value) { in new_element() function
|
/external/libtextclassifier/abseil-cpp/absl/container/internal/ |
D | node_hash_policy_test.cc | 35 static int* new_element(Alloc* alloc, int value) { in new_element() function
|