/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUResourceTableAccess.java | 39 ICUResourceBundle table = bundle.findWithFallback(tableName); local 40 if (table == null) { 43 ICUResourceBundle stable = table; 45 stable = table.findWithFallback(subtableName); 64 result = table.findStringWithFallback(currentName); 72 String fallbackLocale = table.findStringWithFallback("Fallback"); // again, possible exception 81 if (fallbackLocale.equals(table.getULocale().getName())) {
|
/external/toolchain-utils/crb/ |
table_formatter.py | 81 def GetTablePercents(self, table): 82 # Assumes table is not transposed. 85 pct_table.append(table[0]) 86 for i in range(1, len(table)): 88 row.append(table[i][0]) 89 for j in range(1, len(table[0])): 90 c = table[i][j] 91 b = table[i][1] 107 def TransposeTable(self, table): 109 for i in range(len(table[0])) [all...] |
/frameworks/base/tools/aapt2/split/ |
TableSplitter_test.cpp | 24 std::unique_ptr<ResourceTable> table = local 44 splitter.SplitTable(table.get()); 47 table.get(), "android:drawable/icon", 50 table.get(), "android:drawable/icon", 53 table.get(), "android:drawable/icon", 56 table.get(), "android:drawable/icon", 58 EXPECT_NE(nullptr, test::GetValue<Id>(table.get(), "android:string/one")); 62 std::unique_ptr<ResourceTable> table = local 83 splitter.SplitTable(table.get()); 88 table.get(), "android:drawable/icon" 107 std::unique_ptr<ResourceTable> table = local 191 ResourceTable table; local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
MoreDatabaseUtils.java | 30 * Builds a CREATE INDEX ddl statement for a given table and field. 32 * @param table The table name. 36 public static String buildCreateIndexSql(String table, String field) { 37 return "CREATE INDEX " + buildIndexName(table, field) + " ON " + table 42 * Builds a DROP INDEX ddl statement for a given table and field. 44 * @param table The table name that was originally used to create the index. 49 public static String buildDropIndexSql(String table, String field) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
ExportFieldsPart.java | 40 Composite table = createTableLayout(toolkit, 2 /* numColumns */); local 42 createLabel(table, toolkit, 46 Text packageField = createLabelAndText(table, toolkit, 51 Text projectsField = createLabelAndText(table, toolkit, 56 Text versionCodeField = createLabelAndText(table, toolkit, 61 Text keyStoreField = createLabelAndText(table, toolkit, 66 Text keyAliasField = createLabelAndText(table, toolkit,
|
/test/suite_harness/common/host-side/tradefed/res/report/ |
compatibility_result.css | 25 table.title { 33 table.summary { 41 table.summary th { 47 table.summary td { 54 table.testsummary { 61 table.testsummary th { 67 table.testsummary td { 73 table.testdetails { 85 table.testdetails th { 92 table.testdetails td [all...] |
/frameworks/base/tools/aapt2/compile/ |
IdAssigner_test.cpp | 23 ::testing::AssertionResult VerifyIds(ResourceTable* table); 26 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 36 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); 37 ASSERT_TRUE(VerifyIds(table.get())); 41 std::unique_ptr<ResourceTable> table = local 59 ASSERT_TRUE(assigner.Consume(context.get(), table.get())); 60 ASSERT_TRUE(VerifyIds(table.get())); 66 maybe_result = table->FindResource(test::ParseNameOrDie("android:dimen/two")); 71 table->FindResource(test::ParseNameOrDie("android:integer/three")); 79 table->FindResource(test::ParseNameOrDie("android:string/five")) 95 std::unique_ptr<ResourceTable> table = local 110 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseDatabaseHelperUpgradeTest.java | 108 throw new AssertionFailedError("Table " + mName + ": Column missing: " + name); 111 throw new AssertionFailedError("Table " + mName + ": Column " + name + " type:" 115 throw new AssertionFailedError("Table " + mName + ": Column " + name + " notnull:" 120 throw new AssertionFailedError("Table " + mName + ": Column " + name 124 throw new AssertionFailedError("Table " + mName + ": Column " + name 202 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); local 203 table.assertHasColumn("foo", INTEGER, false, null); 207 TableStructure table = new TableStructure(); local 210 table.assertHasColumn("bar", INTEGER, false, null); 218 TableStructure table = createOneColumnTable("foo", INTEGER, false, null) local 229 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); local 240 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); local 251 TableStructure table = createOneColumnTable("foo", INTEGER, false, "baz"); local 256 TableStructure table = createOneColumnTable("foo", INTEGER, false, "bar"); local 267 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); local 278 TableStructure table = createOneColumnTable("foo", INTEGER, false, "baz"); local 290 TableStructure table = new TableStructure(); local [all...] |
/external/freetype/src/gxvalid/ |
gxvjust.c | 5 /* TrueTypeGX/AAT just table validation (body). */ 44 * referred `just' table format specification: 69 /* GX just table does not define their subset of GID */ 78 GXV_TRACE(( "just table includes too large %s" 86 gxv_just_wdp_entry_validate( FT_Bytes table, 90 FT_Bytes p = table; 118 GXV_TRACE(( "just table includes non-zero value" 124 gxvalid->subtable_length = (FT_ULong)( p - table ); 129 gxv_just_wdc_entry_validate( FT_Bytes table, 133 FT_Bytes p = table; [all...] |
gxvmorx.c | 5 /* TrueTypeGX/AAT morx table validation (body). */ 42 gxv_morx_subtables_validate( FT_Bytes table, 47 FT_Bytes p = table; 106 /* TODO: subFeatureFlags should be unique in a table? */ 110 gxvalid->subtable_length = (FT_ULong)( p - table ); 117 gxv_morx_chain_validate( FT_Bytes table, 121 FT_Bytes p = table; 149 gxv_morx_subtables_validate( p, table + chainLength, 161 gxv_morx_validate( FT_Bytes table, 167 FT_Bytes p = table; [all...] |
/system/tools/aidl/tests/ |
test_util.cpp | 71 diff_table_entry table[a_lines.size() + 1][b_lines.size() + 1]; local 86 table[i][j].longest_common_subsequence_length = 0; 87 table[i][j].propagation_directions = directions; 89 table[i][j].longest_common_subsequence_length = 90 table[i-1][j-1].longest_common_subsequence_length + 1; 91 table[i][j].propagation_directions = UP_LEFT; 93 size_t length_up = table[i-1][j].longest_common_subsequence_length; 94 size_t length_left = table[i][j-1].longest_common_subsequence_length; 108 table[i][j].longest_common_subsequence_length = length; 109 table[i][j].propagation_directions = directions [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
HostTableDecorator.java | 6 import autotest.common.table.BooleanFilter; 7 import autotest.common.table.CheckboxFilter; 8 import autotest.common.table.ListFilter; 9 import autotest.common.table.SearchFilter; 10 import autotest.common.table.TableDecorator; 43 public HostTableDecorator(HostTable table, int rowsPerPage) { 44 super(table); 45 table.sortOnColumn("hostname"); /* Case sensitive name */ 46 table.setRowsPerPage(rowsPerPage);
|
/external/icu/icu4c/source/common/ |
locresdata.cpp | 32 * Lookup a resource bundle table item with fallback on the table level. 35 * This function takes the name of a top-level table and of an item in that table 36 * and performs a lookup of both, falling back until a bundle contains a table 52 UResourceBundle *rb=NULL, table, subTable; local 76 ures_initStackObject(&table); 78 ures_getByKeyWithFallback(rb, tableKey, &table, &errorCode); 82 ures_getByKeyWithFallback(&table,subTableKey, &subTable, &errorCode); 90 ures_getByKeyWithFallback(&table,subTableKey, &table, &errorCode) [all...] |
/frameworks/base/tools/aapt2/link/ |
PrivateAttributeMover_test.cpp | 26 std::unique_ptr<ResourceTable> table = local 39 ASSERT_TRUE(mover.Consume(context.get(), table.get())); 41 ResourceTablePackage* package = table->FindPackage("android"); 60 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 66 ASSERT_TRUE(mover.Consume(context.get(), table.get())); 68 ResourceTablePackage* package = table->FindPackage("android"); 81 std::unique_ptr<ResourceTable> table = local 87 ResourceTablePackage* package = table->FindPackage("android"); 93 ASSERT_TRUE(mover.Consume(context.get(), table.get()));
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/ |
fcache.c | 45 Entry **table=Fcache;
local 54 for (p=table; p<&(table[HashTableSize]); p++) {
58 if ( q != NULL && low==0 ) low = p-table;
72 if ( *p != NULL ) hi = p-table;
|
/external/e2fsprogs/lib/ss/ |
list_rqs.c | 28 ss_request_table **table; local 54 for (table = ss_info(sci_idx)->rqt_tables; *table; table++) { 55 entry = (*table)->requests;
|
/external/fec/ |
encode_rs_av.c | 9 /* Lookup table for feedback multiplications 13 static union { vector unsigned char v; unsigned char c[16]; } table[256]; variable in typeref:union:__anon20428 27 table[0].c[j] = 0; 29 table[i].c[16-j-1] = CCSDS_alpha_to[MODNN(CCSDS_poly[j+1] + CCSDS_index_of[i])]; 34 printf("table[%3d] = %3vu\n",i,table[i].v); 51 feedback1 = table[f].v;
|
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableSet.java | 32 @VisibleForTesting final transient Object[] table; field in class:RegularImmutableSet 33 // 'and' with an int to get a valid table index. 38 Object[] elements, int hashCode, Object[] table, int mask) { 40 this.table = table; 50 Object candidate = table[i & mask];
|
/external/libvncserver/libvncserver/ |
tableinitcmtemplate.c | 8 * appropriately sized lookup table and initialises it. 46 rfbInitColourMapSingleTableOUT(char **table, rfbPixelFormat *in, 54 if (*table) free(*table); 55 *table = (char *)malloc(nEntries * sizeof(OUT_T)); 56 t = (OUT_T *)*table;
|
/external/llvm/utils/emacs/ |
llvm-mode.el | 11 (defvar llvm-mode-syntax-table 12 (let ((table (make-syntax-table))) 13 (modify-syntax-entry ?% "_" table) 14 (modify-syntax-entry ?. "_" table) 15 (modify-syntax-entry ?\; "< " table) 16 (modify-syntax-entry ?\n "> " table) 17 table) 18 "Syntax table used while in LLVM mode.")
|
/external/proguard/src/proguard/classfile/attribute/annotation/target/ |
LocalVariableTargetInfo.java | 36 public LocalVariableTargetElement[] table; field in class:LocalVariableTargetInfo 61 LocalVariableTargetElement[] table) 66 this.table = table; 79 localVariableTargetElementVisitor.visitLocalVariableTargetElement(clazz, method, codeAttribute, typeAnnotation, this, table[index]);
|
/external/skia/src/gpu/text/ |
GrDistanceFieldAdjustTable.cpp | 33 // when fed into in the mask gamma table gives us an 'adjusted coverage' value of 0.5. This 63 SkScalar* table = new SkScalar[height]; local 69 table[row] = 0; 71 return table; 92 table[row] = d; 98 return table;
|
/external/skqp/src/gpu/text/ |
GrDistanceFieldAdjustTable.cpp | 33 // when fed into in the mask gamma table gives us an 'adjusted coverage' value of 0.5. This 63 SkScalar* table = new SkScalar[height]; local 69 table[row] = 0; 71 return table; 92 table[row] = d; 98 return table;
|
/external/syslinux/core/ |
dmi.c | 119 * Return a specific data element in a specific table, and verify 120 * that it is within the bounds of the table. 124 const struct dmi_table *table; local 140 table = (const struct dmi_table *)(dmi->tbladdr + offset); 142 if (table->type == 127) /* End of table */ 145 if (table->length < sizeof *table) 148 offset += table->length; 150 if (table->type == type && end <= table->length 169 const struct dmi_table *table; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
isp_isf.c | 25 * are approximated by a look-up table and interpolation * 31 #include "isp_isf.tab" /* Look-up table for transformations */ 41 ind = 127; /* beging at end of table -1 */ 46 ind = 127; /* beging at end of table -1 */ 48 /* find value in table that is just greater than isp[i] */ 49 while (table[ind] < isp[i]) 51 /* acos(isp[i])= ind*128 + ( ( isp[i]-table[ind] ) * slope[ind] )/2048 */ 52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]); 53 isf[i] = vo_round((L_tmp << 4)); /* (isp[i]-table[ind])*slope[ind])>>11 */ 81 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 * [all...] |