Home
last modified time | relevance | path

Searched refs:id_ (Results 1 – 25 of 238) sorted by relevance

12345678910

/third_party/json/include/nlohmann/detail/
Dexceptions.hpp61 exception(int id_, const char* what_arg) : id(id_), m(what_arg) {} in exception() argument
63 static std::string name(const std::string& ename, int id_) in name() argument
65 return "[json.exception." + ename + "." + std::to_string(id_) + "] "; in name()
130 static parse_error create(int id_, const position_t& pos, const std::string& what_arg) in create() argument
132 std::string w = exception::name("parse_error", id_) + "parse error" + in create()
134 return parse_error(id_, pos.chars_read_total, w.c_str()); in create()
137 static parse_error create(int id_, std::size_t byte_, const std::string& what_arg) in create() argument
139 std::string w = exception::name("parse_error", id_) + "parse error" + in create()
142 return parse_error(id_, byte_, w.c_str()); in create()
157 parse_error(int id_, std::size_t byte_, const char* what_arg) in parse_error() argument
[all …]
/third_party/boost/boost/beast/websocket/detail/
Dsoft_mutex.hpp24 int id_ = 0; member in boost::beast::websocket::detail::soft_mutex
32 : id_(boost::exchange(other.id_, 0)) in soft_mutex()
38 id_ = other.id_; in operator =()
39 other.id_ = 0; in operator =()
47 id_ = 0; in reset()
53 return id_ != 0; in is_locked()
60 return id_ == T::id; in is_locked()
67 BOOST_ASSERT(id_ == 0); in lock()
68 id_ = T::id; in lock()
75 BOOST_ASSERT(id_ == T::id); in unlock()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhash_policy_testing.h39 WithId() : id_(next_id<Derived>()) {} in WithId()
40 WithId(const WithId& that) : id_(that.id_) {} in WithId()
41 WithId(WithId&& that) : id_(that.id_) { that.id_ = 0; } in WithId()
43 id_ = that.id_;
47 id_ = that.id_;
48 that.id_ = 0;
52 size_t id() const { return id_; } in id()
55 return a.id_ == b.id_;
60 explicit WithId(size_t id) : id_(id) {} in WithId()
63 size_t id_;
[all …]
/third_party/abseil-cpp/absl/container/internal/
Dhash_policy_testing.h39 WithId() : id_(next_id<Derived>()) {} in WithId()
40 WithId(const WithId& that) : id_(that.id_) {} in WithId()
41 WithId(WithId&& that) : id_(that.id_) { that.id_ = 0; } in WithId()
43 id_ = that.id_;
47 id_ = that.id_;
48 that.id_ = 0;
52 size_t id() const { return id_; } in id()
55 return a.id_ == b.id_;
60 explicit WithId(size_t id) : id_(id) {} in WithId()
63 size_t id_;
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure2/
Dconjure_static_switch_lexer.hpp46 std::size_t id_ = npos; in next_token_conjure_static_switch() local
111 id_ = 35; in next_token_conjure_static_switch()
124 id_ = 32; in next_token_conjure_static_switch()
139 id_ = 32; in next_token_conjure_static_switch()
154 id_ = 32; in next_token_conjure_static_switch()
169 id_ = 32; in next_token_conjure_static_switch()
186 id_ = 32; in next_token_conjure_static_switch()
201 id_ = 32; in next_token_conjure_static_switch()
216 id_ = 32; in next_token_conjure_static_switch()
247 id_ = 61; in next_token_conjure_static_switch()
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure3/
Dconjure_static_switch_lexer.hpp46 std::size_t id_ = npos; in next_token_conjure_static_switch() local
111 id_ = 35; in next_token_conjure_static_switch()
124 id_ = 32; in next_token_conjure_static_switch()
139 id_ = 32; in next_token_conjure_static_switch()
154 id_ = 32; in next_token_conjure_static_switch()
169 id_ = 32; in next_token_conjure_static_switch()
186 id_ = 32; in next_token_conjure_static_switch()
201 id_ = 32; in next_token_conjure_static_switch()
216 id_ = 32; in next_token_conjure_static_switch()
247 id_ = 61; in next_token_conjure_static_switch()
[all …]
/third_party/boost/libs/container/test/
Ddummy_test_allocator.hpp111 : id_(++unique_id_) in propagation_test_allocator()
120 : id_(x.id_) in propagation_test_allocator()
136 : id_(x.id_) in propagation_test_allocator()
145 : id_(x.id_) in propagation_test_allocator()
155 id_ = x.id_; in operator =()
166 id_ = x.id_; in operator =()
185 { return EqualIfEqualIds ? a.id_ == b.id_ : true; } in operator ==()
188 { return EqualIfEqualIds ? a.id_ != b.id_ : false; } in operator !=()
193 boost::adl_move_swap(this->id_, r.id_); in swap()
206 unsigned int id_; member in boost::container::test::propagation_test_allocator
Dpropagate_allocator_test.hpp124 BOOST_TEST (c.get_stored_allocator().id_ == 112); in test_propagate_allocator()
135 BOOST_TEST (c.get_stored_allocator().id_ == 223); in test_propagate_allocator()
139 BOOST_TEST (c2.get_stored_allocator().id_ == 223); in test_propagate_allocator()
150 BOOST_TEST (c.get_stored_allocator().id_ == 334); in test_propagate_allocator()
152 BOOST_TEST (c2.get_stored_allocator().id_ == 334); in test_propagate_allocator()
163 BOOST_TEST (c.get_stored_allocator().id_ == 445); in test_propagate_allocator()
165 BOOST_TEST (c2.get_stored_allocator().id_ == 446); in test_propagate_allocator()
167 BOOST_TEST (c2.get_stored_allocator().id_ == 445); in test_propagate_allocator()
178 BOOST_TEST (c.get_stored_allocator().id_ == 556); in test_propagate_allocator()
180 BOOST_TEST (c2.get_stored_allocator().id_ == 557); in test_propagate_allocator()
[all …]
/third_party/boost/libs/hana/test/tuple/
Dcnstr.convert_copy.cpp11 int id_; member
12 constexpr A(int i) : id_(i) {} in A()
14 { return x.id_ == y.id_; } in operator ==()
18 int id_; member
19 explicit B(int i) : id_(i) {} in B()
23 int id_; member
24 constexpr explicit C(int i) : id_(i) {} in C()
26 { return x.id_ == y.id_; } in operator ==()
71 BOOST_HANA_RUNTIME_CHECK(hana::at_c<2>(t1).id_ == 3); in main()
79 d.id_ = 2; in main()
[all …]
/third_party/boost/boost/thread/
Dtestable_mutex.hpp39 atomic<thread::id> id_; member in boost::testable_mutex
47 testable_mutex() : id_(thread::id()) {} in testable_mutex()
53 id_ = this_thread::get_id(); in lock()
59 id_ = thread::id(); in unlock()
68 id_ = this_thread::get_id(); in try_lock()
83 id_ = this_thread::get_id(); in try_lock_for()
97 id_ = this_thread::get_id(); in try_lock_until()
109 return this_thread::get_id() == id_; in is_locked_by_this_thread()
113 return ! (thread::id() == id_); in is_locked()
118 return id_; in get_id()
/third_party/boost/libs/beast/test/beast/core/
Dtest_handler.hpp26 std::size_t id_; member in boost::beast::simple_allocator
30 : id_([] in simple_allocator()
43 return lhs.id_ == rhs.id_; in operator ==()
51 return lhs.id_ != rhs.id_; in operator !=()
57 std::size_t id_; member in boost::beast::simple_executor
61 : id_([] in simple_executor()
88 return lhs.id_ == rhs.id_; in operator ==()
96 return lhs.id_ != rhs.id_; in operator !=()
/third_party/boost/boost/interprocess/sync/windows/
Dmutex.hpp52 const sync_id id_; member in boost::interprocess::ipcdetail::windows_mutex
56 : id_(this) in windows_mutex()
62 (void)handles.obtain_mutex(this->id_, &open_or_created); in windows_mutex()
73 handles.destroy_handle(this->id_); in ~windows_mutex()
81 winapi_mutex_functions mut(handles.obtain_mutex(this->id_)); in lock()
90 winapi_mutex_functions mut(handles.obtain_mutex(this->id_)); in try_lock()
99 winapi_mutex_functions mut(handles.obtain_mutex(this->id_)); in timed_lock()
108 winapi_mutex_functions mut(handles.obtain_mutex(this->id_)); in unlock()
Dsemaphore.hpp52 const sync_id id_; member in boost::interprocess::ipcdetail::windows_semaphore
56 : id_(this) in windows_semaphore()
62 handles.obtain_semaphore(this->id_, initialCount, &open_or_created); in windows_semaphore()
73 handles.destroy_handle(this->id_); in ~windows_semaphore()
81 winapi_semaphore_functions sem(handles.obtain_semaphore(this->id_, 0)); in wait()
90 winapi_semaphore_functions sem(handles.obtain_semaphore(this->id_, 0)); in try_wait()
99 winapi_semaphore_functions sem(handles.obtain_semaphore(this->id_, 0)); in timed_wait()
107 winapi_semaphore_functions sem(handles.obtain_semaphore(this->id_, 0)); in post()
/third_party/cef/include/base/
Dcef_platform_thread.h72 PlatformThreadRef() : id_(0) {} in PlatformThreadRef()
74 explicit PlatformThreadRef(RefType id) : id_(id) {} in PlatformThreadRef()
76 bool operator==(PlatformThreadRef other) const { return id_ == other.id_; }
78 bool is_null() const { return id_ == 0; } in is_null()
81 RefType id_;
/third_party/boost/boost/smart_ptr/detail/
Dshared_count.hpp120 int id_; member in boost::detail::shared_count
129 , id_(shared_count_id) in shared_count()
136 , id_(shared_count_id) in shared_count()
143 , id_(shared_count_id) in shared_count()
177 , id_(shared_count_id) in shared_count()
212 , id_(shared_count_id) in shared_count()
244 , id_(shared_count_id) in shared_count()
301 , id_(shared_count_id) in shared_count()
363 , id_(shared_count_id) in shared_count()
385 , id_(shared_count_id) in shared_count()
[all …]
/third_party/boost/boost/hof/
Dfold.hpp93 … BOOST_HOF_SFINAE_MANUAL_RESULT(const v_fold&, id_<const F&>, result_of<const F&, id_<State>, id_<…
130 …constexpr BOOST_HOF_SFINAE_RESULT(detail::v_fold, id_<const detail::callable_base<F>&>, id_<State>…
157 …constexpr BOOST_HOF_SFINAE_RESULT(detail::v_fold, id_<const detail::callable_base<F>&>, id_<Ts>...)
Dreverse_fold.hpp95 …NUAL_RESULT(const F&, result_of<const v_reverse_fold&, id_<const F&>, id_<State>, id_<Ts>...>, id_
132 …r BOOST_HOF_SFINAE_RESULT(detail::v_reverse_fold, id_<const detail::callable_base<F>&>, id_<State>…
159 …nstexpr BOOST_HOF_SFINAE_RESULT(detail::v_reverse_fold, id_<const detail::callable_base<F>&>, id_<…
Dapply.hpp156 constexpr BOOST_HOF_SFINAE_MANUAL_RESULT(apply_mem_fn, id_<F>, id_<T>, id_<Ts>...)
165 constexpr BOOST_HOF_SFINAE_MANUAL_RESULT(apply_mem_fn, id_<F>, id_<U>, id_<Ts>...)
174 constexpr BOOST_HOF_SFINAE_MANUAL_RESULT(apply_mem_fn, id_<F>, id_<T&>, id_<Ts>...)
183 constexpr BOOST_HOF_SFINAE_MANUAL_RESULT(apply_mem_data, id_<F>, id_<T>)
192 constexpr BOOST_HOF_SFINAE_MANUAL_RESULT(apply_mem_data, id_<F>, id_<U>)
201 constexpr BOOST_HOF_SFINAE_MANUAL_RESULT(apply_mem_data, id_<F>, id_<T&>)
235 constexpr BOOST_HOF_SFINAE_MANUAL_RESULT(F, id_<Ts>...)
/third_party/boost/boost/spirit/home/support/detail/lexer/
Dinput.hpp169 std::size_t id_ = *(ptr_ + id_index); in next() local
209 id_ = *(ptr_ + id_index); in next()
226 id_ = *(ptr_ + id_index); in next()
240 if (id_ == 0) in next()
255 id_ = npos; in next()
260 return id_; in next()
281 std::size_t id_ = *(ptr_ + id_index); in next() local
301 id_ = *(ptr_ + id_index); in next()
314 if (id_ == 0) goto again; in next()
320 id_ = npos; in next()
[all …]
/third_party/flutter/engine/flutter/flow/
Draster_cache_key.h17 RasterCacheKey(ID id, const SkMatrix& ctm) : id_(id), matrix_(ctm) { in RasterCacheKey()
25 ID id() const { return id_; } in id()
30 return std::hash<ID>()(key.id_); in operator()
37 return lhs.id_ == rhs.id_ && lhs.matrix_ == rhs.matrix_; in operator()
45 ID id_;
/third_party/boost/libs/smart_ptr/test/
Dshared_ptr_alloc2_test.cpp21 int id_; member
26 explicit test_allocator_base( int id ): id_( id ) in test_allocator_base()
87 BOOST_TEST( id_ == last_id_ ); in deallocate()
100 last_id_ = id_; in allocate()
102 last_global_id_ = id_; in allocate()
130 return a1.id_ == a2.id_; in operator ==()
135 return a1.id_ != a2.id_; in operator !=()
/third_party/boost/libs/local_function/example/
Dscope_exit.cpp24 person(void): id_(0), evolution_(0) {} in person()
27 return o << "person(" << p.id_ << ", " << p.evolution_ << ")"; in operator <<()
30 id_t id_; member in person
74 world::id_t const prev_id = p.id_; in BOOST_TYPEOF_REGISTER_TYPE()
75 p.id_ = next_id_++; in BOOST_TYPEOF_REGISTER_TYPE()
79 next_id_ = p.id_; in BOOST_TYPEOF_REGISTER_TYPE()
80 p.id_ = prev_id; in BOOST_TYPEOF_REGISTER_TYPE()
/third_party/boost/libs/endian/example/
Dudt_conversion_example.cpp27 UDT() : id_(0), value_(0) {desc_[0] = '\0';} in UDT()
28 UDT(int32_t id, int64_t value, const char* desc) : id_(id), value_(value) in UDT()
33 int32_t id() const {return id_;} in id()
36 void id(int32_t x) {id_ = x;} in id()
47 int32_t id_; member in user::UDT
54 boost::endian::endian_reverse_inplace(x.id_); in endian_reverse_inplace()
/third_party/node/src/inspector/
Dworker_inspector.cc18 : id_(id), in WorkerStartedRequest()
23 manager->WorkerStarted(id_, info_, waiting_); in Call()
31 uint64_t id_; member in node::inspector::__anoned91e39d0111::WorkerStartedRequest
61 : id_(id), in ParentInspectorHandle()
68 std::unique_ptr<Request>(new WorkerFinishedRequest(id_))); in ~ParentInspectorHandle()
74 new WorkerStartedRequest(id_, url_, worker_thread, waiting)); in WorkerStarted()
130 manager_->SetWaitOnStartForDelegate(id_, wait_on_start); in SetWaitOnStart()
134 manager_->RemoveAttachDelegate(id_); in ~WorkerManagerEventHandle()
/third_party/boost/boost/spirit/home/lex/lexer/lexertl/
Diterator_tokenizer.hpp54 std::size_t id_ = *(ptr_ + boost::lexer::id_index); in next() local
99 id_ = *(ptr_ + boost::lexer::id_index); in next()
116 id_ = *(ptr_ + boost::lexer::id_index); in next()
129 if (id_ == 0) in next()
141 id_ = boost::lexer::npos; in next()
146 return id_; in next()
169 std::size_t id_ = *(ptr_ + boost::lexer::id_index); in next() local
213 id_ = *(ptr_ + boost::lexer::id_index); in next()
229 id_ = *(ptr_ + boost::lexer::id_index); in next()
243 id_ = boost::lexer::npos; in next()
[all …]

12345678910