/external/libexif/libexif/canon/ |
mnote-canon-tag.c | 33 } table[] = { variable in typeref:struct:__anon23133 134 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) 135 if (table[i].tag == t) return table[i].name; /* do not translate */ 164 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) 165 if (table[i].tag == t) return (_(table[i].title)); 193 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++ [all...] |
/external/libexif/libexif/pentax/ |
mnote-pentax-tag.c | 33 } table[] = { variable in typeref:struct:__anon23166 146 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) 147 if (table[i].tag == t) return (table[i].name); 157 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++) 158 if (table[i].tag == t) return (_(table[i].title)); 167 for (i = 0; i < sizeof (table) / sizeof (table[0]); i++ [all...] |
/external/libvncserver/libvncserver/ |
tableinittctemplate.c | 9 * table, the other is for truecolour translation using three separate 50 rfbInitOneRGBTableOUT (OUT_T *table, int inMax, int outMax, int outShift, 55 * rfbInitTrueColourSingleTable sets up a single lookup table for truecolour 60 rfbInitTrueColourSingleTableOUT (char **table, rfbPixelFormat *in, 68 if (*table) free(*table); 69 *table = (char *)malloc(nEntries * sizeof(OUT_T)); 70 t = (OUT_T *)*table; 99 rfbInitTrueColourRGBTablesOUT (char **table, rfbPixelFormat *in, 106 if (*table) free(*table) [all...] |
/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 21 SkTableMaskFilter::SkTableMaskFilter(const uint8_t table[256]) { 22 memcpy(fTable, table, sizeof(fTable)); 43 const uint8_t* table = fTable; local 49 dstP[x] = table[srcP[x]]; 78 uint8_t table[256]; local 79 if (!buffer.readByteArray(table, 256)) { 82 return sk_sp<SkFlattenable>(Create(table)); 87 void SkTableMaskFilter::MakeGammaTable(uint8_t table[256], SkScalar gamma) { 94 table[i] = SkTPin(sk_float_round2int(powf(x, g) * 255), 0, 255); 99 void SkTableMaskFilter::MakeClipTable(uint8_t table[256], uint8_t min [all...] |
/external/iproute2/netem/ |
maketable.c | 2 * Experimental data distribution table generator 7 * From this, create the inverse distribution table used to approximate 73 /* Create a (normalized) distribution table from a set of observed 74 * values. The table is fixed to run from (as it happens) -4 to +4, 95 int *table; local 99 table = calloc(DISTTABLESIZE, sizeof(int)); 100 if (!table) { 101 perror("table alloc"); 112 ++table[index]; 118 return table; 202 int *table; local [all...] |
/frameworks/base/tools/aapt2/link/ |
ReferenceLinker_test.cpp | 26 std::unique_ptr<ResourceTable> table = local 46 util::make_unique<ResourceTableSymbolSource>(table.get())) 54 ASSERT_TRUE(linker.Consume(context.get(), table.get())); 56 Reference* ref = test::GetValue<Reference>(table.get(), "com.app.test:string/foo"); 61 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/bar"); 66 ref = test::GetValue<Reference>(table.get(), "com.app.test:string/baz"); 73 std::unique_ptr<ResourceTable> table = local 88 // table, because we need access to the string pool. 89 Style* style = test::GetValue<Style>(table.get(), "com.app.test:style/Theme"); 92 util::make_unique<RawString>(table->string_pool.MakeRef("one|two")) 154 std::unique_ptr<ResourceTable> table = local 175 std::unique_ptr<ResourceTable> table = local 200 std::unique_ptr<ResourceTable> table = local 228 std::unique_ptr<ResourceTable> table = local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
toaiff.py | 21 table = {}
variable 25 table['au'] = t
35 table['hcom'] = t
39 table['voc'] = t
43 table['wav'] = t
47 table['8svx'] = t
51 table['sndt'] = t
55 table['sndr'] = t
102 if ftype is None or not ftype in table:
107 sts = table[ftype].copy(fname, temp) [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
ucm.c | 66 ucm_printMapping(UCMTable *table, UCMapping *m, FILE *f) { 67 printMapping(m, UCM_GET_CODE_POINTS(table, m), UCM_GET_BYTES(table, m), f); 71 ucm_printTable(UCMTable *table, FILE *f, UBool byUnicode) { 75 m=table->mappings; 76 length=table->mappingsLength; 79 ucm_printMapping(table, m, f); 82 const int32_t *map=table->reverseMap; 84 ucm_printMapping(table, m+map[i], f); 214 UCMTable *table=(UCMTable *)context local 696 UCMTable *table; local 881 UCMTable *table=(UCMTable *)uprv_malloc(sizeof(UCMTable)); local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
toaiff.py | 21 table = {} variable 25 table['au'] = t 35 table['hcom'] = t 39 table['voc'] = t 43 table['wav'] = t 47 table['8svx'] = t 51 table['sndt'] = t 55 table['sndr'] = t 102 if ftype is None or not ftype in table: 107 sts = table[ftype].copy(fname, temp [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
toaiff.py | 21 table = {} variable 25 table['au'] = t 35 table['hcom'] = t 39 table['voc'] = t 43 table['wav'] = t 47 table['8svx'] = t 51 table['sndt'] = t 55 table['sndr'] = t 102 if ftype is None or not ftype in table: 107 sts = table[ftype].copy(fname, temp [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
toaiff.py | 21 table = {} variable 25 table['au'] = t 35 table['hcom'] = t 39 table['voc'] = t 43 table['wav'] = t 47 table['8svx'] = t 51 table['sndt'] = t 55 table['sndr'] = t 102 if ftype is None or not ftype in table: 107 sts = table[ftype].copy(fname, temp [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
toaiff.py | 21 table = {} variable 25 table['au'] = t 35 table['hcom'] = t 39 table['voc'] = t 43 table['wav'] = t 47 table['8svx'] = t 51 table['sndt'] = t 55 table['sndr'] = t 102 if ftype is None or not ftype in table: 107 sts = table[ftype].copy(fname, temp [all...] |
/external/iptables/etc/ |
xtables.conf | 2 table raw { 7 table mangle { 15 table filter { 21 table nat { 28 table security { 36 table raw { 41 table mangle { 49 table filter { 55 table nat { 62 table security [all...] |
/prebuilts/go/darwin-x86/src/debug/pe/ |
string.go | 22 // StringTable is a COFF string table. 26 // COFF string table is located right after COFF symbol table. 33 return nil, fmt.Errorf("fail to seek to string table: %v", err) 38 return nil, fmt.Errorf("fail to read string table length: %v", err) 40 // string table length includes itself 48 return nil, fmt.Errorf("fail to read string table: %v", err) 55 // String extracts string from COFF string table st at offset start. 57 // start includes 4 bytes of string table length 59 return "", fmt.Errorf("offset %d is before the start of string table", start [all...] |
/prebuilts/go/linux-x86/src/debug/pe/ |
string.go | 22 // StringTable is a COFF string table. 26 // COFF string table is located right after COFF symbol table. 33 return nil, fmt.Errorf("fail to seek to string table: %v", err) 38 return nil, fmt.Errorf("fail to read string table length: %v", err) 40 // string table length includes itself 48 return nil, fmt.Errorf("fail to read string table: %v", err) 55 // String extracts string from COFF string table st at offset start. 57 // start includes 4 bytes of string table length 59 return "", fmt.Errorf("offset %d is before the start of string table", start [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
BcDefaultDigestProvider.java | 44 Map table = new HashMap(); local 46 table.put(OIWObjectIdentifiers.idSHA1, new BcDigestProvider() 53 table.put(NISTObjectIdentifiers.id_sha224, new BcDigestProvider() 60 table.put(NISTObjectIdentifiers.id_sha256, new BcDigestProvider() 67 table.put(NISTObjectIdentifiers.id_sha384, new BcDigestProvider() 74 table.put(NISTObjectIdentifiers.id_sha512, new BcDigestProvider() 82 // table.put(NISTObjectIdentifiers.id_sha3_224, new BcDigestProvider() 89 // table.put(NISTObjectIdentifiers.id_sha3_256, new BcDigestProvider() 96 // table.put(NISTObjectIdentifiers.id_sha3_384, new BcDigestProvider() 103 // table.put(NISTObjectIdentifiers.id_sha3_512, new BcDigestProvider( [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUResourceTableAccess.java | 41 ICUResourceBundle table = bundle.findWithFallback(tableName); local 42 if (table == null) { 45 ICUResourceBundle stable = table; 47 stable = table.findWithFallback(subtableName); 66 result = table.findStringWithFallback(currentName); 74 String fallbackLocale = table.findStringWithFallback("Fallback"); // again, possible exception 83 if (fallbackLocale.equals(table.getULocale().getName())) {
|
/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,
|
/frameworks/base/libs/androidfw/tests/ |
ResTable_test.cpp | 40 ResTable table; local 41 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); 49 ResTable table; local 50 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); 55 table.setParameters(&config); 60 table.identifierForName(name.string(), name.size(), nullptr, 0, nullptr, 0, &flags); 66 table.getResource(resid, &val, false /*mayBeBag*/, 0u /*density*/, &flags, &selected_config), 77 ResTable table; local 78 ASSERT_EQ(NO_ERROR, table.add(contents.data(), contents.size())); 80 EXPECT_TRUE(IsStringEqual(table, basic::R::string::test1, "test1")) 88 ResTable table; local 105 ResTable table; local 129 ResTable table; local 153 ResTable table; local 177 ResTable table; local 198 ResTable table; local 231 ResTable table; local 258 ResTable table; local 372 ResTable table; local 406 ResTable table; local [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...] |