| /system/ulib/cobalt-client/include/cobalt-client/cpp/ |
| A D | timer.h | 17 explicit TimerBase(bool is_collecting) : start_(is_collecting ? Clock::now().get() : 0) {} in TimerBase() 19 TimerBase(TimerBase&& other) : start_(other.start_) { other.start_ = zx::ticks(0); } in TimerBase() 27 if (start_.get() == 0) { in End() 30 return fzl::TicksToNs(Clock::now() - start_); in End() 35 if (start_.get() == 0) { in Reset() 38 start_ = Clock::now(); in Reset() 42 zx::ticks start_;
|
| /system/host/fidl/lib/ |
| A D | tree_visitor.cpp | 50 m[(*const_decls_it)->start_.previous_end().data().data()] = const_t; in OnFile() 53 m[(*enum_decls_it)->start_.previous_end().data().data()] = enum_t; in OnFile() 60 m[(*interface_decls_it)->start_.previous_end().data().data()] = interface_t; in OnFile() 64 m[(*struct_decls_it)->start_.previous_end().data().data()] = struct_t; in OnFile() 67 m[(*table_decls_it)->start_.previous_end().data().data()] = table_t; in OnFile() 70 m[(*union_decls_it)->start_.previous_end().data().data()] = union_t; in OnFile()
|
| A D | formatter.cpp | 388 fidl::Token real_start = element->start_; in OnFile() 395 element->start_.set_previous_end( in OnFile()
|
| A D | flat_ast.cpp | 1257 …td::make_unique<raw::AttributeList>(raw::SourceElement(file->attributes->start_, file->attributes-… in ConsumeFile()
|
| /system/ulib/fzl/include/lib/fzl/ |
| A D | vmo-mapper.h | 76 void* start() const { return reinterpret_cast<void*>(start_); } in start() 91 start_ = other->start_; in MoveFromOther() 92 other->start_ = 0; in MoveFromOther() 99 uintptr_t start_ = 0; variable
|
| A D | vmar-manager.h | 41 void* start() const { return start_; } in start() 59 void* start_ = nullptr; variable
|
| /system/host/banjo/lib/ |
| A D | tree_visitor.cpp | 48 m[(*const_decls_it)->start_.previous_end().data().data()] = const_t; in OnFile() 51 m[(*enum_decls_it)->start_.previous_end().data().data()] = enum_t; in OnFile() 58 m[(*interface_decls_it)->start_.previous_end().data().data()] = interface_t; in OnFile() 62 m[(*struct_decls_it)->start_.previous_end().data().data()] = struct_t; in OnFile() 65 m[(*union_decls_it)->start_.previous_end().data().data()] = union_t; in OnFile()
|
| A D | formatter.cpp | 375 banjo::Token real_start = element->start_; in OnFile() 382 element->start_.set_previous_end( in OnFile()
|
| /system/ulib/smbios/ |
| A D | smbios.cpp | 41 start_ = reinterpret_cast<const char*>(h) + h->length; in Init() 49 if (start_[0] == 0 && start_[1] == 0) { in Init() 55 if (start_[0] == 0) { in Init() 69 size_t len = strnlen(start_ + i, max_string_table_len - i); in Init() 92 size_t len = strnlen(start_ + i, length_ - i); in GetString() 102 if (start_[i + 1] == 0) { in GetString() 107 *out = start_ + i; in GetString()
|
| /system/ulib/minfs/ |
| A D | writeback.cpp | 233 size_t wb_offset = (start_ + len_) % cap_; in CopyToBufferLocked() 242 ZX_DEBUG_ASSERT((start_ <= wb_offset) ? in CopyToBufferLocked() 243 (start_ < wb_offset + wb_len) : in CopyToBufferLocked() 244 (wb_offset + wb_len <= start_)); // Wraparound in CopyToBufferLocked() 260 ZX_DEBUG_ASSERT((start_ == 0) ? (start_ < wb_len) : (wb_len <= start_)); // Wraparound in CopyToBufferLocked() 336 b->start_ = (b->start_ + blks_consumed) % b->cap_; in WritebackThread()
|
| /system/ulib/fzl/ |
| A D | vmo-mapper.cpp | 103 res = zx_vmar_unmap(vmar_handle, start_, size_); in Unmap() 108 start_ = 0; in Unmap() 113 if (start_ != 0) { in CheckReadyToMap() 138 zx_status_t res = zx_vmar_map(vmar_handle, map_options, 0, vmo.get(), offset, size, &start_); in InternalMap()
|
| A D | resizeable-vmo-mapper.cpp | 76 if ((status = zx_vmar_unmap(vmar_handle, start_ + size, size_ - size)) != ZX_OK) { in Shrink() 116 start_ + size_ - vmar_info.base, in Grow() 139 status = zx_vmar_unmap(vmar_handle, start_, size_); in Grow() 144 start_ = new_start; in Grow()
|
| A D | vmar-manager.cpp | 36 ret->start_ = reinterpret_cast<void*>(child_addr); in Create()
|
| /system/ulib/blobfs/ |
| A D | writeback.cpp | 220 size_t buf_offset = (start_ + length_) % capacity_; in CopyTransaction() 236 ZX_DEBUG_ASSERT((start_ <= buf_offset) ? in CopyTransaction() 237 (start_ < buf_offset + buf_len) : in CopyTransaction() 238 (buf_offset + buf_len <= start_)); // Wraparound in CopyTransaction() 260 ZX_DEBUG_ASSERT((start_ == 0) ? (start_ < buf_len) : (buf_len <= start_)); // Wraparound in CopyTransaction() 303 ZX_ASSERT(txn->BlkStart() == start_); in VerifyTransaction() 334 start_ = (start_ + blocks) % capacity_; in FreeSpace()
|
| /system/host/fidl/include/fidl/ |
| A D | formatter.h | 68 OnSourceElementShared(element.start_); in OnSourceElementStart() 407 const char* start = element->ordinal->start_.data().data(); in OnInterfaceMethod() 423 element->identifier->start_.set_previous_end( in OnInterfaceMethod() 424 element->ordinal->start_.previous_end()); in OnInterfaceMethod() 426 element->ordinal->start_.previous_end()); in OnInterfaceMethod() 431 element->start_ = element->identifier->start_; in OnInterfaceMethod()
|
| A D | raw_ast.h | 51 : start_(element.start_), end_(element.end_) {} in SourceElement() 54 : start_(start), end_(end) {} in SourceElement() 56 SourceLocation location() const { return start_.location(); } in location() 60 Token start_; variable 178 : Constant(identifier->start_, Kind::kIdentifier), identifier(std::move(identifier)) {} in IdentifierConstant() 188 : Constant(literal->start_, Kind::kLiteral), literal(std::move(literal)) {} in LiteralConstant() 246 : Type(element.start_, element.end_, Kind::kArray), element_type(std::move(element_type)), in ArrayType() 258 : Type(element.start_, element.end_, Kind::kVector), element_type(std::move(element_type)), in VectorType() 271 …: Type(element.start_, element.end_, Kind::kString), maybe_element_count(std::move(maybe_element_c… in StringType() 283 … : Type(element.start_, element.end_, Kind::kHandle), subtype(subtype), nullability(nullability) {} in HandleType() [all …]
|
| A D | parser.h | 90 if (active_ast_scopes_.back().start_.kind() == Token::Kind::kNotAToken) { in UpdateMarks() 101 if (scope.start_.kind() == Token::Kind::kNotAToken) { in UpdateMarks() 102 scope.start_ = token; in UpdateMarks()
|
| /system/host/banjo/include/banjo/ |
| A D | raw_ast.h | 51 : start_(element.start_), end_(element.end_) {} in SourceElement() 54 : start_(start), end_(end) {} in SourceElement() 56 SourceLocation location() const { return start_.location(); } in location() 60 Token start_; variable 167 : Constant(identifier->start_, Kind::kIdentifier), identifier(std::move(identifier)) {} in IdentifierConstant() 177 : Constant(literal->start_, Kind::kLiteral), literal(std::move(literal)) {} in LiteralConstant() 257 : Type(element.start_, element.end_, Kind::kArray), element_type(std::move(element_type)), in ArrayType() 269 : Type(element.start_, element.end_, Kind::kVector), element_type(std::move(element_type)), in VectorType() 282 …: Type(element.start_, element.end_, Kind::kString), maybe_element_count(std::move(maybe_element_c… in StringType() 294 … : Type(element.start_, element.end_, Kind::kHandle), subtype(subtype), nullability(nullability) {} in HandleType() [all …]
|
| A D | parser.h | 89 if (active_ast_scopes_.back().start_.kind() == Token::Kind::kNotAToken) { in UpdateMarks() 100 if (active_ast_scopes_[i].start_.kind() == Token::Kind::kNotAToken) { in UpdateMarks() 101 active_ast_scopes_[i].start_ = token; in UpdateMarks()
|
| A D | formatter.h | 68 OnSourceElementShared(element.start_); in OnSourceElementStart()
|
| /system/ulib/blobfs/include/blobfs/ |
| A D | writeback.h | 220 size_t start() const { return start_; } in start() 226 return (start_ + length_++) % capacity_; in ReserveIndex() 236 : blobfs_(blobfs), mapper_(std::move(mapper)), start_(0), length_(0), in Buffer() 244 size_t start_ = 0; variable
|
| /system/utest/fidl-compiler/ |
| A D | visitor_unittests.cpp | 25 OnSourceElementShared(element.start_); in OnSourceElementStart()
|
| /system/utest/banjo-compiler/ |
| A D | visitor_unittests.cpp | 25 OnSourceElementShared(element.start_); in OnSourceElementStart()
|
| /system/ulib/minfs/include/minfs/ |
| A D | writeback.h | 199 size_t start_ __TA_GUARDED(writeback_lock_){}; in __TA_GUARDED()
|
| /system/ulib/smbios/include/lib/smbios/ |
| A D | smbios.h | 75 const char* start_ = nullptr; variable
|