Searched refs:contexts_ (Results 1 – 6 of 6) sorted by relevance
64 contexts_.push_back( in RegExpAdapterTest()67 contexts_.push_back( in RegExpAdapterTest()72 ~RegExpAdapterTest() { gtl::STLDeleteElements(&contexts_); } in ~RegExpAdapterTest()79 vector<const RegExpTestContext*> contexts_; member in i18n::phonenumbers::RegExpAdapterTest83 for (vector<const RegExpTestContext*>::const_iterator it = contexts_.begin(); in TEST_F()84 it != contexts_.end(); in TEST_F()105 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F()119 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F()135 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F()165 for (TestContextIterator it = contexts_.begin(); it != contexts_.end(); in TEST_F()[all …]
96 self.contexts_ = []103 self.contexts_.append(Context(message, nested))106 del self.contexts_[-1]109 self.contexts_.append(JamfileContext())112 del self.contexts_[-1]115 return self.contexts_[:]118 raise ExceptionWithUserContext("unexpected exception", self.contexts_[:],122 raise ExceptionWithUserContext(message, self.contexts_[:],
181 CommonStressTestAsyncServer() : contexts_(kNumAsyncServerThreads * 100) {} in CommonStressTestAsyncServer()222 switch (contexts_[i].state) { in ProcessRpcs()224 contexts_[i].state = Context::DONE; in ProcessRpcs()226 send_response.set_message(contexts_[i].recv_request.message()); in ProcessRpcs()227 contexts_[i].response_writer->Finish(send_response, Status::OK, in ProcessRpcs()241 contexts_[i].state = Context::READY; in RefreshContext()242 contexts_[i].srv_ctx.reset(new ServerContext); in RefreshContext()243 contexts_[i].response_writer.reset( in RefreshContext()245 contexts_[i].srv_ctx.get())); in RefreshContext()246 service_.RequestEcho(contexts_[i].srv_ctx.get(), in RefreshContext()[all …]
129 for (auto it = contexts_.begin(); it != contexts_.end(); it++) { in SetJSPromiseHooks()131 it = contexts_.erase(it); in SetJSPromiseHooks()277 size_t id = contexts_.size(); in AddContext()278 contexts_.resize(id + 1); in AddContext()279 contexts_[id].Reset(env()->isolate(), ctx); in AddContext()280 contexts_[id].SetWeak(); in AddContext()286 for (auto it = contexts_.begin(); it != contexts_.end(); it++) { in RemoveContext()288 it = contexts_.erase(it); in RemoveContext()296 contexts_.erase(it); in RemoveContext()
725 std::vector<v8::Global<v8::Context>> contexts_; variable
126 contexts_.emplace_back( in AsyncQpsServerTest()134 contexts_.emplace_back(new ServerRpcContextStreamingImpl( in AsyncQpsServerTest()142 contexts_.emplace_back(new ServerRpcContextStreamingFromClientImpl( in AsyncQpsServerTest()151 contexts_.emplace_back(new ServerRpcContextStreamingFromServerImpl( in AsyncQpsServerTest()524 std::vector<std::unique_ptr<ServerRpcContext>> contexts_; member in grpc::testing::AsyncQpsServerTest