/third_party/grpc/examples/cpp/route_guide/ |
D | helper.cc | 68 explicit Parser(const std::string& db) : db_(db) { in Parser() 70 db_.erase(std::remove_if(db_.begin(), db_.end(), isspace), db_.end()); in Parser() 76 bool Finished() { return current_ >= db_.size(); } in Finished() 97 while (current_ != db_.size() && db_[current_++] != '"') { in TryParseOne() 99 if (current_ == db_.size()) { in TryParseOne() 102 feature->set_name(db_.substr(name_start, current_ - name_start - 1)); in TryParseOne() 104 if (db_[current_ - 1] == ']' && current_ == db_.size()) { in TryParseOne() 119 bool eq = db_.substr(current_, prefix.size()) == prefix; in Match() 126 while (current_ != db_.size() && db_[current_] != ',' && in ReadLong() 127 db_[current_] != '}') { in ReadLong() [all …]
|
/third_party/ejdb/src/ |
D | ejdb2_internal.h | 57 #define ENSURE_OPEN(db_) \ argument 58 if (!(db_) || !((db_)->open)) { \ 63 #define API_RLOCK(db_, rci_) \ argument 64 ENSURE_OPEN(db_); \ 65 rci_ = pthread_rwlock_rdlock(&(db_)->rwl); \ 68 #define API_WLOCK(db_, rci_) \ argument 69 ENSURE_OPEN(db_); \ 70 rci_ = pthread_rwlock_wrlock(&(db_)->rwl); \ 73 #define API_WLOCK2(db_, rci_) \ argument 74 rci_ = pthread_rwlock_wrlock(&(db_)->rwl); \ [all …]
|
/third_party/iowow/src/kv/ |
D | iwkv_internal.h | 323 #define ENSURE_OPEN_DB(db_) \ argument 324 if (!(db_) || !(db_)->iwkv || !(db_)->open || !((db_)->iwkv->open)) return IW_ERROR_INVALID_STATE 352 #define API_DB_RLOCK(db_, rci_) \ argument 354 API_RLOCK((db_)->iwkv, rci_); \ 355 (rci_) = pthread_rwlock_rdlock(&(db_)->rwl); \ 357 pthread_rwlock_unlock(&(db_)->iwkv->rwl); \ 368 #define API_DB_WLOCK(db_, rci_) \ argument 370 API_RLOCK((db_)->iwkv, rci_); \ 371 (rci_) = pthread_rwlock_wrlock(&(db_)->rwl); \ 373 pthread_rwlock_unlock(&(db_)->iwkv->rwl); \ [all …]
|
D | iwkv.c | 14 #define _wnw_db_wl(db_) _api_db_wlock(db_) argument
|
/third_party/boost/libs/utility/test/ |
D | base_from_member_test.cpp | 85 set_type db_; member in object_registrar 176 BOOST_TEST( obj_reg.db_.empty() ); in main() 188 BOOST_TEST( obj_reg.db_.size() == 3 ); in main() 192 BOOST_TEST( obj_reg.db_.size() == 6 ); in main() 196 BOOST_TEST( obj_reg.db_.size() == 11 ); in main() 210 BOOST_TEST( obj_reg.db_.empty() ); in main() 294 if ( db_.count(obj) <= 0 ) in register_object_imp() 296 db_.insert( obj ); in register_object_imp() 321 if ( db_.count(owned) > 0 ) in register_use_imp() 344 if ( db_.count(owned) > 0 ) in unregister_use_imp() [all …]
|
/third_party/cef/patch/patches/ |
D | storage_incognito_2289.patch | 65 databases_table_ = std::make_unique<DatabasesTable>(db_.get()); 70 (db_->is_open() || 71 (is_incognito_ ? db_->OpenInMemory() 72 : db_->Open(kTrackerDatabaseFullPath))) &&
|
/third_party/iowow/src/rdb/ |
D | iwrdb.c | 12 #define _ENSURE_OPEN(db_) \ argument 13 if (!(db_) || INVALIDHANDLE((db_)->fh)) return IW_ERROR_INVALID_STATE
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 2684 pool_.reset(new DescriptorPool(&db_)); in SetUp() 2746 EXPECT_TRUE(db_.Add(proto)); in BuildFile() 2762 SimpleDescriptorDatabase db_; // used if in FALLBACK_DATABASE mode. member in google::protobuf::descriptor_unittest::AllowUnknownDependenciesTest 2955 ASSERT_TRUE(db_.Add(undeclared_dep_proto)); in TEST_P() 7751 db_(&source_tree_), in CopySourceCodeInfoToTest() 7752 pool_(&db_, &collector_) {} in CopySourceCodeInfoToTest() 7757 compiler::SourceTreeDescriptorDatabase db_; member in google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest 7797 LazilyBuildDependenciesTest() : pool_(&db_, nullptr) { in LazilyBuildDependenciesTest() 7804 db_.Add(tmp); in ParseProtoAndAddToDb() 7810 db_.Add(tmp); in ParseProtoAndAddToDb() [all …]
|
/third_party/chromium/patch/ |
D | 0003-3.2-Beta3-1115.patch | 44446 VerifyTablesAndColumns(db.db_.get()); 44560 + VerifyTablesAndColumns(db.db_.get()); 44630 VerifyTablesAndColumns(db.db_.get()); 69961 + sqlite3_prepare_v3(db_, kIntegrityCheckSql, sizeof(kIntegrityCheckSql), 70074 EXPECT_FALSE(db_->IsSQLValid("SELECT count(*) from other.bar")); 70079 - ASSERT_TRUE(db_->Execute(kCreateSql)); 70080 - EXPECT_TRUE(db_->QuickIntegrityCheck()); 70081 - db_->Close(); 70087 + ASSERT_TRUE(db_->Execute(kTableSql)); 70088 + ASSERT_TRUE(db_->Execute("CREATE INDEX rows_by_value ON rows(value)")); [all …]
|
D | 0001-cve.patch | 695 + if (db_) 696 + db_->reset_error_callback(); 707 db_.set_error_callback(error_callback); 709 + void reset_error_callback() { db_.reset_error_callback(); }
|
/third_party/openh264/res/ |
D | Cisco_Absolute_Power_1280x720_30fps.yuv | 2311 …qtvvxy{|{�~~||}|zwutvvvtqutqrstusvwwz{|}zusssutuwprqstqonoigfdcaa```b`db_`\ZWX]efgfda`abbc^H,… 3097 …db_^]]\YTTTVWUTRUX[\abdb^XPIFBCC>>630,-)&#$.28;78:778;;<==>==?><>@?ABCCCFFCBBCEEDBCFFGFFGIHIGFGIGC…
|