/external/perfetto/src/ftrace_reader/ |
cpu_reader.cc | 56 const std::vector<bool> BuildEnabledVector(const ProtoTranslationTable& table, 58 std::vector<bool> enabled(table.largest_id() + 1); 60 const Event* event = table.GetEventByName(name); 101 EventFilter::EventFilter(const ProtoTranslationTable& table, 103 : enabled_ids_(BuildEnabledVector(table, names)), 107 CpuReader::CpuReader(const ProtoTranslationTable* table, 111 : table_(table), cpu_(cpu), trace_fd_(std::move(fd)) { 278 const ProtoTranslationTable* table, 384 if (!ParseEvent(ftrace_event_id, start, next, table, event, metadata)) 401 const ProtoTranslationTable* table, [all...] |
/external/selinux/libselinux/src/ |
compute_create.c | 36 static const char *table = "0123456789ABCDEF"; local 43 buffer[offset++] = table[h]; 44 buffer[offset++] = table[l];
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
subsetter.cc | 30 // TODO(arthurhsu): IMPLEMENT: CMap table subsetter 86 Table* table = font_->GetTable(*tag); local 87 if (table) { 88 font_builder->NewTableBuilder(*tag, table->ReadFontData());
|
/external/skia/src/core/ |
SkGammas.h | 27 // Contains information for a gamma table. 28 struct Table { 32 const float* table(const SkGammas* base) const { function in struct:SkGammas::Table 44 Table fTable; 95 const float* table(int i) const { function in struct:SkGammas 97 return this->data(i).fTable.table(this);
|
SkMaskGamma.cpp | 75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, 97 table[i] = SkToU8(sk_float_round2int(255.0f * srca)); 105 // When this happens the table[255] == 0x0 instead of 0xff. 121 table[i] = SkToU8(sk_float_round2int(255.0f * result));
|
/external/skia/tests/ |
DataRefTest.cpp | 30 static void test_datatable_is_empty(skiatest::Reporter* reporter, SkDataTable* table) { 31 REPORTER_ASSERT(reporter, table->isEmpty()); 32 REPORTER_ASSERT(reporter, 0 == table->count()); 74 sk_sp<SkDataTable> table(SkDataTable::MakeCopyArrays((const void*const*)str, sizes, count)); 76 REPORTER_ASSERT(reporter, table->count() == count); 79 REPORTER_ASSERT(reporter, table->atSize(i) == sizes[i]); 80 REPORTER_ASSERT(reporter, !strcmp(table->atT<const char>(i, &size), 84 const char* s = table->atStr(i); 95 sk_sp<SkDataTable> table( 98 REPORTER_ASSERT(reporter, table->count() == count) [all...] |
/external/skqp/src/core/ |
SkGammas.h | 27 // Contains information for a gamma table. 28 struct Table { 32 const float* table(const SkGammas* base) const { function in struct:SkGammas::Table 44 Table fTable; 95 const float* table(int i) const { function in struct:SkGammas 97 return this->data(i).fTable.table(this);
|
SkMaskGamma.cpp | 75 void SkTMaskGamma_build_correcting_lut(uint8_t table[256], U8CPU srcI, SkScalar contrast, 97 table[i] = SkToU8(sk_float_round2int(255.0f * srca)); 105 // When this happens the table[255] == 0x0 instead of 0xff. 121 table[i] = SkToU8(sk_float_round2int(255.0f * result));
|
/external/skqp/tests/ |
DataRefTest.cpp | 30 static void test_datatable_is_empty(skiatest::Reporter* reporter, SkDataTable* table) { 31 REPORTER_ASSERT(reporter, table->isEmpty()); 32 REPORTER_ASSERT(reporter, 0 == table->count()); 74 sk_sp<SkDataTable> table(SkDataTable::MakeCopyArrays((const void*const*)str, sizes, count)); 76 REPORTER_ASSERT(reporter, table->count() == count); 79 REPORTER_ASSERT(reporter, table->atSize(i) == sizes[i]); 80 REPORTER_ASSERT(reporter, !strcmp(table->atT<const char>(i, &size), 84 const char* s = table->atStr(i); 95 sk_sp<SkDataTable> table( 98 REPORTER_ASSERT(reporter, table->count() == count) [all...] |
/external/tcpdump/ |
addrtoname.c | 765 register struct hnamemem *table; local 773 table = &tporttable[i]; 775 table = &uporttable[i]; 779 while (table->name) 780 table = table->nxt; 783 table->name = strdup(buf); 785 table->name = strdup(sv->s_name); 786 if (table->name == NULL) 789 table->addr = port 826 register struct hnamemem *table; local 1178 register struct hnamemem *table; local [all...] |
/external/tensorflow/tensorflow/python/training/ |
saver_test_utils.py | 78 def __init__(self, table, name): 79 tensors = table._export() 86 super(CheckpointedOp.CustomSaveable, self).__init__(table, specs, name)
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
ProcrankParser.cpp | 36 Table table(ProcrankProto::Process::_FIELD_NAMES, ProcrankProto::Process::_FIELD_IDS, ProcrankProto::Process::_FIELD_COUNT); 71 if (!table.insertField(&proto, header[i], record[i])) { 85 table.insertField(&proto, header[header.size() - i].c_str(), record[record.size() - i].c_str());
|
/frameworks/base/tools/aapt2/link/ |
AutoVersioner.cpp | 70 bool AutoVersioner::Consume(IAaptContext* context, ResourceTable* table) { 71 for (auto& package : table->packages) { 127 std::unique_ptr<Style> new_style(style->Clone(&table->string_pool));
|
TableMerger.cpp | 40 bool TableMerger::Merge(const Source& src, ResourceTable* table, bool overlay) { 43 return MergeImpl(src, table, overlay, options_.auto_add_overlay || !overlay /*allow_new*/); 47 bool TableMerger::MergeImpl(const Source& src, ResourceTable* table, bool overlay, bool allow_new) { 49 for (auto& package : table->packages) { 59 error |= !DoMerge(src, table, package.get(), false /*mangle*/, overlay, allow_new); 68 ResourceTable* table) { 70 for (auto& package : table->packages) { 79 error |= !DoMerge(src, table, package.get(), mangle, false /*overlay*/, true /*allow_new*/); 301 ResourceTable table; local 304 util::make_unique<FileReference>(table.string_pool.MakeRef(path)) [all...] |
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/ |
SupportSQLiteDatabase.java | 315 * @param table the table to insert the row into 326 long insert(String table, int conflictAlgorithm, ContentValues values) throws SQLException; 331 * @param table the table to delete from 341 int delete(String table, String whereClause, Object[] whereArgs); 346 * @param table the table to update in 360 int update(String table, int conflictAlgorithm,
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
LevenshteinSuggestionFormatter.java | 83 final LevenshteinDistance table = new LevenshteinDistance(source, target); local 84 table.calculate(); 87 LevenshteinDistance.EditOperation[] ops = table.getTargetOperations();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
ExportLinksPart.java | 47 final Composite table = createTableLayout(toolkit, 2 /* numColumns */); local 70 mFormText = createFormText(table, toolkit, true, buf.toString(), 94 MessageBox mb = new MessageBox(table.getShell(), SWT.OK);
|
/system/extras/verity/ |
verity_verifier.cpp | 53 const char* table, uint32_t table_length) { 54 // Hash the table 56 SHA256(const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(table)), table_length, hash_buf); 67 fprintf(stderr, "Couldn't verify table\n"); 115 verity.table, verity.table_length);
|
/test/vts/utils/app_engine/ |
bigtable_client.py | 24 """Defines the big table client that connects to the big table. 33 _table_name: A string that represents the big table. 34 _table_instance: An instance of the Table that represents the big table. 37 def __init__(self, table, project_id): 43 self._table_name = table 56 self._table_instance = self._client_instance.table(self._table_name) 65 """Creates a table in which read/write operations are performed. 68 AbortionError: Error occurred when creating table is not successful [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ArrayTable.java | 40 * Fixed-size {@link Table} implementation backed by a two-dimensional array. 42 * <p>The allowed row and column keys must be supplied when the table is 43 * created. The table always contains a mapping for every row key / column pair. 47 * <p>The table's size is constant: the product of the number of supplied row 49 * clear} methods are not supported by the table or its views. The {@link 52 * <p>The ordering of the row and column keys provided when the table is 54 * table's views. None of the view iterators support {@link Iterator#remove}. 55 * If the table is modified after an iterator is created, the iterator remains 59 * TreeBasedTable} implementations, except when the table is sparse. 73 * visible, synchronize access to the table. Unlike other {@code Table [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ArrayTable.java | 38 * Fixed-size {@link Table} implementation backed by a two-dimensional array. 40 * <p>The allowed row and column keys must be supplied when the table is 41 * created. The table always contains a mapping for every row key / column pair. 45 * <p>The table's size is constant: the product of the number of supplied row 47 * clear} methods are not supported by the table or its views. The {@link 50 * <p>The ordering of the row and column keys provided when the table is 52 * table's views. None of the view iterators support {@link Iterator#remove}. 53 * If the table is modified after an iterator is created, the iterator remains 57 * TreeBasedTable} implementations, except when the table is sparse. 71 * visible, synchronize access to the table. Unlike other {@code Table [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
GsmAlphabet.java | 47 * following character should be looked up in the "extended" table. 61 * Using a non-default language locking shift table OR single shift table 67 * Using a non-default language locking shift table AND single shift table 110 * The GSM national language table to use, or 0 for the default 7-bit alphabet. 115 * The GSM national language shift table to use, or 0 for the default 7-bit extension table. 133 * Converts a char to a GSM 7 bit table index. 135 * GSM_EXTENDED_ESCAPE if this character is in the extended table [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharMatcher.java | 367 @Override protected void setBits(LookupTable table) { 398 @Override protected void setBits(LookupTable table) { 399 table.set(match); 448 @Override protected void setBits(LookupTable table) { 449 table.set(match1); 450 table.set(match2); 465 @Override protected void setBits(LookupTable table) { 467 table.set(c); 495 @Override protected void setBits(LookupTable table) { 498 table.set(c) [all...] |
/external/libxml2/ |
entities.c | 205 * xmlAddEntity : register a new entity for an entities table. 212 xmlEntitiesTablePtr table = NULL; local 228 table = dtd->entities; 234 table = dtd->pentities; 239 if (table == NULL) 246 if (xmlHashAddEntry(table, name, ret)) { 430 * @table: an entity table 434 * Do an entity lookup in the table. 440 xmlGetEntityFromTable(xmlEntitiesTablePtr table, const xmlChar *name) 456 xmlEntitiesTablePtr table; local 487 xmlEntitiesTablePtr table; local 512 xmlEntitiesTablePtr table; local [all...] |
/prebuilts/go/darwin-x86/src/strings/ |
replace.go | 109 // * if table is non-zero, it defines all the children. 112 // root node always uses a table for lookup efficiency. 116 // Node n5 has no children and so has zero prefix, next and table fields. 120 // table is a lookup table indexed by the next byte in the key, after 124 // genericReplacer.tableSize will be 5. Node n0's table will be 127 table []*trieNode 150 // First byte differs, start a new lookup table here. Looking up 163 t.table = make([]*trieNode, r.tableSize) 164 t.table[r.mapping[t.prefix[0]]] = prefixNod [all...] |