/external/libweave/src/ |
D | backoff_entry_unittest.cc | 38 TestBackoffEntry entry(&base_policy); in TEST() local 39 EXPECT_FALSE(entry.ShouldRejectRequest()); in TEST() 40 EXPECT_EQ(TimeDelta(), entry.GetTimeUntilRelease()); in TEST() 42 entry.InformOfRequest(false); in TEST() 43 EXPECT_TRUE(entry.ShouldRejectRequest()); in TEST() 44 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); in TEST() 57 TestBackoffEntry entry(&base_policy); in TEST() local 59 EXPECT_FALSE(entry.CanDiscard()); in TEST() 62 entry.InformOfRequest(false); in TEST() 63 EXPECT_FALSE(entry.CanDiscard()); in TEST() [all …]
|
/external/libbrillo/brillo/ |
D | backoff_entry_unittest.cc | 40 TestBackoffEntry entry(&base_policy); in TEST() local 41 EXPECT_FALSE(entry.ShouldRejectRequest()); in TEST() 42 EXPECT_EQ(TimeDelta(), entry.GetTimeUntilRelease()); in TEST() 44 entry.InformOfRequest(false); in TEST() 45 EXPECT_TRUE(entry.ShouldRejectRequest()); in TEST() 46 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); in TEST() 59 TestBackoffEntry entry(&base_policy); in TEST() local 61 EXPECT_FALSE(entry.CanDiscard()); in TEST() 64 entry.InformOfRequest(false); in TEST() 65 EXPECT_FALSE(entry.CanDiscard()); in TEST() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | pmksa_cache_auth.c | 31 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx); 39 static void _pmksa_cache_free_entry(struct rsn_pmksa_cache_entry *entry) in _pmksa_cache_free_entry() argument 41 os_free(entry->vlan_desc); in _pmksa_cache_free_entry() 42 os_free(entry->identity); in _pmksa_cache_free_entry() 43 wpabuf_free(entry->cui); in _pmksa_cache_free_entry() 45 radius_free_class(&entry->radius_class); in _pmksa_cache_free_entry() 47 bin_clear_free(entry, sizeof(*entry)); in _pmksa_cache_free_entry() 52 struct rsn_pmksa_cache_entry *entry) in pmksa_cache_free_entry() argument 58 pmksa->free_cb(entry, pmksa->ctx); in pmksa_cache_free_entry() 61 hash = PMKID_HASH(entry->pmkid); in pmksa_cache_free_entry() [all …]
|
/external/elfutils/doc/ |
D | elfutils.sgml | 219 <entry>Data Structure</entry> 220 <entry>Member</entry> 221 <entry>Exception</entry> 226 <entry morerows="8"><type>Elfxx_Ehdr</type></entry> 227 <entry>e_ident[EI_DATA]</entry> 228 <entry>see below</entry> 231 <entry></entry> 232 <entry>e_type</entry> 233 <!-- <entry morerows="1"></entry> --> 234 <entry></entry> [all …]
|
/external/llvm/test/Transforms/CodeExtractor/ |
D | 2004-03-18-InvokeHandling.ll | 8 entry: 95 label.10: ; preds = %entry 98 label.11: ; preds = %entry 101 label.12: ; preds = %entry 104 label.13: ; preds = %entry 107 …entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %en… 110 loopexit.2: ; preds = %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %ent… 177 char_constant: ; preds = %entry 180 string_constant: ; preds = %entry 183 combine: ; preds = %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry,… [all …]
|
/external/libexif/libexif/olympus/ |
D | mnote-olympus-entry.c | 273 mnote_olympus_entry_get_value (MnoteOlympusEntry *entry, char *v, unsigned int maxlen) in mnote_olympus_entry_get_value() argument 284 if (!entry) in mnote_olympus_entry_get_value() 290 if ((!entry->data) && (entry->components > 0)) in mnote_olympus_entry_get_value() 293 if ((!entry->data) && (entry->size > 0)) in mnote_olympus_entry_get_value() 296 switch (entry->tag) { in mnote_olympus_entry_get_value() 300 CF (entry->format, EXIF_FORMAT_UNDEFINED, v, maxlen); in mnote_olympus_entry_get_value() 301 CC (entry->components, 4, v, maxlen); in mnote_olympus_entry_get_value() 302 vl = exif_get_long (entry->data, entry->order); in mnote_olympus_entry_get_value() 304 memcpy (v, entry->data, MIN (maxlen, 4)); in mnote_olympus_entry_get_value() 310 CF (entry->format, EXIF_FORMAT_SHORT, v, maxlen); in mnote_olympus_entry_get_value() [all …]
|
/external/llvm/test/CodeGen/PowerPC/ |
D | 2008-04-10-LiveIntervalCrash.ll | 4 entry: 57 bb153: ; preds = %entry 59 bb235: ; preds = %entry 63 bb289: ; preds = %entry 65 …ds = %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entry, %entr… 67 bb322: ; preds = %entry 69 bb355: ; preds = %entry 71 bb375: ; preds = %entry 73 bb507: ; preds = %entry 75 bb535: ; preds = %entry [all …]
|
/external/libdrm/ |
D | xf86drmSL.c | 74 SLEntryPtr entry; in SLCreateEntry() local 78 entry = drmMalloc(sizeof(*entry) in SLCreateEntry() 79 + (max_level + 1) * sizeof(entry->forward[0])); in SLCreateEntry() 80 if (!entry) return NULL; in SLCreateEntry() 81 entry->magic = SL_ENTRY_MAGIC; in SLCreateEntry() 82 entry->key = key; in SLCreateEntry() 83 entry->value = value; in SLCreateEntry() 84 entry->levels = max_level + 1; in SLCreateEntry() 86 return entry; in SLCreateEntry() 120 SLEntryPtr entry; in drmSLDestroy() local [all …]
|
/external/skia/src/effects/gradients/ |
D | SkGradientBitmapCache.cpp | 46 Entry* entry = fHead; in ~SkGradientBitmapCache() local 47 while (entry) { in ~SkGradientBitmapCache() 48 Entry* next = entry->fNext; in ~SkGradientBitmapCache() 49 delete entry; in ~SkGradientBitmapCache() 50 entry = next; in ~SkGradientBitmapCache() 54 SkGradientBitmapCache::Entry* SkGradientBitmapCache::detach(Entry* entry) const { in detach() 55 if (entry->fPrev) { in detach() 56 SkASSERT(fHead != entry); in detach() 57 entry->fPrev->fNext = entry->fNext; in detach() 59 SkASSERT(fHead == entry); in detach() [all …]
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | cache.c | 70 struct squashfs_cache_entry *entry; in squashfs_cache_get() local 76 if (cache->entry[i].block == block) in squashfs_cache_get() 100 if (cache->entry[i].refcount == 0) in squashfs_cache_get() 106 entry = &cache->entry[i]; in squashfs_cache_get() 113 entry->block = block; in squashfs_cache_get() 114 entry->refcount = 1; in squashfs_cache_get() 115 entry->pending = 1; in squashfs_cache_get() 116 entry->num_waiters = 0; in squashfs_cache_get() 117 entry->error = 0; in squashfs_cache_get() 120 entry->length = squashfs_read_data(sb, entry->data, in squashfs_cache_get() [all …]
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | pmksa_cache.c | 27 void (*free_cb)(struct rsn_pmksa_cache_entry *entry, void *ctx, 36 static void _pmksa_cache_free_entry(struct rsn_pmksa_cache_entry *entry) in _pmksa_cache_free_entry() argument 38 bin_clear_free(entry, sizeof(*entry)); in _pmksa_cache_free_entry() 43 struct rsn_pmksa_cache_entry *entry, in pmksa_cache_free_entry() argument 46 wpa_sm_remove_pmkid(pmksa->sm, entry->aa, entry->pmkid); in pmksa_cache_free_entry() 48 pmksa->free_cb(entry, pmksa->ctx, reason); in pmksa_cache_free_entry() 49 _pmksa_cache_free_entry(entry); in pmksa_cache_free_entry() 60 struct rsn_pmksa_cache_entry *entry = pmksa->pmksa; in pmksa_cache_expire() local 61 pmksa->pmksa = entry->next; in pmksa_cache_expire() 63 MACSTR, MAC2STR(entry->aa)); in pmksa_cache_expire() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | hash.c | 104 struct HashEntry *entry = table->Table[pos]; in _mesa_DeleteHashTable() local 105 while (entry) { in _mesa_DeleteHashTable() 106 struct HashEntry *next = entry->Next; in _mesa_DeleteHashTable() 107 if (entry->Data) { in _mesa_DeleteHashTable() 111 free(entry); in _mesa_DeleteHashTable() 112 entry = next; in _mesa_DeleteHashTable() 130 const struct HashEntry *entry; in _mesa_HashLookup_unlocked() local 136 entry = table->Table[pos]; in _mesa_HashLookup_unlocked() 137 while (entry) { in _mesa_HashLookup_unlocked() 138 if (entry->Key == key) { in _mesa_HashLookup_unlocked() [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | caches-queues-lists.c | 169 void seq_queue_put(struct seq_queue *queue, struct file_buffer *entry) in seq_queue_put() argument 174 insert_seq_hash_table(queue, entry); in seq_queue_put() 176 if(entry->fragment) in seq_queue_put() 181 if(entry->sequence == sequence) in seq_queue_put() 195 struct file_buffer *entry; in seq_queue_get() local 201 for(entry = queue->hash_table[hash]; entry; in seq_queue_get() 202 entry = entry->seq_next) in seq_queue_get() 203 if(entry->sequence == sequence) in seq_queue_get() 206 if(entry) { in seq_queue_get() 211 if(entry->fragment) in seq_queue_get() [all …]
|
D | caches-queues-lists.h | 28 void insert_##NAME##_list(TYPE **list, TYPE *entry) { \ 30 entry->NAME##_next = *list; \ 31 entry->NAME##_prev = (*list)->NAME##_prev; \ 32 (*list)->NAME##_prev->NAME##_next = entry; \ 33 (*list)->NAME##_prev = entry; \ 35 *list = entry; \ 36 entry->NAME##_prev = entry->NAME##_next = entry; \ 42 void remove_##NAME##_list(TYPE **list, TYPE *entry) { \ 43 if(entry->NAME##_prev == entry && entry->NAME##_next == entry) { \ 46 } else if(entry->NAME##_prev != NULL && entry->NAME##_next != NULL) { \ [all …]
|
/external/emma/core/java12/com/vladium/util/ |
D | IntIntMap.java | 91 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains() 93 if (key == entry.m_key) return true; in contains() 115 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get() 117 if (key == entry.m_key) in get() 119 out [0] = entry.m_value; in get() 134 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get() 136 if (key == entry.m_key) in get() 138 out [index] = entry.m_value; in get() 153 for (Entry entry = m_buckets [b]; entry != null; entry = entry.m_next) in keys() 155 result [scan ++] = entry.m_key; in keys() [all …]
|
D | ObjectIntMap.java | 96 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in contains() 98 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in contains() 124 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get() 126 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in get() 128 out [0] = entry.m_value; in get() 143 for (Entry entry = m_buckets [b]; entry != null; entry = entry.m_next) in keys() 145 result [scan ++] = entry.m_key; in keys() 172 for (Entry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in put() 174 if ((keyHash == entry.m_key.hashCode ()) || entry.m_key.equals (key)) in put() 176 currentKeyEntry = entry; in put() [all …]
|
D | SoftValueMap.java | 169 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in get() 171 final Object entryKey = entry.m_key; in get() 179 final Reference ref = entry.m_softValue; in get() 195 final Reference ref = entry.m_softValue; in get() 238 for (SoftEntry entry = buckets [bucketIndex]; entry != null; entry = entry.m_next) in put() 240 final Object entryKey = entry.m_key; in put() 248 currentKeyEntry = entry; in put() 256 currentKeyEntry = entry; in put() 307 …for (SoftEntry entry = buckets [bucketIndex], prev = null; entry != null; prev = entry, entry = en… in remove() 309 final Object entryKey = entry.m_key; in remove() [all …]
|
/external/libexif/contrib/examples/ |
D | write-exif.c | 131 ExifEntry *entry; in init_tag() local 133 if (!((entry = exif_content_get_entry (exif->ifd[ifd], tag)))) { in init_tag() 135 entry = exif_entry_new (); in init_tag() 136 assert(entry != NULL); /* catch an out of memory condition */ in init_tag() 137 entry->tag = tag; /* tag must be set before calling in init_tag() 141 exif_content_add_entry (exif->ifd[ifd], entry); in init_tag() 144 exif_entry_initialize (entry, tag); in init_tag() 152 exif_entry_unref(entry); in init_tag() 154 return entry; in init_tag() 165 ExifEntry *entry; in create_tag() local [all …]
|
/external/mesa3d/src/glsl/ |
D | opt_array_splitting.cpp | 135 variable_entry *entry = (variable_entry *)iter.get(); in get_variable_entry() local 136 if (entry->var == var) in get_variable_entry() 137 return entry; in get_variable_entry() 140 variable_entry *entry = new(mem_ctx) variable_entry(var); in get_variable_entry() local 141 this->variable_list.push_tail(entry); in get_variable_entry() 142 return entry; in get_variable_entry() 149 variable_entry *entry = this->get_variable_entry(ir); in visit() local 151 if (entry) in visit() 152 entry->declaration = true; in visit() 160 variable_entry *entry = this->get_variable_entry(ir->var); in visit() local [all …]
|
/external/iproute2/lib/ |
D | names.c | 72 struct db_entry *entry; in db_names_load() local 93 entry = malloc(sizeof(*entry)); in db_names_load() 94 if (!entry) in db_names_load() 97 entry->name = strdup(namebuf); in db_names_load() 98 if (!entry->name) { in db_names_load() 99 free(entry); in db_names_load() 103 entry->id = id; in db_names_load() 104 entry->next = db->hash[id & (db->size - 1)]; in db_names_load() 105 db->hash[id & (db->size - 1)] = entry; in db_names_load() 122 struct db_entry *entry = db->hash[i]; in db_names_free() local [all …]
|
/external/iptables/libxtables/ |
D | xtoptions.c | 30 ((void *)((char *)(cb)->data + (cb)->entry->ptroff)) 75 const struct xt_option_entry *entry, unsigned int *offset) in xtables_options_xfrm() argument 80 if (entry == NULL) in xtables_options_xfrm() 87 for (num_new = 0; entry[num_new].name != NULL; ++num_new) in xtables_options_xfrm() 109 for (i = 0; i < num_new; ++i, ++mp, ++entry) { in xtables_options_xfrm() 110 mp->name = entry->name; in xtables_options_xfrm() 111 mp->has_arg = entry->type != XTTYPE_NONE; in xtables_options_xfrm() 113 mp->val = entry->id + *offset; in xtables_options_xfrm() 174 const struct xt_option_entry *entry = cb->entry; in xtopt_parse_int() local 175 uintmax_t lmin = 0, lmax = xtopt_max_by_type(entry->type); in xtopt_parse_int() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_dict_helpers.c | 616 DBusMessageIter *iter, struct wpa_dbus_dict_entry *entry) in _wpa_dbus_dict_entry_get_byte_array() argument 622 entry->bytearray_value = NULL; in _wpa_dbus_dict_entry_get_byte_array() 623 entry->array_type = DBUS_TYPE_BYTE; in _wpa_dbus_dict_entry_get_byte_array() 629 entry->array_len = 0; in _wpa_dbus_dict_entry_get_byte_array() 649 entry->array_len = ++count; in _wpa_dbus_dict_entry_get_byte_array() 652 entry->bytearray_value = buffer; in _wpa_dbus_dict_entry_get_byte_array() 654 entry->bytearray_value, entry->array_len); in _wpa_dbus_dict_entry_get_byte_array() 657 if (entry->array_len == 0) { in _wpa_dbus_dict_entry_get_byte_array() 658 os_free(entry->bytearray_value); in _wpa_dbus_dict_entry_get_byte_array() 659 entry->bytearray_value = NULL; in _wpa_dbus_dict_entry_get_byte_array() [all …]
|
/external/dbus/dbus/ |
D | dbus-hash.c | 219 DBusHashEntry *entry; /**< Current hash entry */ member 242 DBusHashEntry *entry); 244 DBusHashEntry *entry); 246 DBusHashEntry *entry); 368 DBusHashEntry *entry; in _dbus_hash_table_unref() 375 entry = table->buckets[i]; in _dbus_hash_table_unref() 376 while (entry != NULL) in _dbus_hash_table_unref() 378 next = entry->next; in _dbus_hash_table_unref() 380 free_entry (table, entry); in _dbus_hash_table_unref() 382 entry = next; in _dbus_hash_table_unref() [all …]
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_client.c | 361 struct radius_msg_list *entry, in radius_client_retransmit() argument 371 if (entry->msg_type == RADIUS_ACCT || in radius_client_retransmit() 372 entry->msg_type == RADIUS_ACCT_INTERIM) { in radius_client_retransmit() 382 if (entry->attempts == 0) in radius_client_retransmit() 398 if (entry->attempts == 0) in radius_client_retransmit() 406 if (entry->msg_type == RADIUS_ACCT_INTERIM) { in radius_client_retransmit() 410 MAC2STR(entry->addr)); in radius_client_retransmit() 412 radius->interim_error_cb(entry->addr, in radius_client_retransmit() 423 if (entry->msg_type == RADIUS_ACCT && in radius_client_retransmit() 424 radius_msg_get_attr_ptr(entry->msg, RADIUS_ATTR_ACCT_DELAY_TIME, in radius_client_retransmit() [all …]
|
/external/libmtp/examples/ |
D | hotplug.c | 117 LIBMTP_device_entry_t * entry = &entries[i]; in main() local 122 printf("# %s %s\n", entry->vendor, entry->product); in main() 126 …printf("ATTR{idVendor}==\"%04x\", ATTR{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->produ… in main() 130 printf("# %s %s\n", entry->vendor, entry->product); in main() 131 … 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000\n", entry->vendor_id, entry->product_… in main() 134 printf(" <!-- %s %s -->\n", entry->vendor, entry->product); in main() 135 printf(" <match key=\"usb.vendor_id\" int=\"0x%04x\">\n", entry->vendor_id); in main() 136 printf(" <match key=\"usb.product_id\" int=\"0x%04x\">\n", entry->product_id); in main() 141 … printf(" <merge key=\"info.vendor\" type=\"string\">%s</merge>\n", entry->vendor); in main() 142 … printf(" <merge key=\"info.product\" type=\"string\">%s</merge>\n", entry->product); in main() [all …]
|