Searched refs:element (Results 1 - 21 of 21) sorted by relevance

/fuchsia/zircon/system/host/fidl/include/fidl/
H A Dtree_visitor.h18 virtual void OnSourceElementStart(const SourceElement& element) { argument
20 virtual void OnSourceElementEnd(const SourceElement& element) { argument
22 virtual void OnIdentifier(std::unique_ptr<Identifier> const& element) { argument
23 element->Accept(*this);
25 virtual void OnCompoundIdentifier(std::unique_ptr<CompoundIdentifier> const& element) { argument
26 element->Accept(*this);
29 virtual void OnLiteral(std::unique_ptr<fidl::raw::Literal> const& element) { argument
30 fidl::raw::Literal::Kind kind = element->kind;
33 StringLiteral* literal = static_cast<StringLiteral*>(element.get());
38 NumericLiteral* literal = static_cast<NumericLiteral*>(element
57 OnStringLiteral(StringLiteral& element) argument
61 OnNumericLiteral(NumericLiteral& element) argument
65 OnTrueLiteral(TrueLiteral& element) argument
69 OnFalseLiteral(FalseLiteral& element) argument
73 OnOrdinal(Ordinal& element) argument
90 OnConstant(std::unique_ptr<Constant> const& element) argument
104 OnIdentifierConstant(std::unique_ptr<IdentifierConstant> const& element) argument
107 OnLiteralConstant(std::unique_ptr<LiteralConstant> const& element) argument
111 OnAttribute(std::unique_ptr<Attribute>& element) argument
115 OnAttributeList(std::unique_ptr<AttributeList> const& element) argument
119 OnType(std::unique_ptr<Type> const& element) argument
156 OnArrayType(std::unique_ptr<ArrayType> const& element) argument
159 OnVectorType(std::unique_ptr<VectorType> const& element) argument
162 OnStringType(std::unique_ptr<StringType> const& element) argument
165 OnHandleType(std::unique_ptr<HandleType> const& element) argument
168 OnRequestHandleType(std::unique_ptr<RequestHandleType> const& element) argument
171 OnPrimitiveType(std::unique_ptr<PrimitiveType> const& element) argument
174 OnIdentifierType(std::unique_ptr<IdentifierType> const& element) argument
177 OnUsing(std::unique_ptr<Using> const& element) argument
181 OnConstDeclaration(std::unique_ptr<ConstDeclaration> const& element) argument
185 OnEnumMember(std::unique_ptr<EnumMember> const& element) argument
188 OnEnumDeclaration(std::unique_ptr<EnumDeclaration> const& element) argument
191 OnParameter(std::unique_ptr<Parameter> const& element) argument
194 OnParameterList(std::unique_ptr<ParameterList> const& element) argument
197 OnInterfaceMethod(std::unique_ptr<InterfaceMethod> const& element) argument
200 OnInterfaceDeclaration(std::unique_ptr<InterfaceDeclaration> const& element) argument
203 OnStructMember(std::unique_ptr<StructMember> const& element) argument
206 OnStructDeclaration(std::unique_ptr<StructDeclaration> const& element) argument
209 OnTableMember(std::unique_ptr<TableMember> const& element) argument
212 OnTableDeclaration(std::unique_ptr<TableDeclaration> const& element) argument
215 OnUnionMember(std::unique_ptr<UnionMember> const& element) argument
218 OnUnionDeclaration(std::unique_ptr<UnionDeclaration> const& element) argument
221 OnFile(std::unique_ptr<File> const& element) argument
[all...]
H A Dformatter.h62 virtual void OnInterfaceDeclaration(std::unique_ptr<InterfaceDeclaration> const& element) override {
64 TreeVisitor::OnInterfaceDeclaration(element);
67 virtual void OnSourceElementStart(const SourceElement& element) override {
68 OnSourceElementShared(element.start_);
71 virtual void OnSourceElementEnd(const SourceElement& element) override {
72 OnSourceElementShared(element.end_);
75 virtual void OnAttributeList(std::unique_ptr<AttributeList> const& element) override {
85 TreeVisitor::OnAttributeList(element);
88 virtual void OnUsing(std::unique_ptr<Using> const& element) override {
91 TreeVisitor::OnUsing(element);
[all...]
H A Draw_ast.h40 // this syntactic element.
64 const SourceElement& element);
353 // `using foo = int8;` and use a special purpose AST element.
/fuchsia/zircon/system/host/fidl/lib/
H A Dtree_visitor.cpp13 void DeclarationOrderTreeVisitor::OnFile(std::unique_ptr<File> const& element) { argument
14 OnSourceElementStart(*element);
16 OnCompoundIdentifier(element->library_name);
17 for (auto i = element->using_list.begin();
18 i != element->using_list.end();
23 auto const_decls_it = element->const_declaration_list.begin();
24 auto enum_decls_it = element->enum_declaration_list.begin();
25 auto interface_decls_it = element->interface_declaration_list.begin();
26 auto struct_decls_it = element->struct_declaration_list.begin();
27 auto table_decls_it = element
[all...]
H A Dformatter.cpp373 void FormattingTreeVisitor::OnFile(std::unique_ptr<fidl::raw::File> const& element) { argument
375 fidl::Token real_start = element->start_;
382 element->start_.set_previous_end(
385 fidl::raw::DeclarationOrderTreeVisitor::OnFile(element);
H A Draw_ast.cpp16 const SourceElement& element)
17 : tv_(tv), element_(element) {
15 SourceElementMark(TreeVisitor& tv, const SourceElement& element) argument
H A Dflat_ast.cpp176 TypeShape PointerTypeShape(TypeShape element, uint32_t max_element_count = 1u) { argument
178 // computed the TypeShape for the element we're pointing to. In that case,
187 if (element.Size() > 0 && element.Depth() < std::numeric_limits<uint32_t>::max())
188 depth = ClampedAdd(element.Depth(), 1);
190 // The element(s) will be stored out-of-line.
191 uint32_t elements_size = ClampedMultiply(element.Size(), max_element_count);
195 uint32_t elements_out_of_line = ClampedMultiply(element.MaxOutOfLine(), max_element_count);
197 uint32_t max_handles = ClampedMultiply(element.MaxHandles(), max_element_count);
234 TypeShape ArrayTypeShape(TypeShape element, uint32_ argument
241 VectorTypeShape(TypeShape element, uint32_t max_element_count) argument
[all...]
/fuchsia/zircon/system/ulib/fuzz-utils/
H A Dstring-list.cpp55 fbl::unique_ptr<StringElement> element(new (&ac) StringElement());
57 element->str_.Set(str, &ac);
60 elements_.push_front(fbl::move(element));
62 elements_.push_back(fbl::move(element));
71 while (elements_.erase_if([substr](const StringElement& element) -> bool {
72 return strstr(element.str_.c_str(), substr) == nullptr;
80 while (elements_.erase_if([substrs](const StringElement& element) -> bool {
82 if (strstr(element.str_.c_str(), substr)) {
94 while (elements_.erase_if([substrs](const StringElement& element) -> bool {
96 if (!strstr(element
[all...]
H A Dstring-map.cpp55 fbl::unique_ptr<StringElement> element(new (&ac) StringElement());
57 element->key.Set(key, &ac);
59 element->val.Set(val, &ac);
61 elements_.insert_or_replace(fbl::move(element));
/fuchsia/zircon/system/utest/fidl-compiler/
H A Dformatter_unittests.cpp23 for (auto element : Examples::map()) {
24 TestLibrary library(element.first, element.second);
31 formatted_output_[element.first] = *visitor.formatted_output();
39 for (auto element : formatted_output_) {
40 TestLibrary library(element.first, element.second);
47 EXPECT_STR_EQ(element.second.c_str(),
63 for (auto element : formatted_output_) {
64 std::stringstream ss(element
[all...]
H A Dvisitor_unittests.cpp24 virtual void OnSourceElementStart(const fidl::raw::SourceElement& element) override {
25 OnSourceElementShared(element.start_);
28 virtual void OnSourceElementEnd(const fidl::raw::SourceElement& element) override {
29 OnSourceElementShared(element.end_);
58 for (auto element : Examples::map()) {
59 TestLibrary library(element.first, element.second);
/fuchsia/zircon/system/public/zircon/
H A Dlistnode.h87 #define list_remove_head_type(list, type, element) \
92 __t = containerof(__nod, type, element); \
108 #define list_remove_tail_type(list, type, element) \
113 __t = containerof(__nod, type, element); \
127 #define list_peek_head_type(list, type, element) \
132 __t = containerof(__nod, type, element); \
146 #define list_peek_tail_type(list, type, element) \
151 __t = containerof(__nod, type, element); \
164 #define list_prev_type(list, item, type, element) \
169 __t = containerof(__nod, type, element); \
[all...]
/fuchsia/zircon/system/ulib/fzl/include/lib/fzl/
H A Dfifo.h57 zx_status_t write_one(const W& element) const {
58 return fifo_.write(sizeof(W), &element, 1, nullptr);
65 zx_status_t read_one(R* element) const {
66 return fifo_.read(sizeof(R), element, 1, nullptr);
/fuchsia/zircon/system/ulib/fidl/include/lib/fidl/
H A Dinternal.h19 // In that case, a null pointer indicates that the element type of the vector has no interesting
101 // |element|.
103 const fidl_type* const element; member in struct:fidl::FidlCodedArray
107 constexpr FidlCodedArray(const fidl_type* element, uint32_t array_size, uint32_t element_size) argument
108 : element(element), array_size(array_size), element_size(element_size) {}
153 // the |element| pointer may be null. This occurs when the element type contains no interesting bits
156 const fidl_type* const element; member in struct:fidl::FidlCodedVector
161 constexpr FidlCodedVector(const fidl_type* element, uint32_ argument
[all...]
/fuchsia/zircon/system/ulib/fuzz-utils/include/fuzz-utils/
H A Dstring-map.h61 static const char* GetKey(const StringElement& element) { return element.key.c_str(); } argument
/fuchsia/zircon/system/ulib/fidl/
H A Dencoding.cpp132 array_state.element = fidl_type->coded_array.element;
147 vector_state.element = fidl_type->coded_vector.element;
168 Frame(const fidl_type_t* element, uint32_t array_size, uint32_t element_size, argument
172 array_state.element = element;
237 const fidl_type_t* element; member in struct:__anon1079::FidlEncoder::__anon1080::__anon1085
249 const fidl_type* element; member in struct:__anon1079::FidlEncoder::__anon1080::__anon1088
415 const fidl_type_t* element_type = frame->array_state.element;
[all...]
H A Ddecoding.cpp112 array_state.element = fidl_type->coded_array.element;
127 vector_state.element = fidl_type->coded_vector.element;
148 Frame(const fidl_type_t* element, uint32_t array_size, uint32_t element_size, argument
152 array_state.element = element;
217 const fidl_type_t* element; member in struct:__anon1059::FidlDecoder::__anon1060::__anon1065
229 const fidl_type* element; member in struct:__anon1059::FidlDecoder::__anon1060::__anon1068
384 const fidl_type_t* element_type = frame->array_state.element;
[all...]
H A Dvalidating.cpp109 array_state.element = fidl_type->coded_array.element;
124 vector_state.element = fidl_type->coded_vector.element;
147 Frame(const fidl_type_t* element, uint32_t array_size, uint32_t element_size, argument
151 array_state.element = element;
216 const fidl_type_t* element; member in struct:__anon1102::FidlValidator::__anon1103::__anon1108
228 const fidl_type* element; member in struct:__anon1102::FidlValidator::__anon1103::__anon1111
374 const fidl_type_t* element_type = frame->array_state.element;
[all...]
H A Dformatting.cpp114 FormatElementName(str, type->coded_array.element);
194 FormatElementName(str, type->coded_vector.element);
/fuchsia/zircon/third_party/ulib/musl/include/bits/x86_64/
H A Dsignal.h45 unsigned element[4]; member in struct:_fpstate::__anon1649
/fuchsia/zircon/third_party/ulib/jemalloc/bin/
H A Djeprof.in2314 * Given an unique existing element with id "viewport", including the
2380 //"onmouseout" : "handleMouseUp(evt)", // Decomment this to stop the pan functionality when dragging out of the SVG element
2406 * Sets the current transform matrix of an element.
2408 function setCTM(element, matrix) {
2411 element.setAttribute("transform", s);
2424 * Sets attributes of an element.
2426 function setAttributes(element, attributes){
2428 element.setAttributeNS(null, i, attributes[i]);
3949 # Read header. The current header version is a 5-element structure
5239 # procedure name to a two-element vecto
[all...]

Completed in 192 milliseconds