Home
last modified time | relevance | path

Searched refs:Item (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h56 Error consume(BinaryStreamReader &Reader, uint32_t &Item);
57 Error consume(BinaryStreamReader &Reader, int32_t &Item);
60 Error consume(BinaryStreamReader &Reader, StringRef &Item);
63 Error consume(StringRef &Data, uint32_t &Item);
67 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume() argument
68 return Reader.readObject(Item); in consume()
72 serialize_conditional_impl(T &Item, U Func) : Item(Item), Func(Func) {} in serialize_conditional_impl()
77 return consume(Reader, Item); in deserialize()
80 T &Item; member
85 serialize_conditional_impl<T, U> serialize_conditional(T &Item, U Func) { in serialize_conditional() argument
[all …]
/external/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h64 std::error_code consume(ArrayRef<uint8_t> &Data, uint32_t &Item);
65 std::error_code consume(StringRef &Data, uint32_t &Item);
66 std::error_code consume(ArrayRef<uint8_t> &Data, int32_t &Item);
69 std::error_code consume(ArrayRef<uint8_t> &Data, StringRef &Item);
74 std::error_code consume(ArrayRef<uint8_t> &Data, T *&Item) { in consume() argument
75 return consumeObject(Data, Item); in consume()
79 serialize_conditional_impl(T &Item, U Func) : Item(Item), Func(Func) {} in serialize_conditional_impl()
84 return consume(Data, Item); in deserialize()
87 T &Item; member
92 serialize_conditional_impl<T, U> serialize_conditional(T &Item, U Func) { in serialize_conditional() argument
[all …]
DCVRecord.h32 CVRecord<Kind> &Item) const {
39 Item.Length = Prefix->RecordLen;
40 if (Item.Length < 2)
42 Item.Type = static_cast<Kind>(uint16_t(Prefix->RecordKind));
46 Reader.readBytes(Item.RawData, Item.Length + sizeof(uint16_t)))
48 Item.Data = Item.RawData.slice(sizeof(RecordPrefix));
/external/deqp/executor/
DxeTestCaseResult.hpp61 class Item;
92 const Item& getItem (int ndx) const { return *m_items[ndx]; } in getItem()
93 Item& getItem (int ndx) { return *m_items[ndx]; } in getItem()
99 std::vector<Item*> m_items;
107 m_items.push_back(static_cast<ri::Item*>(item)); in allocItem()
192 class Item class
196 virtual ~Item (void) {} in ~Item()
201 Item (Type type) : m_type(type) {} in Item() function in xe::ri::Item
204 Item (const Item& other);
205 Item& operator= (const Item& other);
[all …]
/external/dynamic_depth/internal/dynamic_depth/
Ditem.cc22 Item::Item(const ItemParams& params) : params_(params) {} in Item() function in dynamic_depth::Item
26 std::unique_ptr<Item> Item::FromDataInternal(const ItemParams& params, in FromDataInternal()
52 return std::unique_ptr<Item>(new Item(params)); // NOLINT in FromDataInternal()
55 void Item::GetNamespaces(std::unordered_map<string, string>* ns_name_href_map) { in GetNamespaces()
61 ns_name_href_map->emplace(DynamicDepthConst::Item(), kNamespaceHref); in GetNamespaces()
64 std::unique_ptr<Item> Item::FromData(const ItemParams& params) { in FromData()
68 std::unique_ptr<Item> Item::FromDeserializer( in FromDeserializer()
72 DynamicDepthConst::Namespace(DynamicDepthConst::Item()), in FromDeserializer()
73 DynamicDepthConst::Item()); in FromDeserializer()
83 if (!deserializer->ParseString(DynamicDepthConst::Item(), kMime, &mime) || in FromDeserializer()
[all …]
/external/fmtlib/test/fuzzing/
Dchrono_duration.cpp12 template <typename Item, typename Ratio>
13 void invoke_inner(fmt::string_view formatstring, const Item item) { in invoke_inner()
14 const std::chrono::duration<Item, Ratio> value(item); in invoke_inner()
27 template <typename Item>
32 constexpr auto N = sizeof(Item); in invoke_outer()
38 const Item item = fmt_fuzzer::assignFromBuf<Item>(Data); in invoke_outer()
52 invoke_inner<Item, std::atto>(formatstring, item); in invoke_outer()
55 invoke_inner<Item, std::femto>(formatstring, item); in invoke_outer()
58 invoke_inner<Item, std::pico>(formatstring, item); in invoke_outer()
61 invoke_inner<Item, std::nano>(formatstring, item); in invoke_outer()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFormatAdapters.h23 explicit FormatAdapter(T &&Item) : Item(std::forward<T>(Item)) {} in FormatAdapter() argument
25 T Item; variable
35 AlignAdapter(T &&Item, AlignStyle Where, size_t Amount, char Fill) in AlignAdapter() argument
36 : FormatAdapter<T>(std::forward<T>(Item)), Where(Where), Amount(Amount), in AlignAdapter()
40 auto Adapter = detail::build_format_adapter(std::forward<T>(this->Item)); in format()
50 PadAdapter(T &&Item, size_t Left, size_t Right) in PadAdapter() argument
51 : FormatAdapter<T>(std::forward<T>(Item)), Left(Left), Right(Right) {} in PadAdapter()
54 auto Adapter = detail::build_format_adapter(std::forward<T>(this->Item)); in format()
65 RepeatAdapter(T &&Item, size_t Count) in RepeatAdapter() argument
66 : FormatAdapter<T>(std::forward<T>(Item)), Count(Count) {} in RepeatAdapter()
[all …]
DFormatVariadicDetails.h32 T Item; variable
35 explicit provider_format_adapter(T &&Item) : Item(std::forward<T>(Item)) {} in provider_format_adapter() argument
38 format_provider<typename std::decay<T>::type>::format(Item, S, Options); in format()
44 T Item; variable
47 explicit stream_operator_format_adapter(T &&Item) in stream_operator_format_adapter() argument
48 : Item(std::forward<T>(Item)) {} in stream_operator_format_adapter()
50 void format(llvm::raw_ostream &S, StringRef Options) override { S << Item; } in format()
130 build_format_adapter(T &&Item) { in build_format_adapter() argument
131 return std::forward<T>(Item); in build_format_adapter()
137 build_format_adapter(T &&Item) { in build_format_adapter() argument
[all …]
DFormatCommon.h40 SmallString<64> Item; in format() local
41 raw_svector_ostream Stream(Item); in format()
44 if (Amount <= Item.size()) { in format()
45 S << Item; in format()
49 size_t PadAmount = Amount - Item.size(); in format()
52 S << Item; in format()
58 S << Item; in format()
64 S << Item; in format()
/external/autotest/frontend/client/src/autotest/common/ui/
DMultiListSelectPresenter.java48 public void onRemoveGeneratedItem(Item generatedItem); in onRemoveGeneratedItem()
51 public static class Item implements Comparable<Item> { class in MultiListSelectPresenter
59 private Item(String name, String value) { in Item() method in MultiListSelectPresenter.Item
64 public static Item createItem(String name, String value) { in createItem()
65 return new Item(name, value); in createItem()
68 public static Item createGeneratedItem(String name, String value) { in createGeneratedItem()
69 Item item = new Item(name, value); in createGeneratedItem()
74 public int compareTo(Item item) { in compareTo()
80 if (!(obj instanceof Item)) { in equals()
83 Item other = (Item) obj; in equals()
[all …]
/external/swiftshader/third_party/subzero/src/
DIceRegAlloc.cpp38 bool overlapsDefs(const Cfg *Func, const Variable *Item, const Variable *Var) { in overlapsDefs() argument
42 if (Item->getLiveRange().overlapsInst(FirstDef->getNumber(), UseTrimmed)) in overlapsDefs()
45 if (Item->getLiveRange().overlapsInst(Def->getNumber(), UseTrimmed)) in overlapsDefs()
451 Variable *Item = Active[Index]; in handleActiveRangeExpiredOrInactive() local
452 Item->trimLiveRange(Cur->getLiveRange().getStart()); in handleActiveRangeExpiredOrInactive()
454 if (Item->rangeEndsBefore(Cur)) { in handleActiveRangeExpiredOrInactive()
456 dumpLiveRangeTrace("Expiring ", Item); in handleActiveRangeExpiredOrInactive()
459 } else if (!Item->rangeOverlapsStart(Cur)) { in handleActiveRangeExpiredOrInactive()
461 dumpLiveRangeTrace("Inactivating ", Item); in handleActiveRangeExpiredOrInactive()
467 assert(Item->hasRegTmp()); in handleActiveRangeExpiredOrInactive()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dlocal_rendezvous.cc32 struct LocalRendezvous::Item { struct in tensorflow::LocalRendezvous
35 Item(Rendezvous::Args send_args, const Tensor& value, bool is_dead) in Item() argument
36 : Item(send_args, kSend) { in Item()
41 Item(Rendezvous::Args recv_args, Rendezvous::DoneCallback waiter, in Item() function
43 : Item(recv_args, kRecv) { in Item()
48 ~Item() { in ~Item() argument
63 Item* next = nullptr; argument
79 Item(Rendezvous::Args args, Type type) : args(args), type(type) { in Item() function
86 void LocalRendezvous::ItemQueue::push_back(Item* item) { in push_back()
123 if (queue->head == nullptr || queue->head->type == Item::kSend) { in Send()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_list.h28 template<class Item>
40 void push_back(Item *x) { in push_back()
53 void push_front(Item *x) { in push_front()
73 Item *front() { return first_; } in front()
74 const Item *front() const { return first_; } in front()
75 Item *back() { return last_; } in back()
76 const Item *back() const { return last_; } in back()
78 void append_front(IntrusiveList<Item> *l) { in append_front()
92 void append_back(IntrusiveList<Item> *l) { in append_back()
112 for (Item *i = first_; ; i = i->next) { in CheckConsistency()
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter.cc446 ProtoStreamObjectWriter::Item::Item(ProtoStreamObjectWriter* enclosing, in Item() function in google::protobuf::util::converter::ProtoStreamObjectWriter::Item
463 ProtoStreamObjectWriter::Item::Item(ProtoStreamObjectWriter::Item* parent, in Item() function in google::protobuf::util::converter::ProtoStreamObjectWriter::Item
480 bool ProtoStreamObjectWriter::Item::InsertMapKeyIfNotPresent( in InsertMapKeyIfNotPresent()
497 current_.reset(new Item( in StartObject()
498 this, master_type_.name() == kAnyType ? Item::ANY : Item::MESSAGE, in StartObject()
507 Push("fields", Item::MAP, true, true); in StartObject()
520 Push("struct_value", Item::MESSAGE, true, false); in StartObject()
521 Push("fields", Item::MAP, true, true); in StartObject()
559 Push("", Item::MESSAGE, false, false); in StartObject()
562 Push("value", IsAny(*Lookup("value")) ? Item::ANY : Item::MESSAGE, true, in StartObject()
[all …]
/external/pdfium/xfa/fwl/
Dcfwl_widgetmgr.cpp19 m_mapWidgetItem[nullptr] = pdfium::MakeUnique<Item>(); in CFWL_WidgetMgr()
39 Item* pItem = GetWidgetMgrItem(pWidget); in GetParentWidget()
44 Item* pItem = GetWidgetMgrItem(pWidget); in GetOwnerWidget()
49 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstSiblingWidget()
60 Item* pItem = GetWidgetMgrItem(pWidget); in GetPriorSiblingWidget()
65 Item* pItem = GetWidgetMgrItem(pWidget); in GetNextSiblingWidget()
70 Item* pItem = GetWidgetMgrItem(pWidget); in GetFirstChildWidget()
75 Item* pItem = GetWidgetMgrItem(pWidget); in GetLastChildWidget()
86 Item* pItem = GetWidgetMgrItem(pWidget); in GetSystemFormWidget()
96 Item* pItem = GetWidgetMgrItem(pWidget); in AppendWidget()
[all …]
Dcfwl_widgetmgr.h71 class Item {
73 Item();
74 explicit Item(CFWL_Widget* widget);
75 ~Item();
77 Item* pParent;
78 Item* pOwner;
79 Item* pChild;
80 Item* pPrevious;
81 Item* pNext;
90 Item* GetWidgetMgrItem(const CFWL_Widget* pWidget) const;
[all …]
/external/v8/src/torque/
Dearley-parser.cc44 base::Optional<ParseResult> Rule::RunAction(const Item* completed_item, in RunAction()
47 for (const Item* child : completed_item->Children()) { in RunAction()
67 std::vector<const Item*> Item::Children() const { in Children()
68 std::vector<const Item*> children; in Children()
69 for (const Item* current = this; current->prev_; current = current->prev_) { in Children()
78 std::string Item::SplitByChildren(const LexerResult& tokens) const { in SplitByChildren()
80 if (const Item* child = Children()[0]) in SplitByChildren()
85 for (const Item* item : Children()) { in SplitByChildren()
94 void Item::CheckAmbiguity(const Item& other, const LexerResult& tokens) const { in CheckAmbiguity()
182 const Item* RunEarleyAlgorithm( in RunEarleyAlgorithm()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/util/
DImmutableConverter.java44 public abstract class ImmutableConverter<ImmutableItem, Item> {
45 protected abstract boolean isImmutable(@Nonnull Item item); in isImmutable()
46 @Nonnull protected abstract ImmutableItem makeImmutable(@Nonnull Item item); in makeImmutable()
49 public ImmutableList<ImmutableItem> toList(@Nullable final Iterable<? extends Item> iterable) { in toList()
56 for (Item element: iterable) { in toList()
70 final Iterator<? extends Item> iter = iterable.iterator(); in toList()
80 public ImmutableSet<ImmutableItem> toSet(@Nullable final Iterable<? extends Item> iterable) {
87 for (Item element: iterable) {
101 final Iterator<? extends Item> iter = iterable.iterator();
112 … @Nullable final Iterable<? extends Item> iterable) {
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_rematerialization.cc116 struct Item { struct
142 Item* next; argument
143 Item* prev; argument
151 using ItemList = absl::InlinedVector<Item*, 3>;
159 Item* last = nullptr; in InstructionList()
162 Item* item = new Item; in InstructionList()
187 for (Item* item = first_; item != nullptr;) { in ~InstructionList()
188 Item* next = item->next; in ~InstructionList()
198 Item* first() const { return first_; } in first()
199 Item* next(Item* item) const { return item->next; } in next()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DJsonConverter.java61 final Item main = new TableItem(null); in main()
73 Item current = main; in main()
81 Item temp = current.makeSubItem(element, Item.Type.unorderedItem); in main()
88 … actualAttributeKeys.containsKey("_q") ? Item.Type.orderedItem : Item.Type.unorderedItem); in main()
241 static abstract class Item { class in JsonConverter
242 protected Item parent;
244 public Item(Item parent) { in Item() method in JsonConverter.Item
316 protected Item create(Type ordered) { in create()
327 public abstract Item makeSubItem(String element, Type ordered); in makeSubItem()
331 public Item getRoot() { in getRoot()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DDebugCrossImpSubsection.cpp28 codeview::CrossModuleImportItem &Item) { in operator ()() argument
34 if (auto EC = Reader.readObject(Item.Header)) in operator ()()
36 if (Reader.bytesRemaining() < Item.Header->Count * sizeof(uint32_t)) in operator ()()
40 if (auto EC = Reader.readArray(Item.Imports, Item.Header->Count)) in operator ()()
66 for (const auto &Item : Mappings) { in calculateSerializedSize() local
68 Size += sizeof(support::ulittle32_t) * Item.second.size(); in calculateSerializedSize()
87 for (const auto &Item : Ids) { in commit() local
89 Imp.ModuleNameOffset = Strings.getIdForString(Item->getKey()); in commit()
90 Imp.Count = Item->getValue().size(); in commit()
93 if (auto EC = Writer.writeArray(makeArrayRef(Item->getValue()))) in commit()
/external/rust/crates/syn/1.0.7/src/
Dpunctuated.rs360 fn from_iter<I: IntoIterator<Item = T>>(i: I) -> Self { in from_iter() argument
371 fn extend<I: IntoIterator<Item = T>>(&mut self, i: I) { in extend() argument
379 fn from_iter<I: IntoIterator<Item = Pair<T, P>>>(i: I) -> Self { in from_iter() argument
387 fn extend<I: IntoIterator<Item = Pair<T, P>>>(&mut self, i: I) { in extend() argument
406 type Item = T; typedef
421 type Item = &'a T; typedef
430 type Item = &'a mut T; typedef
455 type Item = Pair<&'a T, &'a P>; typedef
457 fn next(&mut self) -> Option<Self::Item> { in next() argument
470 fn next_back(&mut self) -> Option<Self::Item> { in next_back() argument
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormatCommon.h38 SmallString<64> Item; in format() local
39 raw_svector_ostream Stream(Item); in format()
42 if (Amount <= Item.size()) { in format()
43 S << Item; in format()
47 size_t PadAmount = Amount - Item.size(); in format()
50 S << Item; in format()
56 S << Item; in format()
62 S << Item; in format()
DFormatVariadicDetails.h31 T Item; variable
34 explicit provider_format_adapter(T &&Item) : Item(Item) {} in provider_format_adapter() argument
37 format_provider<typename std::decay<T>::type>::format(Item, S, Options); in format()
92 build_format_adapter(T &&Item) { in build_format_adapter() argument
93 return std::forward<T>(Item); in build_format_adapter()
99 build_format_adapter(T &&Item) { in build_format_adapter() argument
100 return provider_format_adapter<T>(std::forward<T>(Item)); in build_format_adapter()
106 build_format_adapter(T &&Item) { in build_format_adapter() argument
/external/v8/src/heap/
Ditem-parallel-job.h41 class V8_EXPORT_PRIVATE Item {
43 Item() = default;
44 virtual ~Item() = default;
63 DISALLOW_COPY_AND_ASSIGN(Item);
85 Item* item = (*items_)[cur_index_++]; in GetItem()
95 friend class Item; variable
101 void SetupInternal(base::Semaphore* on_finish, std::vector<Item*>* items,
107 std::vector<Item*>* items_ = nullptr;
125 void AddItem(Item* item) { items_.push_back(item); } in AddItem()
134 std::vector<Item*> items_;

12345678910>>...15