Home
last modified time | relevance | path

Searched refs:origin_ (Results 1 – 21 of 21) sorted by relevance

/external/marisa-trie/lib/marisa/grimoire/io/
Dmapper.cc21 : ptr_(NULL), origin_(NULL), avail_(0), size_(0), in Mapper()
25 : ptr_(NULL), origin_(MAP_FAILED), avail_(0), size_(0), fd_(-1) {}
30 if (origin_ != NULL) { in ~Mapper()
31 ::UnmapViewOfFile(origin_); in ~Mapper()
44 if (origin_ != MAP_FAILED) { in ~Mapper()
45 ::munmap(origin_, size_); in ~Mapper()
88 marisa::swap(origin_, rhs.origin_); in swap()
132 origin_ = ::MapViewOfFile(map_, FILE_MAP_READ, 0, 0, 0); in open_()
133 MARISA_THROW_IF(origin_ == NULL, MARISA_IO_ERROR); in open_()
135 ptr_ = static_cast<const char *>(origin_); in open_()
[all …]
Dmapper.h43 void *origin_; variable
/external/libchrome/ui/gfx/geometry/
Dbox_f.h31 : origin_(origin), in BoxF()
43 origin_.Scale(x_scale, y_scale, z_scale); in Scale()
49 origin_ += offset;
61 constexpr float x() const { return origin_.x(); } in x()
62 void set_x(float x) { origin_.set_x(x); } in set_x()
64 constexpr float y() const { return origin_.y(); } in y()
65 void set_y(float y) { origin_.set_y(y); } in set_y()
67 constexpr float z() const { return origin_.z(); } in z()
68 void set_z(float z) { origin_.set_z(z); } in set_z()
89 constexpr const Point3F& origin() const { return origin_; } in origin()
[all …]
Drect_f.h31 : origin_(x, y), size_(width, height) {} in RectF()
34 : origin_(origin), size_(size) {} in RectF()
48 constexpr float x() const { return origin_.x(); } in x()
49 void set_x(float x) { origin_.set_x(x); } in set_x()
51 constexpr float y() const { return origin_.y(); } in y()
52 void set_y(float y) { origin_.set_y(y); } in set_y()
60 constexpr const PointF& origin() const { return origin_; } in origin()
61 void set_origin(const PointF& origin) { origin_ = origin; } in set_origin()
76 origin_.SetPoint(x, y); in SetRect()
188 PointF origin_;
Drect.cc27 : origin_(r.left, r.top), in Rect()
32 : origin_(r.origin.x, r.origin.y), size_(r.size.width, r.size.height) {
107 origin_.SetPoint(x, y); in SetByBounds()
116 origin_ += Vector2d(left, top); in Inset()
124 origin_ += Vector2d(horizontal, vertical); in Offset()
131 origin_ += offset; in operator +=()
138 origin_ -= offset; in operator -=()
149 if (origin_ == other.origin_) { in operator <()
156 return origin_ < other.origin_; in operator <()
Drect_f.cc37 : origin_(r.origin.x, r.origin.y), size_(r.size.width, r.size.height) { in RectF()
50 origin_ += Vector2dF(left, top); in Inset()
56 origin_ += Vector2dF(horizontal, vertical); in Offset()
60 origin_ += offset; in operator +=()
64 origin_ -= offset; in operator -=()
75 if (origin_ != other.origin_) in operator <()
76 return origin_ < other.origin_; in operator <()
Drect.h41 : origin_(x, y), in Rect()
45 : origin_(origin), in Rect()
63 constexpr int x() const { return origin_.x(); } in x()
66 origin_.set_x(x); in set_x()
70 constexpr int y() const { return origin_.y(); } in y()
73 origin_.set_y(y); in set_y()
85 constexpr const Point& origin() const { return origin_; } in origin()
87 origin_ = origin; in set_origin()
109 origin_.SetPoint(x, y); in SetRect()
214 gfx::Point origin_;
Dbox_f.cc40 origin_.SetPoint(min_x, min_y, min_z); in ExpandTo()
/external/webrtc/p2p/base/
Dstun_request.h71 void set_origin(const std::string& origin) { origin_ = origin; } in set_origin()
81 std::string origin_; variable
109 const std::string& origin() const { return origin_; } in origin()
110 void set_origin(const std::string& origin) { origin_ = origin; } in set_origin()
127 std::string origin_; variable
Dstun_request.cc62 request->set_origin(origin_); in SendDelayed()
201 if (!origin_.empty()) { in Construct()
203 std::make_unique<StunByteStringAttribute>(STUN_ATTR_ORIGIN, origin_)); in Construct()
Dport_allocator.h578 return origin_; in origin()
583 origin_ = origin; in set_origin()
640 std::string origin_; variable
Dturn_server.h83 const std::string& origin() const { return origin_; } in origin()
139 std::string origin_; variable
Dturn_server.cc679 origin_ = origin_attr->GetString(); in HandleAllocateRequest()
/external/openscreen/util/
Dbig_endian.h154 : buffer_(buffer), origin_(buffer_->current_) {}
157 ~Cursor() { buffer_->current_ = origin_; }
162 void Commit() { origin_ = buffer_->current_; }
164 T* origin() { return origin_; }
165 size_t delta() { return buffer_->current_ - origin_; }
169 T* origin_;
/external/llvm-project/flang/lib/Parser/
Dprovenance.cpp149 origin_.emplace_back(range_, std::string{'?'});
191 CHECK(origin_.back().covers.ImmediatelyPrecedes(covers)); in AddIncludedFile()
192 origin_.emplace_back(covers, source, from, isModule); in AddIncludedFile()
200 CHECK(origin_.back().covers.ImmediatelyPrecedes(covers)); in AddMacroCall()
201 origin_.emplace_back(covers, def, use, expansion); in AddMacroCall()
208 CHECK(origin_.back().covers.ImmediatelyPrecedes(covers)); in AddCompilerInsertion()
209 origin_.emplace_back(covers, text); in AddCompilerInsertion()
324 for (const auto &origin : origin_) { in GetFirstFileProvenance()
397 std::size_t low{0}, count{origin_.size()}; in MapToOrigin()
400 if (at < origin_[mid].covers.start()) { in MapToOrigin()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-magic-numbers.cpp176 …Rectangle(Point<T> origin_, Dimension<T> size_, T rotation_ = 0) noexcept : origin{origin_}, size{… in Rectangle()
/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc396 origin_(origin), in SimpleActivityThread()
409 ->PushActivity(origin_, activity_, data_); in Run()
432 const void* origin_; member in base::debug::__anon91480e470311::SimpleActivityThread
/external/libabigail/src/
Dabg-corpus-priv.h673 origin origin_; member
724 origin_(ARTIFICIAL_ORIGIN), in priv()
Dabg-corpus.cc854 {return priv_->origin_;} in get_origin()
861 {priv_->origin_ = o;} in set_origin()
/external/llvm-project/flang/include/flang/Parser/
Dprovenance.h210 std::vector<Origin> origin_; variable
/external/libchrome/base/numerics/
DREADME.md135 origin_ += Vector2d(left, top);