Searched defs:table (Results 1 - 15 of 15) sorted by relevance

/system/extras/verity/
H A Dverity_verifier.cpp53 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);
52 verify_table(const char* key_path, const uint8_t* signature, size_t signature_size, const char* table, uint32_t table_length) argument
/system/netd/server/
H A DControllers.cpp90 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, argument
92 std::string command = android::base::StringPrintf("*%s\n", table);
108 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL);
H A DIptablesBaseTest.cpp115 const std::string& table,
118 std::string fullCmd = StringPrintf("-t %s %s", table.c_str(), command.c_str());
114 fakeExecIptablesRestoreCommand(IptablesTarget target, const std::string& table, const std::string& command, std::string *output) argument
H A DNetdConstants.cpp132 int execIptablesRestoreCommand(IptablesTarget target, const std::string& table, argument
134 std::string fullCmd = android::base::StringPrintf("*%s\n%s\nCOMMIT\n", table.c_str(),
H A DRouteController.cpp159 void addTableName(uint32_t table, const std::string& name, std::string* contents) { argument
161 snprintf(tableString, sizeof(tableString), "%u", table);
207 // + If |table| is non-zero, the rule points at the specified routing table. Otherwise, the table is
208 // unspecified. An unspecified table is not allowed when creating an FR_ACT_TO_TBL rule.
218 uint32_t table, uint32_t fwmark, uint32_t mask, const char* iif,
249 // Note that here we're implicitly setting rule.table to 0. When we want to specify a
250 // non-zero table, we do this via the FRATTR_TABLE attribute.
253 // Don't ever create a rule that looks up table
217 modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, uint32_t table, uint32_t fwmark, uint32_t mask, const char* iif, const char* oif, uid_t uidStart, uid_t uidEnd) argument
303 modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, uint32_t fwmark, uint32_t mask, const char* iif, const char* oif, uid_t uidStart, uid_t uidEnd) argument
310 modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, uint32_t fwmark, uint32_t mask) argument
318 modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination, const char* nexthop) argument
450 modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, bool secure, bool add) argument
478 modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, bool add) argument
502 modifyExplicitNetworkRule(unsigned netId, uint32_t table, Permission permission, uid_t uidStart, uid_t uidEnd, bool add) argument
525 modifyOutputInterfaceRules(const char* interface, uint32_t table, Permission permission, uid_t uidStart, uid_t uidEnd, bool add) argument
553 modifyImplicitNetworkRule(unsigned netId, uint32_t table, Permission permission, bool add) argument
579 uint32_t table = getRouteTableForInterface(physicalInterface); local
645 uint32_t table = getRouteTableForInterface(interface); local
711 uint32_t table = getRouteTableForInterface(interface); local
751 uint32_t table = getRouteTableForInterface(interface); local
789 uint32_t table = getRouteTableForInterface(interface); local
809 uint32_t table = getRouteTableForInterface(outputInterface); local
823 uint32_t table; local
885 flushRoutes(uint32_t table) argument
895 uint32_t table = getRouteTableForInterface(interface); local
[all...]
/system/security/keystore/tests/
H A Dauth_token_table_test.cpp66 AuthTokenTable table; local
99 AuthTokenTable table; local
101 table.AddAuthenticationToken(make_token(1, 2));
102 table.AddAuthenticationToken(make_token(3, 4));
103 EXPECT_EQ(2U, table.size());
107 ASSERT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(1), KM_PURPOSE_SIGN, 0, &found));
111 ASSERT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(2), KM_PURPOSE_SIGN, 0, &found));
115 ASSERT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(3), KM_PURPOSE_SIGN, 0, &found));
119 ASSERT_EQ(AuthTokenTable::OK, table.FindAuthorization(make_set(4), KM_PURPOSE_SIGN, 0, &found));
124 table
224 AuthTokenTable table; local
234 AuthTokenTable table; local
251 AuthTokenTable table; local
261 AuthTokenTable table; local
298 AuthTokenTable table; local
304 AuthTokenTable table; local
[all...]
/system/extras/ioshark/
H A Dioshark_bench_mmap.c53 struct mmap_io_ent_tab_s table[MMAP_ENTS + 1]; member in struct:mmap_io_ent_s
69 mio->table[mio->num_entries].offset = offset;
70 mio->table[mio->num_entries].len =
72 total_len -= mio->table[mio->num_entries].len;
73 offset += mio->table[mio->num_entries].len;
91 if (mio->table[i].len > 0)
97 iolength = MIN(mio->table[i].len, iolength);
98 *offset = mio->table[i].offset;
99 mio->table[i].offset += iolength;
100 mio->table[
[all...]
/system/tools/aidl/tests/
H A Dtest_util.cpp71 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[
[all...]
/system/extras/libfec/
H A Dfec_private.h79 char *table; member in struct:verity_info
/system/extras/libfec/include/fec/
H A Dio.h76 const char *table; member in struct:fec_verity_metadata
/system/core/fs_mgr/
H A Dfs_mgr_verity.cpp116 const char *table, uint32_t table_length)
122 // Hash the table
123 SHA256((uint8_t*)table, table_length, hash_buf);
135 LERROR << "Couldn't verify table";
149 verity.table, verity.table_length) == 0 ||
151 verity.table, verity.table_length) == 0) {
158 static int invalidate_table(char *table, size_t table_length) argument
165 if (table[n++] == ' ') {
173 while (n < table_length && table[n] != ' ') {
174 table[
115 verify_table(const uint8_t *signature, size_t signature_size, const char *table, uint32_t table_length) argument
186 char *table; member in struct:verity_table_params
692 update_verity_table_blk_device(char *blk_device, char **table) argument
[all...]
/system/update_engine/payload_generator/
H A Dinplace_generator.cc238 const vector<vector<Vertex::Index>::size_type>& table)
239 : table_(table) {}
252 vector<vector<Vertex::Index>::size_type> table(op_indexes.size());
256 if (table.size() < (node + 1)) {
257 table.resize(node + 1);
259 table[node] = i;
261 reverse_op_indexes->swap(table);
267 // first, make a reverse lookup table.
268 vector<vector<Vertex::Index>::size_type> table; local
269 GenerateReverseTopoOrderMap(op_indexes, &table);
237 SortCutsByTopoOrderLess( const vector<vector<Vertex::Index>::size_type>& table) argument
[all...]
/system/vold/
H A DDisk.cpp296 // Parse partition table
312 Table table = Table::kUnknown; local
322 table = Table::kMbr;
324 table = Table::kGpt;
336 if (table == Table::kMbr) {
347 } else if (table == Table::kGpt) {
361 if (table == Table::kUnknown || !foundParts) {
362 LOG(WARNING) << mId << " has unknown partition table; trying entire device";
392 // First nuke any existing partition table
456 // First nuke any existing partition table
[all...]
/system/chre/external/flatbuffers/include/flatbuffers/
H A Dflatbuffers.h419 // "val" points to the new table/string, as you can obtain from
471 auto table = IndirectHelper<T>::Read(data, 0);
475 return -table->KeyCompareWithValue(*key);
656 // Converts a Field ID to a virtual table offset.
777 // FlatBufferBuilder::Finish with your root table.
880 // during the construction of its parent table (between the MyTableBuilder
881 // and table.Finish().
899 // table, comparing it against existing vtables, and writing the
915 // Write the offsets into the table
957 // This checks a required field has been set in a given table tha
1494 VerifyTable(const T *table) argument
1785 auto table = reinterpret_cast<const Table *>(root); local
1849 IsFieldPresent(const T *table, voffset_t field) argument
[all...]
/system/chre/host/common/include/chre_host/
H A Dhost_messages_generated.h110 flatbuffers::NativeTable *table; member in struct:chre::fbs::ChreMessage::ChreMessageUnion
112 ChreMessageUnion() : type(ChreMessage::NONE), table(nullptr) {}
114 type(std::move(u.type)), table(std::move(u.table)) {}
126 table = new T(std::forward<T>(value));
135 reinterpret_cast<NanoappMessageT *>(table) : nullptr;
139 reinterpret_cast<HubInfoRequestT *>(table) : nullptr;
143 reinterpret_cast<HubInfoResponseT *>(table) : nullptr;
147 reinterpret_cast<NanoappListRequestT *>(table) : nullptr;
151 reinterpret_cast<NanoappListResponseT *>(table)
[all...]

Completed in 1537 milliseconds