Searched defs:entry (Results 1 - 25 of 67) sorted by path

123

/system/bt/device/src/
H A Dinterop.c77 interop_addr_entry_t *entry = osi_calloc(sizeof(interop_addr_entry_t)); local
78 memcpy(&entry->addr, addr, length);
79 entry->feature = feature;
80 entry->length = length;
83 list_append(interop_list, entry);
124 interop_addr_entry_t *entry = (interop_addr_entry_t *)data; local
125 osi_free(entry);
140 interop_addr_entry_t *entry = list_node(node); local
141 assert(entry);
143 if (feature == entry
[all...]
/system/bt/osi/src/
H A Dallocation_tracker.c51 static bool allocation_entry_freed_checker(hash_map_entry_t *entry, void *context);
170 // Free the hash map entry to avoid unlimited memory usage growth.
172 // as the allocation entry will not be present.
184 static bool allocation_entry_freed_checker(hash_map_entry_t *entry, void *context) { argument
185 allocation_t *allocation = (allocation_t *)entry->data;
H A Dconfig.c119 entry_t *entry = list_node(node_entry); local
121 config_set_string(ret, sec->name, entry->key, entry->value);
156 entry_t *entry = entry_find(config, section, key); local
157 if (!entry)
161 int ret = strtol(entry->value, &endptr, 0);
170 entry_t *entry = entry_find(config, section, key); local
171 if (!entry)
174 if (!strcmp(entry->value, "true"))
176 if (!strcmp(entry
187 entry_t *entry = entry_find(config, section, key); local
220 entry_t *entry = list_node(node); local
228 entry_t *entry = entry_new(key, value); local
249 entry_t *entry = entry_find(config, section, key); local
329 const entry_t *entry = (const entry_t *)list_node(enode); local
477 entry_t *entry = osi_calloc(sizeof(entry_t)); local
500 entry_t *entry = list_node(node); local
[all...]
H A Dhash_map_utils.c32 static bool dump_entry(hash_map_entry_t *entry, UNUSED_ATTR void *context);
99 static bool dump_entry(hash_map_entry_t *entry, UNUSED_ATTR void *context) { argument
100 hash_map_entry_t *hash_map_entry = (hash_map_entry_t *)entry;
/system/bt/service/
H A Dgatt_server.cpp96 AttributeEntry entry(
102 pending_decl_->attributes.push_back(entry);
127 AttributeEntry entry(*char_id, properties, permissions);
131 pending_decl_->attributes.push_back(entry);
157 AttributeEntry entry(*desc_id, kCharacteristicPropertyNone, permissions);
161 pending_decl_->attributes.push_back(entry);
187 // There has to be at least one entry here for the service declaration
240 for (const auto& entry : pending_decl_->attributes) {
241 const GattIdentifier& gatt_id = entry.id;
262 // entry
948 auto entry = PopNextEntry(); local
[all...]
/system/bt/stack/smp/
H A Dsmp_br_main.c323 ** Description Handle events to the state machine. It looks up the entry
325 ** If it is a valid entry, it gets the state table.Set the next state,
337 UINT8 action, entry; local
353 /* lookup entry / w event & curr_state */
354 /* If entry is ignore, return.
356 if ((event <= SMP_BR_MAX_EVT) && ( (entry = entry_table[event - 1][curr_state])
359 if (entry & SMP_BR_ALL_TABLE_MASK)
361 entry &= ~SMP_BR_ALL_TABLE_MASK;
379 smp_set_br_state(state_table[entry - 1][SMP_BR_SME_NEXT_STATE]);
387 if ((action = state_table[entry
[all...]
H A Dsmp_main.c757 ** Description Handle events to the state machine. It looks up the entry
759 ** If it is a valid entry, it gets the state table.Set the next state,
772 UINT8 action, entry, i; local
787 /* lookup entry /w event & curr_state */
788 /* If entry is ignore, return.
790 if ((event <= SMP_MAX_EVT) && ( (entry = entry_table[event - 1][curr_state]) != SMP_SM_IGNORE ))
792 if (entry & SMP_ALL_TBL_MASK)
794 entry &= ~SMP_ALL_TBL_MASK;
810 smp_set_state(state_table[entry-1][SMP_SME_NEXT_STATE]);
819 if ((action = state_table[entry
[all...]
/system/connectivity/shill/
H A Dconnection.cc425 RoutingTableEntry entry) {
426 // The variable entry is locally modified, hence is passed by value in the
430 if (!entry.dst.SetAddressAndPrefixFromString(*excluded_ip) ||
431 !entry.dst.IsValid() ||
432 !routing_table_->AddRoute(interface_index, entry)) {
539 RoutingTableEntry entry(gateway_with_max_prefix,
548 if (!routing_table_->AddRoute(interface_index_, entry)) {
602 const RoutingTableEntry& entry) {
604 << entry.tag << ")" << " @ " << interface_name_;
623 PinPendingRoutes(interface_index, entry);
424 PinPendingRoutes(int interface_index, RoutingTableEntry entry) argument
601 OnRouteQueryResponse(int interface_index, const RoutingTableEntry& entry) argument
[all...]
H A Dconnection_diagnostics.cc125 "No ARP entry for the gateway. Either the gateway does not exist on the "
128 "No ARP entry for the web server. Either the web server does not exist on "
133 "No neighbor table entry for the gateway. Either the gateway does not "
136 "No neighbor table entry for the web server. Either the web server does "
139 "Neighbor table entry for the gateway is not in a connected state. Either "
143 "Neighbor table entry for the web server is not in a connected state. "
438 RoutingTableEntry entry; local
481 StringPrintf("Finding ARP table entry for %s",
487 StringPrintf("Found ARP table entry for %s",
496 StringPrintf("Could not find ARP table entry fo
842 OnRouteQueryResponse( int interface_index, const RoutingTableEntry& entry) argument
[all...]
H A Drouting_table.cc98 const RoutingTableEntry& entry) {
100 << "destination " << entry.dst.ToString()
102 << " gateway " << entry.gateway.ToString()
103 << " metric " << entry.metric;
105 CHECK(!entry.from_rtnl);
107 entry,
112 tables_[interface_index].push_back(entry);
118 RoutingTableEntry* entry) {
122 *entry = *found_entry;
129 RoutingTableEntry** entry) {
97 AddRoute(int interface_index, const RoutingTableEntry& entry) argument
116 GetDefaultRoute(int interface_index, IPAddress::Family family, RoutingTableEntry* entry) argument
127 GetDefaultRouteInternal(int interface_index, IPAddress::Family family, RoutingTableEntry** entry) argument
276 RoutingTableEntry* entry; local
291 ParseRoutingTableMessage(const RTNLMessage& message, int* interface_index, RoutingTableEntry* entry) argument
346 RoutingTableEntry entry; local
427 ApplyRoute(uint32_t interface_index, const RoutingTableEntry& entry, RTNLMessage::Mode mode, unsigned int flags) argument
476 ReplaceMetric(uint32_t interface_index, RoutingTableEntry* entry, uint32_t metric) argument
[all...]
H A Drouting_table_unittest.cc90 const RoutingTableEntry& entry);
94 const RoutingTableEntry& entry,
134 void(int interface_index, const RoutingTableEntry& entry));
136 void UnreachedTarget(int interface_index, const RoutingTableEntry& entry) { argument
203 MATCHER_P4(IsRoutingPacket, mode, index, entry, flags, "") {
211 arg->family() == entry.gateway.family() &&
214 entry.table == RoutingTableTest::kTestTableId &&
216 status.scope == entry.scope &&
221 status.dst_prefix).Equals(entry.dst) &&
222 ((!arg->HasAttribute(RTA_SRC) && entry
237 SendRouteEntry(RTNLMessage::Mode mode, uint32_t interface_index, const RoutingTableEntry& entry) argument
243 SendRouteEntryWithSeqAndProto( RTNLMessage::Mode mode, uint32_t interface_index, const RoutingTableEntry& entry, uint32_t seq, unsigned char proto) argument
[all...]
/system/connectivity/shill/shims/
H A Dset_apn_helper.c39 DBusMessageIter entry; local
42 NULL, &entry);
44 dbus_message_iter_append_basic(&entry, DBUS_TYPE_STRING, &key);
46 dbus_message_iter_append_basic(&entry, DBUS_TYPE_STRING, &value);
48 dbus_message_iter_close_container(dict, &entry);
/system/core/bootstat/
H A Dboot_event_record_store.cpp146 struct dirent* entry; local
147 while ((entry = readdir(dir.get())) != NULL) {
149 if (entry->d_type != DT_REG) {
153 const std::string event = entry->d_name;
H A Dboot_event_record_store_test.cpp82 struct dirent* entry; local
83 while ((entry = readdir(dir.get())) != NULL) {
84 const std::string entry_name(entry->d_name);
90 if (entry->d_type == DT_DIR) {
/system/core/debuggerd/
H A Dtombstone.cpp507 struct logger_entry* entry; local
530 entry = &log_entry.entry_v1;
543 unsigned hdr_size = log_entry.entry.hdr_size;
550 time_t sec = static_cast<time_t>(entry->sec);
562 android_log_processBinaryLogBuffer(entry, &e, g_eventTagMap, buf, sizeof(buf));
564 timeBuf, entry->nsec / 1000000, entry->pid, entry->tid,
591 timeBuf, entry->nsec / 1000000, entry
[all...]
/system/core/healthd/
H A DBatteryMonitor.cpp495 struct dirent* entry; local
497 while ((entry = readdir(dir))) {
498 const char* name = entry->d_name;
/system/core/include/log/
H A Dlogger.h37 char msg[0]; /* the entry's payload */
53 char msg[0]; /* the entry's payload */
64 char msg[0]; /* the entry's payload */
76 char msg[0]; /* the entry's payload */
80 * The maximum size of the log entry payload that can be
82 * this amount will result in a truncated log entry.
87 * The maximum size of a log entry which can be read from the
98 struct logger_entry_v4 entry; member in union:log_msg::__anon1536
108 return (entry.sec == T.entry
[all...]
/system/core/include/utils/
H A DLruCache.h71 size_t operator() (const Entry* entry) const {
72 return hash_type(entry->key);
84 void attachToCache(Entry& entry);
85 void detachFromCache(Entry& entry);
174 Entry *entry = *find_result; local
175 detachFromCache(*entry);
176 attachToCache(*entry);
177 return entry->value;
202 Entry* entry = *find_result; local
203 mSet->erase(entry);
245 attachToCache(Entry& entry) argument
256 detachFromCache(Entry& entry) argument
[all...]
/system/core/init/
H A Dbootchart.cpp119 struct dirent* entry; local
120 while ((entry = readdir(dir.get())) != NULL) {
123 int pid = strtol(entry->d_name, &end, 10);
124 if (end != NULL && end > entry->d_name && *end == 0) {
H A Dbuiltins.cpp150 static void unmount_and_fsck(const struct mntent *entry) { argument
151 if (strcmp(entry->mnt_type, "f2fs") && strcmp(entry->mnt_type, "ext4"))
155 * all processes that open a file or directory in |entry->mnt_dir| exit.
157 TEMP_FAILURE_RETRY(umount2(entry->mnt_dir, MNT_DETACH));
163 * |entry->mnt_dir| rather than killing all, probably by reusing a function
169 * because |entry->mnt_dir| is no longer visible to such new processes.
188 int fd = TEMP_FAILURE_RETRY(open(entry->mnt_fsname, O_RDONLY | O_EXCL));
190 /* |entry->mnt_dir| has sucessfully been unmounted. */
194 /* Some processes using |entry
[all...]
H A Dinit.cpp103 /* The last environment entry is reserved to terminate the list */
106 /* Delete any existing entry for this key */
115 /* Add entry if a free slot is available */
117 char* entry; local
118 asprintf(&entry, "%s=%s", key, val);
119 ENV[n] = entry;
H A Dproperty_service.cpp410 struct dirent* entry; local
411 while ((entry = readdir(dir.get())) != NULL) {
412 if (strncmp("persist.", entry->d_name, strlen("persist."))) {
415 if (entry->d_type != DT_REG) {
420 int fd = openat(dirfd(dir.get()), entry->d_name, O_RDONLY | O_NOFOLLOW);
423 entry->d_name, strerror(errno));
429 ERROR("fstat on property file \"%s\" failed: %s\n", entry->d_name, strerror(errno));
439 entry->d_name, (unsigned int)sb.st_uid, (unsigned int)sb.st_gid,
449 property_set(entry->d_name, value);
452 entry
[all...]
/system/core/libbacktrace/
H A DBacktraceCurrent.cpp103 ThreadEntry* entry = ThreadEntry::Get(getpid(), gettid(), false); local
104 if (!entry) {
105 BACK_LOGE("pid %d, tid %d entry not found", getpid(), gettid());
109 entry->CopyUcontextFromSigcontext(sigcontext);
112 entry->Wake();
118 if (entry->Wait(2)) {
119 // Do not remove the entry here because that can result in a deadlock
121 entry->Wake();
123 // At this point, it is possible that entry has been freed, so just exit.
133 ThreadEntry* entry local
[all...]
H A DThreadEntry.cpp51 ThreadEntry* entry = list_; local
52 while (entry != nullptr) {
53 if (entry->Match(pid, tid)) {
56 entry = entry->next_;
59 if (!entry) {
61 entry = new ThreadEntry(pid, tid);
64 entry->ref_count_++;
68 return entry;
71 void ThreadEntry::Remove(ThreadEntry* entry) { argument
[all...]
H A Dbacktrace_test.cpp419 struct dirent* entry; local
420 while ((entry = readdir(tasks_dir)) != nullptr) {
422 pid_t tid = strtoul(entry->d_name, &end, 10);

Completed in 486 milliseconds

123