/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/ |
H A D | kselftest_harness.h | 450 * @seen: measured value 454 #define ASSERT_EQ(expected, seen) \ argument 455 __EXPECT(expected, #expected, seen, #seen, ==, 1) 461 * @seen: measured value 465 #define ASSERT_NE(expected, seen) \ argument 466 __EXPECT(expected, #expected, seen, #seen, !=, 1) 472 * @seen: measured value 476 #define ASSERT_LT(expected, seen) \ argument 477 __EXPECT(expected, #expected, seen, #seen, <, 1) 483 * @seen: measured value [all …]
|
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | types.cpp | 189 size_t Type::ComputeHashValue(size_t hash, SeenTypes* seen) const { in ComputeHashValue() 194 if (std::find(seen->begin(), seen->end(), this) != seen->end()) { in ComputeHashValue() 198 seen->push_back(this); in ComputeHashValue() 208 hash = As##type()->ComputeExtraStateHash(hash, seen); \ in ComputeHashValue() 244 seen->pop_back(); in ComputeHashValue() 249 SeenTypes seen; in HashValue() local 250 return ComputeHashValue(0, &seen); in HashValue() 318 bool Vector::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl() 322 element_type_->IsSameImpl(vt->element_type_, seen) && in IsSameImpl() 332 size_t Vector::ComputeExtraStateHash(size_t hash, SeenTypes* seen) const { in ComputeExtraStateHash() [all …]
|
H A D | fix_storage_class.cpp | 30 std::set<uint32_t> seen; in Process() local 41 &seen); in Process() 42 assert(seen.empty() && "Seen was not properly reset."); in Process() 44 PropagateType(use.first, inst->type_id(), use.second, &seen); in Process() 45 assert(seen.empty() && "Seen was not properly reset."); in Process() 54 std::set<uint32_t>* seen) { in PropagateStorageClass() argument 61 if (!seen->insert(inst->result_id()).second) { in PropagateStorageClass() 71 modified |= PropagateStorageClass(use, storage_class, seen); in PropagateStorageClass() 75 seen->erase(inst->result_id()); in PropagateStorageClass() 87 FixInstructionStorageClass(inst, storage_class, seen); in PropagateStorageClass() [all …]
|
H A D | types.h | 125 IsSameCache seen; in IsSame() local 126 return IsSameImpl(that, &seen); in IsSame() 130 // decorations. |seen| is the set of |Pointer*| pair that are currently being 132 virtual bool IsSameImpl(const Type* that, IsSameCache* seen) const = 0; 169 size_t ComputeHashValue(size_t hash, SeenTypes* seen) const; 213 virtual size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const = 0; 243 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 263 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 283 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 304 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; [all …]
|
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | types.cpp | 189 size_t Type::ComputeHashValue(size_t hash, SeenTypes* seen) const { in ComputeHashValue() 194 if (std::find(seen->begin(), seen->end(), this) != seen->end()) { in ComputeHashValue() 198 seen->push_back(this); in ComputeHashValue() 208 hash = As##type()->ComputeExtraStateHash(hash, seen); \ in ComputeHashValue() 244 seen->pop_back(); in ComputeHashValue() 249 SeenTypes seen; in HashValue() local 250 return ComputeHashValue(0, &seen); in HashValue() 318 bool Vector::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl() 322 element_type_->IsSameImpl(vt->element_type_, seen) && in IsSameImpl() 332 size_t Vector::ComputeExtraStateHash(size_t hash, SeenTypes* seen) const { in ComputeExtraStateHash() [all …]
|
D | fix_storage_class.cpp | 30 std::set<uint32_t> seen; in Process() local 41 &seen); in Process() 42 assert(seen.empty() && "Seen was not properly reset."); in Process() 44 PropagateType(use.first, inst->type_id(), use.second, &seen); in Process() 45 assert(seen.empty() && "Seen was not properly reset."); in Process() 54 std::set<uint32_t>* seen) { in PropagateStorageClass() argument 61 if (!seen->insert(inst->result_id()).second) { in PropagateStorageClass() 71 modified |= PropagateStorageClass(use, storage_class, seen); in PropagateStorageClass() 75 seen->erase(inst->result_id()); in PropagateStorageClass() 87 FixInstructionStorageClass(inst, storage_class, seen); in PropagateStorageClass() [all …]
|
D | types.h | 125 IsSameCache seen; in IsSame() local 126 return IsSameImpl(that, &seen); in IsSame() 130 // decorations. |seen| is the set of |Pointer*| pair that are currently being 132 virtual bool IsSameImpl(const Type* that, IsSameCache* seen) const = 0; 169 size_t ComputeHashValue(size_t hash, SeenTypes* seen) const; 213 virtual size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const = 0; 243 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 263 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 283 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 304 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; [all …]
|
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/opt/ |
H A D | types.cpp | 191 size_t Type::ComputeHashValue(size_t hash, SeenTypes* seen) const { in ComputeHashValue() 196 if (std::find(seen->begin(), seen->end(), this) != seen->end()) { in ComputeHashValue() 200 seen->push_back(this); in ComputeHashValue() 210 hash = As##type()->ComputeExtraStateHash(hash, seen); \ in ComputeHashValue() 248 seen->pop_back(); in ComputeHashValue() 253 SeenTypes seen; in HashValue() local 254 return ComputeHashValue(0, &seen); in HashValue() 322 bool Vector::IsSameImpl(const Type* that, IsSameCache* seen) const { in IsSameImpl() 326 element_type_->IsSameImpl(vt->element_type_, seen) && in IsSameImpl() 336 size_t Vector::ComputeExtraStateHash(size_t hash, SeenTypes* seen) const { in ComputeExtraStateHash() [all …]
|
H A D | types.h | 129 IsSameCache seen; in IsSame() local 130 return IsSameImpl(that, &seen); in IsSame() 134 // decorations. |seen| is the set of |Pointer*| pair that are currently being 136 virtual bool IsSameImpl(const Type* that, IsSameCache* seen) const = 0; 173 size_t ComputeHashValue(size_t hash, SeenTypes* seen) const; 219 virtual size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const = 0; 249 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 269 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 289 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; 310 size_t ComputeExtraStateHash(size_t hash, SeenTypes* seen) const override; [all …]
|
H A D | fix_storage_class.cpp | 30 std::set<uint32_t> seen; in Process() local 41 &seen); in Process() 42 assert(seen.empty() && "Seen was not properly reset."); in Process() 44 PropagateType(use.first, inst->type_id(), use.second, &seen); in Process() 45 assert(seen.empty() && "Seen was not properly reset."); in Process() 54 std::set<uint32_t>* seen) { in PropagateStorageClass() argument 61 if (!seen->insert(inst->result_id()).second) { in PropagateStorageClass() 71 modified |= PropagateStorageClass(use, storage_class, seen); in PropagateStorageClass() 75 seen->erase(inst->result_id()); in PropagateStorageClass() 87 FixInstructionStorageClass(inst, storage_class, seen); in PropagateStorageClass() [all …]
|
/aosp_15_r20/external/mesa3d/src/broadcom/common/ |
H A D | v3d_performance_counters.h | 88 {"AXI", "AXI-writes-seen-watch-0", "[AXI] Writes seen by watch 0"}, 89 {"AXI", "AXI-reads-seen-watch-0", "[AXI] Reads seen by watch 0"}, 90 {"AXI", "AXI-writes-stalled-seen-watch-0", "[AXI] Write stalls seen by watch 0"}, 91 {"AXI", "AXI-reads-stalled-seen-watch-0", "[AXI] Read stalls seen by watch 0"}, 92 {"AXI", "AXI-write-bytes-seen-watch-0", "[AXI] Total bytes written seen by watch 0"}, 93 {"AXI", "AXI-read-bytes-seen-watch-0", "[AXI] Total bytes read seen by watch 0"}, 94 {"AXI", "AXI-writes-seen-watch-1", "[AXI] Writes seen by watch 1"}, 95 {"AXI", "AXI-reads-seen-watch-1", "[AXI] Reads seen by watch 1"}, 96 {"AXI", "AXI-writes-stalled-seen-watch-1", "[AXI] Write stalls seen by watch 1"}, 97 {"AXI", "AXI-reads-stalled-seen-watch-1", "[AXI] Read stalls seen by watch 1"}, [all …]
|
/aosp_15_r20/external/autotest/utils/frozen_chromite/third_party/googleapiclient/ |
H A D | schema.py | 92 def _prettyPrintByName(self, name, seen=None, dent=0): argument 97 seen: list of string, Names of schema already seen. Used to handle 104 if seen is None: 105 seen = [] 107 if name in seen: 110 seen.append(name) 114 seen, dent=dent).to_str(self._prettyPrintByName) 116 seen.pop() 131 return self._prettyPrintByName(name, seen=[], dent=1)[:-2] 134 def _prettyPrintSchema(self, schema, seen=None, dent=0): argument [all …]
|
/aosp_15_r20/external/python/google-api-python-client/googleapiclient/ |
D | schema.py | 86 def _prettyPrintByName(self, name, seen=None, dent=0): argument 91 seen: list of string, Names of schema already seen. Used to handle 98 if seen is None: 99 seen = [] 101 if name in seen: 104 seen.append(name) 108 self.schemas[name], seen, dent=dent 111 seen.pop() 126 return self._prettyPrintByName(name, seen=[], dent=0)[:-2] 129 def _prettyPrintSchema(self, schema, seen=None, dent=0): argument [all …]
|
/aosp_15_r20/external/jsoup/src/test/java/org/jsoup/nodes/ |
H A D | NodeIteratorTest.java | 93 StringBuilder seen = new StringBuilder(); in canRemoveViaIterator() local 98 trackSeen(node, seen); in canRemoveViaIterator() 100 …Equals("#root;html;head;body;div#out1;div#1;div#2;p;Three;p;Four;div#out2;Out2;", seen.toString()); in canRemoveViaIterator() 104 seen = new StringBuilder(); in canRemoveViaIterator() 109 trackSeen(node, seen); in canRemoveViaIterator() 111 assertEquals("#root;html;head;body;div#out1;div#2;div#out2;Out2;", seen.toString()); in canRemoveViaIterator() 120 StringBuilder seen = new StringBuilder(); in canRemoveViaNode() local 125 trackSeen(node, seen); in canRemoveViaNode() 127 …Equals("#root;html;head;body;div#out1;div#1;div#2;p;Three;p;Four;div#out2;Out2;", seen.toString()); in canRemoveViaNode() 131 seen = new StringBuilder(); in canRemoveViaNode() [all …]
|
H A D | AttributesTest.java | 96 int seen = 0; in testIteratorHasNext() local 98 seen++; in testIteratorHasNext() 99 assertEquals(String.valueOf(seen), attribute.getValue()); in testIteratorHasNext() 101 assertEquals(3, seen); in testIteratorHasNext() 140 int seen = 0; in testIteratorSkipsInternal() local 142 seen++; in testIteratorSkipsInternal() 144 assertEquals(2, seen); in testIteratorSkipsInternal() 152 int seen = 0; in iteratorThrows() local 155 seen++; in iteratorThrows() 158 assertEquals(2, seen); in iteratorThrows() [all …]
|
/aosp_15_r20/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/ |
D | SortingCursorWrapperTest.java | 135 BitSet seen = new BitSet(ITEM_COUNT); in testSort_names_ascending() local 145 seen.set(Integer.parseInt( in testSort_names_ascending() 150 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_names_ascending() 159 BitSet seen = new BitSet(ITEM_COUNT); in testSort_names_descending() local 169 seen.set(Integer.parseInt( in testSort_names_descending() 174 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_names_descending() 188 BitSet seen = new BitSet(ITEM_COUNT); in testSort_sizes_ascending() local 192 seen.set(Integer.parseInt( in testSort_sizes_ascending() 200 assertEquals(ITEM_COUNT, seen.cardinality()); in testSort_sizes_ascending() 211 BitSet seen = new BitSet(ITEM_COUNT); in testSort_sizes_descending() local [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/go/analysis/passes/bools/ |
D | bools.go | 37 seen := make(map[*ast.BinaryExpr]bool) 40 if seen[e] { 55 comm := op.commutativeSets(pass.TypesInfo, e, seen) 79 // commutativeSets adds any expanded BinaryExprs to seen. 80 func (op boolOp) commutativeSets(info *types.Info, e *ast.BinaryExpr, seen map[*ast.BinaryExpr]bool… 81 exprs := op.split(e, seen) 105 seen := make(map[string]bool) 108 if seen[efmt] { 111 seen[efmt] = true 126 // seen maps from expressions 'x' to equality expressions 'x != c'. [all …]
|
/aosp_15_r20/external/owasp/sanitizer/lib/htmlparser-1.3/doc/ |
D | tree-construction.txt | 444 attributes had been seen, then reprocess the current token. 451 attributes had been seen, then reprocess the current token. 524 the end tag is seen. 548 seen, and reprocess the current token. 591 had been seen and reprocess the current token. 645 attributes had been seen, and then reprocess the current token. 710 Act as if an end tag with tag name "body" had been seen, then, 721 as if an end tag with the tag name "p" had been seen. 728 as if an end tag with the tag name "p" had been seen. 738 as if an end tag with the tag name "p" had been seen. [all …]
|
/aosp_15_r20/external/selinux/libsepol/src/ |
H A D | module.c | 460 /* Flags for which sections have been seen during parsing of module package. */ 474 unsigned i, seen = 0; in sepol_module_package_read() local 508 if (seen & SEEN_FC) { in sepol_module_package_read() 532 seen |= SEEN_FC; in sepol_module_package_read() 535 if (seen & SEEN_SEUSER) { in sepol_module_package_read() 555 seen |= SEEN_SEUSER; in sepol_module_package_read() 558 if (seen & SEEN_USER_EXTRA) { in sepol_module_package_read() 580 seen |= SEEN_USER_EXTRA; in sepol_module_package_read() 583 if (seen & SEEN_NETFILTER) { in sepol_module_package_read() 607 seen |= SEEN_NETFILTER; in sepol_module_package_read() [all …]
|
/aosp_15_r20/build/make/tools/product_config/src/com/android/build/config/ |
H A D | FlattenConfig.java | 114 * Adds makefiles which have been traversed to the 'seen' set, and will not traverse 115 * into an inherit statement if its makefile has already been seen. 117 private void forEachStatement(Str filename, VarType varType, Set<String> seen, in forEachStatement() argument 152 if (seen != null) { in forEachStatement() 153 if (seen.contains(inherit.getFilename().toString())) { in forEachStatement() 156 seen.add(inherit.getFilename().toString()); in forEachStatement() 171 private void forEachInheritAlpha(final Str filename, VarType varType, Set<String> seen, in forEachInheritAlpha() argument 179 // Handle 'seen' here where we actaully call back, not before, so that in forEachInheritAlpha() 181 if (seen != null) { in forEachInheritAlpha() 182 if (seen.contains(inherit.getFilename().toString())) { in forEachInheritAlpha() [all …]
|
/aosp_15_r20/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | MarkAsSeenAction.java | 33 * Action used to mark all messages as seen 40 * Mark all messages as seen. 48 * Mark all messages of a given conversation as seen. 57 * @param conversationId the conversation id for which to mark as seen, or null to mark all 58 * messages as seen 70 // Everything in telephony should already have the seen bit set. in executeAction() 71 // Possible exception are messages which did not have seen set and in executeAction() 74 // Now mark the messages as seen in the bugle db in executeAction() 80 values.put(MessageColumns.SEEN, 1); in executeAction() 84 MessageColumns.SEEN + " != 1 AND " + in executeAction() [all …]
|
/aosp_15_r20/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 220 // clockwise roundabout (as seen from above, typical for left-hand drive 224 // exit") on a clockwise roundabout (as seen from above, typical for 229 // exit") on a clockwise roundabout (as seen from above, typical for 234 // exit") on a clockwise roundabout (as seen from above, typical for 239 // clockwise roundabout (as seen from above, typical for left-hand drive 243 // exit") on a clockwise roundabout (as seen from above, typical for 248 // exit") on a clockwise roundabout (as seen from above, typical for 253 // exit") on a clockwise roundabout (as seen from above, typical for 258 // clockwise roundabout (as seen from above, typical for left-hand drive 263 // counter-clockwise roundabout (as seen from above, typical for right-hand [all …]
|
/aosp_15_r20/external/icu/icu4c/source/i18n/ |
H A D | number_skeletons.cpp | 154 #define CHECK_NULL(seen, field, status) (void)(seen); /* for auto-format line wrapping */ \ argument 156 if ((seen).field) { \ 160 (seen).field = true; \ 508 SeenMacroProps seen; in parseSkeleton() local 539 stem = parseStem(segment, stemTrie, seen, macros, status); in parseSkeleton() 607 skeleton::parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen, in parseStem() argument 614 CHECK_NULL(seen, precision, status); in parseStem() 618 CHECK_NULL(seen, precision, status); in parseStem() 622 CHECK_NULL(seen, notation, status); in parseStem() 626 CHECK_NULL(seen, integerWidth, status); in parseStem() [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/ |
H A D | number_skeletons.cpp | 154 #define CHECK_NULL(seen, field, status) (void)(seen); /* for auto-format line wrapping */ \ argument 156 if ((seen).field) { \ 160 (seen).field = true; \ 508 SeenMacroProps seen; in parseSkeleton() local 539 stem = parseStem(segment, stemTrie, seen, macros, status); in parseSkeleton() 607 skeleton::parseStem(const StringSegment& segment, const UCharsTrie& stemTrie, SeenMacroProps& seen, in parseStem() argument 614 CHECK_NULL(seen, precision, status); in parseStem() 618 CHECK_NULL(seen, precision, status); in parseStem() 622 CHECK_NULL(seen, notation, status); in parseStem() 626 CHECK_NULL(seen, integerWidth, status); in parseStem() [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/ |
D | type.go | 290 // Add to typehash if not seen before. 310 seen := map[_typePair]struct{}{} 311 if typesEqual(t, candidate, seen) { 345 func typesEqual(t, v *_type, seen map[_typePair]struct{}) bool { 347 if _, ok := seen[tp]; ok { 351 // mark these types as seen, and thus equivalent which prevents an infinite loop if 354 seen[tp] = struct{}{} 388 return typesEqual(at.Elem, av.Elem, seen) && at.Len == av.Len 392 return ct.Dir == cv.Dir && typesEqual(ct.Elem, cv.Elem, seen) 401 if !typesEqual(tin[i], vin[i], seen) { [all …]
|