Home
last modified time | relevance | path

Searched refs:table_name (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/webrtc/system_wrappers/source/
Ddata_log_c.cc28 const char* table_name, int table_id) { in WebRtcDataLog_Combine() argument
29 if (!table_name) return NULL; in WebRtcDataLog_Combine()
30 std::string combined = webrtc::DataLog::Combine(table_name, table_id); in WebRtcDataLog_Combine()
37 extern "C" int WebRtcDataLog_AddTable(const char* table_name) { in WebRtcDataLog_AddTable() argument
38 if (!table_name) return -1; in WebRtcDataLog_AddTable()
39 return webrtc::DataLog::AddTable(table_name); in WebRtcDataLog_AddTable()
42 extern "C" int WebRtcDataLog_AddColumn(const char* table_name, in WebRtcDataLog_AddColumn() argument
45 if (!table_name || !column_name) return -1; in WebRtcDataLog_AddColumn()
46 return webrtc::DataLog::AddColumn(table_name, column_name, in WebRtcDataLog_AddColumn()
50 extern "C" int WebRtcDataLog_InsertCell_int(const char* table_name, in WebRtcDataLog_InsertCell_int() argument
[all …]
Ddata_log_unittest_disabled.cc21 void PerformLogging(const std::string& table_name) { in PerformLogging() argument
23 ASSERT_EQ(0, DataLog::AddTable(table_name)); in PerformLogging()
24 ASSERT_EQ(0, DataLog::AddColumn(table_name, "test", 1)); in PerformLogging()
28 DataLog::InsertCell(table_name, "test", static_cast<double>(i)); in PerformLogging()
29 ASSERT_EQ(0, DataLog::NextRow(table_name)); in PerformLogging()
39 std::string table_name = DataLog::Combine("table", 1); in TEST() local
40 ASSERT_EQ("", table_name); in TEST()
41 PerformLogging(table_name); in TEST()
Ddata_log.cc284 std::string DataLog::Combine(const std::string& table_name, int table_id) { in Combine() argument
286 std::string combined_id = table_name; in Combine()
296 int DataLog::AddTable(const std::string& table_name) { in AddTable() argument
300 return data_log->AddTable(table_name); in AddTable()
303 int DataLog::AddColumn(const std::string& table_name, in AddColumn() argument
309 return data_log->DataLogImpl::StaticInstance()->AddColumn(table_name, in AddColumn()
314 int DataLog::NextRow(const std::string& table_name) { in NextRow() argument
318 return data_log->DataLogImpl::StaticInstance()->NextRow(table_name); in NextRow()
382 int DataLogImpl::AddTable(const std::string& table_name) { in AddTable() argument
385 if (tables_.count(table_name) > 0) in AddTable()
[all …]
Ddata_log_no_op.cc24 std::string DataLog::Combine(const std::string& table_name, int table_id) { in Combine() argument
/external/webrtc/src/system_wrappers/source/
Ddata_log_c.cc30 const char* table_name, int table_id) { in WebRtcDataLog_Combine() argument
31 if (!table_name) return NULL; in WebRtcDataLog_Combine()
32 std::string combined = webrtc::DataLog::Combine(table_name, table_id); in WebRtcDataLog_Combine()
39 extern "C" int WebRtcDataLog_AddTable(const char* table_name) { in WebRtcDataLog_AddTable() argument
40 if (!table_name) return -1; in WebRtcDataLog_AddTable()
41 return webrtc::DataLog::AddTable(table_name); in WebRtcDataLog_AddTable()
44 extern "C" int WebRtcDataLog_AddColumn(const char* table_name, in WebRtcDataLog_AddColumn() argument
47 if (!table_name || !column_name) return -1; in WebRtcDataLog_AddColumn()
48 return webrtc::DataLog::AddColumn(table_name, column_name, in WebRtcDataLog_AddColumn()
52 extern "C" int WebRtcDataLog_InsertCell_int(const char* table_name, in WebRtcDataLog_InsertCell_int() argument
[all …]
Ddata_log_unittest_disabled.cc21 void PerformLogging(std::string table_name) { in PerformLogging() argument
23 ASSERT_EQ(0, DataLog::AddTable(table_name)); in PerformLogging()
24 ASSERT_EQ(0, DataLog::AddColumn(table_name, "test", 1)); in PerformLogging()
28 DataLog::InsertCell(table_name, "test", static_cast<double>(i)); in PerformLogging()
29 ASSERT_EQ(0, DataLog::NextRow(table_name)); in PerformLogging()
39 std::string table_name = DataLog::Combine("table", 1); in TEST() local
40 ASSERT_EQ("", table_name); in TEST()
41 PerformLogging(table_name); in TEST()
Ddata_log.cc284 std::string DataLog::Combine(const std::string& table_name, int table_id) { in Combine() argument
286 std::string combined_id = table_name; in Combine()
296 int DataLog::AddTable(const std::string& table_name) { in AddTable() argument
300 return data_log->AddTable(table_name); in AddTable()
303 int DataLog::AddColumn(const std::string& table_name, in AddColumn() argument
309 return data_log->DataLogImpl::StaticInstance()->AddColumn(table_name, in AddColumn()
314 int DataLog::NextRow(const std::string& table_name) { in NextRow() argument
318 return data_log->DataLogImpl::StaticInstance()->NextRow(table_name); in NextRow()
382 int DataLogImpl::AddTable(const std::string& table_name) { in AddTable() argument
385 if (tables_.count(table_name) > 0) in AddTable()
[all …]
Ddata_log_no_op.cc24 std::string DataLog::Combine(const std::string& table_name, int table_id) { in Combine() argument
/external/webrtc/src/system_wrappers/interface/
Ddata_log_c.h35 const char* table_name, int table_id);
36 int WebRtcDataLog_AddTable(const char* table_name);
37 int WebRtcDataLog_AddColumn(const char* table_name, const char* column_name,
40 int WebRtcDataLog_InsertCell_int(const char* table_name,
43 int WebRtcDataLog_InsertArray_int(const char* table_name,
47 int WebRtcDataLog_InsertCell_float(const char* table_name,
50 int WebRtcDataLog_InsertArray_float(const char* table_name,
54 int WebRtcDataLog_InsertCell_double(const char* table_name,
57 int WebRtcDataLog_InsertArray_double(const char* table_name,
61 int WebRtcDataLog_InsertCell_int32(const char* table_name,
[all …]
Ddata_log.h58 static std::string Combine(const std::string& table_name, int table_id);
63 static int AddTable(const std::string& table_name);
68 static int AddColumn(const std::string& table_name,
80 static int InsertCell(const std::string& table_name, in InsertCell() argument
87 table_name, in InsertCell()
100 static int InsertCell(const std::string& table_name, in InsertCell() argument
108 table_name, in InsertCell()
116 static int NextRow(const std::string& table_name);
Ddata_log_impl.h100 int AddTable(const std::string& table_name);
104 int AddColumn(const std::string& table_name,
111 int InsertCell(const std::string& table_name,
117 int NextRow(const std::string& table_name);
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
Ddata_log_c.h31 const char* table_name, int table_id);
32 int WebRtcDataLog_AddTable(const char* table_name);
33 int WebRtcDataLog_AddColumn(const char* table_name, const char* column_name,
36 int WebRtcDataLog_InsertCell_int(const char* table_name,
39 int WebRtcDataLog_InsertArray_int(const char* table_name,
43 int WebRtcDataLog_InsertCell_float(const char* table_name,
46 int WebRtcDataLog_InsertArray_float(const char* table_name,
50 int WebRtcDataLog_InsertCell_double(const char* table_name,
53 int WebRtcDataLog_InsertArray_double(const char* table_name,
57 int WebRtcDataLog_InsertCell_int32(const char* table_name,
[all …]
Ddata_log.h56 static std::string Combine(const std::string& table_name, int table_id);
61 static int AddTable(const std::string& table_name);
66 static int AddColumn(const std::string& table_name,
78 static int InsertCell(const std::string& table_name, in InsertCell() argument
85 table_name, in InsertCell()
98 static int InsertCell(const std::string& table_name, in InsertCell() argument
106 table_name, in InsertCell()
114 static int NextRow(const std::string& table_name);
Ddata_log_impl.h98 int AddTable(const std::string& table_name);
102 int AddColumn(const std::string& table_name,
109 int InsertCell(const std::string& table_name,
115 int NextRow(const std::string& table_name);
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/
Drtp_to_text.cc62 std::string table_name = argv[arg_count]; in main() local
65 std::cout << "Output file: " << table_name << ".txt" << std::endl; in main()
76 if (DataLog::AddTable(table_name) < 0) in main()
78 std::cout << "Error adding table " << table_name << ".txt" << std::endl; in main()
82 DataLog::AddColumn(table_name, "seq", 1); in main()
83 DataLog::AddColumn(table_name, "ssrc", 1); in main()
84 DataLog::AddColumn(table_name, "payload type", 1); in main()
85 DataLog::AddColumn(table_name, "length", 1); in main()
86 DataLog::AddColumn(table_name, "timestamp", 1); in main()
87 DataLog::AddColumn(table_name, "marker bit", 1); in main()
[all …]
/external/e2fsprogs/lib/et/
Det_h.awk76 table_name = $3
79 table_name = $2
80 base_name = table_name
185 print "extern const struct error_table et_" table_name "_error_table;" > outfile
186 print "extern void initialize_" table_name "_error_table(void);" > outfile
189 print "extern void initialize_" table_name "_error_table_r(struct et_list **list);" > outfile
192 print "#define ERROR_TABLE_BASE_" table_name " (" \
196 print "#define ERROR_TABLE_BASE_" table_name " (" \
202 print "#define init_" table_name "_err_tbl initialize_" table_name "_error_table" > outfile
203 print "#define " table_name "_err_base ERROR_TABLE_BASE_" table_name > outfile
Det_c.awk76 table_name = $3
79 table_name = $2
80 base_name = table_name
212 table_name, table_item_count++ > outfile
232 print "const struct error_table et_" table_name "_error_table = { text, " \
236 print "const struct error_table et_" table_name "_error_table = { text, " \
243 print "void initialize_" table_name "_error_table_r(struct et_list **list);" > outfile
244 print "void initialize_" table_name "_error_table(void);" > outfile
246 print "void initialize_" table_name "_error_table(void) {" > outfile
247 print " initialize_" table_name "_error_table_r(&_et_list);" > outfile
[all …]
/external/chromium_org/sql/
Drecovery.cc336 bool Recovery::AutoRecoverTable(const char* table_name, in AutoRecoverTable() argument
341 base::StringPrintf("PRAGMA main.table_info(%s)", table_name)); in AutoRecoverTable()
462 table_name, in AutoRecoverTable()
463 table_name, in AutoRecoverTable()
468 table_name, in AutoRecoverTable()
470 table_name)); in AutoRecoverTable()
473 "DROP TABLE temp.recover_%s", table_name)); in AutoRecoverTable()
Dconnection.h365 bool DoesTableExist(const char* table_name) const;
371 bool DoesColumnExist(const char* table_name, const char* column_name) const;
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_database.cc204 const char* table_name, in InitializeTable() argument
208 if (!db->DoesTableExist(table_name)) { in InitializeTable()
210 base::StringPrintf("CREATE TABLE %s (", table_name); in InitializeTable()
224 if (!db->DoesColumnExist(table_name, content_fields[i])) { in InitializeTable()
227 table_name, in InitializeTable()
Dactivity_log_policy.cc167 const char* table_name = kObsoleteTables[i]; in DropObsoleteTables() local
168 if (db->DoesTableExist(table_name)) { in DropObsoleteTables()
170 base::StringPrintf("DROP TABLE %s", table_name); in DropObsoleteTables()
/external/chromium_org/chrome/common/media_galleries/
Dpmp_test_util.h22 const std::string& table_name);
27 const std::string& table_name,
Dpmp_test_util.cc60 const std::string& table_name) { in WriteIndicatorFile() argument
62 base::FilePath::FromUTF8Unsafe(table_name + "_0")); in WriteIndicatorFile()
70 const std::string& table_name, in WriteColumnFileFromVector() argument
74 std::string file_name = table_name + "_" + column_name + "." + kPmpExtension; in WriteColumnFileFromVector()
/external/chromium_org/content/browser/appcache/
Dappcache_database.cc49 const char* table_name; member
55 const char* table_name; member
161 sql += info.table_name; in CreateTable()
174 sql += info.table_name; in CreateIndex()
1069 DCHECK(db_->DoesTableExist(kTables[i].table_name)); in EnsureDatabaseVersion()
1111 DCHECK_EQ(strcmp(kNamespacesTable, kTables[3].table_name), 0); in UpgradeSchema()
1112 DCHECK_EQ(strcmp(kNamespacesTable, kIndexes[6].table_name), 0); in UpgradeSchema()
1113 DCHECK_EQ(strcmp(kNamespacesTable, kIndexes[7].table_name), 0); in UpgradeSchema()
1114 DCHECK_EQ(strcmp(kNamespacesTable, kIndexes[8].table_name), 0); in UpgradeSchema()
/external/chromium_org/storage/browser/quota/
Dquota_database.h127 const char* table_name; member
132 const char* table_name; member

12