/external/iptables/iptables/ |
ip6tables-save.c | 37 static int for_each_table(int (*func)(const char *tablename)) 41 char tablename[XT_TABLE_MAXNAMELEN+1]; local 47 while (fgets(tablename, sizeof(tablename), procfile)) { 48 if (tablename[strlen(tablename) - 1] != '\n') 50 "Badly formed tablename `%s'\n", 51 tablename); 52 tablename[strlen(tablename) - 1] = '\0' 128 const char *tablename = NULL; local [all...] |
iptables-save.c | 35 static int for_each_table(int (*func)(const char *tablename)) 39 char tablename[XT_TABLE_MAXNAMELEN+1]; local 45 while (fgets(tablename, sizeof(tablename), procfile)) { 46 if (tablename[strlen(tablename) - 1] != '\n') 48 "Badly formed tablename `%s'\n", 49 tablename); 50 tablename[strlen(tablename) - 1] = '\0' 127 const char *tablename = NULL; local [all...] |
ip6tables-restore.c | 62 static struct xtc_handle *create_handle(const char *tablename) 66 handle = ip6tc_init(tablename); 71 handle = ip6tc_init(tablename); 77 tablename); 192 const char *tablename = NULL; local 238 tablename = optarg; 300 if (tablename != NULL && strcmp(tablename, table) != 0) 458 if (tablename != NULL && strcmp(tablename, curtable) != 0 [all...] |
iptables-restore.c | 62 static struct xtc_handle *create_handle(const char *tablename) 66 handle = iptc_init(tablename); 71 handle = iptc_init(tablename); 76 "table '%s'\n", prog_name, tablename); 192 const char *tablename = NULL; local 238 tablename = optarg; 300 if (tablename && (strcmp(tablename, table) != 0)) 458 if (tablename && (strcmp(tablename, curtable) != 0) [all...] |
ip6tables-save.8 | |
/cts/tests/tests/permission/src/android/permission/cts/ |
TvPermissionTest.java | 45 public void verifyInsert(Uri uri, String tableName) throws Exception { 49 fail("Accessing " + tableName + " table should require WRITE_EPG_DATA permission."); 55 public void verifyUpdate(Uri uri, String tableName) throws Exception { 59 fail("Accessing " + tableName + " table should require WRITE_EPG_DATA permission."); 65 public void verifyDelete(Uri uri, String tableName) throws Exception { 68 fail("Accessing " + tableName + " table should require WRITE_EPG_DATA permission.");
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUResourceTableAccess.java | 23 public static String getTableString(String path, ULocale locale, String tableName, 27 return getTableString(bundle, tableName, null, itemName); 34 public static String getTableString(ICUResourceBundle bundle, String tableName, 39 ICUResourceBundle table = bundle.findWithFallback(tableName); 58 if (tableName.equals("Countries")) { 60 } else if (tableName.equals("Languages")) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUResourceTableAccess.java | 21 public static String getTableString(String path, ULocale locale, String tableName, 25 return getTableString(bundle, tableName, null, itemName); 32 public static String getTableString(ICUResourceBundle bundle, String tableName, 37 ICUResourceBundle table = bundle.findWithFallback(tableName); 56 if (tableName.equals("Countries")) { 58 } else if (tableName.equals("Languages")) {
|
/external/iptables/extensions/ |
libxt_TRACE.man | 7 "TRACE: tablename:chainname:type:rulenum " where type can be "rule" for
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
AggregatorRecordStorage.java | 57 public AggregatorRecordStorage(Context context, String tableName, String [] columnNames) { 62 mTableName = tableName; 64 String tableCmd = "create table " + tableName + "( " + columnNames[0] + 71 mDbHelper = new DBHelper(context, tableName, tableCmd); 74 throw new RuntimeException("Can't open table: " + tableName);
|
AggregatorStorage.java | 37 DBHelper(Context context, String tableName, String tableCmd) { 39 mTableName = tableName;
|
/cts/tests/tests/database/src/android/database/cts/ |
CursorJoinerTest.java | 226 private void createTable(String tableName, String columnNames) { 227 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames 232 private void addValuesIntoTable(String tableName, int start, int end) { 234 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" 239 private void addValueIntoTable(String tableName, String value) { 240 mDatabase.execSQL("INSERT INTO " + tableName + "(number) VALUES ('" + value + "');"); 243 private void deleteValueFromTable(String tableName, String value) { 244 mDatabase.execSQL("DELETE FROM " + tableName + " WHERE number = '" + value + "';"); 247 private Cursor getCursor(String tableName, String selection, String[] columnNames) { 248 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number") [all...] |
MergeCursorTest.java | 308 byte[] blob, String tablename) { 314 mDatabase.execSQL("CREATE TABLE " + tablename + " (_id INTEGER PRIMARY KEY," 318 String sql = "INSERT INTO " + tablename + " (string_text, double_number, int_number," 322 sql = "INSERT INTO " + tablename + " (string_text) VALUES ('" + COLUMN_FOR_NULL_TEST + "')"; 340 private void createTable(String tableName, String columnNames) { 341 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames 346 private void addValuesIntoTable(String tableName, int start, int end) { 348 mDatabase.execSQL("INSERT INTO " + tableName + "(number_1) VALUES ('" 353 private Cursor getCursor(String tableName, String selection, String[] columnNames) { 354 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number_1") [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
InsertFunctionalityTest.java | 61 String tableName = userTab.getString("TABLE_NAME"); 62 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { 65 } else if (tableName 69 } else if (tableName 73 } else if (tableName 77 } else if (tableName 81 } else if (tableName
|
UpdateFunctionalityTest2.java | 70 String tableName = userTab.getString("TABLE_NAME"); 71 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { 74 } else if (tableName 78 } else if (tableName 82 } else if (tableName 86 } else if (tableName 90 } else if (tableName
|
DeleteFunctionalityTest.java | 64 String tableName = userTab.getString("TABLE_NAME"); 65 if (tableName.equals(DatabaseCreator.PARENT_TABLE)) { 68 } else if (tableName 72 } else if (tableName 76 } else if (tableName
|
MultiThreadAccessTest.java | 74 String tableName = userTab.getString("TABLE_NAME"); 75 if (tableName.equals(DatabaseCreator.TEST_TABLE1)) { 77 } else if (tableName 80 } else if (tableName 83 } else if (tableName
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
EntrySchema.java | 296 String tableName = mTableName; 297 Utils.assertTrue(tableName != null); 301 sql.append(tableName); 335 sql.append(tableName); 339 sql.append(tableName); 350 String ftsTableName = tableName + FULL_TEXT_INDEX_SUFFIX; 390 sql.append(tableName); 392 sql.append(tableName); 401 sql.append(tableName); 403 sql.append(tableName); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
SQLiteCacheHelper.java | 24 public SQLiteCacheHelper(Context context, String name, int version, String tableName) { 25 mTableName = tableName;
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
HbpcdLookupDatabaseHelper.java | 171 String tableName = parser.getAttributeValue(null, "name"); 172 loadTable(db, parser, tableName); 192 private void loadTable(SQLiteDatabase db, XmlPullParser parser, String tableName) 199 if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_IDD)) { 201 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_LOOKUP_TABLE)) { 203 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_SID_CONFLICT)) { 205 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_MCC_SID_RANGE)) { 207 } else if (tableName.equalsIgnoreCase(HbpcdLookupProvider.TABLE_NANP_AREA_CODE)) { 209 } else if (tableName.equalsIgnoreCase( 213 Log.e(TAG, "unrecognized table name" + tableName); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb/ |
test_batch.py | 39 'TableName': 'testtable', 54 'TableName': 'testtable2',
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteCursorTest.java | 219 private void createTable(String tableName, String columnNames) { 220 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " 225 private void addValuesIntoTable(String tableName, int start, int end) { 227 mDatabase.execSQL("INSERT INTO " + tableName + "(number_1) VALUES ('" + i + "');");
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/dynamodb/ |
layer1.py | 217 data = {'TableName': table_name} 241 data = {'TableName': table_name, 260 data = {'TableName': table_name, 274 data = {'TableName': table_name} 301 data = {'TableName': table_name, 376 data = {'TableName': table_name, 417 data = {'TableName': table_name, 454 data = {'TableName': table_name, 510 data = {'TableName': table_name, 565 data = {'TableName': table_name [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DbModifierWithNotification.java | 76 public DbModifierWithNotification(String tableName, SQLiteDatabase db, Context context) { 77 this(tableName, db, null, context); 80 public DbModifierWithNotification(String tableName, InsertHelper insertHelper, 82 this(tableName, null, insertHelper, context); 85 private DbModifierWithNotification(String tableName, SQLiteDatabase db, 87 mTableName = tableName;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseDatabaseHelperUpgradeTest.java | 72 public TableStructure(SQLiteDatabase db, String tableName) { 73 mName = tableName; 74 try (final Cursor cursor = db.rawQuery("PRAGMA table_info(" + tableName + ");", null)) {
|