/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/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
flags.py | 55 def _order_flags(table): 56 order = list(table.iteritems()) 65 def _from_text(text, table): 69 flags = flags | table[t.upper()] 72 def _to_text(flags, table, order):
|
/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:__anon19005 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/ltp/testcases/kernel/syscalls/getrandom/ |
getrandom02.c | 81 int table[256]; local 84 memset(table, 0, sizeof(table)); 90 table[index]++; 94 if (max > 0 && table[i] > max)
|
/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/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...] |
log2.c | 34 #include "log2_tab.h" /* Table for Log2() */ 45 * The function Log2(L_x) is approximated by a table and linear 52 * 5- fraction = table[i]<<16 - (table[i] - table[i+1]) * a * 2 78 L_y = L_deposit_h (table[i]); /* table[i] << 16 */ 79 tmp = vo_sub(table[i], table[i + 1]); /* table[i] - table[i+1] * [all...] |
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
RubyMap.java | 106 this.table = new HashMap<IRubyObject, IRubyObject>(); 133 // Table value type is always UINT64: this ensures enough space to store the 159 this.table.put(key, value); 172 if (table.containsKey(key)) 173 return this.table.get(key); 196 if (!typeCompatible(other) || this.table.size() != other.table.size()) 198 for (IRubyObject key : table.keySet()) { 199 if (! other.table.containsKey(key)) 201 if (! other.table.get(key).equals(table.get(key)) 433 private Map<IRubyObject, IRubyObject> table; field in class:RubyMap [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TableLayout9.java | 37 final TableLayout table = (TableLayout) findViewById(R.id.menu); local 42 table.setColumnShrinkable(0, mShrink); 46 mShrink = table.isColumnShrinkable(0);
|
/external/chromium-trace/catapult/devil/devil/android/ |
settings.py | 121 def __init__(self, table, device): 123 self._table = table 200 desired_settings: A list of (table, [(key: value), ...]) for all 203 for table, key_value in desired_settings: 204 settings = ContentSettings(table, device) 207 logger.info('\n%s %s', table, (80 - len(table)) * '-') 222 same value for that column are removed from the table prior to inserting the 236 def get_lock_settings(table): 237 return [(table, 'lockscreen.disabled', '1') [all...] |
/external/iproute2/netem/ |
normal.c | 2 * Normal distribution table generator 29 double table[TABLESIZE+1]; local 33 table[i] = x; 37 printf("# This is the distribution table for the normal distribution.\n"); 39 int value = (int) rint(table[i]*TABLEFACTOR);
|
/external/iptables/iptables/ |
xtables-config-parser.y | 20 #include <libnftnl/table.h> 116 tables : table 117 | tables table 120 table : T_TABLE T_STRING '{' chains '}' label 185 struct nftnl_table *table = NULL; 206 table = nftnl_table_alloc(); 207 if (table == NULL) 210 nftnl_table_set_u32(table, NFTNL_TABLE_FAMILY, family); 211 nftnl_table_set(table, NFTNL_TABLE_NAME, e->data); 217 nftnl_table_list_add(table, table_list) [all...] |
/external/mesa3d/src/glsl/ |
glsl_symbol_table.cpp | 58 this->table = _mesa_symbol_table_ctor(); 64 _mesa_symbol_table_dtor(table); 70 _mesa_symbol_table_push_scope(table); 75 _mesa_symbol_table_pop_scope(table); 80 return _mesa_symbol_table_symbol_scope(table, -1, name) == 0; 104 int added = _mesa_symbol_table_add_symbol(table, -1, v->name, entry); 114 return _mesa_symbol_table_add_symbol(table, -1, v->name, entry) == 0; 120 return _mesa_symbol_table_add_symbol(table, -1, name, entry) == 0; 134 return _mesa_symbol_table_add_symbol(table, -1, f->name, entry) == 0; 140 return _mesa_symbol_table_add_symbol(table, -1, u->Name, entry) == 0 [all...] |
/external/v8/src/js/ |
macros.py | 144 macro ORDERED_HASH_TABLE_BUCKET_COUNT(table) = (FIXED_ARRAY_GET(table, 0)); 145 macro ORDERED_HASH_TABLE_ELEMENT_COUNT(table) = (FIXED_ARRAY_GET(table, 1)); 146 macro ORDERED_HASH_TABLE_SET_ELEMENT_COUNT(table, count) = (FIXED_ARRAY_SET_SMI(table, 1, count)); 147 macro ORDERED_HASH_TABLE_DELETED_COUNT(table) = (FIXED_ARRAY_GET(table, 2)); 148 macro ORDERED_HASH_TABLE_SET_DELETED_COUNT(table, count) = (FIXED_ARRAY_SET_SMI(table, 2, count)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
UiElementPart.java | 37 * This part is designed to be displayed in a page that has a table column layout. 49 /** Table that contains all the attributes */ 138 * Sets the table where the attribute UI needs to be created. 140 protected void setTable(Composite table) { 141 mTable = table; 145 * Returns the table where the attribute UI needs to be created. 152 * Add all the attribute UI widgets into the underlying table layout. 157 Composite table = getTable(); local 158 if (table == null || managedForm == null) { 163 for (Control c : table.getChildren()) [all...] |
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-m68hc11/ |
bug-3331.s | 12 std table ;; This instruction uses a symbol in page0 18 .globl table 19 table: .long 0 label
|