/external/libexif/libexif/canon/ |
mnote-canon-tag.c | 33 } table[] = { variable in typeref:struct:__anon24765 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:__anon24798 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/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/ |
sharded_mutable_dense_hashtable_test.py | 38 table = ShardedMutableDenseHashTable( 44 self.assertAllEqual(0, table.size().eval()) 46 table.insert(keys, values).run() 47 self.assertAllEqual(3, table.size().eval()) 50 output = table.lookup(input_string) 63 table = ShardedMutableDenseHashTable( 69 self.assertAllEqual(0, table.size().eval()) 71 table.insert(keys, values).run() 72 self.assertAllEqual(3, table.size().eval()) 76 output = table.lookup(input_string [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; 204 int *table; local [all...] |
/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 432 ResTable table; local [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/http2/hpack/ |
tables_test.go | 16 table := &headerFieldTable{} 17 table.init() 18 table.addEntry(pair("key1", "value1-1")) 19 table.addEntry(pair("key2", "value2-1")) 20 table.addEntry(pair("key1", "value1-2")) 21 table.addEntry(pair("key3", "value3-1")) 22 table.addEntry(pair("key4", "value4-1")) 23 table.addEntry(pair("key2", "value2-2")) 51 return uint64(table.len()) - i + 1 // dynamic is the reversed table [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/http2/hpack/ |
tables_test.go | 16 table := &headerFieldTable{} 17 table.init() 18 table.addEntry(pair("key1", "value1-1")) 19 table.addEntry(pair("key2", "value2-1")) 20 table.addEntry(pair("key1", "value1-2")) 21 table.addEntry(pair("key3", "value3-1")) 22 table.addEntry(pair("key4", "value4-1")) 23 table.addEntry(pair("key2", "value2-2")) 51 return uint64(table.len()) - i + 1 // dynamic is the reversed table [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.cpp | 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 699 UCMTable *table; local 884 UCMTable *table=(UCMTable *)uprv_malloc(sizeof(UCMTable)); local [all...] |
/external/python/cpython2/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...] |
/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/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
PatternStringUtils.java | 265 // Construct a table of strings to be converted between localized and standard. 266 String[][] table = new String[21][2]; 269 table[0][standIdx] = "%"; 270 table[0][localIdx] = symbols.getPercentString(); 271 table[1][standIdx] = "?"; 272 table[1][localIdx] = symbols.getPerMillString(); 273 table[2][standIdx] = "."; 274 table[2][localIdx] = symbols.getDecimalSeparatorString(); 275 table[3][standIdx] = ","; 276 table[3][localIdx] = symbols.getGroupingSeparatorString() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
PatternStringUtils.java | 263 // Construct a table of strings to be converted between localized and standard. 264 String[][] table = new String[21][2]; 267 table[0][standIdx] = "%"; 268 table[0][localIdx] = symbols.getPercentString(); 269 table[1][standIdx] = "?"; 270 table[1][localIdx] = symbols.getPerMillString(); 271 table[2][standIdx] = "."; 272 table[2][localIdx] = symbols.getDecimalSeparatorString(); 273 table[3][standIdx] = ","; 274 table[3][localIdx] = symbols.getGroupingSeparatorString() [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/libxkbcommon/xkbcommon/src/compose/ |
state.c | 24 #include "table.h" 31 struct xkb_compose_table *table; member in struct:xkb_compose_state 47 xkb_compose_state_new(struct xkb_compose_table *table, 57 state->table = xkb_compose_table_ref(table); 79 xkb_compose_table_unref(state->table); 86 return state->table; 108 node = &darray_item(state->table->nodes, state->context); 111 node = &darray_item(state->table->nodes, context); 115 node = &darray_item(state->table->nodes, context) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
lookup_table_init_op.cc | 39 // Kernel to initialize a look table given a key and value tensors. 40 // After this operation, the table becomes read-only. 48 lookup::InitializableLookupTable* table; variable 50 GetInitializableLookupTable("table_handle", ctx, &table)); 51 core::ScopedUnref unref_me(table); 55 DataTypeVector expected_inputs = {expected_input_0, table->key_dtype(), 56 table->value_dtype()}; 81 memory_used_before = table->MemoryUsed(); 83 OP_REQUIRES_OK(ctx, table->Initialize(iter)); 85 ctx->record_persistent_memory_allocation(table->MemoryUsed() 118 lookup::InitializableLookupTable* table; variable [all...] |
/external/tensorflow/tensorflow/contrib/lookup/ |
lookup_ops_test.py | 48 table = lookup.HashTable( 50 table.init.run() 52 self.assertAllEqual(3, table.size().eval()) 55 output = table.lookup(input_string) 66 table = lookup.HashTable( 68 table.init.run() 70 self.assertAllEqual(3, table.size().eval()) 74 output = table.lookup(input_string) 84 table = lookup.HashTable( 88 table.init.run( [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
BcDefaultDigestProvider.java | 40 Map table = new HashMap(); local 42 table.put(OIWObjectIdentifiers.idSHA1, new BcDigestProvider() 49 table.put(NISTObjectIdentifiers.id_sha224, new BcDigestProvider() 56 table.put(NISTObjectIdentifiers.id_sha256, new BcDigestProvider() 63 table.put(NISTObjectIdentifiers.id_sha384, new BcDigestProvider() 70 table.put(NISTObjectIdentifiers.id_sha512, new BcDigestProvider() 79 table.put(NISTObjectIdentifiers.id_sha3_224, new BcDigestProvider() 86 table.put(NISTObjectIdentifiers.id_sha3_256, new BcDigestProvider() 93 table.put(NISTObjectIdentifiers.id_sha3_384, new BcDigestProvider() 100 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())) {
|